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

bryceinteresting; daniels has switched Zap off by default upstream00:42
wgrantOoh.00:55
wgrantI was watching that argument, but gave up eventually.00:55
bryceI wish I had the time to follow all the upstream discussions01:23
* bryce kicks launchpad aka timesucker01:24
gvaroquauxHi, I am trying to check if a specific hardware rendering bug is fixed under Intrepid. I am upstream for mayavi2, and a user (and Debian developer) has just signaled that the bug was fixed in Debian, I can't find a corresponding bug report on Launchpad, and intrepid has a slightly older version of xserver-xorg-video-intel. I would be quite happy if someone with an intel card (something like an i810) could quickly perform a few t06:31
brycetjaalton: should all mouse-like devices be using evdev?  I was lent a hands-free mouse device which hal sees but isn't associating a driver to, and setting it to evdev doesn't seem to do the trick.06:42
gvaroquauxNo answers... I guess everybody is sleeping. I got to run to work, but if anyone with a laptop with an intel graphics running Intrepid is willing to help, it would be great. I cannot do this test in a VM :). Just send me an e-mail at gael dot varoquaux at normalesup dot org. The experiment is actually quite simple: apt-get install mayavi2, and go through the steps describe on http://code.enthought.com/projects/mayavi/docs/develo06:47
gvaroquauxGood day to all.06:47
brycetjaalton: filed 279999 on it07:16
brycewow, I got a good lp#07:16
tjaaltonbryce: dunno, I'll have a look07:39
tjaaltonbtw, looks like I won't make it to UDS this time.. my boss still hasn't decided after two weeks if they'll send me there, ffs07:40
tjaaltonbryce: Zap: yes, turning it off by default was looking like the best option, no reason to over-engineer something to go around it :)07:41
bryceah, a shame07:41
tjaaltonand the sponsorship-dl was two weeks ago..07:41
brycewell, next one is in spain in feb07:43
tjaaltonso soon?07:44
brycewell, I think the uds in december is just later than it probably normally should be (dunno why)07:48
tjaaltonthat too, but feb is a bit too soon for jaunty+1 :)07:48
tjaaltonbryce: the problem with that device is that it doesn't have any info.capabilities set, so the current rules won't match it08:16
tjaaltonno need to set SendCoreEvents btw08:17
bryceok08:21
brycewhat should info.capabilities be set to?08:21
tjaaltonit should be set by the device, or some other part of the system.. not the fdi08:21
brycehrm08:22
tjaaltoncurrent rules match input.mouse or input.keys08:22
tjaaltonoh, same applies to info.product..08:22
tjaaltonI don't know where those are normally coming from08:25
brycekernel maybe?  hmm08:28
brycewell, I'll bounce it back to henrik I guess08:28
tseliottjaalton: do you happen to know in which package I can find XInput.c?08:44
tseliottjaalton: not the compiled binary, just the source08:45
tjaaltontseliot: there isn't one08:47
tseliottjaalton: but I have /usr/include/X11/extensions/XInput.h08:48
tjaaltonthat doesn't imply there's XInput.c08:48
tseliotwhat should I look for then?08:49
tjaaltonI don't know08:49
tseliotthe source of the command line app xinput would be fine08:49
tjaaltonwell, XInput.h is not from xinput08:50
tjaaltonbut x11proto-input-dev..08:50
tjaaltonapt-get source xinput?08:50
tjaaltonwhat are you trying to do?08:50
tseliotI would like to see how xinput works and if I can interface to it with Python08:51
tjaaltonwell there you go08:52
tjaaltonget the sources for xinput08:52
tseliotyes, that worked well and should be enough. Thanks08:53
* wgrant used xinput as a reference for the g-c-c stuff.08:57
tseliotwgrant: yes, but I would like to get the device properties from Xinput and write fdi files08:58
tjaaltonhow's that going to work?09:00
tjaaltonproperties don't map into driver options09:00
tseliotI have yet to see if that's possible09:01
tjaaltonwell I can tell you it's not :)09:01
tseliotI would rather not hardcode options09:01
tseliotdo you know where options for fdis can be found for different devices?09:02
tjaaltonman foo09:02
tjaaltonwhere foo==evdev09:02
tjaaltonhmm, or synaptics, joystick..09:02
tseliotaah, nice, that's actually easier09:03
tseliotsince I can parse the man page with my options data store09:03
tjaaltonand those options are persistent. properties are not09:04
tseliotyes, right09:04
tseliotbryce: the new g-c-c works well09:11
wgrantWhat's new with g-c-c?09:12
tjaaltonwgrant: this is.. interesting, or confusing; I've got all the properties bits updated on my machine, apart from xorg-server, and 'xinput list-props foo' works just fine09:13
wgrantAh.09:13
wgrantI see.09:13
wgranttjaalton: .... even with the different API and ABI?09:13
wgrantThat hints that xinput is broken.09:13
tjaaltonwgrant: well, those should be updated yes09:13
tseliotwgrant: https://bugs.launchpad.net/ubuntu/intrepid/+source/gnome-control-center/+bug/27597709:13
seb128speaking about new g-c-c could whoever did the changes or upload commit the bzr?09:13
ubottuLaunchpad bug 275977 in gnome-control-center "Setting the Virtual resolution should be easier" [Wishlist,Fix released] 09:13
tjaaltonwgrant: hmm, right.. it doesn't use a patch system so that could be it09:14
wgranttjaalton: So the patch was never applied?09:14
wgrantIt still shouldn't crash my X server, but that would explain why it wasn't working.09:14
tseliotseb128: yes, I can do it09:15
tseliotseb128: lp:~ubuntu-core-dev/gnome-control-center/ubuntu , right?09:15
seb128tseliot: thanks ;-) otherwise it's likely that next upload see the change dropped09:15
seb128tseliot: correct09:15
tseliotok09:15
wgrantMore likely that the next upload will be rejected... I've had that happen a few too many times.09:16
seb128I'll start doing my mvo and complaining about people not pushing their changes to bzr when uploading ;-)09:16
seb128wgrant: next upload is likely to be a new upstream version for GNOME 2.24.109:16
tjaaltonwgrant: well looks like it wasn't applied, yes09:16
tjaaltonduh09:16
wgranttjaalton: Well, that was an easy fix.09:17
wgrantseb128: Ah. Even better.09:17
tjaaltonwgrant: I bet it doesn't fix my mouse buttons though09:17
tjaaltonwhich are broken with the updated server09:18
wgranttjaalton: True.09:18
tjaaltonwgrant: did you see that? events only on buttonrelease09:18
tseliotseb128: do you maintain gnome-desktop in bazaar too?09:18
wgranttjaalton: I use a touchpad normally, so it's not really noticable.09:18
seb128tseliot: no09:19
seb128tseliot: apt-get source tell you usually ;-)09:19
tseliotright09:19
seb128tseliot: gnome-control-center is in bzr because mvo is working on it too in fact, we don't have many bzr packages yet09:19
tseliotok09:19
tseliotseb128: I guess I'll have to create my own branch and ask mvo to merge from it right?09:21
tjaaltonwgrant: um, sorry.. xinput is fine09:21
tjaaltonafter all09:21
wgranttjaalton: Damn.09:22
seb128mvo: bzr question for you there ;-)09:22
mvotseliot: right, create your own branch and any core-dev can merge09:22
tseliotmvo: ok09:22
mvotseliot: you can also just sent me the debdiff and I merge this one (but the next one is for you ;)09:22
seb128ideally whoever upload should do the commit too because who has upload rights has commit rights too09:23
tseliotmvo: I'll do it myself. You can use the time I'm saving you to read my email :-P09:23
mvoright09:23
mvooh, right09:23
mvodamm09:23
mvoETOOMUCH09:23
* seb128 hugs mvo09:24
mvosorry tseliot, please keep nagging me, I'm just busy with $STUFF, but it should be straightforward to merge your changes09:24
tseliotmvo: no problem09:25
tjaaltonwgrant: hmm, I'm wondering if it's about the drivers after all.. Noticed that my evdev was newer than the one on my ppa, for instance09:40
wgranttjaalton: Heh, that might do it.09:43
tseliotmvo: can you merge from lp:~albertomilone/gnome-control-center/randr-virtual when you have the time?09:45
mvothanks tseliot, merged09:53
tseliotmvo: thanks09:54
tjaaltonwgrant: at least my mouse works now, but props still don't10:04
wgranttjaalton: BadRequest or similar?10:19
tjaaltonwgrant: yep, and still shows the minor opcode as 41, when that shouldn't exist anymore10:21
tjaaltoninputproto, libxi checked and verified to be ok10:21
wgrantHuh.10:23
tseliottjaalton: can upload the new NVIDIA driver to Intrepid, please? https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/27509811:41
ubottuLaunchpad bug 275098 in nvidia-graphics-drivers-177 "Packaging request, please upgrade to ver 177.80" [Wishlist,In progress] 11:41
=== crevette_ is now known as crevette
tseliottjaalton: never mind13:59
tjaaltontseliot: I was on it, but got other stuff to do first14:06
tseliottjaalton: no problem, pitti is doing the upload for me. Thanks anyway14:07
tjaaltontseliot: ok, good14:14
tseliottjaalton: a lot of people is asking me to put that driver in Hardy too but that would screw up users of Geforce 5xxx14:16
tseliot:-/14:17
tjaaltontseliot: 173 will probably get there14:30
tseliottjaalton: the problem is that 173 doesn't support some new nvidia cards14:31
tseliotif only nvidia hadn't dropped the support for geforce 5xxx in 177...14:33
tjaaltonthat's what you get with proprietary blobs14:38
johanbrIs monitor hotplug supposed to work by now? I just tried plugging in a projector and the experience in Intrepid is still not ideal.18:21
johanbrFor instance, I had to restart X.18:21
jcristauyou shouldn't need to restart x18:23
tseliotwhat driver are you using?18:24
jcristauas for the 'not ideal' part, you'd have to be more precise18:24
johanbrThe free -ati driver.18:24
johanbrHaving to restart X was the worst glitch.18:25
jcristaurunning 'xrandr --auto' should do the right thing there18:25
tseliotcan you put the output of "xrandr" on pastebin after you plug in the projector?18:25
johanbrI used gnome-display-properties. It messed a bit with my xorg.conf and told me to restart X.18:25
johanbrMaybe that's where the blame should be assigned.18:26
johanbrI don't have the projector handy right now, but will try later.18:26
tseliotjohanbr: aah, you're not trying to use clone mode18:26
tseliotyou tried to set up the screens separately18:26
johanbrWhat came up after the restart was cloned.18:27
tseliote.g. your projector to the right of your screen18:27
tseliotthat's normal18:27
tseliotyou have to log in18:27
tseliotdid you update the system today?18:27
tjaaltonactually, separate screens is what it seems to offer by default, since the same happened on my laptop yesterday when I tried multihead for fun18:28
tseliottjaalton: would you like to have clone mode set by default?18:28
tjaaltonyes18:28
tjaaltonI believe that's the most common case18:29
johanbrxorg.conf after gnome-display-properties had messed with it: http://pastebin.ca/122290218:29
johanbrWell, gotta go. Back in about 1h.18:29
tseliotyes, the virtual resolution was set18:30
tseliottjaalton: if bryce and/or seb128 agree we can change that18:30
* tseliot > dinner18:30
bryceperhaps the ideal would be to detect if the monitors are identical, in which case default to left/right multihead, but if they're different, default to cloned18:33
tjaaltonthe only case where I see left/right better than clone is fixed setups, but there's no way to detect that, and even if there was, it would be confusing18:36
jcristaualso left-of kills acceleration in quite some setups18:37
brycewell, we've had some complaints by people expecting multi-screen layouts, not being able to figure out that they need to drag one of the cloned monitors to the side19:06
bryceI don't know who changed it to show left/right by default, but I thought it was an improvement in that regard19:07
brycealthough I suppose I could see the reverse as well - if it defaulted to left/right but they were expecting cloned, they'd be equally confused about needing to drag one monitor on top of the other19:09
* bryce shrugs19:09
tseliottjaalton: do you think we should put the "mirror screens" label in bold?19:41
tseliotor do something else to highlight it?19:42
tjaaltontseliot: dunno, can't test it now19:45
tseliotthere's no hurry19:49
* wgrant looks at porting syndaemon to input properties in order to remove the final need for SHMConfig and placate various users.22:00
superm1wgrant, did your investigations of the brightness keys ever end up anywhere useful?22:20
wgrantsuperm1: I know why my two issues happen, yes.22:20
wgrantOne of them might be an X bug, and the other one might be an X bug but is probably a hardware bug and a g-p-m-is-far-too-trusting bug.22:21
superm1wgrant, is the root cause solveable in a timely fashion?22:21
wgrantThe hang can be worked around fairly easily in g-p-m, but we need to decide on a maximum sane number of increments for screen brightness.22:22
wgrantThe many thousands of key events... well, I need to track down the source of the problem.22:22
wgrantI don't think it happened in Hardy, but it might have just been that g-p-m was smarter.22:22
superm1well I've compared hardy side by side with two of the same system here, and things are much better in hardy22:23
wgrantI'll likely find time to debug it properly tomorrow night... but it's unfortunate release timing given the coming exams...22:23
wgrantsuperm1: What are your symptoms, again?22:23
superm1I lose focus for an extended period of time22:23
superm1roughly 40 seconds or so22:23
superm1whenever I change brightness22:23
superm1switching VTs restores focus 22:24
superm1or killing GPM22:24
wgrantIf you run xev, give it focus, and hit a brightness key, do you see far too many events?22:25
wgrantAnd do that stop when you hit another key?22:25
wgrants/that/they/22:25
wgrant`xrandr --prop | grep -i light` is also useful output.22:25
superm1should I kill gpm when i hit this brightness key?22:26
wgrantProbably a good idea.22:26
jcristauwgrant: that might be a kernel bug. i think some people already reported some keys not sending keyrelease.22:26
wgrantjcristau: Would that cause tens of thousands of events?22:26
wgrantAnyway, I need to leave for uni now... I won't be around for a few hours,22:27
superm1wgrant, oh yeah that's wayyy too many events 22:27
jcristauwgrant: probably, with key repeat22:27
superm1its like the key is stuck 22:27
wgrantAha.22:27
wgrantI thought it was too many for that, but I guess it's possible.22:27
superm1wgrant, regarding xrandr --prop, this machine uses nvidia-glx-177.  dont' expect any swanky xrandr features22:28
jcristauwgrant: you can change the autorepeat settings with xset, see if that affects what you're seeing?22:28
gvaroquauxAnybody running intrepid with an intel graphics card willing to check that a bug is gone in intrepid for me? I asked about this this morning, but had to run to work.22:36
bdmurraygvaroquaux: what bug?23:21
bdmurraybryce: any ideas about bug 210340? should it work?23:22
ubottuLaunchpad bug 210340 in xorg "install failure if 2 both monitors are active" [Undecided,Confirmed] https://launchpad.net/bugs/21034023:22
* bryce looks23:23
gvaroquauxbmurray: it is a z-ordering bug that appears running the program mayavi2. It is probably a duplicate of an existing bug, but I am not sure which one. All I know is that many users complain about this bug. I can show how to reproduce it. The reason I ask about this today is that a Debian user reported it was fixed in Debian, and the version numbers of debian are ever so slightly higher than ubuntu (actually only the lib-mesa-dri 23:26
gvaroquauxI am going to be off to bed soon (sorry, I have long days at work), but if anybody wants to give me a hand (it should be fairly straight forward), I am available on gael dot varoquaux at normalesup dot org (I am the fealing this is not going anywhere :>)23:31
brycebdmurray: re 210340 - I guess it should work, but obviously we're missing some important info23:49
bryceand without that, there's no proof that the me-tooer in comment #3 is seeing the same as the original reporter23:49
bdmurrayokay, I wasn't sure if dual monitors on a Live CD should work23:50
brycewell, the issue is that they had two monitors plugged in23:51
bryceregardless of whether dual monitor functionality should work in a livecd, you shouldn't see corruption if two monitors are just plugged in23:51
bryceworst case would be that output only appears on one monitor - that'd be acceptable23:51
brycebest case would be that they show up cloned23:51
brycecan you reverse the dupe, so 277724 is the primary?  It has the more complete info and will be easier to upstream23:52
brycealso the reporter seems more actively engaged23:52
bdmurrayyep, I think he posted to u-d-something23:52
brycealso, that bug can be filed against xserver-xorg-video-nv rather than xorg23:53
brycemark it high/triaged, and I'll upstream it either today or tomorrow23:53
bdmurraybryce: cool, done23:55
wgrantjcristau: Um, the brightness keys don't seem to generate any X events at all if key repeating is turned off.23:59

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