11:52AndrewR: Hello. Is there possibility ddx commit f0fdc156039eaa79fb1ad82fcc6437f2432306c6 ("Try using EXA ops harder in drmmode_fbcon_copy fallback") broke X startup with nv43/AGP? I bisected it down to exactly next commit, "Actually do a clear instead of doing a bogus copy." but guess it was just fixup for first one?
11:56AndrewR: also, mesa-demos related to point sprites quite broken, and even multitexturing demo (multiarb) broken, too! (with mesa-git (git-42298b0) )
12:17imirkin_: AndrewR: point sprites are quite unrelated, i think :)
12:18imirkin_: AndrewR: can you describe how X startup was broken?
12:20imirkin_: mlankhorst: can you elaborate why it should be a GXclear and not a GXcopy btw? i'm sure you're right, but would like to understand
12:20imirkin_: oh, coz it's not a memcpy, it's a memset!
12:22imirkin_: AndrewR: are you saying that the GXclear fix is what broke things, or that the first commit is what broke things?
12:22AndrewR: imirkin, it simply froze X with accel, I can shut down machine with power button, after some time. On screen there was some noise (static). It worked without acceleration. I only use startx from console login (slackware 14.0, mostly - with new kernel, libdrm, xf86-video-nouveau..and few other packages). I froze like this on earlier kernels, not tried with nouveau/4.1 yet (running this kernel now, seems to work, but with ddx set to
12:22AndrewR: safe version)
12:23AndrewR: imirkin, moment ....
12:23imirkin_: i assume it's that first one, it appears to have a glaring issue
12:24imirkin_: can you throw in a PUSH_KICK(pNv->pushbuf) right before the nouveau_bo_wait?
12:25AndrewR: http://pastebin.com/WKRNuEWp - bissect log ...yes, will try to add this ...
12:27imirkin_: oh, so f0fdc156039eaa79fb1ad82fcc6437f2432306c6 is good? that's surprising...
12:29AndrewR: imirkin_, you mean nouveau_bo_wait at line 404?
12:29imirkin_: the one that was added in the fallback
12:30imirkin_: btw, i assume you're getting one of those warnings?
12:30imirkin_: [in your xorg log]
12:32AndrewR: imirkin_, sorry not saved X log from freezing version
12:32imirkin_: even non-freezing would be fine
12:34imirkin_: anyways... that code is pretty sloppy
12:34imirkin_: i bet that PrepareSolid is failing
12:35imirkin_: AndrewR: are you using 16-bit color by any chance?
12:36AndrewR: no, I hope? 47.086] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
12:36imirkin_: ok good
12:36imirkin_: can you pastebin your xorg log?
12:40AndrewR: imirkin_, http://pastebin.com/2uAKaQe9
12:40imirkin_: this code seems bogus btw: http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/tree/src/nv04_exa.c#n45
12:41imirkin_: planemask |= ~0 << ppix->drawable.bitsPerPixel;
12:41imirkin_: if bitsPerPixel == 32, then it just sets all the bits of planemask!
12:41AndrewR: imirkin_, but this one with working nouveau version, I added you suggested mod , compiled new driver, time to restart X ....
12:42imirkin_: hold on
12:42imirkin_: it won't work
12:53imirkin_: AndrewR: something like this? http://hastebin.com/tidofiyuje.coffee
13:01AndrewR: imirkin_, testing ...
13:05AndrewR: imirkin_, seems to work
13:05imirkin_: AndrewR: yay! do you see a warning in your xorg log btw?
13:05imirkin_: perhaps it's the silent fallback if it can't find the fbcon_id
13:08AndrewR: imirkin_ not one marked with WW ...
13:09AndrewR: imirkin_, http://pastebin.com/icypxzk9
13:09imirkin_: AndrewR: ok. are you like disabling fbcon or fbdev or something?
13:10imirkin_: mlankhorst: would you expect fbcon_id to not get found?
13:10imirkin_: mlankhorst: or is 0 perhaps a valid value? :)
13:10AndrewR: imirkin_, no, it all tandard nouveau kms frambuffer ...sorry, dmesg a bit spammy due to high debug loglevel I set while hunting for another hang
13:12imirkin_: if (fb->depth != pScrn->depth || fb->width != w || fb->height != h)
13:12imirkin_: could also be that one
13:13AndrewR: imirkin_, well, if KMS start at 1280x1024 (max for this display), and X start with 1024x768@85 .....
13:14imirkin_: aha, that's why it's falling back then
13:35mlankhorst: imirkin_: if you use CONFIG_EXPERT and have drm fbcon as a module..
13:36imirkin_: mlankhorst: yeah, his case was much simpler -- diff fb sizes :)
13:38imirkin_: mlankhorst: btw... why is GXcopy not the right thing?
13:39imirkin_: Solid(GXcopy, fg value) seems like it'd do the clear, no?
13:43mlankhorst: cant remember
13:43mlankhorst: think it might have been
13:44imirkin_: you did it initially and then flipped to GXclear
13:44mlankhorst: was looking for bugs in tegra
13:44tobijk: imirkin_: r-b on the solid fill two-patch-series from me as well
13:44mlankhorst: but ended up with something else probably being the issue
13:44mlankhorst: feel free to revert if it helps you
13:44imirkin_: well, i think the destroypixmap move is right
13:45imirkin_: but yeah, i'll flip it back to copy, coz pre-nv50 likes that better
13:45imirkin_: and i assume nv50+ couldn't care less
13:59mlankhorst: the error i had with tegra appeared to not relate to the ddx so reverting's fine
13:59imirkin_: ok cool
14:06manjaro_user2: Hello all! I have problems with changing hz on Manjaro linux with XFCE, have tried that xrandr, but it does not seem to have any effect, what should I try?
14:07imirkin_: manjaro_user2: xrandr --output foo --set 'scaling mode' None
14:40manjaro_user: imirkin_: Thanks, it actually works now!
14:40imirkin_: cool. newer kernel will make that the default.
23:53RSpliet: skeggsb: mind giving as much feedback on my pm tree as possible? I'd like to get it merged and partially-enabled as much as possible for 4.2
23:54RSpliet: imirkin, imirkin_: perhaps you can do a code(style) review?
23:55imirkin_: RSpliet: send patches, i'll review in email
23:55imirkin_: [i.e. email]
23:55RSpliet: to you personally? I'm not sure if I want to pollute the mailinglist with it just yet
23:56imirkin_: then it's not ready for me to review ;)
23:56imirkin_: the standard for mailing things out isn't that high
23:56imirkin_: esp if you stick a 'RFC' in the patch name
23:56imirkin_: i.e. [PATCH RFC 1/5] or whatever
23:57imirkin_: e.g. look at the junk i send out ;)
23:58imirkin_: or are you saying i should be more selective with what i send out? heh
23:58RSpliet: tbh, I can't keep up with the ML myself
23:59imirkin_: there's like 10 emails a week
23:59imirkin_: [to nouveau@]
23:59imirkin_: esp if you don't count the bugzilla updates