Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Create a Xorg.conf file that from info loaded into memory
-
- Posts: 4
- Joined: 2019-08-03 19:30
Create a Xorg.conf file that from info loaded into memory
I'm trying to setup some Multiseat clients by using some older hardware. The system sees the added Video Card but Xorg ignores it. I have all of the micro-code firmware and drivers installed. I need to create a xorg.conf file but I need to know what Xorg can already use by what it has auto generated. I tried to create the whole configuration file by scratch and end up with a dead xorg. Is there a hidden config file somewhere or a log file I can pull info from?
Re: Create a Xorg.conf file that from info loaded into memor
Welcome to FDN.
What version of Debian? Stretch? Buster? The answer will depend on whether you will be using X11 or Wayland, and the version of Debian will help determine that.
Also, what video card do you have?
What version of Debian? Stretch? Buster? The answer will depend on whether you will be using X11 or Wayland, and the version of Debian will help determine that.
Also, what video card do you have?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
-
- Global Moderator
- Posts: 2669
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 41 times
- Been thanked: 196 times
Re: Create a Xorg.conf file that from info loaded into memor
To create a starting point for customization, do the following.
Switch to a console (VT1) as root (not a terminal emulator in X),
then stop stuff...and...
gives /root/xorg.conf.new undeclared option summary for detected devices.
Start there...
Switch to a console (VT1) as root (not a terminal emulator in X),
then stop stuff...and...
Code: Select all
# /etc/init.d/gdm stop || /etc/init.d/gdm3 stop || /etc/init.d/kdm stop || /etc/init.d/xdm stop || /etc/init.d/lightdm stop
# cd /etc/X11/
# Xorg -configure
Start there...
-
- Posts: 4
- Joined: 2019-08-03 19:30
Re: Create a Xorg.conf file that from info loaded into memor
I had this configured before with Solus Linux and when Debian 10 Buster was released I switched over to Buster. Currently running KDE Plasma with Xorg.
AMD R7 onboard Video (screen0) and a old nVidia 220GT for my second seat client (screen1).
I'll give that command a try.
AMD R7 onboard Video (screen0) and a old nVidia 220GT for my second seat client (screen1).
I'll give that command a try.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Create a Xorg.conf file that from info loaded into memor
You only need the relevant "Device" section to change the video drivers.TCPMeta2k1 wrote:I tried to create the whole configuration file by scratch and end up with a dead xorg
Here's an example for Intel cards:
Code: Select all
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
EndSection
EDIT: the xorg.conf(5) man page explains how to configure multiple screens in the SCREEN section.
To disable the graphical desktop useCwF wrote:Code: Select all
# /etc/init.d/gdm stop || /etc/init.d/gdm3 stop || /etc/init.d/kdm stop || /etc/init.d/xdm stop || /etc/init.d/lightdm stop
Code: Select all
# systemctl isolate multi-user.target
deadbang
-
- Posts: 4
- Joined: 2019-08-03 19:30
Re: Create a Xorg.conf file that from info loaded into memor
Instead of doing the multiseat I'll just set it up as a plain old second display. I got a xorg.conf file made but each time I run xorg KDE breaks and Krunner crashes. Here is my xorg.conf file.
Code: Select all
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "LG TV"
ModelName "32LJ500B-UB"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Gateway"
ModelName "HX1953L"
Option "DPMS"
EndSection
Section "Device"
Identifier "Card0"
Driver "amdgpu"
BusID "PCI:0:1:0"
EndSection
Section "Device"
Identifier "Card1"
Driver "nvidia"
BusID "PCI:8:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1366x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1366x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1366x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1366x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1366x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1366x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1600x900" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1600x900" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1600x900" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1600x900" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1600x900" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x900" "800x600" "640x480"
EndSubSection
EndSection
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Create a Xorg.conf file that from info loaded into memor
Try removing the extraneous sections.
For example:
Check the X.org log to see where the problem is.
For example:
Code: Select all
Section "Monitor"
Identifier "Monitor0"
VendorName "LG TV"
ModelName "32LJ500B-UB"
EndSection
Section "Monitor
Identifier "Monitor1"
VendorName "Gateway"
ModelName "HX1953L"
EndSection
Section "Device"
Identifier "Card0"
Driver "amdgpu"
BusID "PCI:0:1:0"
EndSection
Section "Device"
Identifier "Card1"
Driver "nvidia"
BusID "PCI:8:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
EndSection
deadbang
-
- Global Moderator
- Posts: 2669
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 41 times
- Been thanked: 196 times
Re: Create a Xorg.conf file that from info loaded into memor
Good idea, simplify!Head_on_a_Stick wrote:Try removing the extraneous sections.
Actually, you can delete and ignore the xorg file and put only exceptions in usr/share/X11/xorg.conf.d/custom_config.conf
-
- Posts: 4
- Joined: 2019-08-03 19:30
Re: Create a Xorg.conf file that from info loaded into memor
I tried that and the odd thing is KDE crashes still so I tried LightDM and Awesome WM and got further. However the second screen acts like it's own X session but I can move the Mouse cursor to that screen but instead of a Arrow Cursor I get the X target cursor. Can't drag any windows to it or anything. xrandr also still just reported the AMD video.
Even had a friend on the phone getting me to try a few things and made it worse so I just decided to hop on eBay and bought a couple of HP Multiseat Thinclients. Might do a Office Space montage on the nVidia GT 220.
Even had a friend on the phone getting me to try a few things and made it worse so I just decided to hop on eBay and bought a couple of HP Multiseat Thinclients. Might do a Office Space montage on the nVidia GT 220.
-
- Global Moderator
- Posts: 2669
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 41 times
- Been thanked: 196 times
Re: Create a Xorg.conf file that from info loaded into memor
Though I have more than one computer with more than one video card I have never set up more than one in X, no need, prefer a multihead single card. I do use a usr/share/X11/xorg.conf.d/52_vm.conf file for vm's that use the secondary cards and the conf file sets the passed video as primary and the QXL as secondary and not used.
So if you have the horsepower, use the secondary card in a vm and connect with x2x (or X2vnc and needs a nic). Similar in effect to multi-seat, better than two cards under one X, and seamless.
So if you have the horsepower, use the secondary card in a vm and connect with x2x (or X2vnc and needs a nic). Similar in effect to multi-seat, better than two cards under one X, and seamless.