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

 

 

 

Debian 11 Random Freeze

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Debian_user4755!
Posts: 11
Joined: 2022-04-18 15:44
Has thanked: 1 time

Debian 11 Random Freeze

#1 Post by Debian_user4755! »

I have been experiencing random freezing in Debian 11 Bullseye ever since I started using it about a year ago, it happens at random times and apparently isn't related to my computer work load, I thought maybe it's related to a certain desktop environment that has a memory leak or other memory-related bugs so I changed different desktop environments but the problem remains.

This never happened to me with the previous Debian 10. Any help is appropriated.

frazatto
Posts: 34
Joined: 2018-06-21 11:48
Has thanked: 3 times

Re: Debian 11 Random Freeze

#2 Post by frazatto »

Me too \o/

I thought I was the only one.
I think it has something to do with SSD operations.

User avatar
NFT5
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 597
Joined: 2014-10-10 11:38
Location: Canberra, Australia
Has thanked: 10 times
Been thanked: 43 times

Re: Debian 11 Random Freeze

#3 Post by NFT5 »

Debian_user4755! wrote: 2022-04-18 15:56 it's related to a certain desktop environment
Are we supposed to guess?

What graphics card are you using?

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Debian 11 Random Freeze

#4 Post by Bulkley »

Random freezes are often hardware related. A cold solder connection on a video card could drive you absolutely to pulling your hair out. This subject comes up occasionally; do a search.

Debian_user4755!
Posts: 11
Joined: 2022-04-18 15:44
Has thanked: 1 time

Re: Debian 11 Random Freeze

#5 Post by Debian_user4755! »

NFT5 wrote: 2022-04-18 19:38
Are we supposed to guess?

What graphics card are you using?
My machine has two graphic cards, first is the integrated Intel and second is NVIDIA GeForce 820M
No proprietary drivers are being used.

Code: Select all

$ sudo lshw -numeric -C display

  *-display                 
       description: VGA compatible controller
       product: Haswell-ULT Integrated Graphics Controller [8086:A16]
       vendor: Intel Corporation [8086]
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 0b
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:47 memory:c3000000-c33fffff memory:d0000000-dfffffff ioport:6000(size=64) memory:c0000-dffff
       
  *-display
       description: 3D controller
       product: GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] [10DE:1140]
       vendor: NVIDIA Corporation [10DE]
       physical id: 0
       bus info: pci@0000:03:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=nouveau latency=0
       resources: irq:46 memory:c2000000-c2ffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:3000(size=128)
Last edited by Debian_user4755! on 2022-04-19 01:04, edited 1 time in total.

User avatar
NFT5
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 597
Joined: 2014-10-10 11:38
Location: Canberra, Australia
Has thanked: 10 times
Been thanked: 43 times

Re: Debian 11 Random Freeze

#6 Post by NFT5 »

Yes, thought so. Support for this card changed with Bullseye.

Install the package nvidia-detect. Run and follow the instructions on which driver to install.

Next time you ask a question try to do some research first and list any information that may be pertinent.

Debian_user4755!
Posts: 11
Joined: 2022-04-18 15:44
Has thanked: 1 time

Re: Debian 11 Random Freeze

#7 Post by Debian_user4755! »

NFT5 wrote: 2022-04-19 03:38 Yes, thought so. Support for this card changed with Bullseye.

Install the package nvidia-detect. Run and follow the instructions on which driver to install.

Next time you ask a question try to do some research first and list any information that may be pertinent.
Why? I don't want to use non-free drivers.

User avatar
NFT5
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 597
Joined: 2014-10-10 11:38
Location: Canberra, Australia
Has thanked: 10 times
Been thanked: 43 times

Re: Debian 11 Random Freeze

#8 Post by NFT5 »

That's your choice.

You can put up with the random freezes or install non-free.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Debian 11 Random Freeze

#9 Post by kedaha »

I don't know if it'll help but I got random freezes using nouveau- However, after editing /etc/default/grub as detailed in viewtopic.php?f=20&t=151512 the freezes are gone.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

cynwulf

Re: Debian 11 Random Freeze

#10 Post by cynwulf »

Debian_user4755! wrote: 2022-04-19 04:27 Why? I don't want to use non-free drivers.
Well you are trying to use "non-free" hardware...

centguy
Posts: 17
Joined: 2020-09-29 06:57

Re: Debian 11 Random Freeze

#11 Post by centguy »

Interesting. I have random freeze one time and gnome3 desktop crash 2 twice. Bizzare.
My hardware are in https://linux-hardware.org/?probe=3dbd4103ce

