02:09mangix: that bug fix is crazy. it fixed a lot of issues for me.
03:20orbea: cool, dolphin-emu ubershaders work with nouveau again, no shader compiler error -4 or segfaults
03:26imirkin: orbea: yeah, i "fixed" it
03:26imirkin: by which i mean, it works on nvf0+
03:26orbea: it works on my GK110B
03:27imirkin: won't work on a GK10x though
03:27imirkin: there was a bug that was causing the register limit to be set too low
03:27imirkin: i fixed it
03:27imirkin: however on GK10x, there was no such issue
03:27imirkin: so RA still fails
03:38nyef`: ... "dolphin-emu ubershaders"? Is this something important, and do I need to update from 5.0?
03:39imirkin: it's currently a PR
03:40nyef`: On the dolphin side or the nouveau side?
03:40nyef`: Ah, okay. So not currently important for playing Metroid Prime. (-:
03:51imirkin: helps with stuttering apparently
03:51imirkin: how's the 3d stuff going btw?
03:52imirkin: are you still trying to make GLX_STEREO visuals work?
03:52orbea: nyef`: yea, it does help stuttering like before races in mario kart wii
03:55nyef`: I'm getting some slowdowns in a few GC games, but I mostly don't play Wii games yet.
03:56nyef`: imirkin: I've been more focused on trying to figure out the 3D Vision Kit hardware than working on the userland changes, TBH. And it's very much an off-and-on thing.
03:57nyef`: I did get an email about someone wanting to use the HDMI 3D for... molecular visualization, I think it was?
04:12nyef`: ... And I _just_ noticed the "off and on" pun with the LCD glasses. Not intentional, which is unusual for me. /-:
07:46dugz: Is there firmware for the GT 720? I'm getting kernel errors
09:18karolherbst: nyef`: it's an optional feature
09:38dugz: the thing wants gk208a firmware, can I use gk20a?
11:10RSpliet: dugz: what firmware? Keplers don't need external firmware for anything other than HW video decoding
11:14RSpliet: ... -_-
11:29karolherbst: "i->saturate = i->saturate;" that makes sense
11:31RSpliet: Ah yes, the clause that means "i is either valid or my program crashes with a nullptr exception". Could've been written down less cryptically :-D
11:32karolherbst: I am sure a compiler would optimize that away
11:33RSpliet: I suspect that none of the involved vars are marked as volatile, and you're not compiling with -O0... so probably. Might as well leave it there then!
11:41mwk: wtf h4x
11:41karolherbst: it's basically a comment saying: "I also thought of saturation here!"
11:41mwk: Rankine has a funny pixel shader prefetch thing
11:42mwk: when you rebind the active shader by the PIXEL_PROGRAM_OFFSET method, the vertex fetch unit snoops it and pre-fetches first 8 words from memory at this point
11:43mwk: and sends these 9 words at once to the pixel shader
11:43mwk: which will fetch further words from memory using the texture units
11:51karolherbst: any idea why not more/less ?
11:52karolherbst: 9 sounds like a funny number
11:53mwk: 9 words == the PIXEL_PROGRAM_OFFSET bundle + 8 prefetched words
11:54karolherbst: well yeah, but why not 7 or 9 prefetched words? I already assuming it's faster to just prefetch 8 and there is just "space" to prefetch 8 words in one go or something
11:58mwk: well, it's Rankine pixel shader
11:58mwk: so 8 words is 2 instructions
11:59mwk: perhaps that's how much latency hiding they need
11:59mwk: and for the later instructions, they just fetch instruction i+2 along with texture data for instruction i
12:02karolherbst: I see
13:31imirkin: karolherbst: where is that?
13:31karolherbst: imirkin: in my pow patches
13:34imirkin: oh. oops :)
15:04dugz: I found that my GT 720 (106) card will load the firmware 409c 409d 41ac and 41ad for the nv108, and vdpauinfo reports it is active, except apps just display a black screen
15:05dugz: any tricks to get this working?
15:18imirkin_: dugz: ln -s nv108 nv106
15:18imirkin_: same firmware
15:18imirkin_: i really need to push out an update to my extract_firmware.py script
15:18imirkin_: dugz: that said, you don't want to load the 409c/etc firmware
15:18imirkin_: that's for pgraph and unlikely to work properly
15:19imirkin_: you should definitely only use the video accel firmware
15:19dugz: imirkin_, i was trying to activate vdpau
15:19imirkin_: dugz: pastebin dmesg
15:20dugz: imirkin_, https://paste.pound-python.org/show/oAyDi4BbfRHpy2Z7u1Ww/
15:20imirkin_: [ 6.455765] nouveau 0000:0a:00.0: Direct firmware load for nvidia/gk208b/fecs_inst.bin failed with error -2
15:20imirkin_: why is it loading that?
15:20imirkin_: do you have NvUseGrFW=1 or something?
15:20dugz: idk but i don't have that either
15:21imirkin_: grep -r nouveau /etc/modprobe*
15:21dugz: yes I apparently have set that
15:22imirkin_: don't set that :)
15:22dugz: *clickety click*
15:25dugz: might as well test it ;)
15:29imirkin_: i thought we printed a thing when external firmware was used... i guess that got lost in one of the 20 refactors
15:30dugz: that got rid of all the dmesg warnings, vdpauinfo still says its working, but I'm just getting a black output screen with audio when I select a vdpau plugin
15:30imirkin_: are you using mplayer?
15:30dugz: a tv-app
15:30imirkin_: can you try with mplayer?
15:30dugz: i can install mplayer gimme a few
15:30imirkin_: and mind pasting the vdpauinfo output?
15:32imirkin_: right yeah, that seems fine
15:32imirkin_: shouldn't matter
15:32imirkin_: oh, unless you're doing vdpau over prime
15:33dugz: no, i don't have that
15:36dugz: imirkin_, ooh! its workin :D
15:37dugz: VO: [vdpau] 1280x720 => 1280x720 Planar YV12
15:38dugz: thanks! you got me on the right track
15:40imirkin_: check that the VC is one of the h264-decoding ones too
15:40imirkin_: since you can use vdpau for output similarly to how you can use xv for output
15:41imirkin_: a lot of software appears to like to display vdpau-rendered frames with opengl. this is almost always a no-go with nouveau. mplayer does no such thing.
15:41imirkin_: [i like mplayer]
15:41dugz: vlc isn't handing the vdpau correctly, aha
15:42imirkin_: i didn't think vlc worked with vdpau at all...
15:42imirkin_: perhaps it does now. dunno.
15:42dugz: vdpau_display vout display error: output surface creation failure: A catch-all error, used when no other error code applies.
15:42imirkin_: oh goodie.
15:43imirkin_: it must try to create a surface that nouveau hates
15:46imirkin_: if you run with VDPAU_TRACE=1 you should be able to see the exact call that fails
15:48dugz: ok. i'm rebuilding vlc
15:49imirkin_: and unfortunately all the mpv/mplayer2/kodi/etc players like to use vdpau for decoding and gl for rendering
15:49imirkin_: this doesn't work when they do that from separate threads
15:50imirkin_: [due to nouveau failings, admittedly, but failings none-the-less]
16:00RSpliet: imirkin_: VLC can do VDPAU fine, had it working years ago. You can choose its output module in the advanced settings, GL is merely one of them
16:05dugz: imirkin_, https://paste.pound-python.org/show/FYQpKMBRkxUMraKVeIjd/
16:08imirkin_: vdp_output_surface_create(1, 2, 1280, 720, -)
16:08imirkin_:tries to remember wtf this means
16:09dugz: yeah i saw that, no clue offhand
16:09imirkin_: so ... 2 = VdpRGBAFormat
16:09imirkin_: and 2 corresponds to ... VDP_RGBA_FORMAT_R10G10B10A2
16:10imirkin_: and there's no fucking way that works
16:10imirkin_: although we do claim it in vdpauinfo
16:11imirkin_: one would have to track this down further to see what's going on exactly
16:11dugz: hey its a vlc bug now
16:11imirkin_: not really
16:11imirkin_: we're telling it that it can create such surfaces
16:11imirkin_: then it goes to create one, and that creation fails
16:11imirkin_: and its error handling is ... shall we say ... incomplete
16:12dugz: this card is a little passive cooled gt 720, I'm using it for host graphics
16:12dugz: its pretty nice for what it is
16:13dugz: so far its playing nice with everything else and gpu passthrough is working
16:14dugz: I can't attest to its gaming prowess, but it runs the opengl xscreensavers nice
16:14imirkin_: yeah, those GK208's are pretty nice little pos gpu's
16:15imirkin_: if you wanted to get more power out of it, you can clock it up -- check /sys/kernel/debug/dri/0/pstate
16:15imirkin_: but since there's no active cooling, you have to be a little careful
16:15imirkin_: we don't currently have logic to change clocks based on temp/etc
16:16dugz: it runs fine for a gentoo desktop. it hosts the rx480 for the vm's on passthrough
16:16dugz: i actually have nouveau and amdgpu both built and i can switch back and forth by rebooting and blacklisting one or the other
16:17imirkin_: one might be more powerful than the other :)
16:17dugz: i should install freecad and see how it runs on the gt 720 :D
16:19imirkin_: fwiw i use a GK208B as my primary gpu as well
16:19imirkin_: it's perfectly fine for almost everything
16:19dugz: I really appreciate the passive cooling, hopefully it won't burn up
16:20dugz: dust it off and back in business!
16:21imirkin_: and if it does, get another one for $40 :)
16:21dugz: and single-slot, since its an alt-GPU
16:21imirkin_: single-slot passively cooled? surprising.
16:21imirkin_: normally they go crazy with the fins
16:22dugz: its one of these https://images10.newegg.com/NeweggImage/ProductImage/14-127-851-01.jpg
16:22imirkin_: except i hate MSI
16:22dugz: I got it for $20
16:22dugz: It seems to run nouveau like a champ
16:24dugz: oh. when i dual-boot into windows, it acts as a dedicated physX processor ;)
16:24imirkin_: oh goodie
16:24dugz: very nice feature! buy!
16:25dugz: it does generate some extra rubble in fallout4 lol
17:11dugz: imirkin_, freecad runs on this little thing. not bad!
17:11imirkin_: you should have a fairly conformant GL 4.5 impl...
17:12dugz: i was looking at getting a quadro 2000 instead of this gt 720, idk if I made the right choice or not
17:12dugz: the quadro was maybe $15 more
17:12imirkin_: the old fermi?
17:12dugz: i think yeah
17:12imirkin_: or k2000?
17:12dugz: just 2000
17:12dugz: k2000 is still real expensive
17:13imirkin_: well, GF106 - more powerful but kepler has reclocking support while fermi doesn't
17:13imirkin_: so i think you did ok
17:14dugz: thanks for helping me sort out that firmware btw
17:15dugz: i originally got a used gtx 460 for this duty, but it was a lot more power hungry than I expected
17:15dugz: need to sell it off
17:18imirkin_: if you're in the UK, RSpliet will probably take it off your hands
17:20dugz: other side of the pond
17:43RSpliet: dugz: which side?
17:43dugz: I'm in Pennsylvania
17:44RSpliet: ah, that pond, yeah... I might not be your target audience then
17:44dugz: someone on fleabay will want it ;)