You are not logged in.
Hello everyone, I'm experiencing some issues with my Arch Linux environment. I use dual boot, and the problem is that it no longer detects the second monitor, although it used to. I was using the KDE Plasma 6 desktop environment, but suddenly dual monitor stopped working. My theory is that it could have something to do with the dual boot configuration because I moved some things around to free up space from Windows and assign it to Arch, and since then it stopped working. I switched desktop environments to see if that was the issue, and now I'm using LxQT, but it still doesn't detect the other monitor. The cable is working fine as it detects the second monitor in Windows.
xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 16384 x 16384
LVDS-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
1366x768 60.01*+ 40.01
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
VGA-1 disconnected (normal left inverted right x axis y axis)nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.157 Driver Version: 390.157 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 NVS 5200M Off | 00000000:01:00.0 N/A | N/A |
| N/A 50C P8 N/A / N/A | 0MiB / 964MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 Not Supported |
lspci | grep VGA
0:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108GLM [NVS 5200M] (rev a1)neofetch
OS: Arch Linux x86_64
Host: Latitude E6430 01
Kernel: 6.8.1-arch1-1
Uptime: 11 mins
Packages: 571 (pacman)
Shell: bash 5.2.26
Resolution: 1366x768
DE: LXQt 1.4.0
WM: Openbox
CPU: Intel i5-3320M (4) @ 3.300GHz
GPU: Intel 3rd Gen Core processor Graphics Controller
GPU: NVIDIA NVS 5200M
Memory: 1256MiB / 5832MiBIf there is anything else that may be useful to you, I can provide it, Thanks!!
Last edited by juseph-q (2024-03-21 05:50:28)
Offline
The HDMI output is most likely wired to the nvidia GPU but it doesn't show up in xrandr (and nvidia-smi, but that's b/c of the old GPU)
You either unselected the nvidia GPU for X11 or power it down w/ something like bbswitch.
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.stOnline
Offline
[ 12.748] (II) NVIDIA GLX Module 390.157 Wed Oct 12 09:19:15 UTC 2022
[ 12.748] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[ 12.748] loading driver: nvidia
[ 12.748] (==) Matched nvidia as autoconfigured driver 1
[ 12.749] (II) LoadModule: "nvidia"
[ 12.749] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 12.750] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 12.756] (II) NVIDIA dlloader X Driver 390.157 Wed Oct 12 09:21:41 UTC 2022
[ 12.756] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 13.260] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)pacman -Qs nvida
pacman -Qikk nvidia-390xx-utilsIn any event, block the dimpledrm device, enable https://wiki.archlinux.org/title/NVIDIA … de_setting using the "nvidia_drm.modeset=1" kernel parameter (modprobe.conf won't do for this)
Online
I've already activated the nvidia_drm.modeset=1 but I haven't blocked the other thing. How do I do it? It detects the HDMI, but when I connect it, the monitor doesn't activate.
The configuration
sudo nano /etc/default/grub
# GRUB boot loader configuration
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia-drm.modeset=1"
GRUB_CMDLINE_LINUX="zswap.enabled=0 rootfstype=ext4"
sudo cat /sys/module/nvidia_drm/parameters/modeset
Yxrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 16384 x 16384
LVDS-2 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
1366x768 60.01*+ 40.01
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
VGA-2 disconnected (normal left inverted right x axis y axis)
VGA-1-1 disconnected (normal left inverted right x axis y axis)
LVDS-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 connected (normal left inverted right x axis y axis)
1920x1080 60.00 59.94
1280x1024 60.02
1440x900 59.89
1280x960 60.00
1360x768 60.02
1280x800 59.81
1280x720 59.94
1024x768 60.00
720x480 59.94 59.94
1024x768 (0x4b) 65.000MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.36KHz
v: height 768 start 771 end 777 total 806 clock 60.00HzLast edited by juseph-q (2024-03-21 19:56:13)
Offline
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia-drm.modeset=1"
It should be nvidia_drm.modeset=1 (with an underscore, not a dash).
Offline
nvidia-drm.modeset=1 on the cmdline should™ block the "other thing" (and underscore or dash shouldn't matter) check e.g.
sudo dmesg | grep simpledrmwhich should show that it's not trying to load simpledrm due to the modeset parameter.
But now that I've actually read the journal that parameter is not applied currently. Did you forget to regenerate your GRUB config after the adjustment?
Post the two commands seth asked for as well.
Last edited by V1del (2024-03-21 20:41:33)
Online
It detects the HDMI, but when I connect it, the monitor doesn't activate.
a) what changed? Updated xorg log?
b)
xrandr --output HDMI-1-1 --autoYou can use https://aur.archlinux.org/packages/x-on-resize to automatically configure the output when attaching it.
Online
I'm sorry, I forgot to include what Seth told me.
When I enter pacman -Qs nvidia nothing appears. Do I need to install it?
I have arch in spanish
pacman -Qikk nvidia-390xx-utils
Nombre : nvidia-390xx-utils
Versión : 390.157-8
Descripción : NVIDIA drivers utilities
Arquitectura : x86_64
URL : https://www.nvidia.com/
Licencias : custom
Grupos : Nada
Provee : vulkan-driver opengl-driver nvidia-libgl nvidia-utils nvidia-390xx-libgl
Depende de : xorg-server libglvnd egl-wayland
Dependencias opcionales : nvidia-390xx-settings: configuration tool
xorg-server-devel: nvidia-xconfig
opencl-nvidia-390xx: OpenCL support [instalado]
Exigido por : lib32-nvidia-390xx-utils libglvnd nvidia-390xx-dkms
Opcional para : ffmpeg libvdpau vulkan-icd-loader
En conflicto con : nvidia-libgl nvidia-utils nvidia-390xx-libgl
Remplaza a : Nada
Tamaño de la instalación : 106.63 MiB
Encargado : Unknown Packager
Fecha de creación : mié 20 mar 2024 22:22:04
Fecha de instalación : mié 20 mar 2024 22:24:02
Motivo de la instalación : Instalado explícitamente
Guion de instalación : Sí
Validado por : Nada
nvidia-390xx-utils: 166 archivos totales, 0 archivos alteradosLast edited by juseph-q (2024-03-21 21:15:02)
Offline
That's not the output of "Qikk", the "kk" part is missing and it's impossible for you to not get "pacman -Qs nvidia" output if you can "pacman -Qi nvidia-390xx-utils"
Typo'd anything there?
Online
It detects the HDMI, but when I connect it, the monitor doesn't activate.
a) what changed? Updated xorg log?
b)xrandr --output HDMI-1-1 --autoYou can use https://aur.archlinux.org/packages/x-on-resize to automatically configure the output when attaching it.
Here is the update xorg log
http://0x0.st/XrEN.txt
xrandr --output HDMI-1-1 --auto
xrandr: Configure crtc 3 failedOffline
[ 10.657] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=cb89fcb0-1ae4-4716-a17c-87ba9378abe7 rw zswap.enabled=0 rootfstype=ext4 loglevel=3 quiet splash nvidia-drm.modeset=1"allowed" the modesetting driver to take over
[ 10.856] (II) modeset(G0): using drv /dev/dri/card0but of course it cannot properly operate the nvida kernel module.
We still need to get to the bootom of
[ 11.422] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)Does the LTS kernel still work?
Online
Does the LTS kernel still work?
What do you mean by that or how can I check if it's working properly?
uname -r
6.8.1-arch1-1 Offline
https://archlinux.org/packages/core/x86_64/linux-lts/
https://archlinux.org/packages/core/x86 … s-headers/
And it's working properly if the weird error there doesn't show up in your xorg log and the nvidia driver picks up the device.
https://aur.archlinux.org/packages/nvidia-390xx-utils doesn't indicate any issues w/ 6.8, though.
If nothing else helps you could try to bind the nvidia driver to the busid,
Section "Device"
Identifier "NVS5200M"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSectionOnline