How do I install the driver 3d MESA on openSUSE?

Can someone help me? What is the procedure to install the 3D driver MESA on openSUSE Tumbleweed?:confused:

Hi
It’s there already…? I guess it’s more related to the GPU in use (which is?)…

Since I have both AMD and Nvidia, OpenCL is only on one card…


glxinfo | grep "OpenGL renderer string"

OpenGL renderer string: Radeon RX550/550 Series (POLARIS12, DRM 3.41.0, 5.13.8-1-default, LLVM 12.0.1)

switcherooctl launch -g 1 glxinfo | grep "OpenGL renderer string"

OpenGL renderer string: NVIDIA GeForce GT 1030/PCIe/SSE2

clinfo | grep "Platform Version"

  Platform Version                                OpenCL 3.0 CUDA 11.4.112

vulkaninfo |grep "GPU id"

        GPU id = 0 (AMD RADV POLARIS12 (ACO))
        GPU id = 1 (NVIDIA GeForce GT 1030)
GPU id : 0 (AMD RADV POLARIS12 (ACO)):
GPU id : 1 (NVIDIA GeForce GT 1030):

vdpauinfo |grep "not supported" | wc -l

20

Install with YaST.

Check with


glxinfo -B

Add

vainfo

to a stack.

Thanks for trying to help but I still can’t.
I need a step by step command if anyone can get through.
My card is a Radeon R7 240

Hi
Can you show the output from;


/usr/sbin/lspci -nnk | egrep -A3 "VGA|Display|3D"

Hello Malcolm.
The answer was:


**localhost:/home/tectec #** /usr/sbin/lspci -nnk | egrep -A3 "VGA|Display|3D"

libkmod: kmod_config_parse: /etc/modprobe.d/50-blacklist-rtl8xxxu.conf line 2: ignoring bad line starting with '#not'

libkmod: kmod_config_parse: /etc/modprobe.d/50-blacklist-rtl8xxxu.conf line 3: ignoring bad line starting with '#blacklisted'

04:00.0 **VGA** compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Oland PRO [Radeon R7 240/340] [1002:6613]

        Subsystem: ASUSTeK Computer Inc. Device [1043:048b]

        Kernel driver in use: radeon

        Kernel modules: radeon, amdgpu

Hi
Is this file “/etc/modprobe.d/50-blacklist-rtl8xxxu.conf” something you created? It needs fixing…

So you need to blacklist the radeon driver to switch to the amdgpu;

Create a file called /etc/modprobe.d/50-radeon.conf and in that file have;


blacklist radeon

But also have to add some options to kernel command line boot options since it’s a Southern Island card via YaST bootloader;


amdgpu.si_support=1 amdgpu.cik_support=0

Once that’s done, rebuild initrd with the following command;


mkinitrd

Reboot and check the output again to see it’s switched;


/usr/sbin/lspci -nnk | egrep -A3 "VGA|Display|3D"

Radeon driver from Mesa 3D is already installed, mission accomplished.

Show

zypper se -s mesa