01:01airlied[d]: okay got it to work, but it's a bit messy on the meson side
01:20airlied[d]: https://gitlab.freedesktop.org/airlied/mesa/-/commits/nvk/blackwell-latencies
01:27HdkR: airlied[d]: Oh snap, you actually got access to those xls files? Finally!
01:28airlied[d]: RH have had them under NDA for a while, just trying to work out how use them without making mistakes 😛
01:30HdkR: :D
01:33HdkR: Are they still hiding the RT instructions from those NDA files? How rude.
01:35HdkR: Not very hard to RE, just kind of funny.
04:04mangodev[d]: https://cdn.discordapp.com/attachments/1034184951790305330/1390181436111327324/image.png?ex=686752da&is=6866015a&hm=27d36ad1336d1641998bfb562c99c5b09709c7ab0ec671761bbf194ab6494e06&
04:04mangodev[d]: wha…
04:05mangodev[d]: new error when i tried building as lib32
04:39mangodev[d]: oh hmmmm
04:40mangodev[d]: so it breaks when i use rustup instead of system packaged rust
04:40mangodev[d]: strange
09:27LinuxLover471: Hello! I use a GT 740 and the performance of the nouveau driver is too bad to use piglit on it, is there any way that I can contribute by using the nvidia binary driver? I don't know C, so I can't be a developer, but I would like to contribute.
09:30LinuxLover471: I have tried setting up piglit in the past, but I have failed pretty badly, and I would like to help by using the proprietary driver.
10:21LinuxLover471: how can I contribute while using the nvidia binary driver for my GT 740? I was not able to set up piglit, and nouveau is too slow even for general use.
10:34machoskraito: hi all
10:38LinuxLover471: hi
10:41machoskraito: <machoskraito> hi bkil
10:41machoskraito: <machoskraito> yay kid i am just been elect back as United Nations Chief Executive Board
10:41machoskraito: <machoskraito> so how are you all here
10:41machoskraito: <machoskraito> We are releasing AstaraOS-FreeBSD-v15 now
10:41machoskraito: <machoskraito> my name is yohanes patra aka skraito
10:41machoskraito: <machoskraito> nice to meet you all
10:41machoskraito: hi LinuxLover471
10:41machoskraito: how life been for you
10:44LinuxLover471: it's fine, just got braces, kind of painful.
10:45HdkR: lol
10:45LinuxLover471: Hey what was that
10:46karolherbst: spam
10:46HdkR: I like that they have joined multiple channels for it.
10:47LinuxLover471: they are talking to me privately telling me to join #exploiter wtf, is it safe?
10:47HdkR: It's a trap!
10:47asuasuasu[d]: don't and /ignore
10:47LinuxLover471: okay.
10:47karolherbst: dwfreed: ^^
10:48LinuxLover471: I said I am good in this chat and I won't chat at there
10:48LinuxLover471: BTW, can I help nouveau by using the binary driver? I can't use nouveau, it's too slow even for general use
10:49karolherbst: reverse engineering probably
10:49karolherbst: maybe
10:49HdkR: I admire the dedication, it's like ye olde time IRC spam.
10:49karolherbst: thing is.. the blob driver is way less useful to us than it was years ago, because nvidia actually helps us out now
10:51karolherbst: HdkR: need to stand out in the age of AI
10:52LinuxLover471: Oh, so Is there any other way that I can help? Setting up piglit is a hassle...
10:52karolherbst: you probably want to help out with the vulkan driver and make sure you use zink instead of the native gl driver
10:52karolherbst: ohh
10:52karolherbst: GT 740
10:52karolherbst: uhhh
10:52karolherbst: pain
10:53karolherbst: LinuxLover471: you aware of the `/sys/kernel/debug/dri/0/pstate` file? You can uhm.. write "0xf" into it as root and you get better perf
10:53karolherbst: but...
10:53karolherbst: well.. testing NVK would be helpful
10:53karolherbst: and report bugs
10:59LinuxLover471: Oh, I had tested the dri pstate file, but it gave me graphical glitches that literally cooked the pc. Not usable. About NVK, is there any support even available for this gpu? if yes, I would like to help.
10:59karolherbst: ohh.. shoo
10:59karolherbst: LinuxLover471: is it just the 0xf one, or did you also try 0xa?
10:59LinuxLover471: I had used the arch wiki so... let me confirm
10:59karolherbst: but if the pstate stuff doesn't work for you, then also nvk is going to be slow for you sadly...
11:02LinuxLover471: It seems the arch wiki got updated, but there were two options, I guess I will try to retry using the perf state, thanks for the response!
11:05karolherbst: _but_ if it's broken for you on nouveau, you could use the binary driver to figure out what's wrong. Though that's a bit messy to do and might require a lot of time, because the reclocking code is complex and kinda hard to follow
11:06LinuxLover471: sadly, I don't have coding knowledge, so my ability to contribute is pretty low.
11:10karolherbst: well.. then finding which games don't run well with latest mesa would be helpful
11:12LinuxLover471: Hmm, when I had used the latest mesa with azahar, it failed miserably, couldn't load the game with the opengl renderer, the vulkan one gave 1 fps but didn't crash.
11:32karolherbst: mhhh, not sure you'll get more with default clocks
11:46LinuxLover471: Okay, I am going to reboot to finish setup of nouveau, and after that I will try to get better clocks.
11:58LinuxLover471: I just setup nouveau, and I used cat on the pstate, it shows two options, 0f and AC. You told me to use 0xf, and 0xa. I will try using 0f and after that these two.
11:58karolherbst: AC is just the "current" thing, well AC also says "connected to power"
11:59karolherbst: LinuxLover471: is there really only 0f? not 07 or 0a?
11:59LinuxLover471: I didn't know that!
11:59LinuxLover471: Yeah, only of
11:59LinuxLover471: I mean 03
11:59karolherbst: mind pasting the content?
11:59LinuxLover471: 0f: core 324-993 MHz memory 1334 MHz AC: core 324 MHz memory 648 MHz
12:00LinuxLover471: Also, inxi reports this GPU as kepler2
12:00karolherbst: mhhhh
12:01LinuxLover471: now I will try, let's hope for the best.
12:01karolherbst: I wonder if we parse something incorrectly, but it could also be that it's just what's in your vbios
12:02karolherbst: RIP
12:04karolherbst: LinuxLover471: sounds like it didn't go too well
12:05LinuxLover471: Failed miserably, when I did this, the screen started glitching in small fragments, freeze lock every few seconds, and after that, firefox crashed, and only the terminal window of console appeared which was also glitching when typing, and making the line I am typing in flash in black.
12:06LinuxLover471: I was able to type reboot and recover.
12:07karolherbst: yeah.. sounds like the VRAM clocks aren't correctly configured by the kernel...
12:07LinuxLover471: I am using arch linux, so the kernels are the latest, stable kernel, and this is not any flavour of kernel, it's the plain, arch kernel.
12:08karolherbst: did you add the nvboost kernel arg or something?
12:08LinuxLover471: what's that?
12:08karolherbst: well if you don't know, it's okay :D It just allows for higher clocks
12:08karolherbst: mhh
12:08karolherbst: do you have your kernel logs from your last boot?
12:09karolherbst: you said you were able to reboot, right?
12:09mangodev[d]: karolherbst: oh yeah
12:09mangodev[d]: afaik those cards require manual clocking, right?
12:09LinuxLover471: Yeah, safely, just give me a moment.
12:09karolherbst: wondering if "journalctl --dmesg --boot -1" contains any errors at the bottom
12:09karolherbst: somewhere at the bottom at least.. before the reboot :D
12:11LinuxLover471: [ak@G31M-ES2L ~]$ sudo journalctl -b 1 | curl -F 'file=@-' 0x0.st [sudo] password for ak: Journal file /var/log/journal/83f118a3cee648d0b7044c373ed77a41/user-1000@0006378b0fa53e5d-32471f6e58fb06ff.journal~ corrupted, ignoring file. http://0x0.st/80py.txt [ak@G31M-ES2L ~]$
12:11LinuxLover471: https://0x0.st/80py.txt
12:11LinuxLover471: I am not sure if this is right, as it's showing some sort of error.
12:12LinuxLover471: http://0x0.st/80pt.txt
12:13LinuxLover471: This one was the output of the command you requested.
12:13LinuxLover471: I think these are the wrong ones, let me try again.
12:29LinuxLover471: How do I keep the logs saved and synced, until my system crashes? All the logs are corrupted.
12:31LinuxLover471: If I can keep it all synced on a different file in my home folder, then I think I can extract the logs.
12:32karolherbst: LinuxLover471: the last one you linked looked okay
12:33LinuxLover471: Did you find anything?
12:35karolherbst: I see the GPU misbehaving but that's not really helping. I kinda hoped to see some errors from the clocking, but I think this is simply a vbios parsing issues or so.. maybe. It's always a bit hard to tell with those kinds of issues
12:37karolherbst: LinuxLover471: you could upload the files at /sys/kernel/debug/dri/0/vbios.rom and strap_peek to an file an issue here: https://gitlab.freedesktop.org/drm/nouveau/-/issues
12:39LinuxLover471: If that's the case, maybe I can try running glxgears, after turning this on, and maybe after that try rebooting, but it's not guaranteed I will be able to reboot normally.
12:42karolherbst: LinuxLover471: nah, I doubt anything you can do besides providing the vbios.rom file will be able to help
12:43karolherbst: I kinda hoped there would be an error with setting the voltage or something, because those are easier to fix
12:43karolherbst: but it looks like that nouveau simply configures the GPU incorrectly
13:03LinuxLover471: Do I have to upload the vbios normally, or after I have setup the 0f? I think it doesn't matter, right?
13:08snowycoder[d]: LinuxLover471: Kepler2? GT 740 should have a GK107 chip (kepler 1)
13:28LinuxLover471: snowcoder[d] : inxi says that my gpu is a Kepler-2, GK 107
13:29LinuxLover471: snowycoder[d] : ping
13:29LinuxLover471: Guys how do I ping/reply?
13:34tiredchiku[d]: just type their username, the way you did
13:36snowycoder[d]: LinuxLover471: Sorry I was just confused about naimg conventions, thanks for the clarification :3
18:47gfxstrand[d]: mhenning[d]: dataflow looks really good. Left two total nits.
18:50snowycoder[d]: gfxstrand[d]: There's a new MR for that??
18:51gfxstrand[d]: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35446
21:12gfxstrand[d]: For some reason we're not getting kopper with `DRI_PRIME=1`
21:22gfxstrand[d]: We're not getting Kopper at all. 🤯
21:29gfxstrand[d]: Okay, I'm neither well slept enough nor drunk enough to look at EGL code.
21:32zmike[d]: I recommend meth
21:32gfxstrand[d]: I recommend calling it quits and going home
21:33gfxstrand[d]: Yeah, everything is in the wrong order.
21:34gfxstrand[d]: We create the screen after we initialize loader extensions. Which means we have to know we're using Zink before we load nouveau and says "No, actually, use Zink"
21:39gfxstrand[d]: IDK if X11 has this problem. Probably
21:39gfxstrand[d]: In order to make this work we have to partially initialize wayland before we decide to use kopper
21:39gfxstrand[d]: It's gonna be pain
21:40gfxstrand[d]: Either that or we need to fix all the non-kopper bugs
21:40airlied[d]: but we do pick zink before loading nouveau
21:41airlied[d]: it's why it gets picked in the loader not in nouveau
21:45gfxstrand[d]: But EGL doesn't know that.
21:46airlied[d]: ah because it has it's own set of hacks even before the loader
21:47airlied[d]: because it's hacks all the way down instead of designed
21:48gfxstrand[d]: Yeah, all the Kopper stuff is based on environment variables.
21:49airlied[d]: yeah checking MESA_LOADER_DRIVER_OVERRIDE is very wrong
21:50airlied[d]: _eglDeviceRefreshList should probably call into the loader
21:52airlied[d]: or dri2_query_device_info should
21:52airlied[d]: hmm that should work, maybe we aren't just checking the results properly
21:53airlied[d]: dri_get_drm_device_info should get the zink driver name
21:53gfxstrand[d]: There are layers of bullshit going on. I haven't detailed them yet
21:53gfxstrand[d]: https://tenor.com/view/onions-have-layers-gif-7154017276425979182
21:54airlied[d]: something, something, traverse the device list and find a device with zink in it's driver_name, handwave, use zink
21:54zmike[d]: most of the current mechanism was written before all the dri refactoring
21:54zmike[d]: seems like it should be simpler to improve things now
21:56gfxstrand[d]: airlied[d]: Nope. We don't want Iris forced down the Kopper path. We have to base that decision on the DRM device we get back from Wayland or X11.
21:57airlied[d]: so disp->Options.Zink has to die
21:58airlied[d]: or at least get chosen much later
21:58gfxstrand[d]: Yup
21:58gfxstrand[d]: It needs to be chosen based on actually using Zink
21:59zmike[d]: it only ever existed originally to be a check for MESA_LOADER_DRIVER_OVERRIDE
21:59airlied[d]: this begs a question in the prime scenarios whether we can use kopper
22:00airlied[d]: which isn't a think we should be checking for outside the loader 🙂
22:00airlied[d]: do we have an EGL display per device? or just one with multiple deices
22:01airlied[d]: because the EGL display pretty much picks a path and locks in
22:01gfxstrand[d]: Use Kopper if the render driver is Zink. Vulkan WSI in Mesa can do prime.
22:02gfxstrand[d]: Which is something we can only only once the display is at least partially initialized.
22:19gfxstrand[d]: What we need to do is initialize the display far enough to pick a driver and then pick Kopper.