Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: DU today with kernel upgrade brakes Nvidia-driver  (Read 924 times)

Offline charlyheinz

  • User
  • Posts: 60
DU today with kernel upgrade brakes Nvidia-driver
« on: 2022/08/23, 17:54:38 »
The DU today with kernel-upgrade to 5.19.3-1-siduction brakes the Nvidia-driver 510.73.08-01 from exterimental. Is anyone having the same issue or Is there a new driver coming?

Offline der_bud

  • User
  • Posts: 1.043
  • member
Re: DU today with kernel upgrade brakes Nvidia-driver
« Reply #1 on: 2022/08/23, 19:35:27 »
... Nvidia-driver 510.73.08-01 from experimental...
As of https://packages.debian.org/search?keywords=nvidia%2Ddriver , nvidia-driver in debian experimental is 510.85.02-1, try that one
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.227
    • Land of the Buckeye
Re: DU today with kernel upgrade brakes Nvidia-driver
« Reply #2 on: 2022/08/23, 23:55:31 »
Not only Nvidia -- it failed to start sddm on my Intel graphics as well.  Here is the relevant hardware:

Code: [Select]
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] driver: i915 v: kernel
  Device-2: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] driver: nvidia
    v: 510.85.02
  Device-3: Acer BisonCam NB Pro type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.4 with: Xwayland v: 22.1.3 driver:
    X: loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915
    resolution: 1920x1080~144Hz
  OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa
    22.2.0-rc3

It boots with the Intel GPU.  I spent two days trying to figure out why boot ended with these lines:

Code: [Select]
...
sddm Failed to read display number from pipe
sddm Could not start Display server on vt 7

Google hits suggested the kernel was trying to launch sddm before the CPU had settled. More google pointed me to /etc/systemd/system/display-manager.service.

To insert a little delay in the launch of sddm, I changed this default section:

Code: [Select]
[Service]
# temporary safety check until all DMs are converted to correct
# display-manager.service symlink handling
ExecStart=/usr/bin/sddm
Restart=always
RestartSec=1s
EnvironmentFile=-/etc/default/locale

to:

Code: [Select]
[Service]
# temporary safety check until all DMs are converted to correct
# display-manager.service symlink handling
ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/sddm
Restart=always
RestartSec=1s
EnvironmentFile=-/etc/default/locale

Now it automatically starts sddm once again.

I hope this helps someone.  :)
« Last Edit: 2022/08/24, 10:33:39 by dibl »
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline michaa7

  • User
  • Posts: 2.217
Re: DU today with kernel upgrade brakes Nvidia-driver
« Reply #3 on: 2022/08/25, 10:16:41 »
Here this kernel +sddm + nvidia 470 boots and works as it should:

Quote
$ uname -r
5.19.3-1-siduction-amd64

~$ apt policy nvidia-driver
nvidia-driver:
  Installiert:           470.141.03-1
  Installationskandidat: 470.141.03-1
  Versionstabelle:
     510.85.02-1 1
          1 http://neutower:3142/deb.debian.org/debian experimental/non-free amd64 Packages
 *** 470.141.03-1 500
        500 http://neutower:3142/deb.debian.org/debian unstable/non-free amd64 Packages
        100 /var/lib/dpkg/status
     470.129.06-6~deb11u1 500
        500 http://neutower:3142/deb.debian.org/debian stable/non-free amd64 Packages

~$ apt policy sddm
sddm:
  Installiert:           0.19.0-3
  Installationskandidat: 0.19.0-3
  Versionstabelle:
 *** 0.19.0-3 500
        500 http://neutower:3142/deb.debian.org/debian unstable/main amd64 Packages
        500 http://neutower:3142/deb.debian.org/debian stable/main amd64 Packages
        100 /var/lib/dpkg/status

YMMV
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.227
    • Land of the Buckeye
Re: DU today with kernel upgrade brakes Nvidia-driver
« Reply #4 on: 2022/08/26, 10:11:57 »
Of my four siduction installations, the problem only exists on the one with NVMe SSD.
« Last Edit: 2022/08/26, 15:31:40 by dibl »
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline charlyheinz

  • User
  • Posts: 60
Re: DU today with kernel upgrade brakes Nvidia-driver
« Reply #5 on: 2022/08/26, 14:00:49 »
After editing the sourcelist entry for the experimental Repo as "der_Bud" has told to I could install the new Nvidia-driver. This driver is working as expected. Thx to "der_Bud"
Quote
uname -r
5.19.3-1-siduction-amd64
Quote
apt policy nvidia-driver
nvidia-driver:
  Installiert:           510.85.02-1
  Installationskandidat: 510.85.02-1

Offline terroreek

  • User
  • Posts: 192
Re: DU today with kernel upgrade brakes Nvidia-driver
« Reply #6 on: 2022/10/01, 18:42:02 »
Ok, I am having this issue as well, using the experimental driver doesn't help.  I will try dibl's fix, as this has an NVME drive as well.


No that didn't fix the problem for me either.
« Last Edit: 2022/10/01, 18:53:30 by terroreek »

Offline terroreek

  • User
  • Posts: 192
Re: DU today with kernel upgrade brakes Nvidia-driver
« Reply #7 on: 2022/10/02, 19:10:26 »
hmm this is what I see in my xorg log, I might be missing the obvious but I dont see an error thats causing it not to load.

Offline terroreek

  • User
  • Posts: 192
Re: DU today with kernel upgrade brakes Nvidia-driver
« Reply #8 on: 2022/10/02, 22:03:03 »
Ok I figured it out, I had to blacklist the nouveau driver.  After that xorg was loading correctly but the system was still broken, as it was clear things were not rendering correct.  I removed all the nvidia packages, then re-installed the nvidia drivers from experimental and am working correctly now. 

Offline meander

  • Newbie
  • Posts: 1
Re: DU today with kernel upgrade brakes Nvidia-driver
« Reply #9 on: 2022/10/04, 08:17:56 »
On my system, the nvidia-driver update installed and set the nvidia tesla drivers. Since I don't own a tesla card, my screen became very low resolution

For me, running and setting the non tesla driver worked.

update-glx --config nvidia