Graphical glitches and dark spots on Ubuntu 20.04


canadajones

Recommended Posts

Whenever I try to bring up a weapon, it shows up, but is covered in dancing dark spots. When I try to take a screenshot, the glitches do not show up on the resulting picture. However, they do show up on Discord screen share. I'm not at my home computer right now, but I will attach a picture when I get the chance. I also had an issue with distant trees turning black, but I've been unable to reproduce that one. I'm running on Ubuntu 20.04, with a Ryzen 3700x, an RX 5700 XT, 16 gigs of RAM and a terabyte SSD. I'm using the open source AMD driver. I've already tried -force-glcore and -force-vulkan. -force-vulkan simply crashes the game, while -force-glcore has the same aforementioned issues. Other games (mostly. some have poor Linux support, even if official.) do work well without significant issues.
Any pointers would be helpful. 

Link to comment
Share on other sites

I've seen this. There are many problems with the graphics in the linux version, and I suspect they're worsened using the amd video card. However, I found that running the windows version via proton worked extremely well. If you're playing from steam, it's as easy as right clicking on the game in the left hand pane, selecting "Settings", and then telling it to use a specific steam compatibility tool. I've found good results using the "Glorious Eggroll" build of Proton that's available on GitHub: https://github.com/GloriousEggroll/proton-ge-custom/ I'm using the latest 5.9 build, and he released a new 5.21 build a few days ago. Make sure you read the installation instructions; there are a few steps but if you follow the instructions it works very well.

Personally I think that the current linux version of the game is just straight up broken and has been for a long time; there are so many graphical problems that I personally find it impossible to play; have you experienced the flickering terrain problem?

Also, which mesa are you using? I'm using the latest oibaf ppa version:

jack@aegaeon:~$ dpkg -l | grep mesa
ii  libegl-mesa0:amd64                            21.0~git2011201930.a59b1b~oibaf~f       amd64        free implementation of the EGL API -- Mesa vendor library
ii  libegl1-mesa:amd64                            21.0~git2011201930.a59b1b~oibaf~f       amd64        transitional dummy package
ii  libgl1-mesa-dev:amd64                         21.0~git2011201930.a59b1b~oibaf~f       amd64        transitional dummy package
ii  libgl1-mesa-dri:amd64                         21.0~git2011201930.a59b1b~oibaf~f       amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-dri:i386                          21.0~git2011201930.a59b1b~oibaf~f       i386         free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:amd64                         21.0~git2011201930.a59b1b~oibaf~f       amd64        transitional dummy package
ii  libgl1-mesa-glx:i386                          21.0~git2011201jack@aegaeon:~$ dpkg -l | grep mesa
ii  libegl-mesa0:amd64                            21.0~git2011201930.a59b1b~oibaf~f       amd64        free implementation of the EGL API -- Mesa vendor library
ii  libegl1-mesa:amd64                            21.0~git2011201930.a59b1b~oibaf~f       amd64        transitional dummy package
ii  libgl1-mesa-dev:amd64                         21.0~git2011201930.a59b1b~oibaf~f       amd64        transitional dummy package
ii  libgl1-mesa-dri:amd64                         21.0~git2011201930.a59b1b~oibaf~f       amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-dri:i386                          21.0~git2011201930.a59b1b~oibaf~f       i386         free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:amd64                         21.0~git2011201930.a59b1b~oibaf~f       amd64        transitional dummy package
ii  libgl1-mesa-glx:i386                          21.0~git20112011201930.a59b1b~oibaf~f       amd64        free implementation of the OpenGL API -- GLX vendor library
ii  libglx-mesa0:i386                             21.0~git20112jack@aegaeon:~$ dpkg -l | grep mesa
ii  libegl-mesa0:amd64                            21.0~git2011201930.a59b1b~oibaf~f       amd64        free implementation of the EGL API -- Mesa vendor library
ii  libegl1-mesa:amd64                            21.0~git2011201930.a59b1b~oibaf~f       amd64        transitional dummy package
ii  libgl1-mesa-dev:amd64                         21.0~git2011201930.a59b1b~oibaf~f       amd64        transitional dummy package
ii  libgl1-mesa-dri:amd64                         21.0~git2011201930.a59b1b~oibaf~f       amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-dri:i386                          21.0~git2011201930.a59b1b~oibaf~f       i386         free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:amd64                         21.0~git2011201930.a59b1b~oibaf~f       amd64        transitional dummy package
ii  libgl1-mesa-glx:i386                          21.0~git201120101930.a59b1b~oibaf~f       i386         free implementation of the OpenGL API -- GLX vendor library
ii  libosmesa6:i386                               21.0~git2011201930.a59b1b~oibaf~f       i386         Mesa Off-screen rendering extension
ii  mesa-utils                                    8.4.0-1build1                           amd64        Miscellaneous Mesa GL utilities
ii  mesa-va-drivers:amd64                         21.0~git2011201930.a59b1b~oibaf~f       amd64        Mesa VA-API video acceleration drivers
ii  mesa-va-drivers:i386                          21.0~git2011201930.a59b1b~oibaf~f       i386         Mesa VA-API video acceleration drivers
ii  mesa-vdpau-drivers:amd64                      21.0~git2011201930.a59b1b~oibaf~f       amd64        Mesa VDPAU video acceleration drivers
ii  mesa-vdpau-drivers:i386                       21.0~git2011201930.a59b1b~oibaf~f       i386         Mesa VDPAU video acceleration drivers
ii  mesa-vulkan-drivers:amd64                     21.0~git2011201930.a59b1b~oibaf~f       amd64        Mesa Vulkan graphics drivers
ii  mesa-vulkan-drivers:i386                      21.0~git2011201930.a59b1b~oibaf~f       i386         Mesa Vulkan graphics drivers

 

