LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   OpenSuSE Tumbleweed: AMD Radeon RX Vega 64 [3D graphics hardware acceleration] (https://www.linuxquestions.org/questions/linux-hardware-18/opensuse-tumbleweed-amd-radeon-rx-vega-64-%5B3d-graphics-hardware-acceleration%5D-4175626896/)

Welly Wu 04-02-2018 10:52 PM

OpenSuSE Tumbleweed: AMD Radeon RX Vega 64 [3D graphics hardware acceleration]
 
I own a mid-2017 AVA Direct pre-built gaming desktop PC intended for Microsoft Windows 10 Pro 64 bit and I recently installed OpenSuSE Tumbleweed 64 bit GNU/Linux as my sole desktop operating system. I chose the BTRFs for the /root partition and EXT4 for my separate /home/wellywu partition because I have an Intel 6000p 512GB PCI-e NVMe SSD and the default XFS will cause input/output errors for my personal folder.

Here is a code dump:

wellywu@linux-vfxd:~> glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: VMware, Inc. (0xffffffff)
Device: llvmpipe (LLVM 5.0, 128 bits) (0xffffffff)
Version: 18.0.0
Accelerated: no
Video memory: 32156MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 3.3
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.0
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 5.0, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.0.0
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 18.0.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.0.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

wellywu@linux-vfxd:~> sudo zypper ref
[sudo] password for root:
Repository 'libdvdcss repository' is up to date.
Repository 'Packman Repository' is up to date.
Repository 'openSUSE-Tumbleweed-Non-Oss' is up to date.
Repository 'openSUSE-Tumbleweed-Oss' is up to date.
Repository 'openSUSE-Tumbleweed-Update' is up to date.
Repository 'SpiderOak' is up to date.
All repositories have been refreshed.
wellywu@linux-vfxd:~> sudo zypper up
Loading repository data...
Reading installed packages...

The following 16 package updates will NOT be installed:
gstreamer-plugins-bad gstreamer-plugins-bad-lang gstreamer-plugins-ugly-lang libavcodec57 libavdevice57 libavfilter6
libavformat57 libavresample3 libavutil55 libgstgl-1_0-0 libgstphotography-1_0-0 libpostproc54 libquicktime0 libswresample2
libswscale4 vlc-codec-gstreamer

Nothing to do.
wellywu@linux-vfxd:~> sudo zypper dup
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

Nothing to do.
wellywu@linux-vfxd:~> sudo lspci -nnk | grep '\[03' -A2
[sudo] password for root:
2b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] [1002:687f] (rev c1)
Subsystem: ASUSTeK Computer Inc. Device [1043:04c4]
Kernel driver in use: amdgpu
wellywu@linux-vfxd:~> sudo lspci -nnk | grep -i vga -A3 \ grep 'in use'
grep: grep: No such file or directory
grep: in use: No such file or directory
wellywu@linux-vfxd:~> sudo lspci -nnk | grep -i vga -A3 | grep 'in use'
Kernel driver in use: amdgpu
wellywu@linux-vfxd:~> glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: VMware, Inc. (0xffffffff)
Device: llvmpipe (LLVM 5.0, 128 bits) (0xffffffff)
Version: 18.0.0
Accelerated: no
Video memory: 32156MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 3.3
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.0
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 5.0, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.0.0
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 18.0.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.0.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

wellywu@linux-vfxd:~> glxinfo | grep "direct rendering"
direct rendering: Yes
wellywu@linux-vfxd:~> sudo amdcccle
sudo: amdcccle: command not found
wellywu@linux-vfxd:~> glxgears
9906 frames in 5.0 seconds = 1981.045 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 30907 requests (30905 known processed) with 0 events remaining.
wellywu@linux-vfxd:~> glxgears -help
Usage:
-display <displayname> set the display to run on
-stereo run in stereo mode
-samples N run in multisample mode with at least N samples
-fullscreen run in fullscreen mode
-info display OpenGL renderer info
-geometry WxH+X+Y window geometry
wellywu@linux-vfxd:~> glxgears
9932 frames in 5.0 seconds = 1985.042 FPS
10365 frames in 5.0 seconds = 2072.777 FPS
10624 frames in 5.0 seconds = 2122.383 FPS
10687 frames in 5.0 seconds = 2137.248 FPS
10561 frames in 5.0 seconds = 2112.159 FPS
^C
wellywu@linux-vfxd:~> glxinfo | grep renderer
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: llvmpipe (LLVM 5.0, 128 bits)
wellywu@linux-vfxd:~> glxinfo | grep "direct rendering"
direct rendering: Yes
wellywu@linux-vfxd:~> glxinfo | grep renderer
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: llvmpipe (LLVM 5.0, 128 bits)
wellywu@linux-vfxd:~> glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: VMware, Inc. (0xffffffff)
Device: llvmpipe (LLVM 5.0, 128 bits) (0xffffffff)
Version: 18.0.0
Accelerated: no
Video memory: 32156MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 3.3
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.0
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 5.0, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.0.0
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 18.0.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.0.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

wellywu@linux-vfxd:~>

As you can see, 3D hardware acceleration is "turned on" using LLVM 5.0 and usage of the VMWare software graphics vendor. I posted a thread on the OpenSuSE community forum and nobody replied so I got frustrated and I decided to post here.

In a nutshell, how do I turn on true 3D graphics hardware acceleration so that I can play my SteamOS + GNU/Linux PC game titles?

Do I have to add my wellywu account to the video group?
Do I need to modify my X.Org configuration file?
Do I need LLVM 6.0?

In plain English, how do I get true 3D graphics hardware acceleration to just work?

Thank you.

ferrari 04-04-2018 07:48 PM

I can only point you at this thread (see wolfie323's comments)...
https://forums.opensuse.org/showthre...le-performance


All times are GMT -5. The time now is 10:03 PM.