You are not logged in.

#1 2024-10-26 11:53:07

Namala
Member
Registered: 2024-10-26
Posts: 2

External monitor freezes in hybrid mode

I am experiencing an issue with my external monitor when using NVIDIA hybrid graphics on Arch Linux. The external monitor frequently freezes, and I am able to trigger it at will.

System Information:
    Laptop Model: Lenovo Legion Pro 7 16ARX8H
    Operating System: Arch Linux
    Kernel Version: 6.11.5-arch1-1
    Hardware:
        CPU: AMD Ryzen 9 7945HX with Radeon Graphics (32) @ 5.461GHz
        Integrated GPU: GPU: AMD ATI 06:00.0 Raphael
        Discrete GPU: NVIDIA GeForce RTX 4080 Max-Q / Mobile
    Display Manager: GDM
    Desktop Environment: Gnome

Issue Description:
I have an external USB-C monitor (MB16QHG) connected to my laptop that uses the NVIDIA GPU. Both monitors freeze for 1~ second, before the primary built-in monitor comes back, while the external monitor is frozen in place. The quickest way to fix this is to lock my screen and wait for both monitors to go dark, before resuming.

Steps Taken:
    Tried Disabling and Enabling the Monitor: Using xrandr commands, but the external monitor does not respond after the freeze.
    Tried all variants of Nvidia drivers. Nvidia, nvidia-open, nvidia-open-dkms
    Restarted Display Manager: Attempted restarting the display manager (e.g., GDM) but that doesn’t resolve the issue.
    Checked Logs (journalctl, xrandr, xorg, dmesg): Observed the following relevant log messages at the moment of freeze:
        (EE) client bug: timer event18 debounce: scheduled expiry is in the past (-313ms), your system is too slow
    Tried Adjusting NVIDIA Settings: Set the GPU to maximum performance mode using nvidia-settings.
    Kernel Parameters: Tested various kernel parameters (e.g., nvidia-drm.modeset=1, nouveau.runpm=0.) but without success.
    Other Troubleshooting:
        Created scripts to toggle the display.
        Checked the physical connections of the monitor.
        Verified that the issue persists with different cables and ports.

Additional Context:
    I am using optimus-manager to manage the hybrid setup.
    I am unable to get the external monitor working in integrated mode
    The external monitor works without any issues in dGPU / NVIDIA mode, but primary-display doesn't.

Logs:
    xrandr
    xrandr --listproviders
    sudo journalctl -f
    sudo pacman -Q
    dmesg is blank

EDIT 1:
It seems this is a known issue:
https://forums.developer.nvidia.com/t/e … /242543/16
https://bbs.archlinux.org/viewtopic.php?id=282669

Last edited by Namala (2024-10-27 15:45:57)

Offline

Board footer

Powered by FluxBB