02:10mlankhorst: corruption? :p
07:45imirkin: mlankhorst: maybe
07:45imirkin: it's very deterministic, and the address ends up always being 0x800000000 (not a typo)
07:46imirkin: but... it'll take me a full day to debug it probably, and i don't have that sort of time :(
12:56mlankhorst: neither :)
14:53a1fa: hey guys, does nouveau support any acceleration on the ion ?
15:01imirkin: a1fa: ion == nvaa, right? MCP77/79?
15:04imirkin: in any case, almost all nvidia hardware is supported for acceleration with nouveau
15:08imirkin: notable exceptions are the pre-tnt cards (Riva 128), the latest maxwell cards (GM20x), GT215's with GDDR5 vram, and a bunch of GK104/GK106's in laptops with vbioses that put them to mega-sleep
15:17buhman: I hear devinit is actually the part that works
15:18imirkin: buhman: if it "works" in such a way that the thing isn't usable, i wouldn't define that as "working"
15:18imirkin: but yes, we're able to wake it up at least a little bit
15:20buhman: I should work for nvidia, so I can fixit
15:20imirkin: if nvidia wanted, they could have fixed it months ago
15:21imirkin: they have access to the hw, docs and the debug info necessary
15:21buhman: I wonder if they make you sign a paper that effectively says 'you can never work on nouveau because we own you'
15:21imirkin: i doubt nouveau is explicitly named
15:21imirkin: but you do sign an NDA
15:21imirkin: as you do with almost any employer
15:43a1fa: imirkin: having some issues with gpu accelerated video
15:43a1fa: chrome, firefox do not accelerate flash or html5
15:44imirkin: a1fa: pastebin dmesg, glxinfo
15:44a1fa: i'll have to switch between house and garge..
15:45a1fa: its acer aspirerevo 1600
15:45a1fa: even chrome://gpu/ warns of no accceleration
15:45imirkin: by default chrome disables all accel on nouveau
15:45a1fa: should it work on ff?
15:45imirkin: not sure what the 'it' is
15:46a1fa: video acceleration
15:46a1fa: by default, that is
15:46imirkin: vdpau needs proprietary firmware
15:46imirkin: see http://nouveau.freedesktop.org/wiki/VideoAcceleration/
15:47a1fa: the funny thing is, it doesnt work with propriatery driver either
15:48a1fa: chrome reports no acceleration with either one
15:48a1fa: should i go ahead and try this step?
15:48a1fa: with nouveau
15:49imirkin: i can't tell what you want, but if you want any help, you'll pastebin dmesg and glxinfo which should provide information re your machine's steup
15:50a1fa: ok, it will be about 5 minutes -- i have to walk to the garage, and do all this
15:50a1fa: i'll pul up irc from there and log back on
16:13artoo-deetoo: pastebin as requested: http://paste.debian.net/168895/
16:13imirkin: artoo-deetoo: ok, so looks like nouveau is functioning properly on your system
16:14imirkin: artoo-deetoo: pastebin 'vdpauinfo' as well?
16:14artoo-deetoo: i guess the system is crap then :(
16:14imirkin: artoo-deetoo: you also haven't really explained what the problem is
16:15artoo-deetoo: youtube play back is crap
16:15artoo-deetoo: Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
16:15imirkin: define 'crap'
16:15artoo-deetoo: as in stuttering very bad
16:15imirkin: what resolution?
16:16artoo-deetoo: resolution of X or videos?
16:16imirkin: anyways, you need to install libvdpau_nouveau.so
16:16imirkin: of the videos
16:16imirkin: cpu's tend to be pretty fast... decoding 480p in realtime should be no problem. weird.
16:16artoo-deetoo: imirkin: its a crap cpu.. Intel Atom 230
16:16imirkin: oh. haha.
16:16imirkin: yeah ok. you really need hw accel video decode then
16:17imirkin: install libvdpau_nouveau.so and you'll also need the firmware
16:17artoo-deetoo: ^ ditto
16:17imirkin: see http://nouveau.freedesktop.org/wiki/VideoAcceleration/ for how to get it
16:17artoo-deetoo: ok let me go through the link you gave me
16:17imirkin: at the end of the day, vdpauinfo should report that it supports H264 decode
16:18artoo-deetoo: oddly enough
16:18artoo-deetoo: i get same performance with nvidia propriatery driver
16:18imirkin: something like this: http://hastebin.com/raw/umihidoxom
16:18imirkin: except you won't get MPEG4, your hw doesn't support it
16:18artoo-deetoo: its a garage pc ;)
16:19artoo-deetoo: youtube, and some surfing
16:19artoo-deetoo: it has 4gb ram, and video shares the same ram
16:21artoo-deetoo: Type: DDR2 Type Detail: Synchronous Speed: 667 MHz
16:21artoo-deetoo: ^ sadness
16:22imirkin: wtvr, for decoding 480p you don't need much
16:22imirkin: just... more than an atom
16:24artoo-deetoo: do you think it will be able to push 720 with hw accel?
16:25artoo-deetoo:is pushing it.. :)
16:25imirkin: nvac should be able to decode 1080p just fine
16:26imirkin: although note that the biggest thing is bitrate, not resolution
16:26imirkin: e.g. you could have a 1mbit 1000000x1000000 image that would be easy to decode (well, at that size you run into sparseness/bandwidth issues)
16:26imirkin: and you could have a 100gbit 100x100 image that you couldn't decode with all the cpu power in the world
16:27artoo-deetoo: it does not say to reboot after installing firmware
16:27artoo-deetoo: but i assume it needs x restarted, or logoff?
16:28imirkin: should Just Work (tm)
16:32r2-dw2: well firefox crashed
16:33r2-dw2: i dont think its working :( at 720p, my cpu goes to almost 100%
16:34imirkin: r2-dw2: i don't think you should be worrying about firefox
16:35imirkin: how about 'vdpauinfo'
16:35r2-dw2: Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared object file: No such file or directory
16:36r2-dw2: ubuntu 15.04
16:37imirkin: well, without that, no video acceleration
16:38r2-dw2: i followed the steps from the site
16:38imirkin: that was for the firmware
16:38imirkin: you still need to make sure that the vdpau backend is installed
16:40r2-dw2: $ sudo apt-get install mesa-vdpau-drivers
16:40r2-dw2: i wonder if firefox requires restart
16:42r2-dw2: brb.. i am going to restart all of this just in case
16:42imirkin: the next step is to try mplayer
16:42imirkin: to make sure it's working
16:42r2-dw2: got no files to try it against
16:42r2-dw2: let me reboot this thing
16:46ededweded: ok, after going to about:support, it appears firefox is not using gpu acceleration
16:46ededweded: i can test mplayer
16:47ededweded: except i dont have a file to test with
16:48imirkin: you can grab 'youtube-dl' and download youtube videos :)
16:49ededweded: good idea
16:49ededweded: i am downloading chrome too
16:49ededweded: to try it with chrome again
16:50imirkin: you can force chrome to use gpu accel with nouveau, but iirc chrome has no vdpau support
16:50ededweded: it has no support for propriatery driver either
16:51imirkin: you might need to do echo -e "EnableLinuxHWVideoDecode = 1\nOverrideGPUValidation = 1" > /etc/adobe/mms.cfg (as root)
16:53ededweded: does firefox have vdpau support?
16:56imirkin: ededweded: well, you want flash, not firefox, right?
16:56imirkin: not sure about their html5 video impl
16:57imirkin: oh, they use gstreamer
16:57imirkin: which means you have to get libva-vdpau-driver
16:57ededweded: who does?
16:57imirkin: just check for this stuff on google
16:59ededweded: in chrome i get Flash: Software only, hardware acceleration unavailable
16:59imirkin: ededweded: check google... this is a solved problem, i think
17:00imirkin: (and it has nothing to do with nouveau... you can use mplayer to check that video accel works fine)
17:01ededweded: so now its just a firefox issue, imirkin ?
17:01imirkin: ededweded: well, good to double-check with mplayer that it works fine
17:01imirkin: but yes
17:07imirkin: ededweded: search for like 'firefox vdpau' or something
17:07ededweded: got it
17:40a1fa: i totally give up
17:41a1fa: got it working with a flag
17:41a1fa: or env variable rather
17:41a1fa: VDPAU_DRIVER=va_gl firefox
17:41a1fa: but it hangs firefox
17:42a1fa: so, you start firefox first, then start another firefox via VDPAU_DRIVER=va_gl firefox
17:42a1fa: and it works
17:42a1fa: smooth playback at 720p and 1080p
17:42a1fa: but thats about it
17:42a1fa: opening sites sucks very bad
17:42a1fa: not even worth it
17:47imirkin: not sure why you're trying firefox...
17:47imirkin: get mplayer working
17:48imirkin: i can't imagine that va_gl would work particularly well with nouveau
17:48imirkin: you probably need that for intel, not for nouveau
17:49imirkin: in any case, you don't appear to be interested in doing the things i say, so... good luck
17:57a1fa: i hear you.. just run out of time to mess with it today
17:57a1fa: i'll do the mplayer thing tomorrow
18:15Tom^: imirkin: you awake? , been a while since i last used nouveau and now in 4.0 a regression has been fixed so i can run it again :p , now its time for more bug hunting. im getting this as fast as native cs:go tries to start a game nouveau E[ PFIFO][0000:01:00.0] read fault at 0x002be00000 [UNSUPPORTED_KIND] from CE2/GR_CE on channel 0x00bef7a000 [unknown]
18:15Tom^: and X freezes. i can ssh in with my phone heh
18:16Tom^: so what todo next, build the kernel with debug symbols?
18:16imirkin: it's not a kernel issue
18:16imirkin: the kernel's just reporting the error
18:16imirkin: sounds like some sort of compression fail
18:17imirkin: try changing nvc0_miptree_create to just say 'compressed = FALSE'
18:18Tom^: that is in mesa, no?
18:19imirkin: i meant to try CS:GO
18:19imirkin: i even downloaded it and everything...
18:19imirkin: never progressed to the "run" phase it seems
18:19Tom^: heh you should its a fun time waster :p
18:20imirkin: i suck at those games
18:20imirkin: i was even bad at them back when i played them
18:20imirkin: but now i'm _really_ bad
18:30Tom^: i need xeons, compiling is to slow.
18:43Tom^: imirkin: nop same thing with http://ix.io/i6I applied
18:43imirkin: hm oh well
18:44imirkin: ok, so... not compression...
18:44imirkin: perhaps the copy engine can't handle certain kinds?
18:44imirkin: that'd be dumb =/
18:53Tom^: imirkin: where should i make a bugreport?
18:54Tom^: yea but more on which component :p
18:56Tom^: Mesa , Drivers/DRI/Nouveau ?
18:56imirkin: sounds good
19:11Tom^: imirkin: btw https://bugs.freedesktop.org/show_bug.cgi?id=83992 this can be closed.
19:11imirkin: you can close it yourself :)
19:12Tom^: i can O_o
19:13Tom^: so it seems, heh.
19:14imirkin: there's like no permission controls in there
19:52imirkin: Tom^: fwiw i just ran CS:GO on my GF108 and it seemed to work
19:52imirkin: i didn't have MSAA turned on
19:53imirkin: and i don't have the same copy engine setup that you do, so mesa operates a little differently
19:53Tom^: oh yea i had msaa and other stuff on
19:54imirkin: try disabling MSAA
19:54imirkin: the copy engine stuff is kepler+ though
19:56imirkin: just flipped MSAA to 2x... way too slow at 4x even :)
19:59imirkin: yeah, 2x works fine
20:06Tom^: nop same error
20:07imirkin: with MSAA disabled entirely right?
20:08Tom^: dreamfall chapters native runs too, and hearthstone in wine. so its something cs:go does :p
20:08imirkin: yeah... question is what...
20:08imirkin: something sufficiently uncommon
20:09Tom^: yea heh, gonna see if other source engine games crashes
20:09imirkin: are there any other messages in dmesg?
20:09imirkin: the fact that it's dying with an *unknown* channel makes me even more suspicious
20:09imirkin: perhaps it's a context switching fail... that'd be sad.
20:10imirkin: you could try using blob fw -- if it fixes the issue
20:10Tom^: imirkin: http://ix.io/i76 thats the entire dmesg from when it first occured.
20:10imirkin: then there's something missing in our fw
20:13Tom^: how do i use the blob fw, simply by placing them in /usr/lib/firmware/nouveau/ ? because i think i already got them there from testing things earlier.
20:13imirkin: you also need to say nouveau.config=NvGrUseFW=1
20:14Tom^: yea i got the nouveau-fw package installed. does it mean its already using them and i should try without them? or do i have to set some setting somewhere to actually use them
20:14Tom^: ah ok
20:14imirkin: there should be files like nvf1_41ac
20:14imirkin: (i forget exactly)
20:14Tom^: http://ix.io/i77 indeed
20:15imirkin: yep, that's right
20:26Tom^: imirkin: nop same thing , "[ 80.041259] nouveau [ PGR][0000:01:00.0] using external firmware" so i think im using the blob fw too.
20:27imirkin: Tom^: yeah. thanks for checking
20:27imirkin: perhaps skeggsb_ will have a theory
20:58Tom^: imirkin: managed to get another crash, nouveau E[ PFIFO][0000:01:00.0] read fault at 0x0000011000 [UNSUPPORTED_KIND] from PBDMA0/HOST on channel 0x00bed35000 [unknown] if it helps with anything heh
21:00Tom^: whatever the difference is between CE2/GR_CE and PBMA0/HOST is. but ey :P