Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Screen bugs after upgrade to bookworm

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
ThreeDs
Posts: 16
Joined: 2023-05-28 13:10
Has thanked: 2 times

Screen bugs after upgrade to bookworm

#1 Post by ThreeDs »

Hello,
I've upgraded to bookworm but now I'm experiencing issues with the screen. It keeps flickering and there are graphical glitches all over the place at the point where it is basically unusable. From my limited understanding it is a issue of graphical drivers but when I try

Code: Select all

sudo apt install nvidia-driver
it just says I held broken packages. Is there something I can do?

If you need to see any specific error message please let me know. Due to the glitchiness of it I have to make a photo to the screen to capture it.

Thank you

Aki
Global Moderator
Global Moderator
Posts: 2816
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 68 times
Been thanked: 382 times

Re: Screen bugs after upgrade to bookworm

#2 Post by Aki »

Hello,

From which Debian version you have upgraded ?

What commands have you used to upgrade ?

Are you sure you have completed the upgrade process ? What is the currently installed Debian version (from /etc/debian_version) ?

Have you followed the Debian Bookworm Release notes [1] about upgrading from the previous release ? Take a look at it for missing steps.

Can you report the complete error of the command in the previous message ?

---
[1] https://www.debian.org/releases/testing/releasenotes
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

ThreeDs
Posts: 16
Joined: 2023-05-28 13:10
Has thanked: 2 times

Re: Screen bugs after upgrade to bookworm

#3 Post by ThreeDs »

Thanks for your reply Aki

From which Debian version you have upgraded ? Bullseye

What commands have you used to upgrade ?
First I've updated my current version with:

Code: Select all

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
Then I replaced bullseye with bookworm in /etc/apt/sources.list

And finally I upgraded with this commands:

Code: Select all

sudo apt update
sudo apt upgrade
sudo apt full-upgrade
sudo apt autoremove
Are you sure you have completed the upgrade process ? What is the currently installed Debian version (from /etc/debian_version) ? 12.0

Can you report the complete error of the command in the previous message ?
Debian error message.jpg
Last edited by ThreeDs on 2023-05-30 08:45, edited 1 time in total.

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: Screen bugs after upgrade to bookworm

#4 Post by 4D696B65 »

From your other thread you say you got the driver from the internet. Please explain. It might be a good idea to purge the version you tried to install and then start fresh with nvidia-driver from our repo

User avatar
@ttila
Posts: 139
Joined: 2017-12-13 16:57
Has thanked: 2 times
Been thanked: 13 times

Re: Screen bugs after upgrade to bookworm

#5 Post by @ttila »

I think you don't have all repositories enabled in your /etc/apt/source.list.

The package nvidia-dkms is in the not-free section, while nvidia-open-kernel is in contrib section.

So open that file and find the row "testing" or "Bookworm":

Code: Select all

deb http://ftp.it.debian.org/debian/ testing main contrib non-free non-free-firmware 
Add contrib, non-free on the main testing tree.

ThreeDs
Posts: 16
Joined: 2023-05-28 13:10
Has thanked: 2 times

Re: Screen bugs after upgrade to bookworm

#6 Post by ThreeDs »

4D696B65 wrote: 2023-05-30 16:33 From your other thread you say you got the driver from the internet. Please explain. It might be a good idea to purge the version you tried to install and then start fresh with nvidia-driver from our repo
When I installed Debian a couple weeks ago it was missing the firmware to see the wifi adapter so I had no access to the internet. What I did was to find it on internet from Windows and move it to Linux with the pendrive to install it.

About starting anew I think you're right. I'm just trying to fix the problem because it is a learning experience for me. In the couple discussions I've opened I learned quite a bit of stuff from you guys :D
Last edited by ThreeDs on 2023-05-30 22:06, edited 1 time in total.

ThreeDs
Posts: 16
Joined: 2023-05-28 13:10
Has thanked: 2 times

Re: Screen bugs after upgrade to bookworm

#7 Post by ThreeDs »

@ttila wrote: 2023-05-30 17:08 Add contrib, non-free on the main testing tree.
Thanks @ttila. I'll give a look to it tomorrow and reply with the results.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2065
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 221 times

Re: Screen bugs after upgrade to bookworm

#8 Post by FreewheelinFrank »

Also non-free-firmware source in Bookworm?

ThreeDs
Posts: 16
Joined: 2023-05-28 13:10
Has thanked: 2 times

Re: Screen bugs after upgrade to bookworm

#9 Post by ThreeDs »

@ttila wrote: 2023-05-30 17:08

Code: Select all

deb http://ftp.it.debian.org/debian/ testing main contrib non-free non-free-firmware 
Add contrib, non-free on the main testing tree.
Thanks @ttila. I didn't have this specific tree in my file
I have these:

Code: Select all

deb https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb https://deb.debian.org/debian bookworm-updates main contrib non-free
deb https://deb.debian.org/debian-security bookworm-security main contrib non-free
I've added non-free non-free firmware to the first one (in the copypaste here it is already added) and I got it to stop glitching completely. But it seems there is still some degree of problem with the driver because during the booting a error along the lines of "failed to start Nvidia Daemon" appeared and the only supported resolution is 800 x 600 which to my knowledge is the standard resolution when there is no driver.

ThreeDs
Posts: 16
Joined: 2023-05-28 13:10
Has thanked: 2 times

Re: Screen bugs after upgrade to bookworm

#10 Post by ThreeDs »

FreewheelinFrank wrote: 2023-05-30 22:19 Also non-free-firmware source in Bookworm?
Sorry i don't get what you meant to ask

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2065
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 221 times

Re: Screen bugs after upgrade to bookworm

#11 Post by FreewheelinFrank »

ThreeDs wrote: 2023-05-31 08:51
FreewheelinFrank wrote: 2023-05-30 22:19 Also non-free-firmware source in Bookworm?
Sorry i don't get what you meant to ask
Sorry, I was on my phone and didn't see the end of @ttila's line, which includes this repository.

ThreeDs
Posts: 16
Joined: 2023-05-28 13:10
Has thanked: 2 times

Re: Screen bugs after upgrade to bookworm

#12 Post by ThreeDs »

FreewheelinFrank wrote: 2023-05-31 10:12 Sorry, I was on my phone and didn't see the end of @ttila's line, which includes this repository.
I see no problem :)

I also made a photo of the boot error if anyone can find it useful:
Debian boot error.jpg

Post Reply