[09:35] <alkisg> I'm trying to troubleshoot an issue where modesettting+glamor results in xorg crashes with "GLSL 1.30 is not supported". I initially reported it there, before realizing it's a xorg issue: https://github.com/mate-desktop/marco/issues/734
[09:35] <alkisg> Question, is there a way in Ubuntu 22.04 to test if this problem has been solved in xorg-edge? If yes, I can ignore it as we already have a workaround with Driver "Intel".
[09:36] <tjaalton> it happens with crocus, use i965 and you're fine
[09:37] <tjaalton> or wayland session
[09:37] <alkisg> Thank you tjaalton , can I somehow detect when the problem will happen before it happens, so that I automate the workaround in many many schools, instead of waiting for the teachers to report each breakage separately?
[09:38] <tjaalton> dunno
[09:38] <tjaalton> you don't need crocus, just use i965 then?
[09:39] <alkisg> I'm not sure about the terminology, I guess you mean "put driver=intel in xorg.conf", right? Sure if it's stable for all ranges of intel graphics cards, I don't mind focing that for all schools
[09:39] <alkisg> We can't use wayland as we have old clients so we're using MATE (no proper wayland support there yet)
[09:40] <alkisg> Is there some way to detect the opengl version (like glxinfo|grep version) before xorg runs? Then I could check if it's less than e.g. version 3.00, and use the workaround just there
[09:41] <tjaalton> install libgl1-amber-dri, which has i965_dri.so
[09:41] <tjaalton> hmm it's probably installed already, not sure how to pick i965 over crocus
[09:42] <tjaalton> or use intel ddx
[09:42] <alkisg> OK I think I understood what you mean, I'll research on how to prefer i965 over crocus
[09:42] <alkisg> Is there a replacement to the xorg-edgers ppa? https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa/+packages
[09:46] <alkisg> For overriding, maybe this one: MESA_LOADER_DRIVER_OVERRIDE=i915. Btw a workaround that I tested and works was this one: xserver-command=env MESA_GL_VERSION_OVERRIDE=2.1 X in lightdm.conf
[09:47] <alkisg> Thanks!
[09:47] <alkisg> But that's too specific as I need to run xorg and glxinfo first to get the supported GL version; the i915 workaround will be much easier if it works
[09:50]  * alkisg also found this one and puts it in his TODO/test list... https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers
[10:09] <tjaalton> sarvatt left 5y ago, he maintained edgers
[10:10] <tjaalton> xserver git is rather uninteresting to follow
[10:18] <alkisg> Sorry I don't know enough about the internals there; I guess the changes are in mesa, not in xorg, and I should be testing newer versions of mesa to see if I need to report it upstream or not...
[10:18] <tjaalton> no it's a glamor bug
[10:18] <tjaalton> aiui
[10:19] <tjaalton> at least it's not fixed in 22.2
[10:19] <tjaalton> probably wouldn't hurt to file it against crocus in mesa, at least there are folks looking
[10:21] <tjaalton> because the bug makes crocus look bad
[10:22] <alkisg> Thank you, I'll process all that. I also finally found some clients that consistently get the issue in a nearby school, so I'll be able to provide feedback more easily
[10:22] <tjaalton> start gimp