00:06 imirkin: skeggsb: so do you want me to do anything else on those hdmi2 patches, or are they good to go?
00:06 imirkin: not sure when i'll get to the other hdmi2 features, they're somewhat orthogonal to the speed thing. although they will affect how the clock is calculated (more dp-like)
00:09 imirkin: in other news, i've secured a GTX 960 with DP, so i'll be able to play with DP-MST at some point for xf86-video-nouveau ... finally.
17:21 Loeb: I seem to be having issues with my desktop completely hanging about ~30s after login. Error didn't happen when I was on the nvidia driver stack, but I also couldn't get it to use my second card.
17:21 Loeb: Running two k620s. Desktop use, tried on fedora xfce and xubuntu
17:22 Loeb: When it hangs I can still move my cursor but can't switch TTY screens
17:24 karolherbst: Loeb: mhh, maybe you could ssh into the machine and see if something is inside the log?
17:24 karolherbst: or dmesg?
17:25 karolherbst: or maybe even some dead processes running
17:26 Loeb: No ssh, trying to get into tty1 before the hang
17:26 karolherbst: mhh
17:27 karolherbst: Loeb: maybe you could delay a shutdown by 2-3 minutes and wait for the machine to shutdown
17:27 karolherbst: and then just check the log from last boot?
17:27 karolherbst: "journalctl --dmesg --boot -1" is one way to fetch those after rebooting
17:28 Loeb: on a "successful" boot where I got into the tty there's some errors from nouvaeu in here, one for "bus" on each card, one for "gr" on each card and some fifo errors on the first card
17:29 Loeb: I think the times that it hung, the last dmesg errors were the "gr" errors, but I believe those were before the machine actually hung. Let me get it to error again.
17:29 karolherbst: mhhh
17:29 karolherbst: so it seems like some engines start to hang for whatever reasons
17:29 karolherbst: maybe some process names?
17:29 karolherbst: or the usual Xorg?
17:30 Loeb: Process names?
17:30 karolherbst: Loeb: what you can do is to verify that the nouveau DDX is getting used instead of modesetting
17:30 karolherbst: check the Xorg log
17:30 Loeb: This is just a vanilla xubuntu install right now, in terms of things being ran
17:30 karolherbst: no idea what runs there
17:31 karolherbst: we know that we have some issues with glamor, so best is not to use glamor
17:31 Loeb: no clue what that is
17:31 karolherbst: and this is usually done by using the nouveau DDX
17:31 karolherbst: yeah, doesn't matter that much. Just a way how to do 2D acceleration by using OpenGL
17:31 karolherbst: nouveau ain't that great at this at the moment if you do too much opengl at once and in multiple threads
17:31 karolherbst: might be the cause here, maybe isn't
17:32 Loeb: Not sure if xfce uses openGL or not.
17:32 karolherbst: doesn't matter
17:32 karolherbst: it is X itself
17:32 karolherbst: what version of ubuntu?
17:32 Loeb: So looking back at a crash there were some fifo errors on the primary card but those were at least 15s before the system hung
17:32 karolherbst: installing "xserver-xorg-video-nouveau" might help if it isn't
17:33 karolherbst: but then again, I have no idea what kind of preference is set in ubuntu and if they always load modesetting
17:33 Loeb: that package is already installed
17:33 Loeb: Where would the modsetting be?
17:33 karolherbst: best is to fetch the /var/log/Xorg.0.log file
17:33 karolherbst: and check there or paste it on some site
17:33 karolherbst: modesetting is installed alongside the xorg server
17:33 karolherbst: so no way to remove it
17:34 karolherbst: anyway, the /var/log/Xorg.0.log file might help here
17:34 Loeb: That log or the .old from previous boot?
17:34 karolherbst: should be the same
17:35 karolherbst: well - some errors, but the normal content should be the same
17:35 Loeb: the previous boot ends on some modelines
17:35 Loeb: again before system hung
17:35 Loeb: current boot has some more stuff
17:35 Loeb: I'm looking at it from tty right now
17:35 karolherbst: is there more of NOUVEAU: or more of modeset:?
17:37 karolherbst: anyway, I kind of plan to finally work on those issues in the near future. It just isn't trivial as it is more of a core issue we have
17:37 karolherbst: currently I want to properly handle those hangs and freezes and let the applications know so they can abort or repair the state or whatever
17:38 karolherbst: but yeah, won't help you today
17:38 Loeb: haha I jumped back into the desktop from tty and it hung :(
17:38 Loeb: I just want desktop outputs on both cards, the nvidia driver wasn't using the second card so I was hoping jumping back to nouveau would be easier
17:38 karolherbst: mhh, second card as in two nvidia GPUs?
17:38 Loeb: I haven't tried a DE other than XFCE yet, originally thought it was a fedora issue.
17:39 Loeb: Yes, two K620 cards
17:39 Loeb: System needs to be able to drive 6 displays
17:39 karolherbst: mhh, there is some special thing you can use, but that has some other drawbacks on nvidia :/
17:39 Loeb: currently have 4 hooked up
17:39 karolherbst: ohhh
17:39 karolherbst: mhh
17:39 Loeb: Based on what I looked up, nvidia wants you to use their xorgconfig tool to add settings to the xorg.conf automatically, but doing that broke lots of things
17:40 karolherbst: yeah, something like that
17:40 karolherbst: with nouveau the situation isn't that much better as you start pushing the pcie bandwidth limits, especially with 6 screens
17:41 Loeb: They're only 1080p screens, I wouldn't think that would be a huge issue
17:42 karolherbst: do the math, it kind of is
17:42 Loeb: PCIe 16x... at least 2.0, maybe 3.0. Not sure what the cards support
17:43 karolherbst: 1.4 GB/s are needed for the raw data itself
17:44 karolherbst: which, with disabled reclocking, 2.5 PCIe gives you 4.0 GB/s
17:44 karolherbst: - all the other overhead we have
17:44 karolherbst: we currently have some issues here, and doing a 4k screen is sometimes too much already
17:44 karolherbst: not nouveau itself
17:44 karolherbst: but just how we do that inside linux
17:45 Loeb: yeah 4k should be roughly 4x the bandwidth of 1080p
17:45 karolherbst: anyway, people reported that higher clocks/pcie bandwidth makes such setups more smooth
17:45 Loeb: but I'm pushing 3 of those per card/slot
17:45 karolherbst: but you have 3x 1080p ;)
17:45 karolherbst: yeah
17:45 karolherbst: nothing really tested
17:45 karolherbst: and something we usually don't get any reports
17:45 karolherbst: but basically everytime somebody tries it, it gets quite slow
17:46 karolherbst: (I tested a 4k screen in such a setup once, 4k connected through nouveau, main GPU was intel)
17:46 karolherbst: was a bit painful
17:46 karolherbst: but at least on your GPUs you would be able to set the clock levels/pcie link speed, so that might just work
17:46 karolherbst: anyway, coming back to the crash, it might be triggered by glamor, which is used with the modesetting X driver
17:47 Loeb: are they running at a lower speed by default for some reason?
17:47 karolherbst: yeah, reclocking isn't that stable
17:47 karolherbst: it could just break on some machines
17:47 karolherbst: as it can be different on every GPU
17:47 karolherbst: so users have to change clocks manually
17:47 Loeb: Er, is this core GPU speed or PCIe bus speed?
17:47 karolherbst: both
17:47 karolherbst: it is kind of the same thing in the end or changed within the same process
17:47 karolherbst: nvidia GPUs tend to boot at the 2.5 PCIe speeds
17:48 Loeb: Sure enough it's not crashing with 1 display connected -.-
17:48 karolherbst: or are getting initliaized by some vbios scripts
17:48 karolherbst: mhh, fun
17:49 karolherbst: Loeb: anyway, if you are able to fetch some meaningful logs, might be worth to explain the situation and create a bug report on the freedesktop bugzilla
17:49 karolherbst: or link them here
17:51 Loeb: looks like with one monitor the fifo errors didn't happen
17:51 Loeb: don't have a good way of getting the logs off of here right now
17:52 Loeb: gonna poke around and see if I can make the proprietary driver work any better
17:53 karolherbst: yeah, good luck with that
18:48 Loeb: Got it sorted, nvidia's tools for making modifications to xorg.conf are awful
21:55 pendingchaos: imirkin: how would you recommend I test xf86-video-nouveau? specifically it's Maxwell shaders
22:46 Lyude: imirkin: still need me to test taht stuff you were talking about over the weekend?