The Debian 11 always do auto upgrade when I shutdown OS.

I have MX450, i have used non-free. nvidia-detect is working. The freeze only happens recently.

I have switched from CentOS camp ~3 months back and trying to find a stable Linux home.
Was quite happy with zoom and Teams usage. But
Consistent crashing of meld is also another big minus point, severely impact my research work.

artag
Posts: 3
Joined: 2022-05-19 20:46

Re: Debian 11 Random Freeze

#12 Post by artag »

I am also having this problem.

I typically get between 1 and 5 freezes per day. It's nearly always in the browser (Brave and Firefox). It never happens with video. It's usually when a pane is being repainted, which can include scrolling. I was previously running debian 9 with the non-free driver and it never happened. It started precisely when I updated to debian 11. Although video runs fine, it usually causes the fan to rev up. This didn't happen with the Nvidia driver.

Only the video system is frozen, and sometimes only the browser (I can use the desktop's logout application, though it doiesn't always work). I can log in externally. In some cases I can kill the browser - most consistently by logging out . I cannot usually kill the browser with kill. Sometimes it recovers immediately, sometimes it gets stuck indefinitely. I have always been able to log in over the network and reboot, but the reboot often pauses, unable to kill brave.

I surmise that a call made by the browser more often than any other software hangs inside the system call. I don't know how to debug further.

nvidia-detect says

Detected NVIDIA GPUs:
60:00.0 VGA compatible controller [0300]: NVIDIA Corporation G94 [GeForce 9600 GT] [10de:0622] (rev a1)

Checking card: NVIDIA Corporation G94 [GeForce 9600 GT] (rev a1)
Your card is only supported by the 340 legacy drivers series, which is only available up to buster.

I am using :

xserver-xorg-video-nouveau 1:1.0.17-1
Debian GNU/Linux 11
The machine is an HP desktop with two 4-core xeons

I get this in the kernel debug :

[ 151.999721] nouveau 0000:60:00.0: firmware: failed to load nouveau/nv84_xuc00f (-2)
[ 151.999730] nouveau 0000:60:00.0: Direct firmware load for nouveau/nv84_xuc00f failed with error -2
[ 151.999736] nouveau 0000:60:00.0: vp: unable to load firmware nouveau/nv84_xuc00f
[ 151.999738] nouveau 0000:60:00.0: vp: init failed, -2
[ 151.999767] nouveau 0000:60:00.0: firmware: failed to load nouveau/nv84_xuc103 (-2)
[ 151.999770] nouveau 0000:60:00.0: Direct firmware load for nouveau/nv84_xuc103 failed with error -2
[ 151.999773] nouveau 0000:60:00.0: bsp: unable to load firmware nouveau/nv84_xuc103
[ 151.999775] nouveau 0000:60:00.0: bsp: init failed, -2
[ 162.453740] logitech-hidpp-device 0003:046D:4069.000C: HID++ 4.5 device connected.
[ 1351.723317] perf: interrupt took too long (2507 > 2500), lowering kernel.perf_event_max_sample_rate to 79750


I am fairly happy to dump the nvidia card, but I would be looking for a cheap, silent (no fan) card with sufficient performance for CAD. I don't care about gaming. The HP is very pleasantly quiet and I would be very unwilling to add more fans unless they were mostly slow.

artag
Posts: 3
Joined: 2022-05-19 20:46

Re: Debian 11 Random Freeze

#13 Post by artag »

I think I've now fixed the missing-firmware issue. From what I understand, it might be the solution to the fan running during video as I think those are for decode acceleration.

artag
Posts: 3
Joined: 2022-05-19 20:46

Re: Debian 11 Random Freeze

#14 Post by artag »

.. and I haven't had a freeze since making the grub change as detailed above. Looking like a fix.

michaeltg
Posts: 4
Joined: 2022-07-08 17:05

Re: Debian 11 Random Freeze

#15 Post by michaeltg »

For what it's worth, here are my two cents:

I experienced freezes of my desktop environment (occurring at random but on average one every 2-3 hours) when nouveau was set as the driver of my graphics card.

Code: Select all

$ inxi --graphics |grep Device-1
  Device-1: NVIDIA GK208B [GeForce GT 710] driver: nouveau v: kernel
These freezes ceased when I installed package nvidia-driver, which was suggested via nvidia-detect.

Code: Select all

$ inxi --graphics |grep Device-1
  Device-1: NVIDIA GK208B [GeForce GT 710] driver: nvidia v: 470.129.06
What role the packages firmware-misc-nonfree and firmware-realtek played in resolving the freezes, I cannot say, but I did install these packages as well.

Post Reply