Edited by stratvox
Link to comment
Share on other sites

It all seems to work fine, apart from the wielding models. I'm running the latest ones downloadable from AMD's website. I've also tried the hardware on a Windows install on an external HDD with no issues, so I'm fairly certain that my hardware is not at fault.
Running that same command spits out:

$ dpkg -l | grep mesa
ii  libegl-mesa0:amd64                         20.0.8-0ubuntu1~20.04.1               amd64        free implementation of the EGL API -- Mesa vendor library
ii  libegl1-amdgpu-mesa:amd64                  1:20.1.5-1147286                      amd64        free implementation of the EGL API -- runtime
ii  libegl1-amdgpu-mesa:i386                   1:20.1.5-1147286                      i386         free implementation of the EGL API -- runtime
ii  libegl1-amdgpu-mesa-drivers:amd64          1:20.1.5-1147286                      amd64        free implementation of the EGL API -- hardware drivers
ii  libegl1-amdgpu-mesa-drivers:i386           1:20.1.5-1147286                      i386         free implementation of the EGL API -- hardware drivers
ii  libgl1-amdgpu-mesa-dri:amd64               1:20.1.5-1147286                      amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-amdgpu-mesa-dri:i386                1:20.1.5-1147286                      i386         free implementation of the OpenGL API -- DRI modules
ii  libgl1-amdgpu-mesa-glx:amd64               1:20.1.5-1147286                      amd64        free implementation of the OpenGL API -- GLX runtime
ii  libgl1-amdgpu-mesa-glx:i386                1:20.1.5-1147286                      i386         free implementation of the OpenGL API -- GLX runtime
ii  libgl1-mesa-dri:amd64                      20.0.8-0ubuntu1~20.04.1               amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-dri:i386                       20.0.8-0ubuntu1~20.04.1               i386         free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:i386                       20.0.8-0ubuntu1~20.04.1               i386         transitional dummy package
ii  libglapi-amdgpu-mesa:amd64                 1:20.1.5-1147286                      amd64        free implementation of the GL API -- shared library
ii  libglapi-amdgpu-mesa:i386                  1:20.1.5-1147286                      i386         free implementation of the GL API -- shared library
ii  libglapi-mesa:amd64                        20.0.8-0ubuntu1~20.04.1               amd64        free implementation of the GL API -- shared library
ii  libglapi-mesa:i386                         20.0.8-0ubuntu1~20.04.1               i386         free implementation of the GL API -- shared library
ii  libgles1-amdgpu-mesa:amd64                 1:20.1.5-1147286                      amd64        free implementation of the OpenGL|ES 1.x API -- runtime
ii  libgles1-amdgpu-mesa:i386                  1:20.1.5-1147286                      i386         free implementation of the OpenGL|ES 1.x API -- runtime
ii  libgles2-amdgpu-mesa:amd64                 1:20.1.5-1147286                      amd64        free implementation of the OpenGL|ES 2.x API -- runtime
ii  libgles2-amdgpu-mesa:i386                  1:20.1.5-1147286                      i386         free implementation of the OpenGL|ES 2.x API -- runtime
ii  libglu1-mesa:amd64                         9.0.1-1build1                         amd64        Mesa OpenGL utility library (GLU)
ii  libglx-mesa0:amd64                         20.0.8-0ubuntu1~20.04.1               amd64        free implementation of the OpenGL API -- GLX vendor library
ii  libglx-mesa0:i386                          20.0.8-0ubuntu1~20.04.1               i386         free implementation of the OpenGL API -- GLX vendor library
ii  libosmesa6-amdgpu:amd64                    1:20.1.5-1147286                      amd64        Mesa Off-screen rendering extension
ii  libosmesa6-amdgpu:i386                     1:20.1.5-1147286                      i386         Mesa Off-screen rendering extension
ii  mesa-amdgpu-omx-drivers:amd64              1:20.1.5-1147286                      amd64        Mesa OpenMAX video drivers
ii  mesa-amdgpu-va-drivers:amd64               1:20.1.5-1147286                      amd64        Mesa VA-API video acceleration drivers
ii  mesa-amdgpu-va-drivers:i386                1:20.1.5-1147286                      i386         Mesa VA-API video acceleration drivers
ii  mesa-amdgpu-vdpau-drivers:amd64            1:20.1.5-1147286                      amd64        Mesa VDPAU video acceleration drivers
ii  mesa-amdgpu-vdpau-drivers:i386             1:20.1.5-1147286                      i386         Mesa VDPAU video acceleration drivers
ii  mesa-utils                                 8.4.0-1build1                         amd64        Miscellaneous Mesa GL utilities
ii  mesa-va-drivers:amd64                      20.0.8-0ubuntu1~20.04.1               amd64        Mesa VA-API video acceleration drivers
ii  mesa-vdpau-drivers:amd64                   20.0.8-0ubuntu1~20.04.1               amd64        Mesa VDPAU video acceleration drivers
ii  mesa-vdpau-drivers:i386                    20.0.8-0ubuntu1~20.04.1               i386         Mesa VDPAU video acceleration drivers
ii  mesa-vulkan-drivers:amd64                  20.0.8-0ubuntu1~20.04.1               amd64        Mesa Vulkan graphics drivers
ii  mesa-vulkan-drivers:i386                   20.0.8-0ubuntu1~20.04.1               i386         Mesa Vulkan graphics drivers

 

Link to comment
Share on other sites

Moving up to mesa version 21 might make a difference; you really should try the oibaf ppa for mesa. You can find it at: https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers; it makes keeping it up to date on an ubuntu system completely automagic. 

I've found proton to be pretty excellent, allowing me to play things like the old bioshock games, the new Dooms, the tomb raider games, shadow of mordor, prey, the metro games, and so on, all with very good performance. YMMV I guess.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now