[RESOLVED] Black screen on boot in kernel 6.12 (NVIDIA)
Insurgent
Status: Curious
Joined: 02 Dec 2024
Posts: 7
Reply Quote
Unlike another similar error reported, in my case dkms does not give problems.

The black screen on boot can be solved by adding to the grub:

:: Code ::
nvidia_drm.modeset=1 nvidia_drm.fbdev=1


But although it boots the X11 configuration in XORG is ignored and everything is extremely slow.

The behavior is the same in the with Xanmod kernel 6.12.x.

I suspect the bug is in the nvidia drivers as I have found the following:



Since the drivers are not available in the Ubuntu repositories nor are they available in the https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa repository

Would it be possible to keep the 6.11.x branch until this is resolved?

Thank you.

Edit: To clarify, what I am asking is that version 6.11 not be removed from the repositories.


:: Code ::

Linux Mint - X11 - KDE Plasma 5.27.11

System:
  Kernel: 6.11.10-1-liquorix-amd64 arch: x86_64 bits: 64 compiler: gcc
    v: 13.2.0
  Desktop: KDE Plasma v: 5.27.11 tk: Qt v: 5.15.13 wm: kwin_x11 dm:
    1: LightDM 2: SDDM note: stopped Distro: Linux Mint 22 Wilma
    base: Ubuntu 24.04 noble
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: TUF GAMING B650-PLUS v: Rev 1.xx
    serial: <superuser required> part-nu: SKU UEFI: American Megatrends v: 3057
    date: 10/29/2024
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3
    serial: <filter> charge: 100% (should be ignored) status: discharging
CPU:
  Info: 6-core AMD Ryzen 5 7600X [MT MCP] arch: Zen 4 speed (MHz): avg: 1312
    min/max: 545/5531
Graphics:
  Device-1: NVIDIA AD104 [GeForce RTX 4070] vendor: ZOTAC driver: nvidia
    v: 550.120 arch: Lovelace pcie: speed: 16 GT/s lanes: 16 ports: active: none
    off: DP-1,DP-2,DP-3 empty: HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:2786
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia,nvidia-nvswitch
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5760x1080 s-dpi: 92
  Monitor-1: DP-1 mapped: DP-0 note: disabled pos: primary,center
    model: AOC 24G2W1G3- res: 1920x1080 dpi: 93 diag: 604mm (23.8")
  Monitor-2: DP-2 note: disabled pos: left model: NXM24CRV01 res: 1920x1080
    dpi: 94 diag: 605mm (23.8")
  Monitor-3: DP-3 mapped: DP-4 note: disabled pos: right model: AOC 24G2W1G4
    res: 1920x1080 dpi: 93 diag: 604mm (23.8")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: swrast
    gbm: drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.120
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4070/PCIe/SSE2
  API: Vulkan v: 1.3.275 surfaces: xcb,xlib device: 0 type: discrete-gpu
    driver: N/A device-ID: 10de:2786 device: 1 type: cpu driver: N/A
    device-ID: 10005:0000
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
    pcie: speed: 5 GT/s lanes: 1 port: e000 bus-ID: 08:00.0 chip-ID: 10ec:8125
  Device-2: Ralink MT7601U Wireless Adapter driver: mt7601u type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-10:5 chip-ID: 148f:7601
Drives:
  Local Storage: total: 6.5 TiB used: 2.59 TiB (39.8%)
Info:
  Memory: total: N/A available: 62.44 GiB used: 7 GiB (11.2%)
  Processes: 574 Power: uptime: 15m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: pm: dpkg pkgs: 4103 Compilers: gcc: 13.2.0 alt: 14 Shell: Zsh
    v: 5.9 running-in: lxterminal inxi: 3.3.34

Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
This is pretty historical, I don't think I've seen kernel compatibility this bad since the fglrx days. Even if you patch the driver to compile with the new kernel, it doesn't work right or at all: forums.developer.nvidia.com/t/565-release-feedback-discussion/310777/280

Two issues
1. Random performance issues and general crashing
2. Output connectivity broken in some cases

Here's some more from TKG: github.com/Frogging-Family/nvidia-all/issues/275

Overall I'm stunned by how slow Nvidia is responding, they've known about this for months. The problem with kernel 6.12 must be deeper that it looks on the surface.

As for 6.11 availability, because of how PPAs work (and how little space they gave me), I can't have both 6.11 and 6.12 available at the same time. However, I can do a custom build for all supported Ubuntu variants and upload that to a custom location on liquorix.net. Later today or tomorrow I should have something.
Back to top
DeepDayze
Status: Contributor
Joined: 21 May 2009
Posts: 137
Reply Quote
Even on Debian I've encountered build failures with the 560 driver as well, and indications there's going to be no patch for this so will have to install the 565 series driver.
Back to top
Insurgent
Status: Curious
Joined: 02 Dec 2024
Posts: 7
Reply Quote
:: damentz wrote ::
As for 6.11 availability, because of how PPAs work (and how little space they gave me), I can't have both 6.11 and 6.12 available at the same time. However, I can do a custom build for all supported Ubuntu variants and upload that to a custom location on liquorix.net. Later today or tomorrow I should have something.


I appreciate the effort.

I can confirm that everything works without problems in kernel 6.12 installing nvidia 550.135 from here: https://www.nvidia.com/en-us/drivers/details/236036/

Thanks
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
:: Quote ::
I can confirm that everything works without problems in kernel 6.12 installing nvidia 550.135


That's good to hear! In the meantime, I built the last 6.11 kernel I supported for Ubuntu and uploaded each release here: liquorix.net/ubuntu/

In the future I'll consider building for the main debian branch used for Debian releases, but for now this should help.
Back to top
DeepDayze
Status: Contributor
Joined: 21 May 2009
Posts: 137
Reply Quote
Indeed 6.12 is a major change and the nvidia devs must not have seen that coming. Having this kind of driver breakage with a new kernel and not being forthcoming with patches/workarounds/updated drivers soon enough does leave a bad taste in my mouth.

At least with amdgpu issues seem to get fixed faster and I'm considering moving to an AMD card as my current GTX 1060 is aging and needing replacement in the near future.
Back to top
mhalano
Status: Interested
Joined: 31 Dec 2022
Posts: 11
Reply Quote
One thing that I find very odd with version 6.12.4-1 it was the kernel modules weren't signed, even I'm having my own MOK key. It says "The kernel is be built without module signing facility, modules won't be signed". So I think that's why the kernel module doesn't load. I'm using NVIDIA 560.35.03 from Ubuntu Plucky, that has a patch to compile kernel 6.12.
Back to top
Insurgent
Status: Curious
Joined: 02 Dec 2024
Posts: 7
Reply Quote
After testing different versions of the nvidia drivers, I have concluded that the best version for plasma 5.27 and X11 is version 550.135, or any version of the 550 branch.

The features of other versions are not taken advantage of if you don't use Wayland or Plasma 6.

For Wayland or Plasma 6 what I recommend more than a specific version is a lot of patience and high frustration tolerance :-)
Back to top
Display posts from previous:   

All times are GMT - 8 Hours