The original post: /r/linux by /u/BulgarianPeasant on 2024-12-22 17:32:37.
Hi… I need help, quite a long post, please read it… People say… “if it works, then don’t touch it” and… they are god damn right. So, yeah, WIndows user for my entire life (10+ years). I have a laptop, that is not supported to update to WIndows 11, and since 10 is dropping out of support in October 2025, I decided to install Ubuntu today… Installed the programs I usually use… but I have a problem with my GPU Drivers… My GPU is AMD Radeon 520M (thats what it says when I had windows on…)
First problem - on my first boot after clean install of ubuntu… While on boot screen, for 1-2 seconds, the screen goes weird… when you google “gpu artifacts” this is what my screen does, but then it goes back to normal, also when I tried checking if my gpu shows up in the GUI of Settings -> System -> System details… there was no evidence of my dedicated gpu (amd radeon 520m)
I asked the good old chatgpt for help… because that what idio7s like me are doing when they don’t know what they are doing. gpt told me to do these commands
(step 1. update your system)
sudo apt update & sudo apt upgrade -y & sudo apt dist-upgrade -y & sudo apt autoremove --purge -y
(step 2.install gpu drivers)
lspci -k | grep -EA3 ‘VGA|3D’
sudo apt install -y firmware-amd-graphics libdrm-amdgpu1 xserver-xorg-video-amdgpu
sudo reboot
(step 3. Fix Boot Screen Issue)
edit grub - sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash nomodeset”
sudo update-grub
sudo reboot
after reboot
glxinfo | grep “OpenGL renderer” to verify the gpu driver installation… but it says
OpenGL renderer string: Mesa Intel® HD Graphics 405 (BSW)
also when i check the System Details, now it shows up a gpu… but it is not really the one I have (AMD Radeon™ R5 M330) when I asked gpt, it responded with - “they are from the same family, (AMD GCN 2.0/GCN 3.0 architecture) and Linux might recognize them differently based on shared drivers or firmware.”
when i try “lspci -nnk | grep -A3 VGA” it gives me information about my processor’s graphic device intel… (kernel driver in use: i915)
when i try “sudo lshw -C display”, it says
description: VGA compatible controller (INTEL … )
description: Display controller
product: Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 Mobile]
…
after using vulkan tools and this command to query DRI_PRIME support: DRI_PRIME=1 glxinfo | grep “OpenGL renderer”
i get this “OpenGL renderer string: AMD Radeon R5 M330 (radeonsi, hainan, LLVM 17.0.6, DRM 3.57, 6.8.0-51-generic)”
I don’t know what to do really… I also installed Wine, and the game I am trying to open is opening with intel graphics… when I try “discrete graphics card” it goes again to the gpu artifacts… Please help, hope someone actually reads this