00:54fling: TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
00:54fling: will setting tsc=unstable help?
00:58fling: Anything else can be done to prevent the crashes?
00:59fling: c_nix: Hello.
01:02c_nix: hello :D
01:07fling: ok tweaking clocksource should not help
16:59KungFuJesus: imirkin: I think I found an interesting discovery about this guy: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1167
16:59KungFuJesus: at least in part
17:00KungFuJesus: disabling/enabling texture filtering seems to have an affect on some textures being byteswapped
17:00KungFuJesus: does this narrow down the codepath we need to look at?
17:01KungFuJesus: I discovered this while playing with the sm64ex pc port. It also has byteswapped textures, and this seems to be a commonality.
17:01KungFuJesus: commenting out the code that specifies the texture parameter for filtering has noticeable impacts on the correct endianness of the textures
17:03KungFuJesus: 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:40karolherbst: KungFuJesus: mhhh.. I think this could also be a general big endian issue. Mind checking if you see the same thing with llvmpipe?
17:41karolherbst: I did some big endian tests this week and found quite a lot of issues
17:42KungFuJesus: yes, llvmpipe renders everything properly
17:42karolherbst: ahh, interesting
17:42KungFuJesus: that's what made me suspicious of nouveau's endianness issues in the first place :)
17:43KungFuJesus: it's interesting because by telling GL to UNPACK_SWAP_BYTES + texture filter, it inverts a lot of endianness issues going on
17:43KungFuJesus: I'm guessing the texture filtering stuff is causing this, but I can't say for sure
17:43KungFuJesus: trying to produce a minimal example with textures
17:44karolherbst: KungFuJesus: mind writing some piglit shader_test files?
17:45karolherbst: those are usually quite handy for that kind of stuff
18:00KungFuJesus: 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:03karolherbst: 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:03karolherbst: but I think it makes sense to verify that texture operations do return the correct values for all texture formats
18:03karolherbst: but yeah...
18:14KungFuJesus: 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:17mattmatteh: would any of the endian issue apply to NVCF or NVE4?
19:20KungFuJesus: quite possibly, are you seeing any byte swapped textures?
19:21mattmatteh: 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:22KungFuJesus: ah, I think that by default uses little endian though, doesn't it?
19:22mattmatteh: the card?
19:22KungFuJesus: the native endianness of the CPU
19:22mattmatteh: i am not sure
19:22mattmatteh: i dual boot BE and LE, currently LE
19:23KungFuJesus: ah, but for the bi-endianness, you have to do something special for BE, right?
19:23KungFuJesus: did you see the issue on a BE or LE distro?
19:23KungFuJesus: the supported ones, like Ubuntu, are LE I believe
19:23KungFuJesus: it's possible you saw an endianness issue, but it may not be the same endianness issue
19:24mattmatteh: 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:25mattmatteh: do you have any newer nvidia cards on ppc ?
19:25KungFuJesus: I do not
19:25KungFuJesus: or at least, I wouldn't be able to readily boot with them on this
19:26KungFuJesus: 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