11:16 latenite: Hi folks, is there a way to make the nouveau driver drive my dispplay with its native 5120x2160? At the moment the highest available is 3840x2160
11:16 latenite: I am on Fedora 37
11:16 latenite: The card is a Quadro P620
11:17 latenite: The monitor a LG 34WK95U
12:08 DodoGTA: latenite: What display connector do you use?
12:23 latenite: DodoGTA, DP
12:23 latenite: at both ends
12:28 karolherbst_: I don't think pascal can do this.. mhh
12:28 latenite: DodoGTA, https://paste.ee/p/HD8xz
12:28 latenite: why does it not support my 5k?
12:29 DodoGTA: latenite: Maybe it might be a EDID parsing issue? (try forcing your monitor's native resolution and refresh rate and see if dmesg explodes)
12:29 karolherbst_: seems like it does DP 1.4
12:29 DodoGTA: Or actually start from 30 Hz just in case
12:31 karolherbst_: soo.. for this to work out it needs HBR3
12:31 karolherbst_: at least on 60 hz
12:32 karolherbst_: I might know what bug this _could_ be.. let me check how we can get the kernel to list rejected modes
12:33 DodoGTA: karolherbst_: I just looked at the DP Wikipedia page and noticed that
12:34 karolherbst: latenite: boot with drm.debug=0x115 and share your dmesg
12:34 latenite: karolherbst, how did you figure out it only does/has DP 1.4 ?
12:34 karolherbst: because it's a pascal one only having DP 1.4
12:35 latenite: karolherbst, what is a "pascal one"?
12:35 karolherbst: the architecture of the gpu
12:35 latenite: ah :)
12:36 karolherbst: anyway, HBR support is kinda new, so I wouldn't be surprised if there are a few bugs
12:36 latenite: karolherbst, how do you know this pascal one gpu only has dp1.4
12:36 latenite: HBR?
12:36 karolherbst: some DP tech for higher bandwidth
12:37 karolherbst: anyway, I think we might calculate the required bandwidth incorrectly or something
12:37 karolherbst: what's your kernel version?
12:39 latenite: https://en.wikipedia.org/wiki/DisplayPort#Resolution_and_refresh_frequency_limits
12:39 karolherbst: we landed initial support for HBR3 in 5.18
12:39 latenite: uname -a
12:39 latenite: Linux desktop 6.2.8-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Mar 22 19:11:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
12:39 karolherbst: okay, so that should be good at least...
12:40 latenite: I still try to find data/specs on: IF my card can do 5k with at least 60hz
12:40 karolherbst: should work if it's not HDR
12:41 karolherbst: but it's quite tight and I think there is a bug in nouveau in regards to checking if hte bandwidth is available... but then it should still list the 30 hz stuff.. or well.. maybe it doesn't because it's not advertised by the display
12:41 karolherbst: hard to tell without kernel logs
12:41 latenite: using the wikipedia table ^^ I need: HBR3 or UHBR 10
12:41 karolherbst: anyway, I'd need the output of dmesg when booting with drm.debug=0x115
12:42 latenite: karolherbst, I ll do that: drm.debug=0x115
12:42 karolherbst: is it a HDR display by any chance?
12:43 karolherbst: because those are funky and I still need to fix something for those...
12:43 karolherbst: sadly, I don't have a 5k display, so I can only fix a bug I've seen with 4k... :(
12:44 latenite: https://paste.ee/p/8sD9K
12:45 latenite: karolherbst, what -exactly- IS an HDR display?
12:45 karolherbst: uhm.. mind pluging the display out and in again and give me a new log?
12:46 karolherbst: an HDR display? that' what they are called if they support HDR
12:46 latenite: ...doing it
12:46 karolherbst: mhh.. maybe it was a different number.. those ioctl things are kinda spammy
12:46 latenite: karolherbst, https://www.lg.com/de/monitore/lg-34WK95U-W
12:47 karolherbst: yeah.. that has HDR
12:47 karolherbst: you might get it to work by disabling HDR somewhere in the display menu
12:47 karolherbst: but yeah, then I might know what bug is it
12:47 karolherbst: *it is
12:48 karolherbst: some of those displays advertise insanely high bit rates (e.g. 12 or 16 even) and we only use the maximun to do the calculation
12:48 karolherbst: and in non HDR mode you only have 8
12:48 karolherbst: so we might just think we can't deliver the bandwidth required
12:49 latenite: karolherbst, plug in/out https://paste.ee/p/cIgGK
12:49 karolherbst: ahh yeah.. wrong number, but what was the right one...
12:50 latenite: karolherbst, So I use the on-screen-display menu to search for HDR settings?
12:50 karolherbst: yeah
12:50 latenite: wrong number?
12:50 karolherbst: for drm.debug
12:53 latenite: I can boot again if you like
12:53 karolherbst: yeah.. try with drm.debug=0xe instead
12:54 latenite: I could not find HDR (on/off or alike) BUT I found DP settings beeing set to 1.1
12:54 latenite: so I changed them to be 1.4
12:54 latenite: rebooted
12:58 latenite: LOL setting it (the display) to DP 1.4 makes it: not show anything
12:58 latenite: not even the boot screen
12:58 latenite: nothing, not even the DELL info at start
12:59 karolherbst: strange
13:00 karolherbst: to what was it set before? DP 2.0?
13:02 karolherbst: anyway, might have to replug so the change get noticed by the GPU
13:02 karolherbst: but there should be a dedicated HDR option somehwere
13:02 karolherbst: might also call it something funky
13:03 latenite: karolherbst, It was set to DP1.1
13:03 karolherbst: oops
13:04 latenite: I changed it to DP1.4 and after reboot it went and stayed black
13:04 latenite: So I tried DP1.2 and it booted
13:04 karolherbst: strange
13:04 latenite: it even presented 5k @ 30hz
13:04 latenite: which I activated
13:04 latenite: almost there
13:04 karolherbst: yeah..
13:04 karolherbst: I am even surprised you got 4k with DP 1.1
13:04 latenite: here is the log with unplugging the display: https://paste.ee/p/r7xiB
13:05 karolherbst: ahh yeah, that's better
13:05 karolherbst: "[ 116.973376] [drm:drm_mode_prune_invalid] Not using 5120x2160 mode: CLOCK_HIGH"
13:05 latenite: the display only hat 1.1 1.2 and 1.4 to chose from. no 2.0 at all
13:05 karolherbst: let's see if HBR2 could do it even...
13:06 latenite: do these displays have firmware updates?
13:06 karolherbst: mhh.. yes, but nothing you can install easily afaik
13:06 karolherbst: maybe try to disconnect power after switching to DP1.4
13:06 karolherbst: but yeah.. with 1.2 30 hz should be the max you'll get
13:07 latenite: karolherbst, how do I know what the display CAN do?
13:08 karolherbst: reading the edid
13:08 karolherbst: but it does advertise 5120x2160@60
13:08 karolherbst: it's just that we don't have the bandwidth for it
13:08 latenite: on the website is sais:
13:08 latenite: Thunderbolt™ 3: Intel 5120 x 2160@60Hz / DisplayPort/MiniDP: AMD und Nvidia: 5120 x 2160@60Hz / HDMI 3840 x 2160 @60Hz
13:08 karolherbst: yeah
13:08 latenite: so there is more to get
13:08 karolherbst: but that will require DP 1.4
13:09 latenite: now what is a fault when setting it to DP1.4 and all goes black?
13:09 karolherbst: hard to judge
13:10 latenite: karolherbst, you say "we" don't have the bandwith? Who is we? The driver, the cable, the display setting (DP 1.2)
13:10 karolherbst: the driver, because it can't use HBR3
13:10 latenite: karolherbst, how can/does/should it use HBR3?
13:11 karolherbst: with DP 1.4
13:12 latenite: karolherbst, so when I set the display to DP1.4 we should have the bandwidth for/in the driver?
13:13 latenite: karolherbst, would you have an explanation to: why it does not show the UEFI stuff at start when set to DP1.4?
13:13 karolherbst: no idea
13:14 karolherbst: this involves the motherboards uefi firmware and the onboard GPU firmware
13:14 karolherbst: _but_ once nouveau loads it should be able to initialize the GPU so it starts printing stuff
13:14 karolherbst: unless you run into HBR3 bugs
13:15 karolherbst: mhh that reminds me, I have a 4K@120 screen, but last time I checked it worked
13:18 karolherbst: maybe I should check it with my pascal gpu and see what happens
13:19 karolherbst: but that also means moving my desktop around :D
13:19 latenite: karolherbst, I rebooted with the display being set to DP1.2. After login I set it to DP1.4 and unplugged the power, plugged it back in and all is black...
13:20 latenite: ..but the is the log: https://paste.ee/p/9Veyo
13:20 latenite: karolherbst, :D thank you tons for trying to make this work :)
13:20 karolherbst: ahh
13:21 karolherbst: yeah..
13:21 karolherbst: that looks like a nouveau bug
13:21 karolherbst: weird tho
13:22 karolherbst: yeah.. let me check with my 4K@120 display and one of my pascal gpus and see if I figure something out
13:22 karolherbst: it's hdmi sadly, so not sure if it works with my DP adapter..
13:23 karolherbst: well.. my pascal doesn't have DP :)
13:23 latenite: I'll stay here until you tell me to do something.
13:23 karolherbst: let's see with a newer GPU then and hope it triggers the same bug
13:23 latenite: Any more logs you need?
13:23 latenite: Also, what is that bug you just mentioned?
13:23 karolherbst: nah, it's more about triggering the same issue and figuring out what's wrong
13:23 karolherbst: next steps will involve building a custom kernel and stuff
13:24 latenite: karolherbst, I did that before (long time like 6 years) but sure we can build a kernel
13:28 latenite: karolherbst, I misinformed you. Set to DP1.4 it DOES show DELL UEFI and GRUB. It was just so fast (I set the timeout to 0) done with the POST...
13:28 latenite: Then the display needs some seconds to start (it is never instant ON)
13:29 latenite: After that I never saw the boot happening
13:29 karolherbst: funky...
13:29 latenite: So yes my hardware seems fine
13:29 karolherbst: even nvidia only sees 60 hz on it.. :'(
13:29 latenite: it really IS the driver having problems
13:30 karolherbst: yeah.. figures
13:31 karolherbst: anyway.. not sure if your 5k@30 is any better than 4K@60 :)
13:31 karolherbst: or weren't you getting 4K@60 with DP 1.1?
13:31 karolherbst: wouldn't be surprised if that was limited to 30 hz
13:32 latenite: karolherbst, I was getting 3800x???? at 60hz with DP1.1
13:32 karolherbst: ahh
13:33 karolherbst: ehh.. getting that other "disp: error 00000001" bug with the adapter...mhh
13:33 karolherbst: I should look into this
13:34 latenite: ok
13:39 karolherbst: mhh.. this adapter is silly
13:54 karolherbst: latenite: btw, did you find a way to disable HDR? This could make it work potentially
13:55 karolherbst: even on DP 1.2
13:56 karolherbst: _maybe_
13:56 karolherbst: it's very close to the 4K@75 thing, a little higher in the bandwidth required, but maybe it would pan out
13:57 latenite: karolherbst, I did not. It might just not have that option to disable
13:57 karolherbst: should still be within HBR2 limits
13:57 karolherbst: mhh
13:57 latenite: I can chose from color profiles...many... one is called HDR
13:57 karolherbst: then a kernel patch might help...
13:57 latenite: I want to sRGB
13:57 karolherbst: mhh
13:57 karolherbst: yeah, maybe
13:57 karolherbst: this might actually be it
13:59 karolherbst: latenite: yeah.. the internet suggest it's the color profile setting in deed
13:59 karolherbst: *indeed
14:00 karolherbst: but might also be something else.. those menus are always a pain
14:00 latenite: So with sRGB I am fine?
14:01 karolherbst: mhh
14:01 karolherbst: maybe it's that 'ultra HD deep color' option
14:01 karolherbst: ehh wait, that's HDMI stuff
14:03 latenite: What is DFC? in the monitor settings?
14:04 karolherbst: uhm... no idea what DFC is
14:06 latenite: Digital Fine Contrast ... some LG whoodooo for contrast
14:07 karolherbst: figures
14:07 karolherbst: I mean.. I have a patch I'm trying out now which should make this not needed, but it also requires a patched kernel :)
14:07 karolherbst: though I could potentially build rpms for fc37
14:10 latenite: :)
14:10 karolherbst: nice, my patch works
14:10 karolherbst: 24Hz -> 60 Hz at 4k
14:16 latenite: I have to leave for like 7h
14:17 latenite: I will leave this chat open but will not be able to answer.
14:17 latenite: I ll write once I am back
14:17 latenite: okay?
14:18 karolherbst: k
21:43 latenite: karolherbst, I am back
22:09 karolherbst: let me check if the build is done by now
22:09 karolherbst: yes
22:09 karolherbst: latenite: you could enable this copr and it should give you my kernel buikd: https://copr.fedorainfracloud.org/coprs/karolherbst/Nouveau_Testing/
22:10 latenite: :)
22:12 latenite: karolherbst, I know copr is some repo thingy. But I have not used it before...
22:12 latenite: How should I get at it?
22:17 latenite: karolherbst, did it: https://paste.ee/p/poz66
22:18 latenite: karolherbst, so now I reboot and see what happens?
22:18 karolherbst: yeah
22:23 latenite: karolherbst, it worked perfekt
22:23 karolherbst: okay
22:23 karolherbst: so it works with DP 1.2 now?
22:24 karolherbst: what about DP 1.4?
22:24 latenite: I can use 5120x2160@60hz
22:24 karolherbst: though I suspect DP 1.4 is still broken
22:24 karolherbst: or maybe not...
22:24 latenite: yes we are in DP1.2 for now
22:24 karolherbst: yeah...
22:24 latenite: lets see and test 1.4 ...
22:24 karolherbst: maybe I also fix that issue.. dunno
22:24 karolherbst: maybe capping to 10 bpc fixes things, no clue
22:28 latenite: So I set it to 1.4 while up and running. nothing happened. then I unpluges the display power and plugged back in
22:28 latenite: it was all black
22:28 latenite: so I rebooted
22:28 karolherbst: ah yeah...
22:28 latenite: still after UEFI and POST (which was visible) all I could see was initrramfs....then it went black
22:29 latenite: here is the log: https://paste.ee/p/WgA4U
22:29 karolherbst: no idea what's the issue. The "crash" is odd
22:30 karolherbst: but it looks less fatal than before
22:30 latenite: weird is: when I reset it to 1.2 and unpower / repower it. The black remains. I would have expected it to come back to life.
22:31 karolherbst: probably have to reboot
22:31 latenite: I will I you tell me to.
22:31 latenite: Whats next?
22:31 karolherbst: no idea.. probably asking skeggsb about that log
22:31 latenite: I would be happy to see your changes in the next real Fedora updates... :)
22:31 karolherbst: maybe Lyude has any ideas
22:31 karolherbst: yeah.. I'll get it reviewed and merged asap
22:32 latenite: karolherbst, great work. I mean you just did it!!! :)
22:32 latenite: 5k at 60hz, all I wanted.
22:32 karolherbst: I mean.. I wrote the initial patch like 2 years ago and never cleaned it up, so it's kinda on me 🙃
22:33 latenite: Is there anything I can do to help? I mean I could test more if you like me to...
22:33 latenite: later on...
22:34 karolherbst: yeah.. not sure yet. I'll wait until Lyude or skeggsb have any chance to look at this. The current issue is a bit beyond on what I'm familiar on in that area of the driver
22:36 latenite: So how will you get a hold of me then?
22:37 latenite: Shall I just drop by once a week and say hello?
22:37 latenite: I love the display now :) It looks so much sharper now.
22:37 karolherbst: could leave your email
22:37 karolherbst: but yeah..
22:38 karolherbst: I mean at some point it's going to be
22:38 karolherbst: fixed
22:38 karolherbst: maybe
22:38 karolherbst: :D
22:38 karolherbst: but yeah, once we have an idea what's going on I could send a patch to try out to you
22:38 latenite: may I ask another video related question?
22:38 karolherbst: uhm.. or a build
22:38 karolherbst: sure
22:38 latenite: sure, just drop me an email
22:39 latenite: so: when I am on youtube and watch a "original" music video... any. None in particular.
22:40 latenite: It feels like it buffers while still playing. As if someone would slow it down for like 0.5s and the it resumes to regular speed
22:40 karolherbst: mhhh
22:40 latenite: have you experienced that before?
22:41 karolherbst: so the main problem we have atm is, that we kinda have to stay on default clocks which makes the GPU be very slowly... not sure if it's simply a performance problem or something else going on
22:42 latenite: karolherbst, this for example. https://www.youtube.com/watch?v=UdM9hLGZ1-M
22:42 latenite: see how they move infront of the trees?
22:43 latenite: the trees here, shake, stop, move, tear apart
22:43 latenite: not in a way one could not watch it, but very noticeable
22:43 karolherbst: mhhh
22:43 karolherbst: are you on wayland or X?
22:44 latenite: karolherbst, wayland (maybe)
22:44 latenite: unsure
22:44 karolherbst: though I guess if you are on fedora and just have the default thing, it should be gnome on wayland
22:44 latenite: I think wayland is the fedora default these days
22:44 karolherbst: yeah
22:44 karolherbst: what web browser?
22:44 latenite: firefox
22:44 karolherbst: mhh
22:44 latenite: KDE on wayland (maybe)
22:44 latenite: how do I test for wayland?
22:44 karolherbst: but yeah.. shouldn't matter.. I guess the GPU might just be overloaded
22:45 karolherbst: try FHD or something even smaller and see if it's better?
22:46 latenite: karolherbst, setting the resolution to 320p in youtube. No change though.
22:46 karolherbst: I didn't mean the video res
22:46 karolherbst: but like the entire desktop
22:46 latenite: karolherbst, or did you mean to set FHD on the card?
22:46 latenite: oh ok...
22:46 latenite: lets see
22:47 karolherbst: 4k is already kinda a lot on one of the more high end GPUs, because reasons...
22:47 karolherbst: I'd really wished we could ramp up the clocks on more GPUs
22:48 latenite: karolherbst, I played with resolution on both ends (desktop and video)
22:49 latenite: and yes I is fluent at 1200x800 and video at 800p
22:49 karolherbst: mhhh
22:49 karolherbst: annoying
22:49 karolherbst: :)
22:49 latenite: going higher makes it "shake"
22:50 latenite: annoying indeed :) especially when it is such a nice display LOL
22:50 karolherbst: I wouldn't be surprised running firefox as a wayland app might improve things
22:50 latenite: anyhow I am happy for what you accomplished today
22:50 karolherbst: but then again.. with a low end GPU on lowest clocks.. mhhh
22:50 latenite: maybe in a few months someone has figured out a way...
22:50 karolherbst: doubtful
22:51 karolherbst: we'll get firmware from nvidia for the next generation after yours to ramp up clocks
22:51 latenite: can you explain the clock thing in lay mens terms?
22:51 karolherbst: soo...
22:51 karolherbst: uhm.. gpu clocks, like the CPU clock
22:51 karolherbst: we are just stuck at low clocks
22:51 karolherbst: so everything is slow
22:51 latenite: who/what sets the clock speed?
22:52 karolherbst: like.. your GPU can max out at around 1.3GHz, but it's probably stuck at 300MHz or something low
22:52 karolherbst: the driver, normally
22:52 karolherbst: or firmware running on the GPU
22:52 latenite: CPUs is set in UEFI. Right?
22:52 karolherbst: no
22:52 karolherbst: also the kernel or the CPU itself
22:52 karolherbst: these days it's all on the CPU
22:52 latenite: So the kernel should also set the GPU clock speed but does not?
22:52 latenite: If so. Why?
22:52 karolherbst: yeah, because shit is complicated
22:53 karolherbst: also
22:53 latenite: haha nice
22:53 karolherbst: we can't :)
22:53 karolherbst: so with pascal some of the voltage regulation stuff is only allowed by nvidia signed firmware
22:53 karolherbst: on the previous gens the fans got locked down
22:53 karolherbst: sooo...
22:53 karolherbst: and we can't redistribute the firmware
22:53 karolherbst: it's a real annoying situation no matter what
22:53 latenite: Can not or may not?
22:54 karolherbst: difficult question
22:54 karolherbst: the license doesn't allow it at least
22:54 karolherbst: _but_ with the new GSP firmware nvidia uses on Turing and newer (20 series) we can do all of that
22:54 karolherbst: it's just bad luck for users having older gpus
22:55 latenite: So what you are saying is: IF I would get a newer GPU I'd have a display I can watch videos with?
22:55 latenite: I'd be in! :)
22:55 karolherbst: well.. not yet
22:55 karolherbst: but it's work in progress
22:56 karolherbst: but yeah.. until the using anything above FHD is a pain
22:56 karolherbst: *then
22:57 karolherbst: we could do that stuff on a few older gpus even, but I didn't really bothered with figuring out what we'd need to do on Pascal, because if you can't change the fans and can't change the voltage there isn't much you can do
22:57 latenite: karolherbst, would you (although being here on nouveau) recommend to use the nvidia driver for my use case?
22:57 karolherbst: yeah, that's probably the saner option
22:57 karolherbst: just then you should use X11 for now and not wayland
22:58 latenite: why x11?
22:59 karolherbst: because I tried wayland today on nvidia and it's still a laggy mess :')
22:59 karolherbst: and some apps didn't even work
22:59 karolherbst: e.g. discord just didn't display anything
22:59 karolherbst: which I think is a xwayland problem
23:00 latenite: okay, I ll give nvidia a chance on sunday
23:00 latenite: for now I ll some sleep
23:00 karolherbst: good night :)
23:00 latenite: karolherbst, thank you tons for helping :)
23:08 DodoGTA: karolherbst: So Maxwell 2.0 and Pascal GPUs will never have reclocking support?