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