I am having trouble running hardware acceleration and openGL on my computer.
I have installed the latest amdgpu-pro drivers, unfortunately I don’t know what else to do. I am not a very advanced openSUSE user. Please help.
I’m running:
Linux localhost 5.3.18-lp152.50-default #1 SMP Tue Nov 10 21:02:48 UTC 2020 (29ac38d) x86_64 x86_64 x86_64 GNU/Linux
info:
glxinfo
name of display: localhost:10.0
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 50
Current serial number in output stream: 49
Glxinfo and hwinfo --gfxcard don’t say enough of what matters about hardware or software in use. Please be sure xdpyinfo is installed and post input & output from Konsole or Xterm or equivalent running:
Thanks for your answers. Additional information from my system below.
# zypper install Mesa
Retrieving repository metadata .................................................[done]
Building repository cache ......................................................[done]
Loading repository data...
Reading installed packages...
'Mesa' is already installed.
No update candidate for 'Mesa-19.3.4-lp152.27.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
libGL: DRI3 initializes failed, try running in DRI2 modelibGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL: dlopen /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/X11R6/lib64/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/X11R6/lib64/modules/dri/swrast_dri.so
libGL: dlopen /usr/X11R6/lib64/modules/dri/swrast_dri.so failed (/usr/X11R6/lib64/modules/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/swrast_dri.so
libGL: dlopen /usr/X11R6/lib/modules/dri/swrast_dri.so failed (/usr/X11R6/lib/modules/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/X11R6/lib32/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/X11R6/lib32/modules/dri/swrast_dri.so
libGL: dlopen /usr/X11R6/lib32/modules/dri/swrast_dri.so failed (/usr/X11R6/lib32/modules/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib32/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib32/dri/swrast_dri.so
libGL: dlopen /usr/lib32/dri/swrast_dri.so failed (/usr/lib32/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 37
Current serial number in output stream: 39
Removing xf86-video-ati xorg-x11-driver-video and rebooting will not change it.
If I remove the amdgpu-pro driver then openGL seems to work fine, unfortunately I have a very low screen resolution and refresh rate of 30Hz.
If I remove the amdgpu-pro driver then openGL seems to work fine, unfortunately I have a very low screen resolution and refresh rate of 30Hz.
This should not be. Low resolution usually means hardware too new for support by software in standard repos, or KMS is not engaged. Not engaged is a common result of an installation that required a troubleshooting boot option (e.g. nomodeset) retained by the installed system.
My interest was in identifying its technological age, which the marketing-speak, as with the published specifications, helps with not:
Does OpenCL work with Radeon RX 5500?
AMD have semi-official OpenCL support for Navi.
Please test with clinfo, clpeak, Luxmark, FAH Bench, Blender benchmark.
For Blender benchmark with Leap 15.2 use CLI version or run it with