Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPU is not properly transitioning HDMI 2.1 displays from FRL (Fixed Rate Link) to TMDS (Transition Minimized Differential Signaling) during reboots #721

Open
2 tasks done
plexecutor opened this issue Oct 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@plexecutor
Copy link

plexecutor commented Oct 25, 2024

NVIDIA Open GPU Kernel Modules Version

560.35.03-18 x86_64

Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.

  • I confirm that this does not happen with the proprietary driver package.

Operating System and Version

Arch Linux

Kernel Release

6.11.5.arch1-1

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.

  • I am running on a stable kernel release.

Hardware: GPU

Gigabyte RTX 3060 Ti LHR

Describe the bug

The GPU is not properly transitioning HDMI 2.1 displays from FRL (Fixed Rate Link) to TMDS (Transition Minimized Differential Signaling) during reboots. This causes a black screen during the BIOS/UEFI and Bootloader phase of the reboot process. Expected behavior is as follows: Display is in FRL mode when displaying the desktop environment, user initiates reboot, GPU transitions display to TMDS (required by bios/uefi and bootloader to produce video). This is how Windows and older LTS distros that do not have bleeding edge drivers or kernel support behave.

To Reproduce

Have an HDMI 2.1 connected monitor, preferably one that allows you to view signal information on the display itself such as an LG OLED TV, capable of saturating more than 18Gbps (required to be in FRL signal mode) and initiate a reboot. Notice the screen stays black and you do not see the PC's BIOS splash screen or the bootloader. Video returns once the linux kernel and initramfs are loaded.

Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

I cannot pinpoint exactly when this bug started, but it is not present on LTS distros like Pop or Ubuntu. It seems to be some combination of kernel 6.11 or Nvidia 560. I have not been able to test 565 yet as it is not packaged for Arch at this time.

@plexecutor plexecutor added the bug Something isn't working label Oct 25, 2024
@plexecutor
Copy link
Author

I think I can narrow this issue down to the fbdev option in nvidia_drm. The following steps will fix the issue, albeit at the expense of tty sessions having a very low/stretched resolution.

Set fbdev kernel parameter to 0 by creating nvidia-drm.conf in /usr/lib/modprobe.d (Arch Linux, may vary by distro) and add the following line:

options nvidia_drm modeset=1 fbdev=0

regenerate initramfs:

mkinitcpio -P

The next reboot will still have no bios screens but after the second one you should now always see the bios messages and boot-loader. You will also notice, that the boot messages on startup and shutdown/reboot in the tty now have a much lower resolution than before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant