00:53 fling: https://bpa.st/UTCA
00:54 fling: TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
00:54 fling: will setting tsc=unstable help?
00:58 fling: Anything else can be done to prevent the crashes?
00:59 fling: c_nix: Hello.
01:02 c_nix: hello :D
01:07 fling: ok tweaking clocksource should not help
16:59 KungFuJesus: imirkin: I think I found an interesting discovery about this guy: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1167
16:59 KungFuJesus: at least in part
17:00 KungFuJesus: disabling/enabling texture filtering seems to have an affect on some textures being byteswapped
17:00 KungFuJesus: does this narrow down the codepath we need to look at?
17:01 KungFuJesus: I discovered this while playing with the sm64ex pc port. It also has byteswapped textures, and this seems to be a commonality.
17:01 KungFuJesus: commenting out the code that specifies the texture parameter for filtering has noticeable impacts on the correct endianness of the textures
17:03 KungFuJesus: That is to say, turning texture filtering off removes something that corrects the endianness of the textures. The difference between this project and legacy doom is that this project leverages shaders, which may also be carrying forward some endianness issues
17:40 karolherbst: KungFuJesus: mhhh.. I think this could also be a general big endian issue. Mind checking if you see the same thing with llvmpipe?
17:41 karolherbst: I did some big endian tests this week and found quite a lot of issues
17:42 KungFuJesus: yes, llvmpipe renders everything properly
17:42 karolherbst: ahh, interesting
17:42 KungFuJesus: that's what made me suspicious of nouveau's endianness issues in the first place :)
17:43 KungFuJesus: it's interesting because by telling GL to UNPACK_SWAP_BYTES + texture filter, it inverts a lot of endianness issues going on
17:43 KungFuJesus: I'm guessing the texture filtering stuff is causing this, but I can't say for sure
17:43 KungFuJesus: trying to produce a minimal example with textures
17:44 karolherbst: KungFuJesus: mind writing some piglit shader_test files?
17:45 karolherbst: those are usually quite handy for that kind of stuff
18:00 KungFuJesus: at the moment I'm trying to not involve shaders, but I suspect the texture filtering with the standard glTexParameteri stuff probably is using internal shaders for NV40 era hardware
18:03 karolherbst: KungFuJesus: well, you could have a vertex passtrhough thing and a fragment one just doing a normal texture operation.. mhh but yeah, not sure how to test those very simple things alone
18:03 karolherbst: but I think it makes sense to verify that texture operations do return the correct values for all texture formats
18:03 karolherbst: but yeah...
18:14 KungFuJesus: what's weird is that UNSWAP_BYTES sometimes takes effect and sometimes doesn't for code bases. I'm trying to figure out the pattern to make the state machine actually be affected by it
19:17 mattmatteh: would any of the endian issue apply to NVCF or NVE4?
19:20 KungFuJesus: quite possibly, are you seeing any byte swapped textures?
19:21 mattmatteh: i have talos blackbird. months ago i had tried the above cards in it, worked but unstable after a while of watching video. I still have the cards here, but currenly have a radeon card in it now.
19:22 KungFuJesus: ah, I think that by default uses little endian though, doesn't it?
19:22 mattmatteh: the card?
19:22 KungFuJesus: the native endianness of the CPU
19:22 mattmatteh: i am not sure
19:22 mattmatteh: i dual boot BE and LE, currently LE
19:23 KungFuJesus: ah, but for the bi-endianness, you have to do something special for BE, right?
19:23 KungFuJesus: did you see the issue on a BE or LE distro?
19:23 KungFuJesus: the supported ones, like Ubuntu, are LE I believe
19:23 KungFuJesus: it's possible you saw an endianness issue, but it may not be the same endianness issue
19:24 mattmatteh: now that think about it, i dont think i tried to boot BE, perhaps i assumed it would not work or was told it would not
19:25 mattmatteh: do you have any newer nvidia cards on ppc ?
19:25 KungFuJesus: I do not
19:25 KungFuJesus: or at least, I wouldn't be able to readily boot with them on this
19:26 KungFuJesus: the interesting observation I may have made with this, is if I do allow texturing at all, all of the glColor (flat shaded non-textured polygons) end up being byteswapped. If I don't, all the colors are correct but I basically have no textures