Slackware64-current + Xfce 4.16 + Nvidia
by av2zeal from LinuxQuestions.org on (#5DMB3)
Let me preface this by saying that I am fully aware that my use case is a bit extreme... more on that later.
I've been running -current for a while, but only updating every few months. I was running xfce 4.14 (I think?) prior to a complete format and install of the current, well, Slackware64-current. I was also running nvidia 455.28. I won't really go into the reasons as to WHY I decided to upgrade other than just to say, I needed a complete wipe/install to get a good base going again, but I digress.
Clean/fresh install goes well, I install multilib support, compile my own generic kernel, and grab the 460.39 drivers. I drop in my old xorg.conf into /etc/X11/ and my troubles begin. Remember how I said that my use case is a bit extreme? I run 6 monitors. Nvidia are a$$holes and don't want you running 6 monitors on a single X instance, so I've always run 2 X screens with 3 monitors each, 2560x1440@144hz in a 3x2 configuration, well, 3x1 for each X "screen". Something like this: (apologies for the bad ascii art)
________________
|____|____|____|
|____|____|____|
So that's a 7680x1440@144hz X screen on top of another.
Aside from not being able to drag between the top and bottom X screens, this worked well enough... until I upgraded.
I do not know if the culprit is nvidia or xfce (as this worked before the upgrade), but the issue here is that one "screen" (set of 3 horizontally across) works fine. However, I get ALMOST nothing on the 2nd X screen. I say almost, because I can put an xfce panel on them, but no background. If I try to move a panel with the "status tray plugin", a bunch of errors start to happen. No right-click context menus at all. If I put the "applications menu" on a panel and click it on the 2nd screen, it appears on the first screen (huh?). It's almost like they xfce or nvidia thinks that they should overlap? I'm throwing things at the wall to see what sticks. I even wiped out my xorg and rebuilt it from scratch with the same results, I have attached it below. I even went so far as to enable "base mosaic" but that only allows 5 screens to work and won't allow me to play any games. I tried downgrading back to 455.28, no dice.
Here's my xorg.conf:
Code:# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 460.39
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 1440
Screen 1 "Screen1" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
FontPath "/usr/lib64/X11/fonts/misc/:unscaled"
FontPath "/usr/lib64/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib64/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib64/X11/fonts/misc/"
FontPath "/usr/lib64/X11/fonts/Type1/"
FontPath "/usr/lib64/X11/fonts/Speedo/"
FontPath "/usr/lib64/X11/fonts/100dpi/"
FontPath "/usr/lib64/X11/fonts/75dpi/"
FontPath "/usr/lib64/X11/fonts/cyrillic/"
FontPath "/usr/lib64/X11/fonts/TTF/"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Dell S2716DG"
HorizSync 34.0 - 222.0
VertRefresh 30.0 - 144.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Dell S2716DG"
HorizSync 34.0 - 222.0
VertRefresh 30.0 - 144.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1080 Ti"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1080 Ti"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "DP-4: 2560x1440_144 +0+0, DP-2: 2560x1440_144 +2560+0, DP-0: 2560x1440_144 +5120+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "DP-1-4: 2560x1440_144 +0+0, DP-1-2: 2560x1440_144 +2560+0, DP-1-0: 2560x1440_144 +5120+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSectionThanks for taking the time to read, and please let me know if you want me to test anything.


I've been running -current for a while, but only updating every few months. I was running xfce 4.14 (I think?) prior to a complete format and install of the current, well, Slackware64-current. I was also running nvidia 455.28. I won't really go into the reasons as to WHY I decided to upgrade other than just to say, I needed a complete wipe/install to get a good base going again, but I digress.
Clean/fresh install goes well, I install multilib support, compile my own generic kernel, and grab the 460.39 drivers. I drop in my old xorg.conf into /etc/X11/ and my troubles begin. Remember how I said that my use case is a bit extreme? I run 6 monitors. Nvidia are a$$holes and don't want you running 6 monitors on a single X instance, so I've always run 2 X screens with 3 monitors each, 2560x1440@144hz in a 3x2 configuration, well, 3x1 for each X "screen". Something like this: (apologies for the bad ascii art)
________________
|____|____|____|
|____|____|____|
So that's a 7680x1440@144hz X screen on top of another.
Aside from not being able to drag between the top and bottom X screens, this worked well enough... until I upgraded.
I do not know if the culprit is nvidia or xfce (as this worked before the upgrade), but the issue here is that one "screen" (set of 3 horizontally across) works fine. However, I get ALMOST nothing on the 2nd X screen. I say almost, because I can put an xfce panel on them, but no background. If I try to move a panel with the "status tray plugin", a bunch of errors start to happen. No right-click context menus at all. If I put the "applications menu" on a panel and click it on the 2nd screen, it appears on the first screen (huh?). It's almost like they xfce or nvidia thinks that they should overlap? I'm throwing things at the wall to see what sticks. I even wiped out my xorg and rebuilt it from scratch with the same results, I have attached it below. I even went so far as to enable "base mosaic" but that only allows 5 screens to work and won't allow me to play any games. I tried downgrading back to 455.28, no dice.
Here's my xorg.conf:
Code:# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 460.39
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 1440
Screen 1 "Screen1" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
FontPath "/usr/lib64/X11/fonts/misc/:unscaled"
FontPath "/usr/lib64/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib64/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib64/X11/fonts/misc/"
FontPath "/usr/lib64/X11/fonts/Type1/"
FontPath "/usr/lib64/X11/fonts/Speedo/"
FontPath "/usr/lib64/X11/fonts/100dpi/"
FontPath "/usr/lib64/X11/fonts/75dpi/"
FontPath "/usr/lib64/X11/fonts/cyrillic/"
FontPath "/usr/lib64/X11/fonts/TTF/"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Dell S2716DG"
HorizSync 34.0 - 222.0
VertRefresh 30.0 - 144.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Dell S2716DG"
HorizSync 34.0 - 222.0
VertRefresh 30.0 - 144.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1080 Ti"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1080 Ti"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "DP-4: 2560x1440_144 +0+0, DP-2: 2560x1440_144 +2560+0, DP-0: 2560x1440_144 +5120+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "DP-1-4: 2560x1440_144 +0+0, DP-1-2: 2560x1440_144 +2560+0, DP-1-0: 2560x1440_144 +5120+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSectionThanks for taking the time to read, and please let me know if you want me to test anything.