18:02imirkin_: should really check with cbrill or whoever as to why dri-logger doesn't auto-join
18:04oblio: linkmauve: thanks for the tip-- i noticed that it throws a bunch of warnings/errors about missing drm files, i'm on debian bullseye/testing, do you know how i would ensure i have the files that i need?
18:04linkmauve: Which files?
18:04oblio: let me see
18:05imirkin_: oblio: i missed your original question - what are you trying to do?
18:05imirkin_: (unfortunately the dri-logger was not in the channel, so i don't have logs)
18:07linkmauve: imirkin_, “19:24:51 oblio> are there any newer docs on installing nouveau on debian? seems like what's on freedesktop is 10+ years old. some of the packages don't seem to be around, e.g. module-assistant can't find drm”
18:13imirkin_: it should just work... nothing extra to install i think
18:13imirkin_: oblio: what's the issue?
18:13oblio: imirkin_: linkmauve: i'm looking for the log excerpt i saw before, but the error i get when X tries to start is Failed to open DRM device for PCI...
18:14imirkin_: pastebin dmesg please
18:14oblio: it had printed out a long list of drm files novueau expected to find but couldn't
18:14linkmauve: Ok, this is outside of my area of expertise, I know nothing of X.
18:14imirkin_: yeah, probably an issue with nouveau kernel driver loading
18:14imirkin_: hence dmesg
18:15oblio: was on console mode on the machine, one sec
18:15imirkin_: i'd strongly encourage setting it up so you can ssh in
18:15oblio: yeah i just did
18:15oblio: (one sec)
18:18oblio: imirkin_: i dont see the driver loading, so maybe it's not included
18:20oblio: imirkin_: i had set vga=normal at the kernel level b/c the video mode it was picking by default wasnt syncing w my monitor
18:22oblio: imirkin_: i see now that would cause a problem
18:22oblio: my screen just goes black if i didn't have it set
18:23imirkin_: oblio: nomodeset causes nouveau to not load
18:23imirkin_: oblio: if you get a black screen, grab dmesg
18:23imirkin_: and we can see what the issue is on load
18:25oblio: imirkin_: i tried pulling it out of the grub config but it didnt take, trying again
18:26imirkin_: oblio: i don't think vga=normal will affect nouveau in any way
18:26imirkin_: that's for before-nouveau-loads
18:26oblio: got it
18:27oblio: imirkin_: unfortunately it just goes blank
18:27oblio: and it also doesn't boot b/c i have an encrypted lvm
18:28imirkin_: nomodeset made slightly more sense back when drivers offered both kms and ums, but ums is basically out entirely now, so nomodeset just causes the driver to not load
18:28oblio: so i'm not able to ssh in and see the error
18:28imirkin_: oblio: assume that things are going as expected and just put in the password
18:28imirkin_: oblio: there's another approach
18:28imirkin_: boot with nomodeset
18:29imirkin_: and then we'll reload nouveau by hand
18:29oblio: i'll try password first for kicks
18:32oblio: imirkin_: im on
18:32imirkin_: without nomodeset?
18:32oblio: yeah but only over ssh
18:32imirkin_: grab dmesg
18:33oblio: imirkin_: https://pastebin.com/y9MSG0FS
18:34imirkin_: you appear to have 2x GT218 GPUs
18:34imirkin_: is that correct?
18:35oblio: imirkin_: yep
18:35imirkin_: i see. the issue is the 4k sceen. how is it connected?
18:35imirkin_: and it's a fancy 4k screen too, i bet, with HDR?
18:36oblio: i'm not 100% the gt218 can even drive the full res @60hz
18:36imirkin_: so this is slightly interesting ... that SHOULD work, and i don't see any displayport link training failures or anything
18:36imirkin_: it definitely can't
18:36oblio: i think just 30hz
18:36imirkin_: but it may @30
18:36oblio: that's what the legacy driver could do
18:36oblio: but in the past i found the nouveau driver better/more featured so wasnt for sure
18:36imirkin_: ok, so ...
18:37imirkin_: if you want things to work
18:37oblio: but that's not even why im switching over to nouveau
18:37imirkin_: and HDMI is an option, try HDMI
18:37oblio: kk... yeah i have a displayport to hdmi cable
18:37oblio: i can try that
18:37imirkin_: if it's a passive cable, then that should work fine
18:37imirkin_: you'll end up with 1920x1080@60
18:38imirkin_: that said, DP *should* work fine. i have no idea why it doesn't -- another user was having trouble earlier, but they had a much weirder setup than you
18:38oblio: which is prolly all i can run anyway until i get a new video card
18:38imirkin_: (earlier GPU model, no native DP support, etc)
18:38oblio: i def ran 4x1280x1024 gleefully for a few years and nouveau on this setup
18:39imirkin_: your GPU model should be able to support 10bpc just fine, from what i understand
18:39imirkin_: and the DP is "on board" as opposed to weird external thing, which also cuts down on issues
18:41imirkin_: and there are no apparent errors
18:41imirkin_: although hm... 4k@30 @10bpc might be more than 4x270 can handle
18:42imirkin_: oblio: are you still booted with DP? there are a few things we can check
18:42oblio: imirkin_: i just swapped it to hdmi and it seems to equally not work
18:42imirkin_: but it was such a good idea.
18:42oblio: so happy to swap it back to dp1 and see what the other things are
18:42imirkin_: is the monitor super-picky perhaps?
18:42oblio: it may be
18:42imirkin_: let's figure out why HDMI doens't work
18:43imirkin_: we should be able to work this out
18:43imirkin_: ok, so ... you're ssh'd in, right?
18:43oblio: although once i hit nomodeset and used legacy drivers things were generally OK
18:43oblio: no not yet
18:43oblio: trying to get it booted again
18:43imirkin_: how familiar are you with ... X
18:43imirkin_: ok, so basically the idea will be to locate the xdm's X authority file
18:44imirkin_: and use that to run various X commands
18:44imirkin_: basically i want the output of "xrandr --verbose"
18:45oblio: booting again on dp
18:45oblio: on shell
18:47oblio: it actually loads and x seems to be running
18:47oblio: albeit no display
18:47imirkin_: so iirc you can get the location of the authority file from ps
18:47imirkin_: i.e. ps auxwww | grep X
18:48oblio: how do i modify it?
18:48imirkin_: so where's the file?
18:48oblio: root 1078 0.8 0.3 572880 53664 tty7 Ssl+ 14:45 0:01 /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
18:48imirkin_: so now you can do
18:48imirkin_: XAUTHORITY=/var/run/lightdm/root/:0 DISPLAY=:0 xrandr --verbose
18:49imirkin_: and pastebin that
18:49oblio: DP-1 disconnected primary (normal left inverted right x axis y axis)
18:49oblio: imirkin_: https://pastebin.com/knaBccQ9
18:50imirkin_: that ... is not what i expected
18:50oblio: so something w novueau is like lol no monitor
18:50imirkin_: that't it? no other connectors?
18:50oblio: but the legacy driver figures it out
18:50oblio: also though i have 2 cards x 4 ports
18:50oblio: but pretty sure i already rotated through them all
18:50imirkin_: can you actually pastebin Xorg log?
18:52oblio: imirkin_: https://pastebin.com/XYqAwP2Z
18:53imirkin_: oh i see
18:53imirkin_: you've got zaphod heads set up?
18:54oblio: i did
18:54oblio: i can turn it off
18:54oblio: it's just in from the old file
18:54oblio: er the old config
18:54imirkin_: before you do
18:54oblio: i just swapped connectors
18:54oblio: and it's showing the monitor
18:54imirkin_: grep . /sys/class/drm/card*-*/status
18:54oblio: but it's still blank
18:54oblio: wnat to see that version?
18:55oblio: blank = not displaying anything
18:55imirkin_: grep . /sys/class/drm/card*-*/modes
18:55imirkin_: run those 2
18:55oblio: imirkin_: https://pastebin.com/hiiPXib1 this has the Xorg output w it seeing the monitor
18:56oblio: status - /sys/class/drm/card0-DP-1/status:connected
18:56oblio: imirkin_: the Xorg file prints the modes as well
18:56imirkin_: let me look at the edid, hold on
18:59imirkin_: ftr, this is how the edid decodes: https://hastebin.com/raw/obakomohuh
19:00imirkin_: so could you plug it in via hdmi? then we avoid the 10bpc issues
19:00oblio: let me try
19:01oblio: i have display
19:01imirkin_: ok, so i'd nuke the zaphod head stuff
19:01imirkin_: unless you plan on using both GPUs for displays again
19:01oblio: not in the near future
19:01oblio: this desk is too small, funfortunately
19:02imirkin_: and you should be able to get 4k@30 by playing games
19:02imirkin_: if you want to try it
19:02oblio: ill prolly upgrade the card in the next month or so
19:02oblio: any suggestions for something <$100? lol
19:02imirkin_: it looks like there are various issues with these older tesla's and super-new DP displays
19:03imirkin_: which we never ran into before since ... they didn't exist :)
19:03imirkin_: we enable some stuff we probably shouldn't
19:03imirkin_: and that causes problems.
19:03oblio: i mean im inclined to get something that can drive @60hz and set scaling=2
19:03oblio: is my end goal
19:03oblio: but i thought nouveau might be able to do a higher mode for whatever reason
19:03imirkin_: any AMD gpu should work fine
19:03imirkin_: it can
19:03imirkin_: you can override the max hdmi mhz
19:03imirkin_: and some people have had success getting it way past spec
19:03imirkin_: i.e. spec is 165mhz on those
19:04oblio: oh really? that's exciting
19:04oblio: how would do i do that?
19:04imirkin_: but people have driven even like 250mhz or something
19:04imirkin_: where x is the number of mhz you'd like to be the max
19:04imirkin_: looks like 263mhz should be enough for the 4k@30 mode the monitor advertises
19:04oblio: where do i set that?
19:04imirkin_: kernel cmdline
19:04oblio: ah ok
19:04oblio: so i can pop in 263=
19:04oblio: er =263
19:05imirkin_: it might not work
19:05oblio: very exciting
19:05imirkin_: since there's physics at play
19:05imirkin_: it's rated for 165mhz
19:06oblio: imirkin_: should i file a bug anywhere w any details?
19:07imirkin_: yeah ......
19:07oblio: ... .. .. . .
19:07imirkin_: would be good to record some details
19:07imirkin_: trying to think what the right ones are
19:07imirkin_: unfortunately i can't personally look at any of this since i don't have a 4k display with DP, nor do i have any tesla's with DP
19:07imirkin_: (i have a 4k TV, but it's HDMI only)
19:08imirkin_: and i suspect that e.g. skeggsb has limited access to hw during current times
19:08imirkin_: so he might not be able to investigate personally either
19:10imirkin_: oblio: so it looks like it's trying to do 4k@30 over DP. which should work. but i don't think it will work at 10bpc.
19:10oblio: huh i shut down and turned it back on and now i have nothing
19:11imirkin_: with hdmimhz?
19:11imirkin_: or without?
19:11oblio: but it's like... nothing nothing
19:11oblio: no POST
19:11imirkin_: can't talk about that...
19:11imirkin_: maybe it's confused about which gpu is primary?
19:11oblio: i wonder if the bios is determining another primary vs linux
19:11imirkin_: linux will use the same primary
19:11imirkin_: however zaphod heads messes with all that
19:12imirkin_: so plug it back into the original port
19:12oblio: i removed the zaphod options before rebooting
19:12imirkin_: and then nuke the zaphod heads thing
19:15oblio: imirkin_: so even w the higher hdmimhz you still think it wont work well
19:15imirkin_: it could work
19:15imirkin_: or it could not
19:15oblio: seems lke it's not working
19:15imirkin_: it's out of spec, so comes down to the specific wiring
19:15oblio: going blank
19:15oblio: yeah like upgrade the cable or the monitor just cant or whatever
19:16imirkin_: or the internal wiring on the gpu isn't meant for it
19:16imirkin_: it's HDMI 1.2 or whatever, rated for 165mhz
19:16imirkin_: your cables are fine
19:16imirkin_: there's also the DP port complication
19:17oblio: i'm going to remove the line
19:17oblio: screen is blank
19:26oblio: imirkin_: lost it again apparently
19:26oblio: imirkin_: i have display but X is reporting 1024x768
19:27imirkin_: oblio: pastebin xorg log?
19:28oblio: imirkin_: https://hastebin.com/moxewokego
19:29imirkin_: you still have those zaphod heads set up
19:29oblio: oh weird
19:29oblio: imirkin_: they're commented out of xorg.conf
19:30oblio: imirkin_: is there something else im supposed to do?
19:30imirkin_: grep -r Device3 /etc/X11
19:31oblio: imirkin_: the option isnt in the file
19:31oblio: i mean i could even just pull the 2nd video card
19:31oblio: if it's doing it automatically for some reaosn
19:32imirkin_: it's not about that
19:32imirkin_: look at your xorg log
19:32imirkin_: it sees a Screen sectoin
19:32imirkin_: with multiple devices
19:32imirkin_: one of them is called Device3
19:32imirkin_: which is why i wnated you to grep for that
19:32oblio: imirkin_: it's doing that though
19:32oblio: screen0 only has device0
19:32oblio: in xorg.conf
19:33imirkin_: oblio: did you run the grep?
19:33imirkin_: and what's the output?
19:33oblio: imirkin_: device3 is defined
19:33oblio: but it's not in a secreen section
19:33oblio: and doesnt have a zaphod option
19:34imirkin_: repeat in /usr/share/X11/
19:34imirkin_: i think it being defined is enough to upset things
19:34oblio: 0 results
19:34oblio: imirkin_: yeah i tried pulling it
19:34oblio: and restarting
19:34imirkin_: can you pastebin your xorg.conf?
19:34oblio: same issue but i dont see device3 in xorg.log
19:35imirkin_: [ 539.054] (**) | |-->GPUDevice "Device3"
19:35imirkin_: unless i'm looking at the wrong paste
19:35imirkin_: i was just picking on device3, but it's not the actual issue
19:35oblio: imirkin_: i pulled the device3 line, restarted, and device3 isnt in xorg.log anymore, and it's also not working
19:36imirkin_: pastebin xorg.conf :)
19:36oblio: imirkin_: https://hastebin.com/oqokisoqum
19:36imirkin_: let's do this:
19:37imirkin_: 1. remove Device1
19:37imirkin_: 2. remove BusID
19:37imirkin_: 3. remove Xinerama / Clone options in ServerLayout
19:37oblio: 4. profit
19:37oblio: i'm back in
19:39oblio: ^^ that was it, it fixed it
19:39imirkin_: basically the less xorg config the better
19:40oblio: and more excitingly
19:40oblio: not sure why but
19:40oblio: i put the hdmi line back in and its working now it seems
19:40oblio: i'm at full res @60hz
19:40oblio: hot damn
19:40imirkin_: uhm what?
19:41imirkin_: 4k@60 is not achievable.
19:41oblio: oh you're right
19:41imirkin_: with HDMI
19:41imirkin_: you can get it with DP
19:41oblio: w the overclock
19:41imirkin_: yeah, that should be fine
19:41imirkin_: or 4k@30
19:41oblio: i'll eschew @30
19:42oblio: it's not a listed mode option though
19:42oblio: but that's OK
19:42oblio: i'm very happy to have things where they are now
19:42oblio: i am 100% better off than when you started helping me
19:42imirkin_: cool, glad things are semi-OK
19:43oblio: yeah this is great in lots of ways b/c also i can start trying to get hidpi stuff w partial scaling until i get a new video card
19:43imirkin_: good luck =]
19:44oblio: yes, thank you
19:44oblio: you are a patient sole, imirkin_, i appreciate you guiding me through that
19:44oblio: one of those
19:56imirkin_: oblio: oh, and you should be able to put vga=normal back in if you want to get pre-nouveau mesages back