/srv/irclogs.ubuntu.com/2018/09/15/#ubuntu-x.txt

alkisgKitsuWhooa: do you have any hypothesis on which generations this affects? I'm thinking of disabling pageflip in all of nvidias, but maybe there are some generations unaffected?13:55
KitsuWhooaalkisg: no idea unfortunately. I tested mx200, mx400, mx440, fx5XXX and they all had the same issue 13:58
alkisgThanks; I'll try to test with some newer one if I can find13:58
KitsuWhooaMy guess is all of them that don't use dri3/glamor13:58
alkisgAh13:58
KitsuWhooaI think I have a pcie one somewhere, but I can't test at the moment 13:59
alkisgThat that makes more sense, if all were affected, more people would have noticed13:59
KitsuWhooaI wonder if it's an exa issue 14:00
KitsuWhooaNoAccel would've fixed it though if that was the case 14:00
KitsuWhooaAlso, alkisg, is there any way to not get X to replace its log file on segfault? 14:00
KitsuWhooaIn ltsp14:01
KitsuWhooaAnd how would I go about stopping whatever starts x automatically 14:01
KitsuWhooaI was hoping it'd be lightdm but it's not 14:02
alkisgLTSP is using LDM, our own display manager,14:02
KitsuWhooaCouldn't find any ldm services 14:02
alkisgto go to text mode by default, try SCREEN_07=shell, with no other screens active,14:02
alkisgltsp supports many xorg/screens, so it has its own management service, ltsp-client-core, you don't need that, just disable the ldm screen14:03
alkisgSo, SCREEN_07=shell, then run xinit, then mate-session, then check xorg.log14:04
KitsuWhooaAlright, I'll do that later. Thanks 14:04
alkisgnp, thank you too14:04
alkisgBtw, ldm doesn't have this problem, I don't know if it's because it's not using double buffering?14:04
alkisgOr maybe it's using wwm, and this isn't using compositing...14:05
KitsuWhooaYeah, I noticed that 14:05
KitsuWhooaProbably because it doesn't do any compositing, yeah 14:05
alkisgI wonder if other flavors do have that issue... I'm guessing gnome and kde, but not lxde...14:05
KitsuWhooaA bit unrelated, but since I don't have a riva tnt2, would you be able to install the X/nouveau debug symbols (assuming Ubuntu has them), run X under gdb and get a full backtrace? (bt full)14:07
KitsuWhooaThat might be a bit easier to track down and fix 14:07
KitsuWhooaAssuming it worked originally with the same driver 14:08
KitsuWhooaI kinda doubt gnome and kde would be fast enough on such old cards 14:08
KitsuWhooaOr even support compositing. These cards are OpenGL 1.X IIRC14:08
alkisgKitsuWhooa: I think it's the same issue that's causing tnt2 to follow some code path that segfaults, and if that original issue is solved, tnt2 won't segfault either,14:13
alkisgand I'm not very accustomed to gdb, and the schools just started and have a lot of needs, so it'll take me a while...14:13
alkisgI'm thinking of pushing a workaround for now, and revisit this later when things settle down, e.g. in a month or so14:14
KitsuWhooaThat could also work, yeah 14:14
KitsuWhooaI wonder if I can find one of those cards locally. Or maybe I have one and don't know it 14:14
alkisgIf you think you can fix this, then maybe I can set up a pc here for that, and give you remote root access?14:15
KitsuWhooaI can't promise anything but I can try 14:15
alkisgGreat. Will do this within the week, maybe wednesday.14:16
* alkisg is having some python2to3 related issues to solve atm, more urgent... :/14:16
KitsuWhooaIf X crashes after the login screen, I might need vnc too 14:17
alkisgepoptes-client --connect ip-of-kitsuwhooa => gives both console and vnc :D14:18
KitsuWhooaSomehow python2 is still being used 14:18
KitsuWhooaHere's to hoping it eventually gets dropped from enterprise too 14:18
KitsuWhooaExcellent. I assume I need to install epoptes on my desktop, but that's not an issue 14:18
alkisgOr just xvnc4viewer -listen; or I can give you ssh; or vnc, really not an  issue for me, I have public ips etc14:19
alkisgThere's also this trick: ssh client; export $(/usr/share/epoptes-client/get-display) => sets up xauthority and display so that you have access to xorg14:20
alkisgWe'll find many ways, np there14:20
KitsuWhooaI'm asking so that I can have my end set up by then, but good to hear 14:20
alkisgIf you happen to have a public IP or port forward etc, then setting up epoptes is much more effective14:21
KitsuWhooaI do, yeah 14:21
alkisgGreat, let's do it this way then14:21
KitsuWhooaAlright, I'll look up the docs later14:21
alkisgapt install epoptes should be enough14:21
KitsuWhooaI was thinking port-wise14:22
alkisgPort 78914:22
KitsuWhooaAlright 14:22
alkisgAnd I think 5500 for vnc14:23
alkisgI can "send you" a vm if you want a quick test, when you're ready14:23
KitsuWhooaI'll probably be in a few hours 14:24
alkisgok14:24
KitsuWhooaI'll highlight you and we can go from there 14:24
alkisgGreat14:24
* alkisg guesses that one way to check for an nvidia card would be: if [ -d /sys/module/nouvaue ]; then X_OPTION_01=...pageflip off...14:42
alkisg*without the typo, of course...14:42
alkisgWhoops, no, it's too early at the point when init-ltsp.d runs, the module isn't yet loaded :(14:53
KitsuWhooaNewer cards that use nouveau would also be picked up by that 14:54
KitsuWhooaMy suggestion would be to make a blacklist with pci dev ids14:54
alkisgYou said something that I understood like "only dri2 cards affected"; do you think that might also affect non nvidia cards that use dri2 instead of 3? Are any of these common for me to check with? I do have lots of cards...14:59
alkisg(correction, lots and lots of *old* cards :D)15:01
alkisgLooking at the pci-ids from https://envytools.readthedocs.io/en/latest/hw/pciid.html, it looks like a lot of work to blacklist the correct ones15:04
alkisgUsing ranges wouldn't be easy either as they have non-graphics cards in that pci ids space as well...15:05
KitsuWhooaalkisg: I seem to have epoptes set up17:15
KitsuWhooa<alkisg> You said something that I understood like "only dri2 cards affected"; do you think that might also affect non nvidia cards that use dri2 instead of 3? Are any of these common for me to check with? I do have lots of cards... <-- I'm not sure, we'd need to see what nouveau does17:15
alkisgKitsuWhooa: if you want a test, pm me your ip...17:20
alkisg(to connect a vm to you via epoptes-client)17:21
KitsuWhooadone17:21

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