21:11tavvva: Good morning, afternoon, evening :]
21:14tavvva: Guys, how are you?
21:15tavvva: I'm back with few more questions related to NVS 140M.
21:16tavvva: Do you have any estimations when the 2D acceleration / video acceleration support will be implemented (if ever)?
21:17imirkin: 2d accel should work today
21:17imirkin: iirc video decode acceleration is fused off on that chip (at least some of those chips)
21:17imirkin: if it's one of the ones where it's not, video decode accel should work
21:19tavvva: And my next question is about hibernation ... the laptop with NVS 140M suffers from frozen states when hibernated
21:19tavvva: the version with intel vga works without prolems
21:19imirkin: hibernation should, generally speaking, work
21:19tavvva: imirkin: thx ...
21:20tavvva: imirkin: well, I'm not aware of other differences between the laptops ... maybe there are some
21:21tavvva: imirkin: the major difference is the nvidia X intel vga
21:21imirkin: i.e. the two laptops are identical except for the fact that they have nothing in common
21:22tavvva: imirkin: since the video playing eats the whole CPU I think its the case here
21:23imirkin: tavvva: did you follow the steps on the VideoAcceleration wiki page?
21:23imirkin: tavvva: https://nouveau.freedesktop.org/VideoAcceleration.html
21:23tavvva: imirkin: nope, it's Lenovo R61 in both cases
21:23imirkin: yeah, but the two laptops are completely different
21:23imirkin: if one has nvidia and the other does not
21:24imirkin: the fact that someone stamped the same label on them doesn't change that fact
21:24tavvva: imirkin: the rest of the HW looks similar ... lemme do a diff of the lspci output ... or lshw
21:26tavvva: I haven't tried the video accel steps ...
21:26tavvva: gonna do
22:26tavvva: imirkin: I tried mplayer with vdpau and the whole OS jammed
22:26imirkin: ah, sorry to hear that =/
22:27imirkin: pastebin dmesg
22:29tavvva: imirkin: https://paste.centos.org/view/22c57a37
22:29tavvva: imirkin: not sure whether I did everything like expected
22:29imirkin: did you run the commands verbatim?
22:30tavvva: imirkin: you mean the firmware exrtaction? yeah
22:30imirkin: fwiw pretty sure that video is *not* fused off on your setup
22:30imirkin: coz iirc video is highly tied to the PCRYPT engine, and that's reported as available
22:31imirkin: any chance you can get dmesg AFTER the hang?
22:31imirkin: maybe ssh from another machine or something
22:31imirkin: chances are it's not actually hung
22:31imirkin: just display
22:31tavvva: imirkin: the LEDs were blinking and that usually means kernel hang
22:31tavvva: imirkin: I could try again
22:31imirkin: ah yeah, that means an oops
22:31tavvva: maybe the crash will be different
22:31imirkin: that's very surprising
22:31imirkin: one thing you can do
22:31imirkin: is over ssh
22:31imirkin: run dmesg -w
22:31imirkin: which will effectively tail the log
22:32imirkin: so you're likely to pick up any dying gasps
22:32tavvva: imirkin: yup, good idea
22:32imirkin: not my first rodeo :)
22:34tavvva: imirkin: ugh .... now it plays with borked video
22:35imirkin: pastebin the mplayer log?
22:35tavvva: imirkin: so, no hang, but I get green lines
22:35tavvva: too late .... it just died
22:35imirkin: pastebin dmesg? :)
22:36imirkin: are you running the exact same mplayer command as i have on that video accel page?
22:36tavvva: there was like 200px of video on top of the screen correctly decoded, but the framerate was like 5FPS
22:38imirkin: did you see my question(s)?
22:40tavvva: imirkin: yup, had few difficulties, sorry
22:41tavvva: imirkin: yeah, the exact same mplayer command
22:41imirkin: gimme a sec
22:42tavvva: imirkin: :D
22:43tavvva: imirkin: that doesn't look promising, but ... I'll wait :D
22:43imirkin: so that RT_FAULT (+ follow-on PAGE_NOT_PRESENT) things suggest that we're failing to ensure that some render target is actually mapped in memory
22:43imirkin: as you can probably guess, "that shouldn't happen"
22:44imirkin: there's also some sort of channel desync which happen after
22:44imirkin: which one might assume is related
22:44tavvva: imirkin: last time I wrote my friend is extremely unlucky when choosing hardware :]
22:45imirkin: well, or i suck at resource tracking
22:45imirkin: both are good options.
22:46tavvva: imirkin: the good message is that I can keep his laptop few more days
22:48tavvva: imirkin: and 2nd good message is that the ssh connection woke up
22:49tavvva: the screen is dead, but the ssh connection is working now .... but I guess the mplayer log is not stored as a file, right?
22:49imirkin: btw, can you confirm that the video is h264?
22:49tavvva: I need to redirect it somewhere
22:49imirkin: you can run mplayer from another ssh
22:49tavvva: yeah, it's h264
22:49imirkin: just add a DISPLAY=:0
22:50tavvva: ok, that's also diable
22:50tavvva: but I think I need to reboot first, right?
22:51imirkin: prolly yea
22:51imirkin: in the meanwhile i'm going to do a quick audit of that vp2 logic
22:51imirkin: i did some really dodgy things... go me
22:52imirkin: it was my first big nouveau contribution
22:55imirkin: yeah ok, there's at least one dodgy thing i see
22:56imirkin: but i don't think it would trigger that particular error
22:57tavvva: this time it jammed immediately :/
22:57imirkin: so you only have 128MB of VRAM
22:57tavvva: gonna retry few times
22:57imirkin: iirc the board i was testing this on has 256 or 512MB
22:57imirkin: if i send you patches, can you test them?
22:57imirkin: i.e. rebuild mesa, etc?
23:00tavvva: yeah, I can test them
23:00imirkin: ok cool
23:00tavvva: it's fedora 34 beta
23:00imirkin: ok, that mplayer log looks like expected
23:00imirkin: well, it's going to be source patches
23:00tavvva: so, possibly you could build rpms directly
23:00imirkin: no idea how to make things play nice with rpm's or whatever
23:01tavvva: otherwise I'll install the devel stack
23:01tavvva: lemme check the mesa version
23:03tavvva: imirkin: btw. what's your timezone?
23:03imirkin: tavvva: America/New_York
23:04imirkin: w.t.f... i just noticed that all the video stuff uses nouveau_pushbuf_space incorrectly!
23:04imirkin: can't help but think i might be slightly responsible for that
23:05tavvva: imirkin: ok, in that case you should be able to stay awake for few hours, right?
23:05imirkin: oh wait, actually it might be fine. time to read some stuff.
23:05imirkin: yes, i'll be around for many hours yet
23:05tavvva: imirkin: it's 1am here, but I hope I'll be able to do test till 3am
23:08imirkin: mmmm, i can't guarantee i'll have a patch by then
23:09imirkin: but maybe leave your client and check scrollback tomorrow morning
23:09imirkin: (i'm about to go get dinner, etc)
23:10tavvva: imirkin: if you work tomorrow, then I'm fine with that
23:10imirkin: this isn't work
23:10imirkin: this is a hobby
23:10tavvva: good to know :] as you can see it's my hobby as well
23:11imirkin: (for a handful of people here it's work, but many are doing this on a volunteer basis)
23:13imirkin: bbl. dinner, then probably some other stuff.
23:14tavvva: ok, thx .... c.u. "tomorrow"