[Unstable Update] 2023-05-21 - Repository changes

Maybe referring to these things?
(in which case 6.4 may not be a fix … Archers have been self-compiling with patches)
https://bbs.archlinux.org/viewtopic.php?id=286749

Yep, some like that. Kernels in general are kinda a mess …

Ran into element-desktop not being able to display the GUI inside its window when launched after the mesa 23.1.3-2 update.

Output when launched from console, lots of GLES and GLSL (shader) issues
...
[9373:0702/143637.087328:ERROR:shared_context_state.cc(81)] Skia shader compilation error
------------------------
// Vertex SKSL
#extension GL_NV_shader_noperspective_interpolation: require
uniform float4 sk_RTAdjust;uniform float2 uAtlasSizeInv_S0;in float2 inPosition;in half4 inColor;in ushort2 inTextureCoords;noperspective out float2 vTextureCoords_S0;flat out float vTexIndex_S0;noperspective out half4 vinColor_S0;void main() {// Primitive Processor BitmapText
int texIdx = 0;float2 unormTexCoords = float2(inTextureCoords.x, inTextureCoords.y);vTextureCoords_S0 = unormTexCoords * uAtlasSizeInv_S0;vTexIndex_S0 = float(texIdx);vinColor_S0 = inColor;float2 _tmp_1_inPosition = inPosition;sk_Position = inPosition.xy01;}
// Fragment SKSL
#extension GL_NV_shader_noperspective_interpolation: require
uniform sampler2D uTextureSampler_0_S0;
noperspective in float2 vTextureCoords_S0;flat in float vTexIndex_S0;noperspective in half4 vinColor_S0;void main() {// Stage 0, BitmapText
half4 outputColor_S0;outputColor_S0 = vinColor_S0;half4 texColor;{ texColor = sample(uTextureSampler_0_S0, vTextureCoords_S0).rrrr; }half4 outputCoverage_S0 = texColor;{ // Xfer Processor: Porter Duff
sk_FragColor = outputColor_S0 * outputCoverage_S0;}}
// Vertex GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
uniform highp vec4 sk_RTAdjust;
uniform highp vec2 uAtlasSizeInv_S0;
in highp vec2 inPosition;
in mediump vec4 inColor;
in mediump uvec2 inTextureCoords;
noperspective out highp vec2 vTextureCoords_S0;
flat out highp float vTexIndex_S0;
noperspective out mediump vec4 vinColor_S0;
void main() {
    highp int texIdx = 0;
    highp vec2 unormTexCoords = vec2(float(inTextureCoords.x), float(inTextureCoords.y));
    vTextureCoords_S0 = unormTexCoords * uAtlasSizeInv_S0;
    vTexIndex_S0 = float(texIdx);
    vinColor_S0 = inColor;
    gl_Position = vec4(inPosition, 0.0, 1.0);
    gl_Position = vec4(gl_Position.xy * sk_RTAdjust.xz + gl_Position.ww * sk_RTAdjust.yw, 0.0, gl_Position.w);
}

// Fragment GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
out mediump vec4 sk_FragColor;
uniform sampler2D uTextureSampler_0_S0;
noperspective in highp vec2 vTextureCoords_S0;
flat in highp float vTexIndex_S0;
noperspective in mediump vec4 vinColor_S0;
void main() {
    mediump vec4 outputColor_S0;
    outputColor_S0 = vinColor_S0;
    mediump vec4 texColor;
    {
        texColor = texture(uTextureSampler_0_S0, vTextureCoords_S0, -0.5).xxxx;
    }
    mediump vec4 outputCoverage_S0 = texColor;
    {
        sk_FragColor = outputColor_S0 * outputCoverage_S0;
    }
}


Errors:
link failed but did not provide an info log
[9373:0702/143637.087906:ERROR:shared_context_state.cc(81)] Skia shader compilation error
------------------------
// Vertex SKSL
#extension GL_NV_shader_noperspective_interpolation: require
uniform float4 sk_RTAdjust;in float2 position;in half4 color;in float2 localCoord;flat out half4 vcolor_S0;noperspective out float2 vlocalCoord_S0;void main() {// Primitive Processor QuadPerEdgeAAGeometryProcessor
vcolor_S0 = color;vlocalCoord_S0 = localCoord;sk_Position = position.xy01;}
// Fragment SKSL
#extension GL_NV_shader_noperspective_interpolation: require
uniform sampler2D uTextureSampler_0_S0;
flat in half4 vcolor_S0;noperspective in float2 vlocalCoord_S0;void main() {// Stage 0, QuadPerEdgeAAGeometryProcessor
half4 outputColor_S0;outputColor_S0 = vcolor_S0;float2 texCoord;texCoord = vlocalCoord_S0;outputColor_S0 = (blend_modulate(sample(uTextureSampler_0_S0, texCoord), outputColor_S0));const half4 outputCoverage_S0 = half4(1);{ // Xfer Processor: Porter Duff
sk_FragColor = outputColor_S0 * outputCoverage_S0;}}
// Vertex GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
uniform highp vec4 sk_RTAdjust;
in highp vec2 position;
in mediump vec4 color;
in highp vec2 localCoord;
flat out mediump vec4 vcolor_S0;
noperspective out highp vec2 vlocalCoord_S0;
void main() {
    vcolor_S0 = color;
    vlocalCoord_S0 = localCoord;
    gl_Position = vec4(position, 0.0, 1.0);
    gl_Position = vec4(gl_Position.xy * sk_RTAdjust.xz + gl_Position.ww * sk_RTAdjust.yw, 0.0, gl_Position.w);
}

