You are not logged in.

#1 2024-01-30 18:52:16

Dario48
Member
Registered: 2024-01-30
Posts: 13

[Solved] HDMI monitor not detected on wayland with nouveau on laptop

[SOLVED] look at the bottom

I am running Hyprland and nouveau, I have 2 external monitors connected and one laptop monitor, one of them is connected through an adapter in the thunderbolt port and works, the other i attached with hdmi and does not work, sometimes it randomly spins to life but stops on restart

neofetch

Dario48@ArchLinux3 
------------------ 
OS: Arch Linux x86_64 
Host: Predator PT314-51s V1.10 
Kernel: 6.7.2-arch1-1 
Uptime: 1 hour, 9 mins 
Packages: 745 (pacman) 
Shell: fish 3.7.0 
Resolution: 1920x1080 
DE: Hyprland 
Theme: Adwaita [GTK3] 
Icons: Adwaita [GTK3] 
Terminal: kitty 
CPU: 11th Gen Intel i7-11370H (8) @ 4.800GHz 
GPU: NVIDIA GeForce RTX 3060 Mobile / Max-Q 
GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics] 
Memory: 3460MiB / 15790MiB 

nvidia-smi

Tue Jan 30 19:42:16 2024       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.06              Driver Version: 545.29.06    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3060 ...    Off | 00000000:01:00.0 Off |                  N/A |
| N/A   37C    P8              10W /  60W |      4MiB /  6144MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+

lspci | grep VGA

0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
0000:01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)

hyprctl monitors

Monitor eDP-1 (ID 0):
	1920x1080@143.98100 at 3000x0
	description: Sharp Corporation LQ140M1JW49 (eDP-1)
	make: Sharp Corporation
	model: LQ140M1JW49
	serial: 
	active workspace: 1 (1)
	special workspace: 0 ()
	reserved: 0 19 0 0
	scale: 1.50
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false

Monitor DP-1 (ID 1):
	1920x1080@60.00000 at 0x0
	description: Hewlett Packard HP E232 CN45410MV6 (DP-1 via HDMI)
	make: Hewlett Packard
	model: HP E232
	serial: CN45410MV6
	active workspace: 2 (2)
	special workspace: 0 ()
	reserved: 0 19 0 0
	scale: 1.00
	transform: 1
	focused: yes
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false

xrandr --listmonitors (if it can be useful)

Monitors: 2
 0: +eDP-1 1920/310x1080/170+0+0  eDP-1
 1: +DP-1 1080/510x1920/290+1920+0  DP-1

Last edited by Dario48 (2024-02-05 20:09:30)


my website my forgejo instance
god's strongest systemd shill

Offline

#2 2024-01-30 23:08:57

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

Re: [Solved] HDMI monitor not detected on wayland with nouveau on laptop

nvidia-smi works so you're not using nouveau (and you probably don't want to and can't on hardware this new anyway) For nvidia and wayland anything to do anything you need to enable modesetting: https://wiki.archlinux.org/title/NVIDIA … de_setting (the modeset parameter, don't use fbdev)

Offline

#3 2024-01-31 08:09:22

Dario48
Member
Registered: 2024-01-30
Posts: 13

Re: [Solved] HDMI monitor not detected on wayland with nouveau on laptop

strangest thing is, when checking it appeared as tho the nouveau driver was used, so ig the card was in a sort of limbo state of using nouveau but using nvidia-open at the same time? idk I set the nvidia_drm.modeset to 1, and as soon as I'm home I'll check weather it works


my website my forgejo instance
god's strongest systemd shill

Offline

#4 2024-01-31 11:12:58

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

Re: [Solved] HDMI monitor not detected on wayland with nouveau on laptop

Check/post

sudo journalctl -b

if you want us to check what's really going on.

Offline

#5 2024-01-31 19:25:12

Dario48
Member
Registered: 2024-01-30
Posts: 13

Re: [Solved] HDMI monitor not detected on wayland with nouveau on laptop

it did not work and, checking with

 diff before-plugged after-plugged | grep -i gpu 

(where

 sudo journalctl -b >> before-plugged 

with the monitor unplugged and

 sudo journalctl -b >> after-plugged 

with the monitor plugged in), I got :

a lot of

 < Jan 31 20:09:ss ArchLinux3 kernel: NVRM rmapiAllocWithSecInfo: RMAPI_GPU_LOCK_INTERNAL alloc requested without holding the RMAPI lock 

(ss stands for seconds)

 < Jan 31 20:05:44 ArchLinux3 kernel: RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules
< Jan 31 20:05:44 ArchLinux3 kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
< Jan 31 20:05:44 ArchLinux3 (udev-worker)[306]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) ${i}; done'' failed with exit code 1.
< Jan 31 20:05:44 ArchLinux3 (udev-worker)[311]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) ${i}; done'' failed with exit code 1. 

and then a lot more of

 < Jan 31 20:09:ss ArchLinux3 kernel: NVRM rmapiAllocWithSecInfo: RMAPI_GPU_LOCK_INTERNAL alloc requested without holding the RMAPI lock 

(ss stands for seconds)

also thank you for helping me out :3


my website my forgejo instance
god's strongest systemd shill

Offline

#6 2024-01-31 20:44:13

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

Re: [Solved] HDMI monitor not detected on wayland with nouveau on laptop

V1del wrote:

post sudo journalctl -b if you want us to check what's really going on.

Not some random diffs, this here:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Online

#7 2024-02-01 06:34:59

Dario48
Member
Registered: 2024-01-30
Posts: 13

Re: [Solved] HDMI monitor not detected on wayland with nouveau on laptop

sorry, here it is: http://0x0.st/HDpL.txt


my website my forgejo instance
god's strongest systemd shill

Offline

#8 2024-02-01 09:41:58

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

Re: [Solved] HDMI monitor not detected on wayland with nouveau on laptop

No nouveau, no nvidia_drm.modeset=1 parameter either, thus

Feb 01 07:25:58 ArchLinux3 kernel: [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0
Feb 01 07:25:58 ArchLinux3 kernel: simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
Feb 01 07:27:50 ArchLinux3 kernel: NVRM tmrSetCurrentTime_GV100: ERROR: Write to PTIMER attempted even though Level 0 PLM is disabled.
Feb 01 07:27:50 ArchLinux3 kernel: NVRM nvAssertFailedNoLog: Assertion failed: 0 @ timer_gv100.c:80

and an excessive burst of

Feb 01 07:28:12 ArchLinux3 kernel: NVRM rmapiAllocWithSecInfo: RMAPI_GPU_LOCK_INTERNAL alloc requested without holding the RMAPI lock

Are you using nvidia-open?

Online

#9 2024-02-01 10:06:33

Dario48
Member
Registered: 2024-01-30
Posts: 13

Re: [Solved] HDMI monitor not detected on wayland with nouveau on laptop

yes, I am using nvidia-open, sorry if I forgot to say it earlier


my website my forgejo instance
god's strongest systemd shill

Offline

#10 2024-02-01 10:09:38

Dario48
Member
Registered: 2024-01-30
Posts: 13

Re: [Solved] HDMI monitor not detected on wayland with nouveau on laptop

also, would it be helpful to post my /etc/default/grub?


my website my forgejo instance
god's strongest systemd shill

Offline

#11 2024-02-01 10:11:49

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

Re: [Solved] HDMI monitor not detected on wayland with nouveau on laptop

No. Try the binary blob nvidia kernel module.

Online

#12 2024-02-01 14:30:54

Dario48
Member
Registered: 2024-01-30
Posts: 13

Re: [Solved] HDMI monitor not detected on wayland with nouveau on laptop

it doesn't work still (http://0x0.st/HDVb.txt)


my website my forgejo instance
god's strongest systemd shill

Offline

#13 2024-02-01 14:34:38

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

Re: [Solved] HDMI monitor not detected on wayland with nouveau on laptop

There's no nvidia module loaded in that journal, not even attempted.
Don't run partial updates, if you don't want to update the kernel, you'll have to use nvidia-dkms

Online

#14 2024-02-01 16:13:37

Dario48
Member
Registered: 2024-01-30
Posts: 13

Re: [Solved] HDMI monitor not detected on wayland with nouveau on laptop

I forgor to update, there was no intention not to, now it works perfectly, thank you so much >.<


my website my forgejo instance
god's strongest systemd shill

Offline

#15 2024-02-01 16:56:53

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

Re: [Solved] HDMI monitor not detected on wayland with nouveau on laptop

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

Board footer

Powered by FluxBB