@generix I’m trying it on Ubuntu 18, 5800H and RTX3070 laptop and follow the instructions in the post by @predte4a, but it doesn’t work.
- Update the kernel to 5.10.14
- Copy the files from
https://people.freedesktop.org/~agd5f/radeon_ucode/gs/
to/lib/firmware/amdgpu
and set the permissions - Download the module maunally from
https://raw.githubusercontent.com/torvalds/linux/master/scripts/module.lds.S
then rename it module.lds and cover/usr/src/linux-headers-5.10.14-051014-generic/scripts/module.lds
Finally, run
sudo sed -i '$ d' /usr/src/linux-headers-5.10.2-051002-generic/scripts/module.lds
-
sudo update initramfs -u
and restart computer, then Ubuntu system info reports “AMD Renoir” as graphics device.
run
sudo journalctl -b 0 --no-pager |grep kernel >kernel.txt
kernel.txt (105.5 KB)
the output of glxinfo |grep OpenGL
:
OpenGL vendor string: X.Org
OpenGL renderer string: AMD RENOIR (DRM 3.40.0, 5.10.14-051014-generic, LLVM 10.0.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.8
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.8
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
- sudo add-apt-repository ppa:graphics-drivers/ppa And install the NVIDIA driver from “system → preferences → hardware → additional drivers”
the output of the commands:
$ dpkg -l |grep nvidia-prime
ii nvidia-prime 0.8.16~0.18.04.1 all Tools to enable NVIDIA's Prime
$ dpkg -l |grep ubuntu-drivers-common
ii ubuntu-drivers-common 1:0.5.2.5 amd64 Detect and install additional Ubuntu driver packages
run
sudo journalctl -b 0 --no-pager |grep kernel >kernel_2.txt
kernel_2.txt (126.1 KB)
run
sudo nvidia-bug-report.sh
nvidia-bug-report.log.gz (104.3 KB)