View previous topic :: View next topic |
Author |
Message |
riceri Tux's lil' helper

Joined: 07 Jan 2004 Posts: 76
|
Posted: Mon Apr 04, 2016 10:58 am Post subject: Use gnome over two graphic cards |
|
|
Hi
I have installed a extra GPU in my gentoobox but i can't get Gnome to understand i have two and use both for my desktop. Gnome only finds one screen.
With my current config i can move my mouse pointer over to the second screen that is black. I have tried to enable Xinerama but then startx don't even
start. What can i change to get it to work?
Code: | # lspci
....
0f:00.0 VGA compatible controller: NVIDIA Corporation G98 [Quadro NVS 295] (rev a1)
28:00.0 VGA compatible controller: NVIDIA Corporation G98 [Quadro NVS 295] (rev a1)
....
|
Code: | # cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 340.93 (buildmeister@swio-display-x86-rhel47-03) Wed Aug 19 17:11:04 PDT 2015
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "NEC LCD22WMGX"
HorizSync 0.0 - 0.0
VertRefresh 0.0
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro NVS 295"
BusID "PCI:15:0:0"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro NVS 295"
BusID "PCI:40:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "nvidia-auto-select +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
Option "RenderAccel" "true"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "nvidia-auto-select +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
Option "RenderAccel" "true"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Files"
ModulePath "/usr/lib32/xorg/modules"
ModulePath "/usr/lib64/opengl/nvidia"
ModulePath "/usr/lib64/xorg/modules"
EndSection
|
|
|
Back to top |
|
 |
Roman_Gruber Advocate

Joined: 03 Oct 2006 Posts: 3806 Location: Austro Bavaria
|
Posted: Mon Apr 04, 2016 9:24 pm Post subject: |
|
|
usually xinerama is depreciated and xrandr is the way to go.
it also depends if you are using binary or open source drivers.
gentoo wiki may be helpful, ...
--
serious?
Quote: | Option "MultiGPU" "Off" |
Quote: | Option "SLI" "Off" |
Quote: | HorizSync 0.0 - 0.0
VertRefresh 0.0 |
why do you need such xorg.config anyway?
--
I have no idea why you have xorg.conf in use
but for quite many many many many months this is the suggested way to go
Code: | ASUS-G75VW roman # cat /etc/X11/xorg.conf.d/20opengl.conf
Section "Files"
ModulePath "/usr/lib32/xorg/modules"
ModulePath "/usr/lib64/opengl/nvidia"
ModulePath "/usr/lib64/xorg/modules"
EndSection
ASUS-G75VW roman # cat /etc/X11/xorg.conf.d/nvidia.conf
Section "Device"
Identifier "nvidia"
Driver "nvidia"
Option "Coolbits" "28"
Option "NoLogo" "True"
EndSection
# This is a trailing line, it is needed so that End Section is not the last line
|
xorg.conf is depreciated and in one of the readme news this was the suggested way.
--
ditch your xorg.config and when you are using the binary nvidia driver you may create these two files and use them on your box, else read the handbook, forum suggestions, whatever fits to set up proper config files.
i am quite sure your config files are outdated. (personal opinion as a long term linux user )
--
pay attention to /var/log/xorg.log or what it is called these days
also run startx from cli and check the stuff which is posted. |
|
Back to top |
|
 |
riceri Tux's lil' helper

Joined: 07 Jan 2004 Posts: 76
|
Posted: Mon Apr 04, 2016 9:51 pm Post subject: |
|
|
Normally i don't use a xorg.conf
The only reason i use it is that i got nothing else to even get the Xorg running. It is nvidia-xconfig that generated that config, i used it as a last resort to get the computer back up again.
The cards do not have any SLI.
I have been searching the Gentoo wiki for a article about two GPUs and not just two screens or optimus. If you can find one that explains it all please link to it.
And tw04l124 i am sorry i posted on the forums instead of keep searching the wiki and using Google. But after a day searching and testing i gave up, sorry that it made you so angry! |
|
Back to top |
|
 |
Roman_Gruber Advocate

Joined: 03 Oct 2006 Posts: 3806 Location: Austro Bavaria
|
Posted: Tue Apr 05, 2016 10:14 am Post subject: |
|
|
you may remove the xorg conf and any related xorg.config
than you may use startx for example, and post the output of the cli and the xorg.log in /var/log/
you should only define as much as needed, no unnecessary bloat.
also check the useflags and special flags for the video cards / input devices ... check man make.conf / gentoo wiki related nvidia.drivers and make.conf
the nvidia binary blob driver did reconginzed my hardware by itself, you should try to get one screen working and than use the gui tool provided by nvidia-driver, called nvidia-settings
--
that nvidia genertated xorg.conf file did not worked for years on my other notebook and i think on this notebook too. no idea why they shipped that tool or still provide it. i think it is obsolete.
the two config files i provided are the bare minimum for binary nvidia-drivers + right settings for make.conf (as said gentoo wiki / handbook ... setting up xorg.server nvidia-settings) |
|
Back to top |
|
 |
|