Linux Mint "Super Freezes"

just you need to desable C6 of ryzen processor
by using zenstates python script
Thanks, mohdforever, I appreciate the tip! I just wish it had come a few weeks ago, as it could have saved me a lot of trouble! But it's certainly something I'll look into in the future if the need arises.
 


Similar problem: system freezes frequently (~three times per day).

HP Envy x360 convertible laptop, with a AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx. 1TB drive (standard) and 8GB Ram. Dual booted Win 10 and Mint 20.3

System:
Kernel: 5.4.0-94-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: MATE 1.26.0 Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal
Machine:
Type: Convertible System: HP product: HP ENVY x360 Convertible 15m-bq1xx
v: N/A serial: <filter>
Mobo: HP model: 83C6 v: 63.18 serial: <filter> UEFI: AMI v: F.16
date: 01/26/2018

CPU:
Topology: Quad Core model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
bits: 64 type: MT MCP arch: Zen L2 cache: 2048 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 31941
Speed: 1368 MHz min/max: 1600/2000 MHz Core speeds (MHz): 1: 1368 2: 1369
3: 1367 4: 1368 5: 1420 6: 1529 7: 1430 8: 1367
Graphics:
Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
vendor: Hewlett-Packard driver: amdgpu v: kernel bus ID: 03:00.0
Display: x11 server: X.Org 1.20.13 driver: amdgpu,ati
unloaded: fbdev,modesetting,vesa resolution: 1440x900~60Hz
OpenGL: renderer: AMD Radeon Vega 8 Graphics (RAVEN DRM 3.35.0
5.4.0-94-generic LLVM 12.0.0)
v: 4.6 Mesa 21.0.3 direct render: Yes

Thanks for any help!
 
Similar problem: system freezes frequently (~three times per day).

HP Envy x360 convertible laptop, with a AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx. 1TB drive (standard) and 8GB Ram. Dual booted Win 10 and Mint 20.3

System:
Kernel: 5.4.0-94-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: MATE 1.26.0 Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal
Machine:
Type: Convertible System: HP product: HP ENVY x360 Convertible 15m-bq1xx
v: N/A serial: <filter>
Mobo: HP model: 83C6 v: 63.18 serial: <filter> UEFI: AMI v: F.16
date: 01/26/2018

CPU:
Topology: Quad Core model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
bits: 64 type: MT MCP arch: Zen L2 cache: 2048 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 31941
Speed: 1368 MHz min/max: 1600/2000 MHz Core speeds (MHz): 1: 1368 2: 1369
3: 1367 4: 1368 5: 1420 6: 1529 7: 1430 8: 1367
Graphics:
Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
vendor: Hewlett-Packard driver: amdgpu v: kernel bus ID: 03:00.0
Display: x11 server: X.Org 1.20.13 driver: amdgpu,ati
unloaded: fbdev,modesetting,vesa resolution: 1440x900~60Hz
OpenGL: renderer: AMD Radeon Vega 8 Graphics (RAVEN DRM 3.35.0
5.4.0-94-generic LLVM 12.0.0)
v: 4.6 Mesa 21.0.3 direct render: Yes

Thanks for any help!


you could use this solution

 
What are you doing when it freezes? Are you browsing the 'net, have a browser open? Anything specific you can tell us about when it freezes?
 
I’ve been using Mint since Mint 7, always dual booting, usually on Asus hardware, but others also. Never had this problem, and was always using Intel. This Mint (20.3) has three partitions,

/root 30Gb
swap 16Gb
and /home (the rest, about 430Gb)

Seems to occur when I scroll quickly through many pictures in Image Viewer, or scroll through Facebook quickly.
From searching the net for the problem, I suspect it could be relate to drivers, Ryzen AMD issue, C6 (whatever that is)
Was going to try

mohdforever said:
just you need to desable C6 of ryzen processor
by using zenstates python script

but have no idea how
 
Just one quick question - is your browser Chrome, Chromium, or Chromium based?
 
I’ve been using Mint since Mint 7, always dual booting, usually on Asus hardware, but others also. Never had this problem, and was always using Intel. This Mint (20.3) has three partitions,

/root 30Gb
swap 16Gb
and /home (the rest, about 430Gb)

Seems to occur when I scroll quickly through many pictures in Image Viewer, or scroll through Facebook quickly.
From searching the net for the problem, I suspect it could be relate to drivers, Ryzen AMD issue, C6 (whatever that is)
Was going to try

mohdforever said:
just you need to desable C6 of ryzen processor
by using zenstates python script

but have no idea how
first .. make sure your system is up to date by


sudo add-apt-repository -y universe
sudo add-apt-repository -y multiverse

sudo add-apt-repository ppa:kisak/kisak-mesa -y
sudo apt update && sudo apt dist-upgrade -y

sudo dpkg --add-architecture i386
sudo apt update

sudo apt install mesa-utils vulkan-tools libegl1:i386 libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 -y
sudo apt install mesa-vulkan-drivers mesa-vulkan-drivers:i386 vulkan-utils libvulkan1 -y


this will update your AMD drivers


then do the tweak of disable c6 by
pip install portio
sudo modprobe msr

git clone https://github.com/jfredrickson/disable-c6.git
cd disable-c6
git submodule init
git submodule update
sudo ./install.sh
 

Attachments

  • install CoreCtrl AMD control panel.txt
    325 bytes · Views: 493
  • install GPU AMD & Intel Drivers.txt
    663 bytes · Views: 470
take a look on the script I made in the attachment
 

Attachments

  • install CoreCtrl AMD control panel.txt
    325 bytes · Views: 484
  • install GPU AMD & Intel Drivers.txt
    663 bytes · Views: 390
I don't know about the Windoze side, I never open it if I don't have to. Firefox and Brave. And I just checked, Brave IS "is built on the open-source Chromium code by Google"
 
Mohd, would I just run those from the terminal? And would it matter which one was first?
 
I don't know about the Windoze side, I never open it if I don't have to. Firefox and Brave. And I just checked, Brave IS "is built on the open-source Chromium code by Google"

I recently encountered someone who was a Firefox user and the same solution I used for them is the one I recommend for other browsers. It sounds counterintuitive but in your settings disable hardware acceleration. It causes the weirdest bugs, which are mostly manifests as freezing computers.

Try it, restart your browser after, and if it didn't work you can always revert the settings with nothing lost and nothing gained.
 
also, I would recommend a Xanmod kernel as a plan B solution by run the script in the attachment to install the kernel

or by copy past the below command

echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list
wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key --keyring /etc/apt/trusted.gpg.d/xanmod-kernel.gpg add -
sudo apt update && sudo apt install -y linux-xanmod
 

Attachments

  • install xanmod kernel.txt
    307 bytes · Views: 726
Thanks to you both. I thought HA was in the Bios. I have turned it off in both Firefox and Brave, and will go from there. Will do the scripts tomorrow, and keep you posted.
 
You mentioned Brave. If Brave is also open, be sure to disable it there as well. (It doesn't even work in Chromium-based browsers, a topic for another day.)
 
Thanks to you both. I ran both of those scripts and turned off HA in both browsers. No freezes since.
I will look into the Xanmod kernel as a plan B later, my head has been spinning with work and family medical problems.
Do you recommend any other browsers? My wife hates Chrome or anything related to it, and thought Brave w/ Duckduckgo was a safer way to go. Again, thanks so much.
 
Thanks to you both. I ran both of those scripts and turned off HA in both browsers. No freezes since.
I will look into the Xanmod kernel as a plan B later, my head has been spinning with work and family medical problems.
Do you recommend any other browsers? My wife hates Chrome or anything related to it, and thought Brave w/ Duckduckgo was a safer way to go. Again, thanks so much.
any time.


brave and firefox still the best option.
 
If you like the "commercial style" browsers, there is always Opera
 
there is always Opera

Alas, Opera is Chromium based now - and has been for quite a while. She doesn't want any of those. Else, I'd have definitely added Vivaldi to the list.
 

Members online


Top