/srv/irclogs.ubuntu.com/2022/09/23/#ubuntu-x.txt

alkisgI'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/73409:35
alkisgQuestion, 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:35
tjaaltonit happens with crocus, use i965 and you're fine09:36
tjaaltonor wayland session09:37
alkisgThank 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:37
tjaaltondunno09:38
tjaaltonyou don't need crocus, just use i965 then?09:38
alkisgI'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 schools09:39
alkisgWe can't use wayland as we have old clients so we're using MATE (no proper wayland support there yet)09:39
alkisgIs 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 there09:40
tjaaltoninstall libgl1-amber-dri, which has i965_dri.so09:41
tjaaltonhmm it's probably installed already, not sure how to pick i965 over crocus09:41
tjaaltonor use intel ddx09:42
alkisgOK I think I understood what you mean, I'll research on how to prefer i965 over crocus09:42
alkisgIs there a replacement to the xorg-edgers ppa? https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa/+packages09:42
alkisgFor 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.conf09:46
alkisgThanks!09:47
alkisgBut 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 works09:47
* alkisg also found this one and puts it in his TODO/test list... https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers09:50
tjaaltonsarvatt left 5y ago, he maintained edgers10:09
tjaaltonxserver git is rather uninteresting to follow10:10
alkisgSorry 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
tjaaltonno it's a glamor bug10:18
tjaaltonaiui10:18
tjaaltonat least it's not fixed in 22.210:19
tjaaltonprobably wouldn't hurt to file it against crocus in mesa, at least there are folks looking10:19
tjaaltonbecause the bug makes crocus look bad10:21
alkisgThank 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 easily10:22
tjaaltonstart gimp10:22

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!