04:38tlwoerner: X.Org has been accepted into GSoC 2019!
04:38tlwoerner: if anyone has any ideas for, is interested in mentoring for, or knows of any students who might want to participate in this year's GSoC, please have a look at https://lists.freedesktop.org/archives/wayland-devel/2019-March/040351.html
04:38tlwoerner: students have until April 9, 1400EDT to submit their proposals
18:01tjaalton: hi, nouveau on kernel 5.0 has issues on a hybrid machine, essentially hanging the machine. dmesg at https://launchpadlibrarian.net/416759000/dmesg_nouveau_activated_biosv1.7.0.log
18:01tjaalton: *eventually, bah
18:14karolherbst: tjaalton: yeah.. known issue. only nouveau.runpm=0 helps so far
18:14karolherbst: ohh, actually that's another issue
18:15karolherbst: okaym secboot fails
18:15karolherbst: nouveau.modeset=0 then
18:16tjaalton: so not fixed in 5.1 either?
18:17karolherbst: no.. it's complicated as this needs nvidia to do stuff
18:18karolherbst: it's probably a bug within the firmware they are providing to us
18:18karolherbst: happend in the past, fixed a few boards, but there are still issues
21:26Exagone313: karolherbst: hmm what is this issue about? because I was going to ask something about a hang, that happens "randomly" when the machine on, usually when firefox is open, but nouveau is my prime suspect since I had similar issues in the past (but this time the system is completely locked out, it's no longer connected to the network router)
21:27Exagone313: (affected on 4.19 and 5.0)
21:32karolherbst: Exagone313: depends on what is in the log, but both things are not really working out that well and for both we need nvidia to do stuff :/ sadyl
21:33Exagone313: I can't get any log, because the whole system hangs
21:35Exagone313: I'm reading the bugtrackers
21:35karolherbst: Exagone313: does nouveau.runpm=0 help?
21:36Exagone313: I added it, will see after a reboot
21:36Exagone313: the thing is it's completely random. after last mesa update I thought it was fixed, but it happened again today. some days no hang, some days bad luck
21:37Exagone313: non deterministic issues drive me crazy
21:47Exagone313: karolherbst: actually I got this firefox profile that restores a lot of tabs, and it always freeze during that restoration. just tried it, I'm affected with runpm=0 too
21:47karolherbst: huh ohh mhh
21:47karolherbst: Exagone313: ohh you don't have a laptop, right?
21:47Exagone313: no, and no igpu either
21:48Exagone313: so I can't try with another gpu to check if nouveau if not the issue
21:48Exagone313: maybe with the poor other driver it could load some graphics, though?
21:49Exagone313: or maybe in headless mode...
21:53karolherbst: mhh, might be some multi threading bug ...
21:53karolherbst: Exagone313: try to start firefox with LIBGL_ALWAYS_SOFTWARE=1
21:53Exagone313: I tried it too
21:55Exagone313: your own guess would be that nouveau isn't concerned? or could still be?
21:55karolherbst: hard to say
21:56Exagone313: I run Xorg, not Wayland (I've seen an issue about Wayland on the bugtracker). arch linux kernel (linux 5.0 and linux-lts 4.19).
21:57karolherbst: Exagone313: do you have xf86-video-nouveau installed?
21:57Exagone313: I do
21:57Exagone313: I also have the firmware for video decoding
21:58karolherbst: mind posting your /var/log/Xorg.0.log file?
22:01Exagone313: https://ewd.xyz/b6ac0c.log (the .old doesn't contain anything specific at the end, just not the -2 lines)
22:01karolherbst: those -2 lines are weird
22:01Exagone313: I agree
22:02karolherbst: mhh, well without logs that will be painful to figure out what's going on
22:02karolherbst: usually a ssh connection doing "dmesg -w" might help
22:02karolherbst: or netconsole
22:02Exagone313: yeah but system is completely frozen, it's disconnected from the enwtrok
22:03Exagone313: can't even ping, it says there is no route or alike. I do have sshd running for such cases :/
22:09karolherbst: but you should still get something
22:09karolherbst: all of that doesn't happen instantly
22:09karolherbst: dmesg -w is the trick here
22:10Exagone313: oh I see
22:10Exagone313: ok let's try that
22:29Exagone313: karolherbst: you know what, nouveau is not the issue, it's stupid. I just tried to start htop while restoring that buggy session and it causes an out of memory (but even sysrq F doesn't work then). I'm almost certain the random crash I got is the same issue. The worse is that memory grows so fast that even earlyoom doesn't have the time to kill firefox.
22:30Exagone313: thanks for your help, now is the time to check firefox bugzilla
22:30karolherbst: uff, how much RAM do you have? 8GB?
22:30Exagone313: s/random crash/random freeze/
22:30karolherbst: mhhh, yeah, that's calling for troubles these days
22:30karolherbst: Exagone313: try disabling your swap :D
22:30karolherbst: at least it won't freeze
22:31karolherbst: just crash
22:31Exagone313: ddr4 memory is still expensive, I got one 8GB stick for 120€ last year
22:31karolherbst: it should be cheaper now
22:31karolherbst: I got 32GB for 240€ or something
22:31karolherbst: I was surprised as well
22:32Exagone313: I added 8GB swap it's a new install, because it was annoying to wait for oom (while swapping I can manually kill programs), because I'm compiling stuff that takes a lot of memory
22:32karolherbst: oh, you have a destop, right?
22:32karolherbst: buy RAM :p
22:32karolherbst: it's cheap
22:32karolherbst: 32GB for 140€
22:33Exagone313: that's what I have in my bank account actually
22:33Exagone313: it'll wait
22:33karolherbst: Exagone313: alternatives: zram or zswap
22:33Exagone313: I'm not going to reinstall on zfs right noz
22:34karolherbst: you won't have to reinstall
22:34karolherbst: zram and zswap are memory compression techniques
22:34karolherbst: which essentially report themselves as swap
22:34Exagone313: I thought it was related to zfs?
22:34karolherbst: but instead of swapping into an HDD or SSD you swap into compressed RAM
22:34karolherbst: not at all
22:34karolherbst: I use zram as a ram disc often
22:34Exagone313: I see
22:34karolherbst: zram behaves like block devices so you can even use it as a tmpfs replacement
22:35karolherbst: zswap is more tight to be an actual swap
22:35karolherbst: you can have 8GB RAM + 8 GB zram swap without running into issues
22:35karolherbst: things get slow when things start to swap, but... swaping to disc (Which is the only alternative) is even slower ;)