00:02 guest42: maby all i can run is mesa 11 because it just doesnt update to 12
00:03 guest42: 12.1~git1608261930.0035f7~gd~x is like 5 hours old
00:23 DexterF: hi
00:24 DexterF: can I have vdpau with nouveau? do I need a specific driver package in say ubuntu?
00:30 DexterF: nvm, faq got it
01:29 f380cedric: Hi, I have a question, GTX 1070 is supported by nouveau or I need to use proprietary 367 driver?
01:34 f380cedric: forget, I found on nouveau site :p
03:31 BoRiS: Hi everyone!
08:13 karolherbst: okay, again
08:13 karolherbst: hakzsam: I will just do a very quick test on reator (5 minx max)
08:16 karolherbst: seems like a maxwell2 pmu has the same imem size as my kepler
08:19 karolherbst: RSpliet: it seems like 0x10a1c0 does something else on maxwell2
08:24 karolherbst: mhhh
08:25 karolherbst: I just got the maxwell2 pmu image though the imem window :O RSpliet, thanks for the hint
08:25 karolherbst: *through
08:25 karolherbst: though that doesn't help at all, because we miss everything else
08:45 Yoshimo: every little additional detail you know is good karol
08:56 hakzsam: karolherbst, np
08:56 hakzsam: wale up time
08:56 pmoreau: karolherbst: PMU image == PMU firmware? If so, can’t you use it to change the fans’ speed?
08:57 karolherbst: pmoreau: we need more than that
08:57 karolherbst: and with image I meant the code space
08:57 pmoreau: :-/
08:57 pmoreau: But that’s some progress at least
08:57 karolherbst: for the acr we need the bl and ucode_load
08:58 karolherbst: ohh wait, that we can reuse from the other things
08:58 karolherbst: but we need the pmu bl, data, inst and sig
08:58 karolherbst: data and inst we have now
08:58 karolherbst: now idea if we can use it though this way
09:06 hakzsam: karolherbst, let me know when reator is available
09:07 karolherbst: hakzsam: ohh right, I am done already
09:07 kloofy: pmoreau: did you look at this stupid pseudo i posted? seems you are lately active, but i gotta go, we talked that i don't very much care either, more iportant things to do, but
09:07 hakzsam: cool
09:07 karolherbst: pmoreau: do you know what would be cool? A falcon emulator
09:07 kloofy: ? pmoreau: it is almost correct in the flow
09:08 karolherbst: pmoreau: which we could run on either mocked hw mmio regs or the real deal to RE those pmu images without the need of disassembling
09:09 karolherbst: or putting it on real hardware
09:09 kloofy: pmoreau: let's just say someone who wants the perf may plug it it in with only slight hairy work at isa level
09:13 pmoreau: kloofy: I had a quick look, but honestly did not understand it. So, if you have two warps running through the same conditional, you would like to group threads going through the `if` in one warp, and the `else` threads in another wrap, and have them run in parallel rather than sequential ?
09:14 pmoreau: karolherbst: The number of possible cool things is not that limited, but… the available time is sadly :-/
09:14 karolherbst: :/
09:14 kloofy: pmoreau: well actually, first thanks for responding, it is done via masks, which i did not mark explicitly
09:15 kloofy: pmoreau: so the in case of fast instruction those are uniform 100 and 100 for both
09:16 kloofy: but in case of instruction that is deeply pipelined, nvidia even has a page for them, i.e those would run with fewer threads yeah
09:16 kloofy: which means that else clause is sent back to the circuit to do other things
09:17 hakzsam: I hope to find the F1 2015 hang today because it's really annoying to debug
09:19 kloofy: there are couple of bugs, i may do the more precise version with more descriptions including the nouveau based cctl and radeon and nv50 based ring buffer pseudo code
09:20 kloofy: pmoreau: namely it should count the loops index when incrementing to next instruction
09:20 kloofy: i forgat to mark correct arithmetic there
09:23 karolherbst: pmoreau: but I am sure we can simply take the acr files from the released stuff
09:23 karolherbst: they are also the same between chipsets
09:24 kloofy: actually i did in the past some thesis reading but i lost the thesis, the branches are done in parallel in hw, but with fewer threads, so that the instruction that is in question which threads were lowered performs longer
09:25 kloofy: if done against the instruction which normally is has enough units or can take on all the threads
09:26 kloofy: i had one german pdf, which said that threads masked off will do nop and skip to the else so it's done in parallel, the intention is not to add those threads when they would do nothing in reare cases
09:30 kloofy: so for instance non-cache memory operation would have most threads masked with exec mask, while cached memory read will have few threads marked, and bunch of other instruction little ofer a tosin of them will have half of the threads masked
09:32 kloofy: and if you can bit optimize my code then it should raise the perf in quite large degree once you do the code inside the driver
09:35 kloofy: the mask i can't remember should look, is the exec there, it's read from the ringbuffer from tiling regs, and right after it was read the tiling regs will be readjusted
09:36 kloofy: on radeon that is memory or constant engine and their polling which can be used for that and it either needs coherent cache between waves or shader must invalidate
09:40 kloofy: but that is radeon code, fermi and kepler is simpler, this can ask physical bank stuff with cctl instead
09:41 kloofy: i last time this was the patent number 4 i posted
09:41 kloofy: the idea is that cpu does not need to reorder instructions this way
09:42 kloofy: cause there will be mask held in tiling regs on the circuit per instruction in the mmio regs, which karolherbst said it's an arbitrary reg on the circuit
09:44 kloofy: you can look at this stuff, as the instruction address was virtually tagged and physically indexed
09:45 kloofy: so basically 40bit of program counter is virtual tag that is contiguous, but physical index is non-contiguous
09:47 kloofy: in overly simplfied explanation, it's like register reuse implementation for the tiling regs of memory controller
09:49 kloofy: so you write into tiling , regs upfront during compilation
09:49 kloofy: in the shader you send the me engine a signal to read from it via cached memory, and then reuse it to add correct tiling info, so that tiles would not be random
09:52 kloofy: but on kepler and fermi, there are special instruction in the shader to ask and mark the physical taggs of a virtual address
09:52 kloofy: this is very elegant stuff, it also can determine wether the address is in cache
09:53 kloofy: so there you know, that ooops address is not in cache, mask of nearly all of the threads, cause this very high latency memory operation
09:53 kloofy: but on readeon and nv50 that last thing can be done too
09:54 kloofy: but in slightly the way which would work out nearly the same but seems to the user more complex to figure out
09:56 kloofy: and if you look at the patents i pasted from nvidia 4 of them, they are all relevant to this implementation
10:10 Tom^: the wall of text
10:22 kloofy: pmoreau: i as always present i have been read though, i am tired a bit of the reading i need to do practical stuff too occationally, but i lost the thread where it said about uncached memory it was thesis again, that it really needs only 4 threads active in a warp to utilize it's maximum potential
10:22 kloofy: i/what i
10:26 kloofy: but in comparison with sched opcodes there are few hurdles
10:27 kloofy: as we do not know what is the delay in circuit caused of sched opcodes, maybe there is literally none, we'd want to keep the handler which will be executed per every instruction as thin as possible
10:28 kloofy: and on sm3 i yet haven't decided how i will workaraound the possible in spec branching limit, cause i used 4branches there too, if user is stupid to use 20nested branches we are not in spec anymore
10:28 kloofy: err 24
10:31 kloofy: but the advantage is that we can test during runtime and adjust the mask
11:09 night199uk: hrm
11:09 night199uk: anyone can help with nvidia pitch/gobs?
11:11 night199uk: esp. i’m looking at pdisp reg 0x86c / 0x46c
12:01 karolherbst: mhh, I have found a game where I usually get a lot of stuttering, but OpenGL renders at 6ßfps constantly
12:12 karolherbst: nice, found another texture/ram bug
12:13 hakzsam: which game?
12:13 karolherbst: rogueLegacy
12:13 hakzsam: with mesa master?
12:13 karolherbst: 68MB trace :)
12:13 karolherbst: a little older than this
12:14 karolherbst: git-7bdccd1
12:14 hakzsam: I did fix something texture related few days ago
12:14 hakzsam: yeah, you need to update
12:14 karolherbst: k
12:16 hakzsam: and please upload the trace somewhere
12:16 hakzsam: what's the dmesg error btw?
12:19 hakzsam: karolherbst, I booked my flight for XDC yesterday, I will be at mupuf's hotel on tuesday around 11pm
12:19 karolherbst: hakzsam: so late :O
12:20 hakzsam: yeah...
12:20 karolherbst: no error in dmesg
12:20 hakzsam: but it was cheaper :)
12:20 hakzsam: mmh
12:20 hakzsam: what's the issue then?
12:20 hakzsam: rendering only?
12:21 karolherbst: https://i.imgur.com/Lsnh0H8.jpg
12:21 karolherbst: yes
12:21 karolherbst: only in this "area" of the game though
12:22 karolherbst: and the game has like 300 calls per frame
12:22 hakzsam: shouldn't be hard to debug
12:23 hakzsam: F1 2015 has something like 100k calls per frame :)
12:23 karolherbst: first I update mesa
12:24 siro__: karolherbst: looks like wrong data in compressed textures
12:25 hakzsam: karolherbst, yeah, but my think is unrelated I think
12:25 karolherbst: I see
12:25 hakzsam: s/think/fix
12:28 karolherbst: hakzsam: yep, still wrong
12:28 hakzsam: ok
12:28 karolherbst: I will put the trace in my google driver and open a bug
12:29 hakzsam: cool
12:30 karolherbst: trying llvmpipe first though
12:31 karolherbst: yep, no issues
12:34 karolherbst: hakzsam: the trace is so small compressed. it even fits on bugzilla :D
12:34 hakzsam: :)
12:35 karolherbst: and I just removed the screenshot...
12:35 karolherbst: https://bugs.freedesktop.org/show_bug.cgi?id=97508
12:36 hakzsam: I will test on gm107
12:36 karolherbst: awesome :)
12:36 hakzsam: but I'm fully busy with F1 :)
12:36 karolherbst: no worries
12:37 karolherbst: maybe I will find the issue or so
12:37 karolherbst: shouldbn't be that hard
12:37 hakzsam: yep
12:37 karolherbst: 239 calls :D
12:37 hakzsam: at least it's easy to trim :)
12:37 hakzsam: and fast
12:37 karolherbst: yes
12:37 karolherbst: frame 850 is a good one
12:38 hakzsam: the F1 trace has 1.5M calls :/
12:38 karolherbst: :/
12:38 hakzsam: but I found where it hangs, still need to understand why
12:38 karolherbst: okay nice, the issue will be something silly, because the background has no corruptions
12:39 hakzsam: you tested with blob as well?
12:39 karolherbst: I know that it used to work
12:39 karolherbst: with nvidia, didn't test today though
12:40 hakzsam: okay
12:40 karolherbst: call 240510
12:41 karolherbst: GL_RGBA4 textures
12:41 karolherbst: 2 of them, both messed up
12:42 karolherbst: k
12:43 karolherbst: framebugger is a GL_COLOR_ATTACHMENT with GL_RGBA8 and gets two GL_RGBA4 textures drawn into it
12:43 karolherbst: can this cause problems?
12:43 karolherbst: allthough
12:43 karolherbst: the textures are already messed up
12:46 karolherbst: huh7
12:46 karolherbst: glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_RGB5_A1, width = 1320, height = 720, border = 0, format = GL_BGRA, type = GL_UNSIGNED_SHORT_5_5_5_1, pixels = NULL)
12:48 karolherbst: wrgon call I guess
12:48 karolherbst: glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_RGBA4, width = 1320, height = 720, border = 0, format = GL_BGRA, type = GL_UNSIGNED_SHORT_4_4_4_4, pixels = NULL)
12:48 karolherbst: that should be the one
12:50 karolherbst: imirkin: any ideas?
13:11 hakzsam: karolherbst, not exactly the same issue on gm107, but there is one definitely
13:11 karolherbst: hakzsam: it doesn't look always the same
13:11 hakzsam: so yeah
13:11 hakzsam: reproduced
13:13 karolherbst: nice
13:34 kloofy: pmoreau: i add a link where probably the ptx generator generates the sched commands, the assembler in question should be free, but i currenltly can't inspect it
13:34 kloofy: https://hpcforge.org/scm/viewvc.php/doc/opennvisa/decoder.algorithm?revision=2218&root=kernelgen&view=markup
13:36 kloofy: so in theory if you know how to mark those delays in ptx, and that is what people should know, since probably it is descibed in ptx spec, the plumbing of those can be added to mesa from this assembler
13:36 kloofy: the same thing is known to be available for maxwell too
13:37 kloofy: but the other way i described should function too if added, i am quite sure it would
14:06 kloofy: https://github.com/NervanaSystems/maxas/wiki/Introduction there the sched codes should be generated automatically when stuff is put to schedblock
14:09 kloofy: listen folks, i gonna head off i don't care about who ignores me, it's their own deal, i just want to live so that persons who do not respect any of the humanity standarts can
14:11 kloofy: t come to my areas at all, and better not talk to me, and spammer is better then the terrorists like that
14:11 kloofy: what is more importand not to talk about me, cheers.
14:15 Sophira: o/
14:58 imirkin: karolherbst: hopefully it magically works on nv50 and i can do a retracediff
14:59 karolherbst: :)
15:00 karolherbst: well, I think I pinpointed the messed up calls already and thought that the rgba4 format might cause issues
15:00 imirkin: it's caused issues in the past
15:00 imirkin: although iirc i discovered that those issues were actually entirely unrelated to rgba4
15:01 imirkin: but i did "fix" those issues for a while by disabling rgba4 support
15:02 karolherbst: uhhh, i see
15:02 karolherbst: maybe I should bisect and check
15:03 imirkin: i'll look later today probably
15:03 imirkin: those render bugs tend to be pretty easy to fix
15:03 karolherbst: I will see if 10.0 has this issue, I doubt I will go more into the past
15:03 imirkin: or at least diagnose
15:04 imirkin: not always though
15:05 imirkin: if you and i were smart, we'd have pre-built versions of mesa releases lying around for easy referencing
15:05 imirkin: too bad we're not smart.
15:09 karolherbst: 10.0 doesn't even compile due to the libdrm changes...
15:28 karolherbst: imirkin: it works with 11.0
15:28 karolherbst: I like regressions :D easy to track down
15:36 karolherbst: do you think this is related?
15:36 karolherbst: Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glDrawRangeElements(incomplete framebuffer)
15:36 karolherbst: Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)
16:00 karolherbst: odd
16:00 karolherbst: it works between 11.0-branchpoint and 11.0.0
16:00 karolherbst: well
16:00 karolherbst: "fixed"
16:00 karolherbst: 11.0-branchpoint has the issue, 11.0.0 not
16:00 karolherbst: but 11.1 has the issue again
16:58 karolherbst: imirkin: it seems like the PageFlip option causes issues for nouveau, turning it off eliminates some rendering issues
17:35 karolherbst: imirkin: I guess you was right about removing RGBA4 support, I bisect towards that one
17:36 karolherbst: imirkin: but is this patch only applied for 11.0?
17:45 hakzsam: karolherbst, have fun with reator
17:45 hakzsam: I'm done
17:46 hakzsam: F1 still not fixed :/
17:46 hakzsam: I know where it hangs but I don"t know what does it happen
17:47 karolherbst: :/
17:47 karolherbst: currently I am trying to figure out why that rgba4 issue doesn't exist on the 11.0 branch
17:50 karolherbst: yep
17:50 karolherbst: 0878187488008facccbdae1b0e5258234a2b9dd4 fixed the issue
17:50 karolherbst: now checking the master commit
17:51 karolherbst: uhhh
17:51 karolherbst: that issue
17:52 karolherbst: I remember
18:16 imirkin: karolherbst: right, but it was a misdiagnosis ... i fixed the issue for real later
18:17 karolherbst: yep, I currently bisecting starting from the disable commit and see where it leads me to
18:20 imirkin: ok, well, i'm not against you tracking this stuff down, but chances are i'll have a look in an hour or two
18:20 karolherbst: I have to tidy up a bit anyway, so I really don't mind
18:21 karolherbst: I am sure it will lead to a "enable rgba4 again" commit or something like that, but maybe not, who knows
18:28 karolherbst: imirkin: do you happen to know a nice task somebody could do on a maxwell2 gpu without needing much experience with nouveau?
18:29 imirkin: sure
18:29 karolherbst: awesome :)
18:29 imirkin: GM20x added a bunch of exts
18:29 imirkin: some of which are going to be pretty involved to implement
18:29 imirkin: but a bunch should be extremely easy
18:30 karolherbst: I search for easy ones
18:30 karolherbst: best if there are already piglit tests
18:30 imirkin: NV_conservative_raster, NV_fill_rectangle
18:30 imirkin: nah, they're new
18:30 karolherbst: I see
18:30 imirkin: one could also add support for AMD_vertex_shader_layer and AMD_vertex_shader_viewport_index
18:30 imirkin: those already have tests
18:30 imirkin: i had a patch which made one of them work but not the other
18:30 karolherbst: imirkin: do you want to create trello cards for those?
18:30 karolherbst: maybe best would be a new category for this
18:31 imirkin: opengl features
18:31 karolherbst: where we just keep track on those
18:31 imirkin: i think that cat exists :)
18:31 karolherbst: :D
18:31 karolherbst: right, would fit
18:31 karolherbst: well I will create them and mark those as easy
18:31 imirkin: uhh
18:32 imirkin: we both just added them
18:32 karolherbst: ohh :O
18:32 imirkin: mind if i nuke yours?
18:32 karolherbst: nope, go ahead
18:32 imirkin: i'm going to add additioanl info too
18:33 karolherbst: awesome, thanks
18:33 karolherbst: you don't happen to know other issues, which aren't exactly opengl related?
18:34 imirkin: karolherbst: easy ones? no
18:34 karolherbst: k
18:34 imirkin: one could try to figure out how to operate the video decoding engines
18:35 karolherbst: uhhh
18:35 karolherbst: right
18:35 imirkin: however that's a life sucking effort
18:35 karolherbst: yes
18:35 karolherbst: the only "easy" task I have is to adjust nvkm_clk_read to kepler2+ changes
18:40 imirkin: pmoreau: do you still have my patch from when i was trying to implement the GM20x vertex shader layer/viewport index stuff?
18:46 imirkin: karolherbst: how's that?
18:46 imirkin: karolherbst: i had a partial patch for the first one that didn't work, but it might have been lost in the annals of time. i think pmoreau had it at one point...
18:46 imirkin: iirc i didn't push it anywhere
18:47 karolherbst: looks very good, thank you
18:48 karolherbst: we should always try to create cards for things we know has to be done, just so that somebody who has a lot of spare time knows what he might do to help out
18:48 imirkin: yeah, i'm usually decent about that
18:48 imirkin: a lot of the stuff is pretty involved though
18:48 karolherbst: implement vblanc on the pmu :D
18:49 karolherbst: terrible task though
18:49 karolherbst: mhh for gf119+
18:53 karolherbst: mhh I could try to figure out why setting the liveOnly bit on the tex instructions causes hangs
18:54 karolherbst: ohh implementing clock gating on kepler+ should be a good beginners task
18:54 karolherbst: no REing needed at all
18:54 karolherbst: just coding mainly
18:54 karolherbst: maybe a bit of mmiotracing, but that's fine
19:01 kloofy: well guys one more thing, this is about vulkan, the precompiled blobs can be generated from vulkan too, so theoretically people could use vulkan too, instead of opengl, but sadly we then need vulkan front-end i.e to get a precompiler ontop of vulkan, we need vulkan support in the state tracker
19:02 kloofy: unfortunently for me to make it perform better i should also study it, but i don't have that much time
19:02 kloofy: it/the spec, so but life sucks lots of different apis and things change
19:03 kloofy: anyhow , so bye.
19:07 MarkedOne: Hello.. I am forced to use proprietary NVIDIA driver for my GeForce GT 520M.. As you are here experts wchich driver version should I use? https://wiki.debian.org/NvidiaGraphicsDrivers
19:08 imirkin: MarkedOne: ask nvidia folk for support on nvidia driver
19:08 karolherbst: "forced" is a rather strong word, who forces you?
19:08 imirkin: i believe there's even a channel for it, #nvidia
19:09 MarkedOne: i would like to use nouveau.. but bumblebee is not working... and karolherbst told me that nouveau driver is working bad with my GPU
19:10 MarkedOne: karolherbst: Oh thats you :D
19:11 karolherbst: :D
19:11 MarkedOne: karolherbst: Nice to see you again :D
19:11 karolherbst: well yeah, you should ask within bumblebee, but usually a normal bumblebee package is enough
19:11 MarkedOne: I really don't like Nvidia blob :/
19:11 karolherbst: I doubt there is one for debian though
19:12 karolherbst: well, we are working on that, but we can't say when it will be done, because that part is really tricky
19:12 imirkin: MarkedOne: irrespective of how nouveau works for you, or your reasons for using nvidia blob, this isn't the place for nvidia blob support
19:12 MarkedOne: imirkin: Yeah sorry...
19:14 MarkedOne: karolherbst: So you are working on it? That is wonderful! :) I will definitely wait.
19:15 karolherbst: nope, I am not
19:16 MarkedOne: karolherbst: You said that :D
19:16 karolherbst: no
19:16 karolherbst: I didn'T
19:16 imirkin: when he said "we" he meant "group of people that does not include me"
19:16 karolherbst: as always
19:18 MarkedOne: anyway :D I appreciate your work
19:19 MarkedOne: And karolherbst :D I like your definition of "we" :D
19:19 karolherbst: it is the usually used one on the internet
19:19 karolherbst: "we" fight for human rights ;) you know
19:20 MarkedOne: yeah :)
19:20 MarkedOne: btw how are you?
19:21 karolherbst: well annoyed by silly bug
19:22 karolherbst: imirkin: https://github.com/imirkin/mesa/compare/581111c4d67c65305dcae83789ac504deeec9da2...bf6acbb2db4baaf18ae5a139142acf06e84d1b9c
19:22 karolherbst: guess which one
19:22 MarkedOne: hmm.... the whole world is full of bugs :D
19:22 karolherbst: like my sleeping room
19:22 karolherbst: mhh
19:22 karolherbst: bedroom you call that
19:22 karolherbst: ...
19:22 karolherbst: :D
19:23 imirkin: karolherbst: looks like a bug in the game...
19:23 karolherbst: really?
19:23 karolherbst: it works with llvmpipe and intel
19:23 karolherbst: and nvidia
19:23 imirkin: 95906: message: major api error 3: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)
19:23 karolherbst: sure, but that message doens't appear when RGBA4 is disabled
19:23 karolherbst: *BGRA4
19:24 imirkin: doesn't make it less of a bug in the game
19:24 karolherbst: and why doens't the message appear in those cases?
19:24 MarkedOne: Okey guyz.. i am lost... can't get your conversation so i will fade to black :D
19:24 MarkedOne: wish you nice day :)
19:24 karolherbst: *night
19:25 karolherbst: mhh
19:25 karolherbst: nvm
19:25 imirkin: interesting though ... it does seem like it ought to work
19:25 karolherbst: right
19:25 imirkin:looks
19:26 imirkin: oh right
19:26 imirkin: yes. bug in the game.
19:26 imirkin: C4(A, B4G4R4A4_UNORM, NONE, B, G, R, A, UNORM, A4B4G4R4, T),
19:26 imirkin: we don't support rendering to BGRA4
19:26 imirkin: so it creates a BGRA4 texture, which we support
19:26 imirkin: and then tries to render to it without first checking if the fb is complete
19:26 imirkin: which is illegal
19:27 imirkin: when we totally disable the BGRA4 support in nouveau, the st falls back to creating a BGRA8 texture, which in turn *is* renderable, hence no issue
19:27 karolherbst: ohhh
19:28 karolherbst: mind putting a text together I can send to the publisher/devs?
19:28 karolherbst: but then I am wondering why this issue doesn't happen with other drivers
19:28 imirkin: "you have to check if fb is complete before assuming you can render to any ol' format"
19:32 imirkin: perhaps other GPUs don't have this asymmetry issue for this particular format, or perhaps other drivers are "nice" and flip things around. fwiw i was unable to get blob to even use the BGRA4 format in the first place, perhaps it doesn't enable it for precisely this reason
19:32 karolherbst: I see
19:32 karolherbst: maybe you need to use it right from the start without creating any doubts for the driver that it would be save to use it
19:32 karolherbst: anyway, I am sure the devs won't fix that issue, cause they are rather small + they most likely won't bother :/
19:32 karolherbst: maybe they will
19:32 karolherbst: they are located in toronto though
19:35 imirkin: karolherbst: i've noted my findings in your bug
19:36 karolherbst: thanks
19:41 imirkin: karolherbst: should they come back to you with "no, you're wrong, here's the spec", i'd be happy to revisit it. however i'm moderately sure i'm right.
19:41 karolherbst: imirkin: wanna on CC?
19:41 imirkin: not particularly
19:41 karolherbst: k
19:44 karolherbst: imirkin: but I think we would have to workaround this in some way :/ or not?
19:45 imirkin: i'm not particularly inclined to do that
19:45 imirkin: you can just nuke BGRA4 support locally
19:45 karolherbst: hmpf :/
19:46 karolherbst: and no other drive has BGRA4 texture support?
19:46 karolherbst: well where that game would run on
19:46 karolherbst: not even some radeon gpus?
19:46 imirkin: alternatively we could have logic in the st for when someone tries to render to a texture AND that texture hasn't been allocated yet AND that format is unrenderable, to upgrade it to a renderable format
19:46 imirkin: more likely they can render to BGRA4 :)
19:46 karolherbst: :D
19:47 karolherbst: I see
19:47 karolherbst: well, that would be a solution
19:47 karolherbst: and with a printed warning that would be also fine I guess
19:47 karolherbst: I suppose that is also what nvidia does
19:48 imirkin: no, nvidia just never makes use of the BGRA4 texture support
19:48 imirkin: at least i couldn't get it to spit it out
19:48 karolherbst: is there a valid reason to support BGRA4 in such a case at all?
19:49 imirkin: if an application uploads BGRA4 textures and wants to texture from them
19:49 imirkin: also apparently st/nine relies on it
19:49 imirkin: although arguably they should provide fallback logic
19:52 karolherbst: mhh
19:52 karolherbst: I see
21:13 pmoreau: imirkin: Could be that I still have it lying somewhere on that computer
21:14 imirkin: pmoreau: please have a look if it's not too hard
21:14 pmoreau: Should be easy
21:20 pmoreau: I saw there were some new cards on the Trello
21:20 imirkin: for someone who cares about gm200, yes
21:21 karolherbst: well, it would be nice to have such cards for older chipsets too
21:21 karolherbst: I was just thinking having more "easy" tasks there would really help
21:24 pmoreau: imirkin: I still do have some modifications :-)
21:38 pmoreau: imirkin: There you go: https://phabricator.pmoreau.org/P103
21:39 imirkin: right thanks
21:40 imirkin: uploaded it into the trello thing
21:40 pmoreau: K
22:14 pmoreau: How is FILE_MEMORY_BUFFER different from FILE_MEMORY_GLOBAL? I wanted to have a quick try at plugging in `atomic_add()` support, it looks like I give in the wrong file type for the pointer.
22:15 imirkin: FILE_MEMORY_BUFFER takes a fileIndex
22:15 imirkin: and loads a base address from a constbuf
22:15 imirkin: and does limit checks
22:15 imirkin: FILE_MEMORY_GLOBAL is totally unchecked, feed it whatever pointer and have fun.
22:16 pmoreau: Ok
22:17 pmoreau: That sounds more involved than what I was hopping for. Will have another look tomorrow. :-)
22:17 imirkin: heh
23:49 imirkin: this is a tall order, but i don't suppose anyone in here has ever tested the current nouveau_vieux driver against a nv25/nv28 card?
23:49 imirkin: [or even nv20]