cancel
Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

jobu1342
Journeyman III

Vega Graphics Textures Problem On Ubuntu

I'm having what looks like an issue with the amdgpu drivers on Ubuntu 20.04, and I'm looking for help sorting it out or determining that the setup is not supported/viable.

HP Laptop

CPU: AMD Ryzen 3 3200u with radeon vega mobile gfx x 4

GPU: AMD Raven 2

Ubuntu 20.04

What I did:

  • Installed Steam and Tabletop Simulator (fresh install of Ubuntu 20.04)
  • Run Tabletop Simulator

What happened

  • Textures on objects are distorted/scrambled (I've attached a photo)

What I expected

  • Textures should display as intended

Things I have tried

  • Software is up-to-date: `apt-get update && apt-get upgrade`
  • oibaf PPO, which was supposed to have cutting-edge amdgpu drivers. Instead, it corrupted my entire screen on boot
2 Replies
chpopin
Journeyman III

Re: Vega Graphics Textures Problem On Ubuntu

If you are still interested, the issue is with the specific problematic interaction of the AMD Ryzen 3200u graphics card and the mesa driver and is not limited to your Linux distribution. The fix, as discussed in https://gitlab.freedesktop.org/mesa/mesa/-/issues/2814, was to add the line

export AMD_DEBUG=nodmacopyimage


to my ~/.bash_profile. The graphics are now displaying correctly.

Hope this helps.

0 Likes
scfd
Journeyman III

Re: Vega Graphics Textures Problem On Ubuntu

I using the 3000G and its onboard Vega 3 and I've fixed it.

I tried the .bashrc fixes like

export AMD_DEBUG=nodmacopyimage
export AMD_DEBUG=novram

They didn't work but my fix did not remove them from my bash profile, so maybe they are part of the fix ... I don't know, maybe you should add these if the very obvious but overlooked thing I did to fix the garbled textures thing doesn't work ...

Uninstall the amdgpu drivers by going

"sudo amdgpu-install --uninstall"

then reinstall by going

"sudo amdgpu-pro-install --opencl=legacy"

This should do the trick.

It must be the pro drivers and you must tell it to use legacy opencl as the latest opencl is for vega 10. The 3000G only has vega 3. As a final tip, don't use superglue to put your hair back in. You've lost it baldy!

Tags (1)
0 Likes