Hello out there, I have an issue with my new Debian installation. I
choose stable for now, to keep it simple. So used the stable
installation ISO to install Debian on a MSI Z690-A with a Intel Core
I7-14700 and a GeForce RTX 4060Ti. The Nouveau driver did not work with
this card so I installed the Nvidia driver and everything to build it.
Then I created my MOK key and enrolled them. So the nvidia-current
module is signed now and is getting loaded as nvidia_drm, nvidia_modeset
and nvidia. But something still prevents the X server from starting:

[   304.354] (II) NVIDIA GLX Module  535.183.01  Sun May 12 19:37:53 UTC
2024
[   304.355] (II) NVIDIA: The X server supports PRIME Render Offload.
[   308.891] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at
PCI:1:0:0.  Please
[   308.891] (EE) NVIDIA(GPU-0):     check your system's kernel log for
additional error
[   308.891] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8:
Common Problems in the
[   308.891] (EE) NVIDIA(GPU-0):     README for additional information.
[   308.891] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA
graphics device!
[   308.891] (EE) NVIDIA(0): Failing initialization of X screen

According to your log messages The NVIDIA card fails to initialize before X
fails. NVIDIA is a major pain in the ass with Linux. Which is why I do not
use them.

[   308.891] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA
graphics device!
[   308.891] (EE) NVIDIA(0): Failing initialization of X screen

Did the installer have graphics when you installed it? You could try
booting from the live USB image for bookworm and trixie and see how that
works out. If your graphics card is really new then you may have to run
Trixie to support it.


Hello Timothy, thank you for your help. Well I did. I used the Debian Live System (Testing version) to boot into my new PC, but I stalled really early. And I couln't even open a console or connect to the system via SSH. At least I could see with nmap that it fetched an IP address. The Debian installer offered me graphics but this is "just" framebuffer I guess? With Ubuntu I was able to start the system. With a very (s)low resolution though but it worked. It used the Nouveau driver.


Thanks


BR Christian




[   308.891] (II) UnloadModule: "nvidia"
[   308.891] (II) UnloadSubModule: "glxserver_nvidia"
[   308.891] (II) Unloading glxserver_nvidia

and dmesg gives me this:

[   40.344811] nvidia: module license 'NVIDIA' taints kernel.
[   40.344811] Disabling lock debugging due to kernel taint

....

[   46.716241] NVRM: GPU 0000:01:00.0: RmInitAdapter failed!
(0x23:0x65:1426)
[   46.716422] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device
minor number 0

....

[   47.042454] Lockdown: Xorg: raw io port access is restricted; see man
kernel_lockdown.7
[   51.092248] NVRM: GPU 0000:01:00.0: RmInitAdapter failed!
(0x23:0x65:1426)
[   51.092330] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device
minor number 0
[   55.097874] NVRM: GPU 0000:01:00.0: RmInitAdapter failed!
(0x23:0x65:1426)
[   55.097953] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device
minor number 0

the last two lines repeats 1000++ times

I think it's still SecureBoot, but what is it this time? Can anyone help


Thank you in advance


BR Chris



Reply via email to