Last weekend (just over a week ago now), I switched from Windows to Manjaro.
I am using Manjaro XFCE running on X11 with an Intel i7-6700K and an Nvidia GTX 1080 Ti. I can see that my display manager is LightDM. I have 2 monitors, with my primary monitor (where my XFCE panel is) being my right monitor.
Because my computer has an Intel CPU that has an integrated GPU and I’d read about people being able to switch between them, I figured I’d try installing optimus-manager
and optimus-manager-qt
. That turned out be a mistake, as I think that’s when the problem started.
After the first boot when I couldn’t see either display, I moved my right monitor’s connection from my GTX 1080 Ti’s DisplayPort output to my motherboard’s DisplayPort output, which let me switch optimus-manager-qt’s startup setting from “Intel” to “Nvidia”. That fixed my ability to see on subsequent startups with both monitors connected to my Nvidia card.
Then, considering that I actually shouldn’t have installed optimus-manager or optimus-manager-qt in the first place, I removed them in Pamac. After doing that, I now only see output from my left monitor after startup, except that I can see my cursor if I move it over to the other display, so the monitor is technically able to display something. It’s just otherwise blank and clicking where I know there should be panel launchers does nothing.
To work around this, I can right-click the desktop on my left monitor to open the XFCE menu, run nvidia-settings
from there, disable “Force Composition Pipeline”, press “Apply”, and re-enable “Force Composition Pipeline”, then press “Apply” again to fix my output. Doing that makes both monitors work perfectly for the rest of the session.
Now, I want that setup to work on booting. What I’ve done to try to accomplish this:
- I’ve run
sudo mhwd-gpu --setxorg /etc/X11/xorg.conf
to try to make X11 use the rightxorg.conf
file. - I’ve run
sudo mhwd-gpu --status
and confirmed that it’s pointing to/etc/X11/xorg.conf
. - I’ve used nvidia-settings to save the correct settings in
/etc/X11/xorg.conf
. - I’ve tried overwriting
/etc/X11/xorg.conf
with the working Nvidia settings by unchecking “Merge with existing file.” when saving/etc/X11/xorg.conf
. - I’ve ensured there’s only
00-keyboard.conf
and90-mhwd.conf
(which is a symlink to/etc/X11/xorg.conf
) in/etc/X11/xorg.conf.d/
. - I’ve verified that there’s only the default short keyboard-related stuff in
00-keyboard.conf
. - I’ve read much of Nvidia’s documentation about their Linux driver here; especially parts that explain
xorg.conf
settings:http://us.download.nvidia.com/XFree86/Linux-x86_64/435.21/README/installationandconfiguration.html
- Between tests, I’ve used
sudo systemctl restart display-manager
which reproduces the issue without having to fully reboot. It seems to do exactly the same as rebooting. - After reproducing the issue, I’ve browsed the end of the systemd journal with
journalctl
to read everything that happened, but couldn’t find it saying anything wrong happening. I was able to see where it started LightDM, which I think starts X11 using my/etc/X11/xorg.conf
file, but it doesn’t make it clear. - I’ve reinstalled optimus-manager so that I could run
optimus-manager --cleanup
, then uninstall it again. That changed nothing. - I’ve read the output of
inxi -CGxx
andglxinfo | grep OpenGL
but those look the same before and after mynvidia-settings
workaround.
Output of various commands:
sudo mhwd-gpu --status
:: status
xorg configuration file: '/etc/X11/xorg.conf'
inxi -CGxx
CPU: Topology: Quad Core model: Intel Core i7-6700K bits: 64 type: MT MCP
arch: Skylake-S rev: 3 L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 64026
Speed: 1888 MHz min/max: 800/4200 MHz Core speeds (MHz): 1: 1888 2: 1850
3: 2089 4: 1776 5: 1524 6: 2487 7: 2817 8: 2113
Graphics: Device-1: Intel HD Graphics 530 vendor: Dell driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:1912
Device-2: NVIDIA GP102 [GeForce GTX 1080 Ti] vendor: eVga.com. driver: nvidia
v: 450.66 bus ID: 01:00.0 chip ID: 10de:1b06
Display: x11 server: X.Org 1.20.8 driver: nvidia resolution: 1: 1920x1200~60Hz
2: 1920x1080~60Hz s-dpi: 93
OpenGL: renderer: GeForce GTX 1080 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 450.66
direct render: Yes
glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1080 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 450.66
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 450.66
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 450.66
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 450.66
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 450.66
Section "ServerLayout"
# Removed Option "Xinerama" "1"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
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: option
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Acer G24"
HorizSync 30.0 - 94.0
VertRefresh 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1080 Ti"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "VertRefresh" "DVI-D-0: 59.95; DP-5: 60.0"
Option "TripleBuffer" "on"
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "DVI-D-0: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On}, DP-5: nvidia-auto-select +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
I’m not sure what to try next. Any help would be appreciated immensely. I will try commands you ask me to try and paste the output. Thank you very much!