backend/kms: Check all connectors for primary gpu - #2624
Conversation
|
Ill close 2621 then? |
Does this work on your machine? |
do you mean try your fix? I haven't tried. I will try later today if i get the chance. |
I built a custom .deb from your branch in a Noble container, and installed it on my 24 install, and it might have improved things? The terminal UI app used to be pretty flakey, but is now pretty solid. However when lauching Chromium or FF it pretty quickly wedges. |
Do the apps end up choosing the correct gpu? |
|
Its hard cause launching chromium or FF almost always wedges. From an ssh term on another machine i can get this after it wedges trying to run chromium on integrated mode: And on Nvidia mode when chromium causes it to wedge: and while chromium is breify still responsive: +-----------------------------------------------------------------------------------------+ pete@pop-os:~$ lsof -w /dev/dri/renderD* 2>/dev/null | awk '{print $1, $NF}' | sort -u |
Note that pop-os' nvidia mode does nothing for cosmic. I strongly suggest to not use it. The wedging however seems entirely unrelated to the problem this PR tries to solve and your amd-card is probably your integrated gpu, so I guess it works? How did you test your PR then? |
|
Yes the iGPU is AMD 890M. Neither your fix, nor mine, have fixed the issue. I have built and installed from both branches and tested on my POP 24.04. Neither have fixed the wedging. I tried the comp from the 1COSMIC 1.5 release today, and that didnt change it either. Not sure what to do next. Is there anything you want me to try? |
No, the wedging is a kernel bug, so nothing to be done from the compositor side. I'll go ahead with this fix then, since a couple of additional reports came up regarding device selection. |
Oh? Is this a known issue? Is there an upstream fix? GH issue? Some things make me wonder tho:
|
|
I have been working through this with claude, and the updating to Mesa to 26.1.6 from ppa:kisak/kisak-mesa has significantly improved things for me. I we still get the odd and non-disruptive ring reset, but no longer do we get the full wedge crash/restart - so 24.04 is now pretty usable. This is what claude wants to add to this converstation: The remaining wedging I reported turned out to be below the compositor — gfx_0.0.0 ring stalls on gfx1150 under normal desktop load, with guilty-process attribution rotating across clients (firefox, chrome, code, and cosmic-comp itself). Ruled out: MES fw 0x80→0x88, amdgpu.cwsr_enable=0, AMD_DEBUG=nongg, mesa_glthread=false, multi-GPU path. Mesa 25.1.5 → constant stalls escalating to MES failure + MODE2 (session death); Mesa 25.3.x (kisak) → occasional stalls with clean per-ring recovery. Kernel 7.0.11. So cosmic-comp is exonerated for #2149; shipping Mesa ≥26.1.6 (or the gfx115x fixes) for 24.04 would remove the fatal escalation for Strix users. |
9c95ebf to
12f1875
Compare
Alternative to github.com//pull/2621