You are not logged in.

#1 2022-04-25 13:09:16

nsz32
Member
Registered: 2022-04-25
Posts: 4

[SOLVED] Asus G15 / GeForce GTX 1650 Ti M. external screen not working

My workstation (laptop Asus G15 with hybrid Intel/Nvidia graphic cards) can't get an second screen anymore.
This laptop has two video cards Intel / Nvidia that provide two outputs: HDMI and USB-C.

I have used the HDMI output without troubles since 1 year now and it stopped working 1 week ago (got a black screen). I then used the USB-C output that worked nicely until today (screen not connected says xrandr). This last issue isn't due to an update as i haven't used pacman since 4 days.

I have tried many drivers : nvidia / nvidia-dkms / intel / nouveau but it seems to change nothing. Can it be the laptop screen that runs in 144Hz ? I can't set its rate to 60 with xrandr (nothings happens, no error).

All i can get now to keep working is the HDMI output at a resolution of 640x480 (no signal if more than this resolution), plus the laptop screen.

As this screen problem seems boot dependent (the HDMI at 640x480 is not always detected) i'm pretty lost in it.

As this is my workstation, i didn't need 3d acceleration, so i didn't try to install PRIME (don't know if it can help).

I also would like to point out that i use i3 with picom (but i don't think it interfers).

Has someone an idea ? Thank for your help

dmesg
journalctl
lspci
lsusb
xorglog
xrandr

Last edited by nsz32 (2022-04-26 21:06:30)

Offline

#2 2022-04-25 14:04:49

seth
Member
Registered: 2012-09-03
Posts: 49,972

Re: [SOLVED] Asus G15 / GeForce GTX 1650 Ti M. external screen not working

You're running the modesetting driver on top of the nouveau kernel module and there's an HDMI output, running at 640x480

xrandr --output HDMI-1-1 --auto

Offline

#3 2022-04-25 14:28:06

nsz32
Member
Registered: 2022-04-25
Posts: 4

Re: [SOLVED] Asus G15 / GeForce GTX 1650 Ti M. external screen not working

Ok, should i disable modesetting or something ?

xrandr --output HDMI-1-1 --auto

gives me a black screen.

xorg.log then :

[   270.062] (--) modeset(G0): HDMI max TMDS frequency 300000KHz
[   270.223] (II) modeset(0): EDID vendor "NCP", prod id 77
[   270.223] (II) modeset(0): Using hsync ranges from config file
[   270.223] (II) modeset(0): Using vrefresh ranges from config file
[   270.223] (II) modeset(0): Printing DDC gathered Modelines:
[   270.223] (II) modeset(0): Modeline "1920x1080"x0.0  354.73  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (162.7 kHz eP)
[   270.223] (II) modeset(0): Modeline "1920x1080"x0.0  147.81  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (67.8 kHz e)
[   270.230] (II) modeset(0): EDID vendor "NCP", prod id 77
[   270.230] (II) modeset(0): Using hsync ranges from config file
[   270.230] (II) modeset(0): Using vrefresh ranges from config file
[   270.230] (II) modeset(0): Printing DDC gathered Modelines:
[   270.230] (II) modeset(0): Modeline "1920x1080"x0.0  354.73  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (162.7 kHz eP)
[   270.230] (II) modeset(0): Modeline "1920x1080"x0.0  147.81  1920 1968 2000 2180  1080 1083 1088 1130 +hsync -vsync (67.8 kHz e)
[   270.300] (--) modeset(G0): HDMI max TMDS frequency 300000KHz

It tries to set to 1920x1080 (and give me blank screen). My screen is 3840x2160.

Offline

#4 2022-04-25 20:25:52

seth
Member
Registered: 2012-09-03
Posts: 49,972

Re: [SOLVED] Asus G15 / GeForce GTX 1650 Ti M. external screen not working

gives me a black screen.

On the HDMI or entirely?
Does it remain black when you kill picom?
What's the resulting "xrandr -q"?
Did the "xrandr --output HDMI-1-1 --auto" print any errors?

should i disable modesetting or something ?

No, but you're - likely - better off, running the nvidia GPU on the binary nvidia drivers and I'd also test w/ that setup (nb. that the output names will likely change, ie. HDMI-1-1 might become "HDMI1" or so)

Offline

#5 2022-04-25 22:12:27

nsz32
Member
Registered: 2022-04-25
Posts: 4

Re: [SOLVED] Asus G15 / GeForce GTX 1650 Ti M. external screen not working

Thank you Seth for your help.

On the HDMI or entirely?

On the HDMI screen only, as if it get a resolution greater than 640x480, it output nothing.

Does it remain black when you kill picom?

Yep, picom doesn't seems to interfer with my problem.

What's the resulting "xrandr -q"?

xrandr -q (HDMI wasn't plugged in !)

Did the "xrandr --output HDMI-1-1 --auto" print any errors?

No sir.

As you can see in xrandr -q, i managed to get the USB-C/DP working again. To do so :
i installed only the proprietary driver nvidia (no xf86-) and let the MODULES in mkinitcpio.conf empty (and rebuilded initramfs).
"i915.modeset=1 nvidia-drm.modeset=1" in kernel cmdline
No additional config files related in /etc/X11/ nor in /etc/modprobe.d/

xrandr --listproviders

Providers: number : 2
Provider 0: id: 0x42 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 1 associated providers: 1 name:modesetting
Provider 1: id: 0x26c cap: 0x2, Sink Output crtcs: 4 outputs: 3 associated providers: 1 name:NVIDIA-G0

2 things to point out from my research :

- i suspect the USB-C to enter in a broken state when using it on battery, and i didn't know what really makes it recover (probably something hardware related)
This is maybe related with power management ?
- the HDMI isn't fixed (only 640x480 resolution works) and the rate of DP-1-0 @ 30Hz isn't a good thing so the setup seems pretty unsure to me.

I tried optimus / prime setup from the wiki but failed to start the X server most of the time with no external output.

As it is working now this evening, i will not try any research until tomorrow after my workday.
I'm interested to understand the thing to manage these displays once for all, so i will continue to investigate smile

Thank for your help, if you have any ideas smile

Last edited by nsz32 (2022-04-25 22:26:15)

Offline

#6 2022-04-26 21:03:19

nsz32
Member
Registered: 2022-04-25
Posts: 4

Re: [SOLVED] Asus G15 / GeForce GTX 1650 Ti M. external screen not working

The HDMI issue seems related to this nv forums report (kernel bug).

More on the USB-C front :
- the output enters in a broken state if i boot up the machine on battery with usb linked to a monitor.
- once in broken state, shutdown/start, restart, xrandr, nothing (maybe a command ?) can recover the USB-C, it seems unpowered and don't work as an standard USB-C
- to get it working again, follow these steps : shutdown, unplug USB-C, unplug power supply, replug it, and finally put on the USB-C again.
- if started powered, i can remove the power supply and even rebooting without getting in this broken state

This behavior can maybe be influenced by the screen : an LG UHD Monitor.

I switched from nvidia to nouveau without any pb, no config files, no mkinitcpio modules, no graphics related kernel parameters.
I only installed xf86-video-nouveau to get DDX accel.

Hope this can be useful to someone one day smile

Marking it as solved as i can get my external screen pretty easily now.

Thank you,

Last edited by nsz32 (2022-04-26 21:08:15)

Offline

Board footer

Powered by FluxBB