// Fragment GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
out mediump vec4 sk_FragColor;
uniform sampler2D uTextureSampler_0_S0;
flat in mediump vec4 vcolor_S0;
noperspective in highp vec2 vlocalCoord_S0;
void main() {
    mediump vec4 outputColor_S0;
    outputColor_S0 = vcolor_S0;
    highp vec2 texCoord;
    texCoord = vlocalCoord_S0;
    outputColor_S0 = texture(uTextureSampler_0_S0, texCoord, -0.5) * outputColor_S0;
    {
        sk_FragColor = outputColor_S0;
    }
}


Errors:
link failed but did not provide an info log
---

The workaround is quite easy, simply launch element-desktop disabling the shader cache.

MESA_SHADER_CACHE_DISABLE=true element-desktop

Happy to hear anyone’s thoughts or if I am missing something else quite obvious. Otherwise hope this helps anyone else experiencing the same issue.

I haven’t had any issues launching and playing games via Steam, etc to my surprise.

System info
System:
  Kernel: 6.4.1-3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    Desktop: GNOME v: 44.2 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: X670E PG Lightning
    serial: <superuser required> UEFI: American Megatrends LLC. v: 1.24
    date: 05/23/2023
CPU:
  Info: 12-core model: AMD Ryzen 9 7900X bits: 64 type: MT MCP arch: Zen 4
    rev: 2 cache: L1: 768 KiB L2: 12 MiB L3: 64 MiB
  Speed (MHz): avg: 3495 high: 4700 min/max: 3000/5733 boost: enabled cores:
    1: 3000 2: 3000 3: 4700 4: 4700 5: 3000 6: 4700 7: 3000 8: 3000 9: 3000
    10: 4700 11: 4700 12: 3000 13: 4700 14: 3000 15: 3000 16: 3000 17: 3000
    18: 3000 19: 4700 20: 3000 21: 3000 22: 3000 23: 3000 24: 3000
    bogomips: 225241
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] vendor: XFX
    driver: amdgpu v: kernel arch: RDNA-3 bus-ID: 03:00.0
  Device-2: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: Sapphire driver: vfio-pci v: N/A arch: GCN-4 bus-ID: 04:00.0
  Device-3: Sunplus Innovation 1080P Webcam driver: snd-usb-audio,uvcvideo
    type: USB bus-ID: 1-5:5
  Display: wayland server: X.Org v: 23.1.2 with: Xwayland v: 23.1.2
    compositor: gnome-shell driver: X: loaded: amdgpu
    unloaded: modesetting,radeon dri: radeonsi gpu: amdgpu
    resolution: 2560x1440~60Hz
  API: OpenGL v: 4.6 Mesa 23.1.3 renderer: AMD Radeon RX 7900 XT (gfx1100
    LLVM 15.0.7 DRM 3.52 6.4.1-3-MANJARO) direct-render: Yes
Audio:
  Device-1: AMD driver: snd_hda_intel v: kernel bus-ID: 03:00.1
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    vendor: Sapphire driver: vfio-pci bus-ID: 04:00.1
  Device-3: AMD Family 17h/19h HD Audio vendor: ASRock driver: snd_hda_intel
    v: kernel bus-ID: 1b:00.6
  Device-4: Blue Microphones Yeti Stereo Microphone
    driver: hid-generic,snd-usb-audio,usbhid type: USB bus-ID: 1-4:3
  Device-5: Sunplus Innovation 1080P Webcam driver: snd-usb-audio,uvcvideo
    type: USB bus-ID: 1-5:5
  Device-6: SteelSeries ApS Arctis 7
    driver: hid-generic,snd-usb-audio,usbhid type: USB bus-ID: 7-1:2
  API: ALSA v: k6.4.1-3-MANJARO status: kernel-api
  Server-1: PipeWire v: 0.3.72 status: active
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: ASRock driver: r8169 v: kernel
    port: d000 bus-ID: 11:00.0
  IF: enp17s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
