You are not logged in.

#1 2024-03-21 05:47:49

juseph-q
Member
Registered: 2024-03-21
Posts: 6

Having Issues with Dual Monitor Setup, HDMI monitor not detect

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 / 5832MiB

If 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

#2 2024-03-21 08:05:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,311

Re: Having Issues with Dual Monitor Setup, HDMI monitor not detect

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.st

Offline

#3 2024-03-21 17:07:25

juseph-q
Member
Registered: 2024-03-21
Posts: 6

Re: Having Issues with Dual Monitor Setup, HDMI monitor not detect

Here is Xorg log
http://0x0.st/XrYe.txt

Here is my system journal
http://0x0.st/XrYP.txt

Thanks!

Offline

#4 2024-03-21 17:33:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,311

Re: Having Issues with Dual Monitor Setup, HDMI monitor not detect

[    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-utils

In 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)

Offline

#5 2024-03-21 19:54:05

juseph-q
Member
Registered: 2024-03-21
Posts: 6

Re: Having Issues with Dual Monitor Setup, HDMI monitor not detect

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

Y

xrandr

 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.00Hz

Last edited by juseph-q (2024-03-21 19:56:13)

Offline

#6 2024-03-21 20:29:08

Fuxino
Member
From: Slovakia
Registered: 2014-09-26
Posts: 198

Re: Having Issues with Dual Monitor Setup, HDMI monitor not detect

juseph-q wrote:
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

#7 2024-03-21 20:32:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,157

Re: Having Issues with Dual Monitor Setup, HDMI monitor not detect

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 simpledrm

which 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)

Offline

#8 2024-03-21 20:51:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,311

Re: Having Issues with Dual Monitor Setup, HDMI monitor not detect

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 --auto

You can use https://aur.archlinux.org/packages/x-on-resize to automatically configure the output when attaching it.

Offline

#9 2024-03-21 20:56:29

juseph-q
Member
Registered: 2024-03-21
Posts: 6

Re: Having Issues with Dual Monitor Setup, HDMI monitor not detect

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 alterados

Last edited by juseph-q (2024-03-21 21:15:02)

Offline

#10 2024-03-21 21:00:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,311

Re: Having Issues with Dual Monitor Setup, HDMI monitor not detect

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?

Offline

#11 2024-03-21 21:09:19

juseph-q
Member
Registered: 2024-03-21
Posts: 6

Re: Having Issues with Dual Monitor Setup, HDMI monitor not detect

seth wrote:

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 --auto

You 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 failed

Offline

#12 2024-03-21 21:13:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,311

Re: Having Issues with Dual Monitor Setup, HDMI monitor not detect

[    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/card0

but 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?

Offline

#13 2024-03-22 02:08:02

juseph-q
Member
Registered: 2024-03-21
Posts: 6

Re: Having Issues with Dual Monitor Setup, HDMI monitor not detect

seth wrote:

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

#14 2024-03-22 07:40:36

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,311

Re: Having Issues with Dual Monitor Setup, HDMI monitor not detect

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"
EndSection

Offline

Board footer

Powered by FluxBB