快照应用程序模糊、失真、无法读取

快照应用程序模糊、失真、无法读取

我刚刚遇到了一些 Ubuntu 应用程序的问题。我首先注意到的是 Firefox,后来是 Spotify。尝试卸载并重新安装,没有任何变化。正如标题所说,两者都是通过 snap store 安装的。老实说,我甚至不知道从哪里开始。我在网上搜索过,没有找到任何与此类似的东西。我在下面发布了两个屏幕截图。

Spotify version 1.2.8.923.g4f94bf0d  
Mozilla Firefox 111.0.1  
Distributor ID: Ubuntu  
Description:    Ubuntu 22.04.2 LTS  
Release:    22.04  
Codename:   jammy  
Budgie version 10.6.1
Graqphics: AMD Radeon rx 5500 xt

lspci -v | grep VGA -A 1 ->  
2b:00.0 VGA compatible controller:   
Advanced Micro Devices, Inc. [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] (rev c5) (prog-if 00 [VGA controller])    
Subsystem: XFX Pine Group Inc. Navi 14 [Radeon RX 5500/5500M / Pro 5500M]

sudo lshw -C video ->  
       description: VGA compatible controller  
       product: Navi 14 [Radeon RX 5500/5500M / Pro 5500M]  
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]  
       physical id: 0  
       bus info: pci@0000:2b:00.0  
       logical name: /dev/fb0  
       version: c5  
       width: 64 bits  
       clock: 33MHz  
       capabilities: pm pciexpress msi vga_controller bus_master  
 cap_list rom fb  
       configuration: depth=32 driver=amdgpu latency=0 resolution=1920,1080  
       resources: irq:71 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:e000(size=256) memory:fcb00000-fcb7ffff memory:c0000-dffff

glxinfo -B ->  
name of display: :0  
display: :0  screen: 0  
direct rendering: Yes  
Extended renderer info (GLX_MESA_query_renderer):  
    Vendor: AMD (0x1002)  
    Device: AMD Radeon RX 5500 XT (navi14, LLVM 15.0.6, DRM 3.42, 5.15.0-69-generic) (0x7340)  
    Version: 22.2.5  
    Accelerated: yes  
    Video memory: 8192MB  
    Unified memory: no  
    Preferred profile: core (0x1)  
    Max core profile version: 4.6  
    Max compat profile version: 4.6  
    Max GLES1 profile version: 1.1  
    Max GLES[23] profile version: 3.2  
Memory info (GL_ATI_meminfo):  
    VBO free memory - total: 7136 MB, largest block: 7136 MB  
    VBO free aux. memory - total: 8107 MB, largest block: 8107 MB  
    Texture free memory - total: 7136 MB, largest block: 7136 MB  
    Texture free aux. memory - total: 8107 MB, largest block: 8107 MB  
    Renderbuffer free memory - total: 7136 MB, largest block: 7136 MB  
    Renderbuffer free aux. memory - total: 8107 MB, largest block: 8107 MB  
Memory info (GL_NVX_gpu_memory_info):  
    Dedicated video memory: 8192 MB  
    Total available memory: 16368 MB  
    Currently available dedicated video memory: 7136 MB  
OpenGL vendor string: AMD  
OpenGL renderer string: AMD Radeon RX 5500 XT (navi14, LLVM 15.0.6, DRM 3.42, 5.15.0-69-generic)  
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.2.5  
OpenGL core profile shading language version string: 4.60  
OpenGL core profile context flags: (none)  
OpenGL core profile profile mask: core profile  

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.2.5  
OpenGL shading language version string: 4.60  
OpenGL context flags: (none)  
OpenGL profile mask: compatibility profile  

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.2.5  
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20  

我已尝试更新它以包含所要求的任何图形信息。

spotify 截图

Firefox 屏幕截图

答案1

我从 Ubuntu 22.10 升级到 23.04 后也发现了同样的问题。Firefox 和 Spotify snap 都像这样:

Ubuntu 23.04 上的 Spotify 损坏

这似乎是 Wayland 与非 Wayland snap 之间的问题。

我可以通过强制 Firefox 使用其 Wayland 后端来修复它:你应该添加

export MOZ_ENABLE_WAYLAND=1

.profile位于主页文件末尾。

我仍无法修复 Spotify。如果修复成功,我会更新。

相关内容