18:44 karolherbst: pmoreau: do you have some left over nir fixes for nv50 somewhere?
18:44 karolherbst: apparently using nir regresses nv50 and before I waste my time I'd rather try out a few patches
19:52 pmoreau: Hmm, let me go through my remaining patches
19:54 karolherbst: pmoreau: already found your branch on gitlab and tried out a few, but nothing yet... will do some CTS runs to figure out more, but if you could rebase whatever you have that would be helpful. I think there are some patches we absolutely need anyway
19:55 pmoreau: Sure, I will go ahead with the rebase.
20:19 pmoreau: karolherbst: Done
20:33 TimurTabi: nouveau 0000:65:00.0: DRM: Pointer to TMDS table not found
20:33 TimurTabi: Can someone tell me what this means? What does it matter if the TMDS table is not found?
20:40 karolherbst: TimurTabi: the TMDS table is used for DVI/HDMI stuff, but I think it's an optional thing not needed in some cases
20:40 TimurTabi: Do if there's no monitor attached, would that cause the table to be missing?
20:41 karolherbst: it's part of the vbios, so I don't think that's it
20:44 TimurTabi: Nouveau is not starting properly on systems that don't have a TMDS table, which is why I'm trying to figure out why it would be missing.
20:54 karolherbst: TimurTabi: huh.. afaik it shouldn't matter
20:54 TimurTabi: It turns out the DCB table is also missing on these systems
20:55 karolherbst: ahh.. that sounds more like an issue
20:55 TimurTabi: I'm guessing that maybe other tables are also missing. What is the DCB table for?
20:55 karolherbst: display stuff
20:56 karolherbst: uhm wait..
20:56 karolherbst: more like "everything"
20:56 karolherbst: https://nvidia.github.io/open-gpu-doc/DCB/DCB-4.x-Specification.html
20:56 karolherbst: TimurTabi: nornal PCIe cards I guess?
20:56 TimurTabi: Well, it's a card in our board farm, and these things seems to be very hit-and-miss
20:57 TimurTabi: It's like that scene in Forest Gump about a box of chocolates
20:57 karolherbst: mhh.. odd
20:57 airlied: has the card any outputs?
20:57 TimurTabi: You mean like monitors attached?
20:58 karolherbst: airlied: shouldn't matter
20:58 karolherbst: we already have laptops where the dGPU has no outputs
20:58 TimurTabi: Oh, so like no HDMI ports at all?
20:58 karolherbst: yeah
20:58 TimurTabi: I think some Tesla cards are like that. Let me check.
20:58 karolherbst: but it could be that tesla cards are special
20:58 karolherbst: or something
20:58 karolherbst: assume nouveau has literally 0 testing on those high end data center GPUs
20:59 karolherbst: TimurTabi: does nouveau actually fails to load, or is it simply "stuck"?
21:00 airlied: karolherbst: I think data center cards and laptop gpus might be different around DCB
21:00 karolherbst: they probably are
21:00 TimurTabi: It loads, but it doesn't complete the GSP-RM initialization process.
21:01 karolherbst: TimurTabi: okay.. so in theory one could fetch the vbios.rom debugfs file?
21:01 karolherbst: might be helpful to see how that one looks like
21:01 TimurTabi: Let me check and I'll get back to you
21:35 TimurTabi: Where would that debugfs file be, exactly?
21:40 TimurTabi: /sys/kernel/debug/dri is empty. I guess the driver closed. I'll have to think of something.
22:06 karolherbst: TimurTabi: might be able to use nvagetbios -s prom from envytools
22:34 TimurTabi: $ hexdump vbios.rom | head
22:34 TimurTabi: 0000000 aa55 eb77 374b 3034 e930 194c cc77 4956
22:34 TimurTabi: 0000010 4544 204f 000d 0000 0170 192f 0000 4249
22:35 TimurTabi: I think I successfully extracted it. It's 1MB in size. Is there a VBIOS pretty-print tool or something?
22:36 karolherbst: nvbios
22:36 karolherbst: but it doesn't really handle the multipart vbios well
22:37 karolherbst: should be enough to find the DCB table though
22:37 karolherbst: if there is one
22:37 karolherbst: but
22:37 karolherbst: I suspect you have probably access to the better vbios displaying tools :P
23:00 TimurTabi: Well, we do have a fancy tool, but it doesn't appear to like the image I produced.
23:00 karolherbst: I suspect it requires this fancy header or something..
23:00 karolherbst: but I suspect you also have your own tool to extract the vbios