/srv/irclogs.ubuntu.com/2012/01/31/#ubuntu-x.txt

cndRAOF, I realized that my last email about the pointer barrier work didn't make sense in hindsight00:25
cndwell, it might, but it's only half the picture00:25
cndif the libxfixes library (or whatever library it is) has the symbol, that still doesn't guarantee that the server supports the request00:25
cndI don't know how to handle that without an extension version bump unless you check for XError messages00:26
RAOFcnd: Right.00:38
RAOFWell, what you *could* do is something crazy, like bump the extension version to 12.04 and only offer those if the client asks for exactly 12.04.00:39
RAOFAnd by you, I of course mean me.00:39
cndheh00:48
cndcan you cram a '~ubuntu1' into an integer version?00:49
RAOFYes!@00:52
RAOFYou might notice that ~ubuntu1 is 8 bytes :)00:52
cndheh01:02
Sarvattbut really, just poke ajax instead and get it upstream? it's not an input change :)01:02
RAOFIt turns out we're still doing a little bit more prototyping, now that we've tried it on a variety of hardware :)01:03
cndSarvatt, we're well past the closure of the merge window, so it may not get in01:23
Sarvattyeah but march isn't that far away, better to ping now before 6.0 is released without it and having it end up being 7.001:24
Sarvattthats gonna be a pain in the ass if it happens01:24
RAOFYeah.  *If* an alternate XFIXES 6.0 is proposed on the list I'll certainly be calling for this stuff to be folded in.01:28
RAOFI'm not going to prod too strenuously until I'm reasonably certain that this is ok for us, though.01:29
Sarvattswear there was new xfixes stuff queued up from nvidia guys for a long time now but heck if i've been able to find it01:30
RAOFThat's XSync.01:35
RAOFYou're thinking of the Sync Counter stuff for GLX/X rendering synchronisation.01:36
Sarvattoh xext, indeed!01:37
Sarvattok enough anno 2070, uploading wayland/mesa to x-staging now :P01:42
cndRAOF, Sarvatt: there are proposals to extend xsync?01:45
* cnd is trying to debug xsync right now01:45
Sarvattits already done and released01:46
Sarvatti was remembering old stuff01:46
RAOFOh, yeah.01:46
RAOFcnd: What are you trying to debug in xsync?01:47
cndthe fact that it doesn't really work? :)01:47
* RAOF also forgot that it was implemented, and Google found the 2010 commit that did it01:47
cndwe set asynchronous timers, but they don't fire until some other event happens01:47
cndso you do get a timer event, but it usually occurs well past when it was supposed to01:48
RAOFI've done some debugging in there, for the screensaver stuff.01:48
SarvattRAOF: hmm, now that I look, did you want to enable llvm-3.0 in mesa 8?01:48
RAOFSarvatt: That seems like the prudent choice.01:49
RAOFSarvatt: It's already in main, and I believe that more developers use it than 2.901:49
Sarvattit's in main, lets rock01:49
Sarvattglad i didnt upload yet01:49
Sarvattneed to edit 2 patches and debian/control, nice and easy01:55
SarvattI wonder if anything else is pulling llvm-2.9 onto the cd though, having both might be an issue01:57
cndSarvatt, it would just be the library part of llvm01:59
cndmaybe that's not too big?01:59
cndI guess we're talking about jit though02:00
cndso library part == compiler02:00
Sarvattcnd: Compressed Size: 7,407 k02:07
Sarvattthats kinda big :P02:07
cndyeah02:07
Sarvattlibgl1-mesa-dri pulls in libllvm3.002:07
cndwe got rid of mono :)02:07
SarvattCompressed Size: 6,559 k for 2.902:07
RAOFSarvatt: mesa appears to be the only rdepend of libllvm, apart from the openjdk-7-zero runtime, which isn't shipped on the CD.02:10
Sarvattits amazing so many dri drivers were dropped and it grew so much02:10
Sarvattmaybe libgallium core isn't as optimized as it used to be02:10
RAOFThe non-big-three dri drivers were pretty small after dricoreing.02:11
RAOFLike 15-200K02:11
SarvattRAOF: hmm 2.9 is still the default llvm-config in precise02:12
RAOFBut we're not using llvm-config, right?02:12
RAOFWe're specifying an explicit llvm-config to use; that's probably the right behaviour, as it's not guaranteed to build against anything but the exact versions.02:13
Sarvattyepyep, it would just be more future proof to have it call llvm-config --version in the patch instead of hardcoding it but that wont work, dont mind me just thinking out loud02:15
RAOF:)02:15
RAOFHuh.  Xserver dying with SIGBUS?  That's a new one on my hardware.03:43
Sarvattohhai plymouth03:44
RAOFWasn't that SIGQUIT?03:45
* Sarvatt has nightmares about SIGBUS when pressing enter on lucid03:45
Sarvattoh yeah it was03:45
SarvattRAOF: netbook?03:47
RAOFBah, and apport doesn't catch it.03:47
RAOFSarvatt: SandyBridge.03:47
Sarvattof course, apport doesn't catch crap03:47
Sarvattexcept evdev or proprietary driver crashes03:47
RAOFWe should totally fix it so apport catches this.03:47
Sarvatt100_rethrow_signals.patch really doesn't work since jaunty03:47
Sarvattwe used to get such nice apport filed bugs against xserver, I miss it :(03:48
RAOFAs I say, we should fix it.03:49
Sarvatthttps://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/705078 hey moderately recent one03:50
ubot4Launchpad bug 705078 in xorg-server (Debian) (and 2 other projects) "Xorg crashed with SIGSEGV in pixman_image_set_has_client_clip() (affects: 53) (dups: 7) (heat: 145)" [Unknown,Fix released]03:50
broderi was actually just experimenting with this in one of my programs. it seems like the most reliable way to have a custom sigsegv/sigabrt signal handler and still have it generate a core dump is to use sigaction() with sa_flags == SA_RESETHAND and then just do raise(signum) from the handler03:50
Sarvattit's over my head, I really tried03:50
broder...but i haven't been able to verify if the core dump makes it to apport yet (i was testing with ulimit -c unlimited)03:50
SarvattI can find the refresh where it broke though03:51
Sarvattwill just take some time since it was years ago03:51
RAOFbroder: Huh, interesting.03:51
RAOFI know quite a bit more about posix signal handling since last I touched that code; maybe we can get it to reliably work now :)03:52
SarvattI remember pitti refreshed it when it stopped working, hmmmmmm03:53
broderi think most of what i've learned so far is "it sucks" :)03:53
Sarvatthttp://anonscm.debian.org/gitweb/?p=pkg-xorg/xserver/xorg-server.git;a=commit;h=7d65b7d399f5902cb3a3153b43dd8f3e627b7d0803:53
Sarvattoh that was easy to find03:53
Sarvattactually it might have been http://anonscm.debian.org/gitweb/?p=pkg-xorg/xserver/xorg-server.git;a=history;f=debian/patches/100_rethrow_signals.patch;h=ffbc4b09cd498f0e69cd2ea5480a3ebf0afeeca1;hb=refs/heads/ubuntu03:54
Sarvattsince i remember it not being 100_rethrow_signals.patch when it did work and thats the first 100 version in git history03:54
Sarvatthttp://anonscm.debian.org/gitweb/?p=pkg-xorg/xserver/xorg-server.git;a=blob;f=debian/patches/135_rethrow_signals.patch;h=271ff49504e46d252175107feb0b19387b5d002d;hb=686f7d30ba19862bced1d8c3a48abfc5e7ed41f6 was the working one that only applied to xserver 1.603:57
broderoh hey - apport has a log file. so yeah, it is getting notified when i core dump03:59
broderi *think* you could drop the patch as it exists now, add SA_RESETHAND to act.sa_flags on line 178 of os/osinit.c, and add raise(signo); to the end of OsSigHandler04:00
RAOFRight.  Modifying the signal handler seems like a more robust solution.04:00
broderalternatively, you might be able to not change act.sa_flags and instead do signal(signo, SIG_DFL); raise(signo); from the handler04:01
broderbut i wouldn't swear to it04:01
tjaaltonSarvatt: "failed to upload", whatever that means05:31
Sarvatttjaalton: looks like debian-experimental branch needs http://lintian.debian.org/tags/data.tar.xz-member-without-dpkg-pre-depends.html05:36
tjaaltonok..05:37
SarvattRejected:05:37
SarvattRequire Pre-Depends: dpkg (>= 1.15.6~) when using xz compression.05:37
Sarvattcould be wrong, its really late here05:38
Sarvattthats what launchpad said about the fail to upload, we used lzma for 7.11..05:38
tjaaltonpush the release too, btw ;)05:38
Sarvattmaybe just the ubuntu branch? dunno05:38
Sarvatti did05:38
Sarvattwell except for the s/UNRELEASED/precise/05:39
Sarvattjust pushed the llvm change05:39
tjaaltonright05:39
broderRAOF: i'm unlikely to see a fix for bug #861426 that's not "switch GnomeRR to use libxrandr-util", right?07:47
ubot4Launchpad bug 861426 in gnome-desktop3 (Ubuntu Oneiric) (and 1 other project) "[Oneiric] [Regression] When disabling onboard LVDS display and just using external VGA screen corruption occurs (affects: 7) (heat: 20)" [High,Triaged] https://launchpad.net/bugs/86142607:47
tjaaltonuploading libxcb to x-staging08:17
tjaaltonwell, "syncing"08:18
Kimal73goodmorning. Are there drivers for ubuntu of Radeon HD 6520M?12:24
tjaaltonKimal73: have you tried?12:59
tjaaltonyeah something weird with scrolling15:54
tjaaltonfor instance if I scroll down, it'll first jump up15:54
tjaaltonsometimes15:54
tjaaltonmmh libx11 multiarch fail16:15
jcristauhmm?16:15
tjaaltonchangelog different16:15
tjaaltonmight be just ubuntu16:15
tjaaltonmesa upgrade pulled libx11-xcb1:i38616:16
tjaaltonah, caused by the symlinking16:20
tjaaltonor not16:20
=== yofel_ is now known as yofel
Sarvatttjaalton: you have libegl1-mesa:i386 installed?16:22
tjaaltonSarvatt: no, libgl1-mesa-dri:i386 and some others16:23
Sarvattwhats aptitude why libx11-xcb1:i386 say?16:24
tjaaltonlibgl1-mesa-glx16:25
tjaaltonhttp://paste.ubuntu.com/82402416:28
tjaalton??16:28
tjaaltonok so the ppa or the main archive mangles the changelogs somehow, resulting in that upgrade error17:46
tjaaltonI've tried purging the packages and still the same17:46
Prf_JakobAnyway I can get the Ubuntu kernel to not use nouveau?18:28
Prf_JakobVia the kernel command line?18:28
Prf_JakobThere we go.18:31
Prf_JakobFYI Nouveau is broken on MacBookPro5,1 in 11.10.18:32
Prf_Jakob§#%#§&§#"§#" I see the Keyboard layout select is still a big pile of poo.18:37
Prf_JakobIt hangs if you select to many keyboard layouts before selecting the one you want.18:38
tjaaltonok, so my "multiarch fail" was due to the ubuntu-x/x-staging ppa not mangling the changelogs like the main builders (and canonical-x/) do18:41
tjaaltonwhat a pain18:42
tjaaltonOpenGL version string: 3.0 Mesa 8.0-rc218:44
tjaaltonfinally18:44
SarvattPrf_Jakob: looks like nouveau.noaccel=1 is needed on that machine from a quick glance :(18:45
Sarvatttjaalton: now try running unigine games! :P18:45
Sarvattgoing to be fun getting all the QA bugs about unigine benchmarks not working after 12.04 releases18:46
tjaaltonSarvatt: doesn't it need server support too?18:51
tjaaltonheh, at least unigine-heaven fails to run19:00
oratedHey tjaalton19:16
oratedtjaalton: : If you remember helping me with optimus related issue on XPS 15, you said Thinkpad BIOS allows to disable nvidia graphics card. I was wondering if there exist a way to flash open source BIOS or any custom BIOS which could detect hardware properly and allow such features19:19
tjaaltonorated: don't think so19:21
oratedtjaalton: So there seems to be no option to use second gfx nor to disable it19:25
tjaaltoni don't know19:26
oratedUmm19:26
tjaaltontry asking on #bumblebee19:29
Prf_JakobSarvatt: looks like noaccel wasn't needed.20:17
FernandoMiguelevening20:21
Prf_Jakobno wait I'm using nvidia.20:22
SarvattRAOF: llvm-3.0 transition looks fine22:59
SarvattRAOF, tjaalton: weren't we going to llvmpipe default this time though?22:59
RAOFSweet.22:59
Sarvattits just completely not shipped at all anymore now22:59
RAOFSarvatt: That's the default software renderer for 8.0, isn't it?23:00
Sarvattnope swrast getting shipped23:00
SarvattOpenGL vendor string: Mesa Project23:00
SarvattOpenGL renderer string: Software Rasterizer23:00
SarvattOpenGL version string: 2.1 Mesa 8.0-rc223:00
SarvattOpenGL shading language version string: 1.2023:00
RAOFHuh.  I think we do want to be shipping llvmpipe.23:01
Sarvattwe could put the dri-alternates handling back in and ship it in -experimental at the very least..23:01
Sarvattah I see the confusion23:02
Sarvatthttp://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=commit;h=760ae1c2a9de9c6ac253d357f631b295a2a8b24623:02
tjaaltonyep23:02
Sarvattit was renamed swrast_dri in the same place instead of swrastg_dri, its still not in the path classic mesa swrast_dri is that we're putting in23:03
RAOFIs there a way to just not build classic swrast?23:04
RAOFWe don't want to ship it, could we please not build it? :)23:05
tjaaltonyes, drop it from DRI_DRIVERS23:05
tjaaltonso it's being copied over the gallium one?23:06
Sarvattyep its an easy change, drop it from DRI_DRIVERS and install build/dri/${DEB_HOST_MULTIARCH}/gallium/swrast_dri.so  usr/lib/${DEB_HOST_MULTIARCH}/dri in libgl1-mesa-dri23:06
tjaaltonor move it in rules23:07
tjaaltonlike the others23:07
tjaaltonwell, r30023:10
tjaaltonoh wait, there was linux.install.in23:12
tjaaltonswrast would go in libgl1-mesa-dri.install.in23:16
RAOFYeah.23:18
RAOFWell, it *also* needs to go in .linux.install.in, because those files aren't cumulative.23:18

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