/srv/irclogs.ubuntu.com/2011/04/18/#ubuntu-x.txt

RAOFScottK: But that could be carried as a patch in natty, though, right?00:23
Sarvattpretty sure he means rewriting the detection mechanism to not use the gl renderer string is whats too invasive, just changing GEM to Intel wouldn't be invasive at all00:24
RAOFWhy use GEM in the first place, though? :/00:25
Sarvattsame reason its using driver date in the blacklist files.. craziness00:26
RAOFWell, that's *also* going to break now that the driver date is removed :)00:26
RAOFI've some sympathy with the “GL strings are part of the ABI, you shouldn't change them in a stable release” point of view, though.00:27
Sarvattit was removed from mesa 7.9.2 :(00:30
Sarvatt(also)00:30
Sarvattwine does a lot of things based on the gl renderer string too, I hope its not broken in special ways also00:32
RAOFHow much wine works on Intel, anyway?00:33
Sarvattworks great unless you're on amd64 at the moment :)00:35
Sarvattgood old https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/75572000:36
ubot4Launchpad bug 755720 in mesa (Ubuntu) (and 1 other project) "32 bit dri drivers cannot find libdricore and libglsl (affects: 2) (heat: 14)" [High,Fix released]00:36
Sarvattok good wine doesn't care about GEM or driver date00:38
Sarvatt./dlls/wined3d/directx.c:    if (strstr(gl_vendor_string, "Intel(R)")00:38
Sarvatt./dlls/wined3d/directx.c:            /* Intel switched from Intel(R) to Intel® recently, so just match Intel. */00:38
Sarvatt./dlls/wined3d/directx.c:            || strstr(gl_renderer, "Intel")00:38
Sarvatt./dlls/wined3d/directx.c:            || strstr(gl_vendor_string, "Intel Inc."))00:38
Sarvattcomments off, only GM45 uses Intel® instead of Intel(R)00:39
rippsAnybody have any idea why proprietary nvidia has such bad tearing in Natty, it's alot worse than it was in Maverick01:34
bjsniderthere isn't any tearing in natty01:35
bjsniderthe only time tearing would have been an issue in maverick is if metacity was being used instead of compiz, since metacity has always had tearing and compiz syncs to vblank01:37
rippsbjsnider: I'm using Natty, I know that my vdpau videos have serious tearing, even when I have compiz to redirct fullscreen, vsync, and force refresh to 120.01:44
bjsniderforget about vdpau for a minute. is there tearing on the desktop?01:44
bjsniderdo regular windows tear?01:44
RAOFripps: Refresh to 120Hz?  Is that actually your refresh rate?02:09
rippsRAOF: no, but I read from a couple of sources that improves things, and things do seem alot smoother than when it's just 60. But the compiz refresh rate doesn't seem to affect vdpau whatsoever02:45
RAOFDo you have two monitors?  I hear that nvidia won't actually vsync on *either* monitor until you set the primary monitor with a crazy env variable.02:46
rippsRAOF: yeah, I don't think desktop tearing is too bad, not that I'd care if it was. I only use one monitor. And I already tried specifiying in my nvidia-settings.rc that I want DFP-0 to have vsync priority02:47
bjsniderit sounds like you've already tried every possible fix, even some that haven't been invented yet02:48
RAOFVDPAU_NVIDIA_SYNC_DISPLAY_DEVICE=DFP-0 ?02:49
rippsRAOF: yep, I have that in both my .xsessionrc and .gnomerc02:51
rippsI've discovered that by enabling/disabling "copy to texture" plugin in compiz will temporarily fix/improve vdpau tearing02:52
ScottKRAOF: Sarvatt is correct.  Changing kwin would be too invasive and such a patch doesn't yet exist anyway.  I think our only hope for Natty is to add the dropped string back.03:04
ScottKIt's tested to work and seems low risk to me.03:05
ScottKDo you see any harm in it?03:05
RAOFIt could potentially confuse code that's expecting the new string on mesa 7.10.?03:07
RAOFIt would be easy to change the string that kwin's looking at; drop GEM and replace it with Intel.03:07
RAOF(I mean, in kwin)03:08
RAOFThat's a change with more restricted possible side-effects.03:08
ScottKCan we just add the old string back without dropping the new?03:09
RAOFBut!  It's entirely possible that *other* code is checking for ‘GEM’, which might make reverting the mesa string better.03:09
RAOFI guess we could concatenate the strings.  That looks like it should work for kwin.03:10
ScottKI don't know which is best, but if I read the bug correctly, Intel broke the ABI, so that's the logical place to fix it.03:10
ScottKIf that would work, then I'd say that's likely best.03:10
RAOFHeh.  “Not only did this contain lies, it contained lies that wouldn't be useful even if true.”03:20
Sarvatt<Sarvatt> -    if (strstr((const char *)renderer, "GEM"))03:27
Sarvatt<Sarvatt> +    if (strstr((const char *)renderer, "Intel")) -- that was a change for kwin I was suggesting that wouldn't be invasive03:27
Sarvattbut either way works, i'll just put a patched kdebase-workspace in xorg-edgers for the people using KDE I guess03:30
Sarvatthttp://sarvatt.com/downloads/patches/kdebase-workspace.patch03:35
RAOFsarvatt: Which place do you think it's best to fix in for 11.04?  Mesa or kdebase?03:41
ScottKyofel_: ^^^03:43
ScottKI think the biggest question is what else might have depended on that.03:43
ScottKIIRC kees has an unpacked copy of the archive he can grep through all the source code with.03:44
ScottKRAOF: You might ask him to check.03:44
RAOFSo, we've only been testing with the new string since early March.03:46
Sarvatt_urg http://web.archiveorange.com/archive/v/NG4bEpKZYXhax5O0z7gm06:54
RAOFThere's a testcase for that?06:57
RAOFNeat!06:58
RAOFYup, there it is.06:59
=== yofel_ is now known as yofel
marsbryceh, ping16:55
marsbryceh, unping17:04
* yofel fetches his eeePC and tries that kdebase patch17:35
Sarvattyofel: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/753370/comments/917:53
ubot4Launchpad bug 753370 in mesa (Ubuntu) (and 1 other project) "No Desktop Effects in Kubuntu 11.04 Beta1 (affects: 9) (dups: 2) (heat: 54)" [Medium,Confirmed]17:53
=== schmidtm_ is now known as schmidtm
yofelSarvatt: sorry, was busy, that patch seems to work for me too18:52
debfxSarvatt: about bug #753370: wouldn't it be safer to just revert the commit that changes the renderer string?20:51
ubot4Launchpad bug 753370 in mesa (Ubuntu) (and 1 other project) "No Desktop Effects in Kubuntu 11.04 Beta1 (affects: 9) (dups: 2) (heat: 56)" [Medium,Confirmed] https://launchpad.net/bugs/75337020:51
debfxI've tested this patch which works fine: http://bugsfiles.kde.org/attachment.cgi?id=5899920:52
Sarvattdebfx: I wasn't really proposing the kdebase-workspace for the distro, someone else must have flagged it with patch. just uploaded it for the PPA because reverting the string changes from mesa 7.11 is not going to happen20:53
Sarvattfor kubuntu there is no situation where Intel being in the renderer string doesn't have DRI2 in use though20:53
Sarvattbut I can see them not wanting it that way in upstream kwin because they have to support older mesa releases and such20:54
debfxSarvatt: kde will change the driver feature detection in 4.7 so this will only be an issue in natty20:54
Sarvatt4.7 is coming out in june?20:55
Sarvattthats about when 7.11 will hit oneiric20:55
Sarvattah cool the timelines do line up good20:56
debfxyep20:59
Sarvattdebfx: yeah s/GEM/Intel/ isn't the way to go for sure and it'll just have to be a hack added to xorg-edgers until KDE 4.7 comes around since it ships mesa 7.11, indirect is OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2 and would still pass the direct check23:05
debfxSarvatt: adding the GEM string wouldn't be an option?23:10
RAOFsarvatt: Oh?  What breaks then?23:40
debfxRAOF: could you sponsor my debdiff on bug #75337023:43
ubot4Launchpad bug 753370 in mesa (Ubuntu) (and 1 other project) "No Desktop Effects in Kubuntu 11.04 Beta1 (affects: 9) (dups: 2) (heat: 58)" [Medium,Confirmed] https://launchpad.net/bugs/75337023:43
RAOFdebfx: No, sorry - no main upload priviledges :/23:44
debfxoh, okay23:45
RAOFI've made that change locally but haven't tested it properly.23:46
debfxat least on my system the blur effects works again after that change23:49

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!