Patreon Logo Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal Logo PayPal. You can also buy games using our partner links for GOG and Humble Store.
Title: It doesn't seem I have the Radeon drivers installed, can it be?
drpeppercan 28 Aug 2020
Specs:
Pop! OS 20.04, IdeaPad Flex 5 (2020), AMD Ryzen 5 45000U, Radeon Vega 6 graphics.
---------------------------------------------------------

sudo lshw -c video

*-display UNCLAIMED

description: VGA compatible controller

product: Renoir

vendor: Advanced Micro Devices, Inc. [AMD/ATI]

physical id: 0

bus info: pci@0000:04:00.0

version: c3

width: 64 bits

clock: 33MHz

capabilities: pm pciexpress msi msix vga_controller bus_master cap_list

configuration: latency=0

resources: iomemory:40-3f iomemory:40-3f memory:460000000-46fffffff memory:470000000-4701fffff ioport:1000(size=256) memory:fc500000-fc57ffff

drpeppercan@pop-os:~$ dmesg | grep -i amdgpu

[ 0.827155] [drm] amdgpu kernel modesetting enabled.

drpeppercan@pop-os:~$ glxinfo -B

name of display: :1

display: :1 screen: 0

direct rendering: Yes

Extended renderer info (GLX_MESA_query_renderer):

Vendor: VMware, Inc. (0xffffffff)

Device: llvmpipe (LLVM 10.0.0, 256 bits) (0xffffffff)

Version: 20.1.5

Accelerated: no

Video memory: 15438MB

Unified memory: no

Preferred profile: core (0x1)

Max core profile version: 3.3

Max compat profile version: 3.1

Max GLES1 profile version: 1.1

Max GLES[23] profile version: 3.1

OpenGL vendor string: VMware, Inc.

OpenGL renderer string: llvmpipe (LLVM 10.0.0, 256 bits)

OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.1.5

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.1 Mesa 20.1.5

OpenGL shading language version string: 1.40

OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.1.5

OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

--------------------------------------------------------------

What do you think?
crt0mega 28 Aug 2020
Quoting: drpeppercanOpenGL renderer string: llvmpipe
Yep, you're rendering on your CPU :/

What does your Xorg log look like?

Last edited by crt0mega on 28 Aug 2020 at 6:49 pm UTC
drpeppercan 29 Aug 2020
What command line should I use to check the Xorg log?
s8as8a 29 Aug 2020
Quoting: drpeppercanWhat command line should I use to check the Xorg log?
https://askubuntu.com/questions/26525/where-is-xserver-log-file-located

So, for example,
cat /var/log/Xorg.0.log

and

cat /var/log/Xorg.1.log.
drpeppercan 29 Aug 2020
Thanks s8as8a, I'll try asap :)
s8as8a 29 Aug 2020
Quoting: drpeppercanThanks s8as8a, I'll try asap :)
No problem, and all right. :)
tuxintuxedo 29 Aug 2020
Which kernel is the default on Pop OS?
Jared 29 Aug 2020
Quoting: tuxintuxedoWhich kernel is the default on Pop OS?
PopOS 20.04 uses the 5.4 kernel.
drpeppercan 29 Aug 2020
Quoting: tuxintuxedoWhich kernel is the default on Pop OS?
I don't know. But I just installed mine about 2 weeks ago: 5.4.0-7642-generic
damarrin 29 Aug 2020
Michael from Phoronix is talking about using these CPUs with kernels 5.6-5.7. I’d say something newer than 5.4 is needed.
drpeppercan 29 Aug 2020
Quoting: drpeppercanWhat command line should I use to check the Xorg log?
I may have found the text line to confirm the problem:
At some point in the log file it says this:

[ 65.119] (II) UnloadModule: "radeon"
[ 65.119] (II) Unloading radeon
[ 65.119] (II) UnloadModule: "vesa"
[ 65.119] (II) Unloading vesa

Both log files can be checked [here](https://file.io/v2Zn2clSJrek).

damarrin - It seems that marvelgg from Pop! OS Reddit agrees with you:
"If it is a recent AMD CPU/GPU you may need a newer kernel for it to work properly. You can try xanmod.org STABLE branch or use Mainline app if you want to keep using the Ubuntu generic builds for some reason"

So, I guess I should look into upgrading the kernel (?)
drpeppercan 29 Aug 2020
5.7 was the right kernel!
Now I can put the laptop in Suspend, and it will wake up without a black screen!
Oh, wait! that was a different issue ;)

Well, at least now I can choose various Display resolutions. Before I only had 1 :(
The only issue left is that I still cannot choose OpenCL as a Blender-Cycles Render Device. Which is the reason I started this thread, I thought maybe I don't have the Radeon drivers.

What should I do next to confirm that I am running whatever is needed to make the most of the Radeon Graphics in my laptop?

Last edited by drpeppercan on 29 Aug 2020 at 8:55 pm UTC
Shmerl 30 Aug 2020
Try the latest kernel first (5.8.5).

What is your Mesa version?
Jared 30 Aug 2020
Quoting: drpeppercan5.7 was the right kernel!
Now I can put the laptop in Suspend, and it will wake up without a black screen!
Oh, wait! that was a different issue ;)

Well, at least now I can choose various Display resolutions. Before I only had 1 :(
The only issue left is that I still cannot choose OpenCL as a Blender-Cycles Render Device. Which is the reason I started this thread, I thought maybe I don't have the Radeon drivers.

What should I do next to confirm that I am running whatever is needed to make the most of the Radeon Graphics in my laptop?
Trying to get OpenCL for the open source AMD drivers can be a bit complicated. [This guide](https://linuxconfig.org/install-opencl-for-the-amdgpu-open-source-drivers-on-debian-and-ubuntu) explains how to get proper OpenCL support. The reason for this is because proper support of OpenCL can be found in AMD's proprietary drivers which themselves are only supported on Ubuntu LTS releases officially. The guide I showed would allow you to be able to use it on the open source drivers.

Last edited by Jared on 2 Sep 2020 at 1:55 am UTC
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon Logo Patreon. Plain Donations: PayPal Logo PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register