You are not logged in.
Pages: 1
Hi installed Arch with LVM on LUKS encryption and Gnome as the DE on a machine today.
Everything was working when I first booted the machine, but after a reboot my main monitor is not detected anymore (my main monitor is hooked up to a GeForce GTX 1060 and the secondary monitor is using the Intel integrated graphics. The secondary monitor is working fine.) and I don't really know what could possibly cause this issue.
Any ideas on how to start resolving this issue?
Here are some information about the drivers, it might be useful:
$ lspci -v
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Device d000
Flags: bus master, fast devsel, latency 0, IRQ 34
Memory at f7400000 (64-bit, non-prefetchable) [size=4M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 3GB] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Device 3724
Flags: bus master, fast devsel, latency 0, IRQ 36
Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [size=128]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidiaLast edited by roku (2021-02-24 09:24:19)
Offline
I've had similar issues before. Try removing `xorg.conf`, located in /etc/X11/. Can you also post the output of the command `inxi -G`? You might need to install inxi first. It's available in the AUR.
Fun fact: I actually have no clue what I'm doing
Offline
I will go ahead and try removing xorg.conf. Until then here is the output of inxi -G:
$ inxi -G
Graphics:
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
driver: i915 v: kernel
Device-2: NVIDIA GP106 [GeForce GTX 1060 3GB] driver: nvidia v: 460.39
Display: wayland server: X.org 1.20.10 driver: loaded: intel,nvidia
unloaded: modesetting resolution: <missing: xdpyinfo>
OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2)
v: 4.5 Mesa 20.3.4Offline
Well there's your problem. Wayland isn't supported by nvidia. To be able to use nvidia you should use Xorg.
For reference, my inxi -G looks like this:
$ inxi -G
Graphics: Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: nvidia v: 460.39
Device-3: Lite-On Integrated Camera type: USB driver: uvcvideo
Display: x11 server: X.Org 1.20.10 driver: loaded: intel,nvidia unloaded: modesetting resolution: 1: 1920x1080~60Hz
2: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.3.4 Note that the part starting with Display doesn't say wayland in my case.
Last edited by bjornp_ (2021-02-24 09:05:13)
Fun fact: I actually have no clue what I'm doing
Offline
I didn't know that the proprietary Nvidia drivers did not support Wayland and that was actually the problem. I solved it by editing /etc/gdm/custom.conf:
# GDM configuration storage
[daemon]
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false
DefaultSession=gnome-xorg.desktop
[security]
[xdmcp]
[chooser]
[debug]
# Uncomment the line below to turn on debugging
#Enable=trueNow it forces Gnome to use Xorg instead of Wayland.
The new output of inxi -G is:
Graphics:
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
driver: i915 v: kernel
Device-2: NVIDIA GP106 [GeForce GTX 1060 3GB] driver: nvidia v: 460.39
Display: x11 server: X.org 1.20.10 driver: loaded: intel,nvidia
unloaded: modesetting resolution: <missing: xdpyinfo>
OpenGL: renderer: GeForce GTX 1060 3GB/PCIe/SSE2 v: 4.6.0 NVIDIA 460.39Offline
That looks like it should work. All the drivers are loaded correctly it seems. If you remove (or already have removed) xorg.conf and restarted (which you have seeing as it's now using Xorg) I think it should work. If it does not then try checking if your Gnome display settings are set how you want them
Fun fact: I actually have no clue what I'm doing
Offline
Pages: 1