/srv/irclogs.ubuntu.com/2008/10/12/#ubuntu-x.txt

wgrantWell, it's damn slow, but I can see the errors now.00:03
* wgrant stabs gcc with something very sharp.01:59
wgrantIt seems to have decided that it can reorganise the request struct in different ways depending on whether it's on the client or server.02:00
=== johanbr_ is now known as johanbr
jcristauwgrant: ugh.10:12
wgrantjcristau: gdb shows that the order of the struct on amd64 is precisely as it is sent over the wire. ie. wrong.10:13
jcristausounds like a serious gcc bug10:14
wgrantHmm.10:14
wgrantI guess it's a bitfield, though.10:14
wgrantSo the compiler can do what it wants.10:14
wgrantBut I'm stumped as to why it wouldn't affect the other similar structs.10:14
wgrantIf it wasn't a bitfield, I believe that would be breaking the C standard (IIRC compilers can pack, but not reorder, struct members).10:15
wgrantjcristau: Do you have hardware on which to reproduce it?10:16
wgrantMy ad-hoc crash course in X internals might have failed to reveal some critical piece of info.10:17
jcristaui don't have an amd64 machine. debian does, so i could use that.10:19
wgrantYep, I used an Ubuntu-related machine.10:20
jcristauyou sure they're bitfields?10:22
jcristauB16 and B32 seem to be defined to nothing if !WORD6410:23
wgrantOh. Crap.10:23
mnemowhat prefix should I use when I install the libdrm bits from here http://www.intellinuxgraphics.org/download.html (the libdrm bits from this repository specifically --> git-clone git://anongit.freedesktop.org/git/mesa/drm11:36
mnemo )11:36
mnemoi looked at the debian/rules file for the package libdrm2 and it says "/usr"11:37
mnemobut on the other hand, if I use gdb's "info sharedlibrary" command on my stable hardy X I can see that X currently has /usr/local/lib/libdrm.so.2 loaded??11:38
jcristaumnemo: means you installed libdrm in /usr/local previously. don't do that.11:39
mnemookay, so if I delete the libdrm versino from /usr/local/lib and reboot it's likely that once I reconnect gdb I will see that it's using the correct libdrm then?11:41
mnemojcristau: does debian have some general rule/guideline/philosophy for when to use /usr versus /usr/local ??11:43
jcristaumnemo: /usr is for packages, /usr/local for locally installed stuff11:53
mnemo/usr/local for stuff that the user installs himself from tarballs?11:54
Ngso the lack of scrollwheel emulation I mentioned is only happening with 2.6.27-7 after the first suspend17:28
Ngdrop back to -6 and it works after multiple suspends17:28
Ngwith -7 once I've suspended, it just stops working17:29
wgrantNg: Aha, great. the changes aren't too huge to look through.21:22
wgrantOh.21:22
wgrantDamn.21:22
wgrantThere're upstream changes too.21:22
wgrantForgot that.21:22
wgrantOr maybe it does actually list all of them..21:23
Nghrm22:02
Ngwgrant: fwiw I filed it as bug 28238722:54
ubottuLaunchpad bug 282387 in xserver-xorg-input-evdev "scrollwheel emulation breaks after suspend with 2.6.27-7" [Undecided,New] https://launchpad.net/bugs/28238722:54
wgrantUsers are still being hit by the -evdev/-synaptics/g-c-c/g-s-d/nautilus removals.23:32
wgrantRemarkable.23:32
wgrantBoth that their mirrors are so out of date, and that they don't notice.23:32

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