02:41 Benau: so imirkin do you need a bug report about stk / or you can remember it
04:10 imirkin: Benau: it certainly wouldn't hurt :)
04:11 imirkin: let me track down the shader and compile it for nv50 and see if there's anything horribly wrong
04:11 Benau: ok
04:12 Benau: actually i can be here so you can tell me if there is anything want to try on my system
04:20 imirkin: Benau: does NV50_PROG_OPTIMIZE=0 glretrace foo.trace fix it?
04:20 Benau: wait
04:20 Benau: need boot
04:20 Benau: 3 min
04:28 Benau: no, it doesn't work
04:28 imirkin: k
04:31 imirkin: Benau: ok, priority-wise, this is behind making bindless work on maxwell. mostly because i have a maxwell plugged in, and not a tesla.
04:32 Benau: ok
04:34 Benau: do u think piglit test worth a try in my system?
04:34 Benau: (for tbo)
04:42 imirkin: wouldn't hurt
04:43 imirkin: Benau: bin/arb_texture_buffer_object-subdata-sync -auto
04:44 imirkin: and bin/arb_texture_buffer_object-data-sync
04:44 imirkin: there's a bufferstorage one too
04:45 Benau: ok
04:45 Benau: fyi the apitrace recorded has buffer storage disabled
04:45 Benau: because it doesn't support persistant mapping + record trace
04:46 imirkin: persistent + trace is supported
04:46 imirkin: coherent + trace is not supported
04:46 Benau: ar yes i used coherent
04:46 Benau: sorry
05:13 Benau: ....building piglit
05:15 imirkin: sorry for all the trouble =/
05:15 Benau: don't worry
05:24 imirkin: grrr
05:25 imirkin: SUBSYSTEM=="drm", KERNEL!="renderD*", GROUP="video"
05:25 imirkin: SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="render", MODE="0666"
05:25 imirkin: so that causes the st_mode of card0 != renderD128
05:25 Benau: observed 0 0 0
05:25 Benau: failed
05:25 imirkin: Benau: which one?
05:26 Benau: bin/arb_texture_buffer_object-subdata-sync bin/arb_texture_buffer_object-data-sync
05:26 imirkin: ok. so i'm 99% sure this used to work
05:26 Benau: actually all 3 tests you pointed to me failed
05:27 Benau: (and did you mean to pass -auto for all of them)
05:27 Benau: so auto close the window
05:27 imirkin: yes, -auto
05:27 imirkin: and/or -fbo -auto
05:27 imirkin: result should be the same tho
05:27 imirkin: anyways ... ok. can you try with older checkouts of mesa?
05:27 imirkin: i'm thinking that the _LZ support changes messed it up...
05:27 imirkin: can you quickly try... hold on
05:28 imirkin: https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/nv50/nv50_screen.c#n198
05:28 imirkin: comment out this line: case PIPE_CAP_TGSI_TEX_TXF_LZ:
05:28 Benau: wait
05:29 imirkin: brb, gotta restart X
05:38 Benau: comment it out doesn't work except console spamming with unknown PIPE_CAP 143
05:39 imirkin: the spamming's expected
05:39 imirkin: ok, so it's something more subtle
05:39 imirkin: let's look at the log...
05:40 Benau: ok
05:40 imirkin: nothing obvious =/
05:40 imirkin: try older mesa versions, see if things start to magically work :(
06:02 imirkin: ok. i've un-fucked imageSize() now in my bindless series.
06:05 Benau: btw last time i tried bindless texture in my windows amd card it's actually slower
06:08 imirkin: yeah
06:08 imirkin: it'll def be slower than just binding images
06:09 imirkin: HOWEVER
06:09 imirkin: you can (a) have a lot more textures easily
06:09 imirkin: and (b) you don't have to keep binding/unbinding/rebinding all the time
06:09 imirkin: so ... depends on the use-cas
06:10 Benau: btw i'm not sure if you use radeonsi shader compiles (share code?) but seems that last time i check if you use for example vertex attribute uvec4 handles;
06:10 Benau: i can only get handles.xy for a correct one
06:11 Benau: handles.zw is not the texture handles i want
06:11 Benau: (sampler2d(handles.ze))
06:11 Benau: sampler2d(handles.zw)
06:11 imirkin: hmmm... that should be roughly equivalent
06:11 Benau: where uvec4 is 16bytes
06:11 imirkin: i find that surprising. hakzsam ---^
06:11 Benau: anyway it's few months ago mesa
06:12 Benau: not sure if you have fixed it
06:12 Benau: (and stk don't use bindless texture anymore)
06:12 imirkin: there was a bug in handling uniforms in various rather odd cases ... dunno if it'd get hit or not
06:12 imirkin: commit 0332c7484b712e56ce1a6648c5fa04c90e286c37
06:13 imirkin: but that shouldn't really affect your scenario i think
06:13 Benau: also few months ago mesa if i use flat out uvec4 to fragment shader, and than sampler2D in fragment shader for texture handles it will crash the shader compiler
06:14 Benau: again not sure if you guys fix it
06:14 Benau: (radeonsi only)
06:19 imirkin: that's probably radeonsi-specific
06:20 imirkin: you should always feel free to report errors
06:20 Benau: ok
06:20 imirkin: esp the other drivers tend to be much better staffed
06:26 imirkin: karolherbst: looks like my bindless maxwell patches work... will test DOW3 later, but basic tests pass now.
08:23 Benau: imirkin fyi f84bb6a9d91521de6da4c3d1ddd8de456761efaa is one of the commit working for me
08:24 Benau: afb8f2d4a346041adf54d45729963a55a625ac1f doesn't work
08:24 Benau: 554 commits between...
08:28 karolherbst: Benau: 554 is fast enough
08:28 karolherbst: on the kernel side you can get 10k
08:28 karolherbst: not that it matters much, because you do only lg2(commits) steps anyway
08:30 Benau: yeah i try to narrow down more
08:30 Benau: ...wait
08:32 Benau: 556f70b is still working
08:32 Benau: now i go to work
09:36 hakzsam: imirkin: yeah it is, but vertex attributes with bindless are fairly untested
09:36 hakzsam: could be a bug
13:34 Montecristo94: Hi, someone would be so kind to tell me what's the current state of support for 10xx GPUs, i particular GTK 1060? Thanks
13:39 imirkin: Benau: w00t! this might not be my fault!
13:40 Benau: mesa bug?
13:40 imirkin: the bug you're hitting
13:40 imirkin: i don't see any of my commits in the range you posted
13:41 imirkin: looks like mareko pushed a ton of TBO changes
13:41 imirkin: pretty sure it'll be e.g. this one: 8aba778fa2cd98a0b5a7429d3c5057778a0c808c
13:42 Benau: ok wgen i go home i can check thid
13:43 imirkin: you're using 'git bisect' though, right?
13:43 imirkin: if so, just let it do its job
13:44 Benau: ok
13:44 imirkin: Montecristo94: what are you specifically interested in?
14:00 Montecristo94: imirkin: I'd be satisfied already if udevd succefully loaded the kms module at boot and set proper resolution for virtial console,while xf86-video-nouveu would handle a Xorg instance without causing a kernel panic ;)
14:00 imirkin: Montecristo94: you should be satisfied then.
14:00 imirkin: i'm not particularly aware of any such serious GP106 issues
14:01 Montecristo94: fantastic, thanks!
14:01 imirkin: the experience won't be perfect though
14:01 imirkin: and i suspect you won't be particularly satisfied if you use any of the new-fangled stuff
14:02 Montecristo94: 1 year ago I had tried on both Linux and NetBSD, and there was no way to make nouveo reach that GPU
14:02 imirkin: sounds right
14:03 imirkin: note that for (even the most basic of) acceleration, you need to install linux-firmware which contains nvidia-signed blobs to upload into the GPU
14:03 Montecristo94: and Xorg loaded vesa, which caused a core dump with it, can't figure why
14:03 imirkin: odd. vesa should work. but perhaps once nouveau tried to load, it messed things up. vesa is a pretty fragile thing.
14:03 Montecristo94: ok didn't know about this, thanks :)
14:04 Montecristo94: yup, framebuffer driver worked though
14:22 imirkin: can't have both fbdev vesa and Xorg vesa
14:22 imirkin: er, maybe you can. dunno.
16:22 Benau: imirkin confirmed 8aba778fa2cd98a0b5a7429d3c5057778a0c808c bad commit
16:22 Benau: 222a910a9bff5f4138794e0ef69775a1acdad35a good
16:34 imirkin_: Benau: ok cool
16:34 imirkin_: so ... this all sounds familiar
16:34 imirkin_: he tried it before
16:34 imirkin_: and i stopped it
16:34 imirkin_: he's kinda right ... a sampler shouldn't be required
16:34 imirkin_: iirc i had that problem on fermi, but i worked around it somehow
16:34 imirkin_: need to check into how
16:34 imirkin_: will investigate tonight (i.e. in ... 8h or so)
16:36 Benau: ok
16:37 imirkin_: it's definitely weird, since there clearly isn't a sampler involved
16:37 imirkin_: i think it's something more subtle going on
16:37 imirkin_: but binding a sampler helps, so ... move on with life i guess :)
16:37 imirkin_: Benau: thanks a lot for bisecting btw!
16:37 Benau: yw
18:38 Yardanico: Hello everyone, can someone add GTX 750 v2 to https://nouveau.freedesktop.org/wiki/CodeNames/ to NV110 family? I have this GPU. For more info - https://www.techpowerup.com/gpudb/2778/geforce-gtx-750-v2
18:38 Yardanico: (btw, I regret that I have GM206 and not GM107 version, because I could've used nouveau with reclocking)
18:43 Yardanico: btw, as I understand it's not possible to have reclocking support on maxwell2 with nouveau and proprietary firmware (if user will download that firmware himself) ?
18:49 Yardanico: because I saw this - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839139 and was hoping that this would add reclocking support for GM206
18:49 Yardanico: ah probably nouveau just doesn't know my GPU?
19:20 imirkin_: Yardanico: reclocking is actually kinda-sorta possible with GM20x, but we can't control the fan
19:20 imirkin_: which is unfortunate
19:21 imirkin_: Yardanico: not sure what you mean by "nouveau just doesn't know my GPU"
19:21 Yardanico: well yeah this was stupid, I know that nouveau doesn't detect exact GPU model, it detects chipset, vram and so on
19:21 Yardanico: imirkin_: NvFanless=1 option?
19:22 imirkin_: ya
19:23 imirkin_: yeah, no reason to worry about exact model number... it's simultaneously too much and not enough info
19:23 imirkin_: still a ton of variation within a single pci-id
19:23 imirkin_: so really we just use the chip id to drive everything
19:24 imirkin_: i don't think karol's fanless reclocking is upstream yet, and it'd be ill-advised if your board has a fan
19:24 imirkin_: (which is controlled by the gpu)
19:24 Yardanico: oh, and nvidia doesn't want to release new signed firmware blobs for nouveau? :(
19:25 imirkin_: well, they never released blobs that support reclocking
19:25 Yardanico: oh
19:25 imirkin_: but turns out that we can do almost everything in the "insecure" mode
19:25 imirkin_: except adjust fan speed :)
19:26 imirkin_: want to disconnect vram from the bus? sure, go ahead. want to toggle fan speed? gotta have signed firmware.
19:28 Yardanico: so it seems everyone who has fan on their GPU and has GM2xx+ is stuck at binary drivers :( "smart" move from nvidia to allow fan speed change only on signed firmware.
19:28 Yardanico: I think my next gpu is gonna be from AMD for sure
19:28 imirkin_: or stuck with low perf
19:29 Yardanico: yeah
19:29 imirkin_: and yeah, i def recommend avoiding nvidia for your next gpu purchase
19:37 Yardanico: but really, what is the reason for nvidia to allow only signed firmwares? why doesn't AMD do that? are nvidia afraid of some people flashing "fake" firmwares on their GPUs?
19:37 Montecristo94: to the one who helped me today (can't recall name): nouveau work amazingly now with GTX 1060 6Gb
19:37 Montecristo94: using a custom 4.15 Zen-Kernel at the moment,on void linux
19:37 Montecristo94: thanks again
19:38 loonycyborg: Aren't there higher grade nvidia cards that are differentiated from "gaming" variants only by firmware?
19:38 loonycyborg: they probably want to prevent people from bypassing their silly market segmentation schemes
19:43 imirkin_: Yardanico: "security"
19:43 imirkin_: i think in practice, it's to help avoid the fake parts industry in china. not sure.
19:43 imirkin_: Montecristo94: glad it worked out
19:50 loonycyborg: imirkin_: how exactly that would foil a fake part? If they can make a fake card in the first place they for sure can make it load any firmware they want.
19:51 imirkin_: different types of fakes i suppose
19:51 airlied:assumes the firmware is only signed, not encrypted
19:51 imirkin_: apparently there were a bunch of problems with e.g. a GT 240 being shipped with a vbios altered to make it look like a GTX 650 or something
19:52 imirkin_: airlied: yes, only signed, not encrypted.
19:53 loonycyborg: and vbios is covered by the signature?
19:54 imirkin_: i think yeah
19:54 imirkin_: i'm a bit weak on what protects what
19:54 imirkin_: and i think they definitely went overboard relative to what they needed to do to protect against that one thing
19:55 imirkin_: which is why they fell back on "security!"
19:55 imirkin_: one could imagine a virus sitting in the rtos pretty easily