Drives:
  Local Storage: total: 3.64 TiB used: 2.28 TiB (62.5%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT1000P5SSD8 size: 931.51 GiB
    temp: 48.9 C
  ID-2: /dev/sda vendor: Crucial model: CT2000MX500SSD1 size: 1.82 TiB
  ID-3: /dev/sdb vendor: Crucial model: CT1000MX500SSD1 size: 931.51 GiB
Partition:
  ID-1: / size: 915.52 GiB used: 681.2 GiB (74.4%) fs: ext4 dev: /dev/dm-0
    mapped: luks-d20ac551-a64c-451a-8849-4c7f7927e453
  ID-2: /boot/efi size: 299.4 MiB used: 456 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 32 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 56.9 C mobo: N/A gpu: amdgpu temp: 52.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Info:
  Processes: 448 Uptime: 50m Memory: available: 31.06 GiB
  used: 3.44 GiB (11.1%) Init: systemd Compilers: gcc: 13.1.1 clang: 15.0.7
  Packages: 1877 Shell: Zsh v: 5.9 inxi: 3.3.27

Update: Once element-desktop is launched with the shader cache disabled, I was able to logout and relaunch as normal. Signed back in and all is well!

Update 2: This has been reported and considered an upstream issue with Chromium.

I do not normally use it … and I happen to have electron24 installed for jitsi-meet-desktop (which works) … but here element+electron25 seems to work.

:thinking: jitsi-meet-desktop runs fine for me as well. Curious as to why my install of element-desktop is all of a sudden experiencing this problem. Will further investigate. Thank you for giving it a go. :slight_smile:

Still the same mesa issue with 23.1.3-2

Did you also update to 6.4.1-3 kernel @ara ?

I have updated and tested 6.4.1-3 and same AMD GPU problem reported at [Testing Update] 2023-07-01 - Kernels, Pipewire, Bluez, Evolution, KDE-Git - #4 by jetm

@Yochanan

Has gone upgrading to version: 2023.5-1

Same issue with kernel 6.4.1-3
Using radeon driver not AMD GPU

Seems there are some issues which might get fixed with Wednesday kernels:Fix regression on Stoney — Linux Stable Kernel Updates

1 Like

Something’s wrong with Chrome today, some UI elements got transparent with only fonts left visible, is it related to recent regressions you are talking about?
Intel iGPU here.

Something else is wrong:
grub 2.06.r591.g6425c12cd-1
GRUB-Menu NO german localization!!
sudo update-grub ==> unknown command - ERROR
sudo grub-mkconfig -o /boot/grub/grub.cfg works!
+++
downgraded to: → 2.06.r499.ge67a551a4-4
GRUB-Menu is german again
I blocked update of grub in pamac…

Nothing changed as far as localization.

:thinking:

❯ pacman -F update-grub
core/grub 2.06.r591.g6425c12cd-1 [installed]
    usr/bin/update-grub

Yep I was looking into the package (I don’t use Unstable though) and it contains everything as far as I can tell.

@GaVenga what if you execute /usr/bin/update-grub manually (with the problematic package installed of course)?

With some AMD graphics there might be a regression due to firmware:Raphael DCN 3.1.5 firmware regression (#2666) · Issues · drm / amd · GitLab

sounds like multiple regression bug for amdgpu with broad range of devices affected

^ this one is suspend problem on stoney

Also https://gitlab.freedesktop.org/drm/amd/-/issues/2669 probably similar from what I posted on testing update. Indeed my device is similar to stoney (carrizo) may affected for these bug

Today no error with problematic package installed,
BUT GRUB-Menu in english instead of german,
sudo update-grub tells: Generating grub configuration file …
downgraded:
pacman -F update-grub
core/grub 2.06.r499.ge67a551a4-4 [Installiert]
==> GRUB-Konfigurationsdatei wird erstellt …
next:
pacman -F update-grub
core/grub 2.06.r499.ge67a551a4-4 [Installiert: 2:2.06.r557.gac560966d-1]
usr/bin/update-grub
sudo: /usr/bin/update-grub: Befehl nicht gefunden

The only package I could not update:

Checking package integrity… [1/1]
Error: linux-firmware-mellanox: The signature of “Philip Müller (Called Little) philm@manjaro.org” is invalid
Error: Failed to commit transaction: invalid or corrupted package (PGP signature):

Don’t know if I did something wrong, but excluding this update, all others were updated:
Linux 6.4.1-5 and the others linux-firmware.

So now you have no issue, besides it is in English, with grub 2.06.r591.g6425c12cd-1 and if you downgrade to grub 2.06.r499.ge67a551a4-4 you now have the issues you had with grub 2.06.r591.g6425c12cd-1 yesterday?

:face_with_raised_eyebrow: