The officially official Devuan Forum!

You are not logged in.

#1 2020-09-09 20:46:21

rolfie
Member
Registered: 2017-11-25
Posts: 1,172  

[Solved] Mesa update for Cinnamon in Beowulf

HW: ASUS X570 Pro MC, Ryzen 7 3700X CPU, RX 5500XT graphics card.
SW: Beowulf on backports kernel 5.7.0.2, firmware-amd-graphics from backport installed, the firmware files are successfully loaded during boot.

Problem: Cinnamon starts in SW rendering mode. A Chimaera installation on the same HW starts Cinnamon in 3D mode.

When I compare the Chimaera kernel 5.7.0.3 is a bit newer, but I guess the issue is Mesa. Beowulf brings 18.3, there is nothing newer in backports. Chimaera runs on 20.1. I remember reading some notes that the NAVI chipsets require at least Mesa 19.3., so the Beowulf version most likely is not sufficient.

Before I try to install the package from Ceres/Chimaera on Beowulf: what do I have to consider? What's the best approach? Adding the Ceres repo to the sources list and an apt -t ceres install .... or directly downloading the two packages installed and to use dpkg -i ...?

Thanks for a heads up, rolfie

Last edited by rolfie (2020-09-12 08:10:01)

Offline

#2 2020-09-10 14:00:37

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [Solved] Mesa update for Cinnamon in Beowulf

The best solution is probably to add MX Linux's AHS (Advanced Hardware Support) repositories, pin them to behave as backports and install their backported Mesa packages.

See http://forums.debian.net/viewtopic.php?f=16&t=146083 for the details.

EDIT: adding the chimaera or ceres packages won't work because they depend on a newer libc6 version than is available in beowulf.

And don't add the testing/unstable repositories, the installation will pull in the newer libc6 version and it will then never be updated until you move to the next release.

Last edited by Head_on_a_Stick (2020-09-10 14:24:25)


Brianna Ghey — Rest In Power

Offline

#3 2020-09-10 20:49:58

rolfie
Member
Registered: 2017-11-25
Posts: 1,172  

Re: [Solved] Mesa update for Cinnamon in Beowulf

Well, tried the update and got two packages installed which bring mesa 21 instead of 18, pulled some additional libs, but they do not have the desired effect. Cinnamon still decides to use SW rendering. Need to have a closer look on the logs to find the reason.

Thanks for the suggestion. Too late tonight, will have a closer look on the weekend.

rolfie

Offline

#4 2020-09-11 17:47:48

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [Solved] Mesa update for Cinnamon in Beowulf

rolfie wrote:

tried the update

Oh dear, I should have worded my warning more strongly...

Check your libc6 version:

apt policy libc6

If it's from ceres then you need to restore your system from the backup you made before adding the testing/unstable sources.

The glibc libraries are used in pretty much every program on your system and if any new vulnerabilities are discovered and fixed then your system will remain wide open because it will see the fixed version as older than the ceres package.


Brianna Ghey — Rest In Power

Offline

#5 2020-09-11 19:09:49

rolfie
Member
Registered: 2017-11-25
Posts: 1,172  

Re: [Solved] Mesa update for Cinnamon in Beowulf

@HOAS: don't worry, the installation went fine and the X570 with Cinnamon still works ok. No harm, libc6 still is the Beowulf stable version.

# apt list libc6
Auflistung... Fertig
libc6/stable,now 2.28-10 amd64  [installiert]
libc6/stable,now 2.28-10 i386  [Installiert,automatisch]

What I did:

# apt -t mx install mesa-va-drivers mesa-vdpau-drivers

They are on the MX version now:

# apt list mesa*
Auflistung... Fertig
mesa-common-dev/stable 18.3.6-2+deb10u1 amd64
mesa-common-dev/stable 18.3.6-2+deb10u1 i386
mesa-opencl-icd/stable 18.3.6-2+deb10u1 amd64
mesa-opencl-icd/stable 18.3.6-2+deb10u1 i386
mesa-utils-extra/stable 8.4.0-1+b1 amd64
mesa-utils-extra/stable 8.4.0-1+b1 i386
mesa-utils/stable,now 8.4.0-1+b1 amd64  [Installiert,automatisch]
mesa-utils/stable 8.4.0-1+b1 i386
mesa-va-drivers/mx,now 20.1.5-1~mx19ahs+1 amd64  [Installiert,automatisch]
mesa-va-drivers/stable 18.3.6-2+deb10u1 i386
mesa-vdpau-drivers/mx,now 20.1.5-1~mx19ahs+1 amd64  [installiert]
mesa-vdpau-drivers/stable 18.3.6-2+deb10u1 i386
mesa-vulkan-drivers/stable 18.3.6-2+deb10u1 amd64
mesa-vulkan-drivers/stable 18.3.6-2+deb10u1 i386

Something around OpenGL must be requiring an update too, inxi shows still 18.3, I guess thats the problem why Cinnamon still decides to start in SW rendering mode:

# inxi -F
System:    Host: rh060 Kernel: 5.7.0-0.bpo.2-amd64 x86_64 bits: 64 Desktop: Cinnamon 3.8.8 
           Distro: Devuan GNU/Linux 3 (Beowulf) 
Machine:   Type: Desktop Mobo: ASUSTeK model: PRIME X570-PRO v: Rev X.0x serial: 190957676700346 UEFI: American Megatrends 
           v: 2606 date: 08/13/2020 
CPU:       Topology: 8-Core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP L2 cache: 4096 KiB 
           Speed: 2796 MHz min/max: 2200/3600 MHz Core speeds (MHz): 1: 2798 2: 2801 3: 2794 4: 2793 5: 1863 6: 2799 7: 2800 
           8: 2790 9: 2799 10: 2793 11: 1865 12: 2800 13: 2794 14: 2797 15: 2800 16: 2800 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] driver: amdgpu v: kernel 
           Display: server: X.Org 1.20.4 driver: amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa resolution: 1920x1200~60Hz 
           OpenGL: renderer: llvmpipe (LLVM 7.0 128 bits) v: 3.3 Mesa 18.3.6

I have looked at apt list llvm* and through Synaptic searching for OpenGL packages, but currently I have no idea what I need to update.

What do I need to look for?

Rolfie

Edit: on a second look searching for OpenGL in Synaptic I found these two libraries that have an 18.3 version tag:
libgl1-mesa-dri
libglx-mesa0
Anything else I need to update?

Last edited by rolfie (2020-09-11 19:18:13)

Offline

#6 2020-09-11 19:43:19

rolfie
Member
Registered: 2017-11-25
Posts: 1,172  

Re: [Solved] Mesa update for Cinnamon in Beowulf

Got Cinnamon coming up in 3D mode, the RX5500XT is recognised now, but with side effects:

# inxi -F
System:    Host: rh060 Kernel: 5.7.0-0.bpo.2-amd64 x86_64 bits: 64 Desktop: Cinnamon 3.8.8 
           Distro: Devuan GNU/Linux 3 (Beowulf) 
Machine:   Type: Desktop Mobo: ASUSTeK model: PRIME X570-PRO v: Rev X.0x serial: 190957676700346 UEFI: American Megatrends 
           v: 2606 date: 08/13/2020 
CPU:       Topology: 8-Core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP L2 cache: 4096 KiB 
           Speed: 2198 MHz min/max: 2200/3600 MHz Core speeds (MHz): 1: 2199 2: 2197 3: 2200 4: 2192 5: 2194 6: 2200 7: 2198 
           8: 2198 9: 2199 10: 2200 11: 2200 12: 2198 13: 2196 14: 2198 15: 2199 16: 2195 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] driver: amdgpu v: kernel 
           Display: server: X.Org 1.20.4 driver: amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa resolution: 1920x1200~60Hz 
           OpenGL: renderer: Radeon RX 5500 XT (NAVI14 DRM 3.37.0 5.7.0-0.bpo.2-amd64 LLVM 10.0.0) v: 4.6 Mesa 20.1.5

Installed: # apt -t mx install libgl1-mesa-dri libglx-mesa0 libegl-mesa0

Side effect: can't use BBCode tags in FF any more, have to set them manually.

rolfie

Offline

#7 2020-09-12 08:09:36

rolfie
Member
Registered: 2017-11-25
Posts: 1,172  

Re: [Solved] Mesa update for Cinnamon in Beowulf

Understood the "side effect": my fault, dev1galaxy.org was locked in Noscript in FF. Works fine now.

rolfie

Offline

Board footer