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