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