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

 

 

 

Upgrading to Bullseye Debian 11

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Udaba
Posts: 80
Joined: 2019-03-18 00:35
Has thanked: 4 times

Upgrading to Bullseye Debian 11

#1 Post by Udaba »

Hello there community . I run Debian 10 on Gnome .
I tried to upgrade to Bullseye but when i rebooted just a black screen appeared.
Is there any way i can ugprade without bricking something?
i think something with nvidia drivers broke but im not sure .
Thanks in advance .

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2042
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 149 times
Been thanked: 212 times

Re: Upgrading to Bullseye Debian 11

#2 Post by Hallvor »

Is there any way i can ugprade without bricking something?
Call Nvidia and ask them.

Seriously, you are posting too little info. How about you post the output of

Code: Select all

$ lspci
Tell us what driver you are using

Not sure if this works, but you can try

Code: Select all

$ nvidia-smi
And finally show us logs. Get to a command line interface and see if you can find some errors

Code: Select all

# journalctl -p 3 -xb
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

Udaba
Posts: 80
Joined: 2019-03-18 00:35
Has thanked: 4 times

Re: Upgrading to Bullseye Debian 11

#3 Post by Udaba »

01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)

Im so sorry about it . Im Meganoob .
Nvidia drivers version : 418.197.02

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2042
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 149 times
Been thanked: 212 times

Re: Upgrading to Bullseye Debian 11

#4 Post by Hallvor »

Don't worry. We've all been there.

Tell me, how did you install it?

Bullseye's version is Version 460.73.01, so it hasn't been upgraded. Have you fully upgraded the system?

Try uninstalling your current driver and run the following commands:

Code: Select all

# apt update
# apt install nvidia-driver firmware-misc-nonfree
This will update your repository and rebuild your driver. Then reboot.

https://wiki.debian.org/NvidiaGraphicsD ... _460.73.01
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

Udaba
Posts: 80
Joined: 2019-03-18 00:35
Has thanked: 4 times

Re: Upgrading to Bullseye Debian 11

#5 Post by Udaba »

Hallvor wrote: 2021-07-28 21:39 Don't worry. We've all been there.

Tell me, how did you install it?

Bullseye's version is Version 460.73.01, so it hasn't been upgraded. Have you fully upgraded the system?

Try uninstalling your current driver and run the following commands:

Code: Select all

# apt update
# apt install nvidia-driver firmware-misc-nonfree
This will update your repository and rebuild your driver. Then reboot.

https://wiki.debian.org/NvidiaGraphicsD ... _460.73.01
should i just apt remove nvidia-drivers and install this?

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2042
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 149 times
Been thanked: 212 times

Re: Upgrading to Bullseye Debian 11

#6 Post by Hallvor »

Yes, remove Nvidia drivers version 418.197.02 and install the new one from the repository like I showed above.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

Udaba
Posts: 80
Joined: 2019-03-18 00:35
Has thanked: 4 times

Re: Upgrading to Bullseye Debian 11

#7 Post by Udaba »

Hallvor wrote: 2021-07-28 21:53 Yes, remove Nvidia drivers version 418.197.02 and install the new one from the repository like I showed above.
If i remove the nvidia drivers wont i break anything?
secondly , how i can do a safe upgrade , what i do change in lists.etc?

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2042
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 149 times
Been thanked: 212 times

Re: Upgrading to Bullseye Debian 11

#8 Post by Hallvor »

Didn't you already try to upgrade the system and boot to a black screen?

If you remove the old driver, the worst case scenario is that you won't be able to boot into Gnome on Debian Buster. Your installed driver will probably not work with Debian Bullseye. I suggest you remove your old driver now and install Bullseye's after the dist-upgrade.

For dist-upgrades, read this: https://www.debian.org/releases/bullsey ... ase-notes/
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

Udaba
Posts: 80
Joined: 2019-03-18 00:35
Has thanked: 4 times

Re: Upgrading to Bullseye Debian 11

#9 Post by Udaba »

Hallvor wrote: 2021-07-29 20:13 Didn't you already try to upgrade the system and boot to a black screen?

If you remove the old driver, the worst case scenario is that you won't be able to boot into Gnome on Debian Buster. Your installed driver will probably not work with Debian Bullseye. I suggest you remove your old driver now and install Bullseye's after the dist-upgrade.

For dist-upgrades, read this: https://www.debian.org/releases/bullsey ... ase-notes/
That was my attempt to upgrade. I was running latest Debian version and KDE Plasma . Then as i told you my machine bricked and then i install Debian with Gnome. Im meganoob , isnt there any safest way to upgrade to Bullseye?

Udaba
Posts: 80
Joined: 2019-03-18 00:35
Has thanked: 4 times

Re: Upgrading to Bullseye Debian 11

#10 Post by Udaba »

I clean installed debian then upgraded to bullseye and then installed nvidia drivers .
everything works fine now i think .
Can you help me set the fan GPU ?
tried this : https://www.iodocs.com/how-to-enable-gp ... -in-linux/ but my /etc/X11/xorg.conf file is empty .
I have a GTX 970 .
nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a "[fan:0]/GPUTargetFanSpeed=85"

gives me this :ERROR: Error assigning value 85 to attribute 'GPUTargetFanSpeed' (10:1[fan:0])
And last question , should i enable Thunderbolt?

User avatar
sunrat
Administrator
Administrator
Posts: 6476
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: Upgrading to Bullseye Debian 11

#11 Post by sunrat »

I have a GTX 970 too. It controls its own speed very well.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Udaba
Posts: 80
Joined: 2019-03-18 00:35
Has thanked: 4 times

Re: Upgrading to Bullseye Debian 11

#12 Post by Udaba »

sunrat wrote: 2021-07-31 11:25 I have a GTX 970 too. It controls its own speed very well.
When GPU is 60 celsius and fan running at 0% not so good .
We have a hot summer and these days at the city i leave will reach 45 celsius .
I have to do something to control the fan.

User avatar
sunrat
Administrator
Administrator
Posts: 6476
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: Upgrading to Bullseye Debian 11

#13 Post by sunrat »

I got a few hits searching "linux gtx970 fan control" but none of it looks particularly simple and I'm not going to test it.
Maybe this will help - https://github.com/vandabbin/nvidia-fan-control-linux
On that page it says something about enabling coolbits by creating a file /etc/X11/xorg.conf.d/20-nvidia.conf with this content looks like a start:

Code: Select all

Section "Device"
        Identifier "Nvidia Card"
        Driver "nvidia"
        VendorName "NVIDIA Corporation"
        Option "Coolbits" "12"
EndSection
Also not sure what is the correct integer value for coolbits for the script to run.

Also I wouldn't worry too much about 60℃ for GPU although it seems like the fan should be running at that temp. Mine is currently 57℃ with only a browser, file manager, and audio running but fan is at 22%.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Udaba
Posts: 80
Joined: 2019-03-18 00:35
Has thanked: 4 times

Re: Upgrading to Bullseye Debian 11

#14 Post by Udaba »

Happens to have the MSI ? Its kinda weird the fans work.
Also after upgrading to bullseye and upgrading nvidia-drivers too i get a huge fps increase with a lot of games.
Any idea how i enable coolbits ?

User avatar
sunrat
Administrator
Administrator
Posts: 6476
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: Upgrading to Bullseye Debian 11

#15 Post by sunrat »

Udaba wrote: 2021-07-31 14:34 Any idea how i enable coolbits ?
No, apart from what I wrote in my last post. I never heard of it till today where it was mentioned to be needed to run that fan control script from Github. It is not a fan control by itself.
I found that info by searching the internet.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Udaba
Posts: 80
Joined: 2019-03-18 00:35
Has thanked: 4 times

Re: Upgrading to Bullseye Debian 11

#16 Post by Udaba »

I did it !!
I have to run nvidia-settings with sudo to create the file .
then successfully edited the file and everything works perfect . even nvidia-drivers got upgraded without bricking something.

User avatar
sunrat
Administrator
Administrator
Posts: 6476
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: Upgrading to Bullseye Debian 11

#17 Post by sunrat »

Please explain exactly what you did so it may help someone else.
I don't understand why you ran nvidia-settings. You can create a conf file with a simple text editor.
Are you using that nvidia-fan-control-linux script from Github? Can you properly control your fan speed with it? Are your GPU temperatures better now?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply