/srv/irclogs.ubuntu.com/2008/09/24/#ubuntu-x.txt

=== superm1|away is now known as superm1
tjaaltonbryce: btw, I filed a sync request for libx11-1.1.5, bug 27347105:21
ubottuLaunchpad bug 273471 in libx11 "Please sync libx11 1.1.5-1 from Debian unstable" [Undecided,New] https://launchpad.net/bugs/27347105:21
brycetjaalton: great, I've +1'd it07:51
tjaaltonbryce: nice, thanks07:52
tjaaltonI'll subscribe -archive since it's a bugfix release07:52
tjaaltonpop your champagne bottles open, we got 2000 bugs!09:19
tseliot\o/09:57
Ngtjaalton: do you know if anyone is working on xinput config gui stuff? is it just going to go into the existing gnome capplets?10:08
tjaaltonNg: no I don't know of anyone doing that, and yes, it should go in the existing capplet I think10:10
Ngwell that rules me out, those things will be in C. I was just pondering hacking something up in python which would discover the devices and their properties and let you twiddle them, but it should really be a nice interface that hides all the scary numbers ;)10:11
tjaaltonyeah the xinput interface isn't that friendly10:11
NgI dunno what the underlying xinput API is like, but the commandline tool doesn't seem to expose enough information - like for an int value it doesn't tell you how large an int it is, but to set it you need to know10:11
tseliotNg: I would like to write a UI for xinput stuff10:52
tseliotI can do it for GNOME and KDE10:53
tseliotI hope to be able to do it in time for Ubuntu 9.0410:53
Ngcool :)10:53
Nga quick look at the existing gnome input capplets suggests to me that they are entirely unsuitable for this10:54
Ngin a world of multiple input devices and per-device properties, a single capplet for setting things for a single mouse no longer makes sense10:54
NgI'd suggest that things have global defaults, but be overridable for individual devices, and some part of the desktop would receive events for these devices being connected and apply the appropriate settings the user had previously chosen10:55
tseliotif I complete input support for X-Kit we can configure devices with FDI files too10:56
Ng(e.g. I'm thinking about acceleration - a single value can't possibly hope to make sense for a laptop with a touchpad, trackpoint and USB mouse)10:56
tseliotyes, that's the idea10:57
Ng:)11:04
NgI'll keep quiet now, I'm sure that more capable brains than mine will get it right :)11:04
=== superm1 is now known as superm1|away
bryceNg:  would you be interested in rigging up a prototype UI?  I think part of the problem is no one is sure what the tool should look like, and we need to start gathering some conceptual stuff (regardless of language) so people have something to stimulate ideas16:01
Ngbryce: perhaps. Is there a way to send the appropriate X calls from python? :)16:02
Ngfor some reason I have a weird enjoyment of auto-generating UIs in python16:02
brycethere probably isn't a python binding for libxi-dev16:03
brycebut you could probably review its api16:04
brycebut even if the prototype didn't consider how it hooks to the backend and just focused on conceptualizing the UI, that'd help16:05
Ngyeah I figured there would be no bindings, I was kind of hoping there was a generic way to request this stuff via some X binding ;)16:05
tseliotI was planning to use swig or something similar to access xinput from python. We'll see16:11
Ng"This section provides information about the XInput API, which allows applications to interact with the Xbox 360 Controller when it is connected to a Windows"  dear google.... fail16:11
jcristaui thought someone did a python binding generator from xcb protocol descriptions16:12
tseliotjcristau: that would help16:13
tseliotNg: /usr/include/X11/extensions/XInput.h perhaps?16:13
Ngtseliot: yeah, I was actually just googling to see if there are any nice pages which have more of an overview of xinput16:13
Ngthe output of "xinput list" shows a bunch of stuff which I would guess has no place in a user config system16:14
tseliotNg: aah, some proper docs16:14
Nge.g. "Video Bus" - I have no idae why that appears twice in a list of input devices ;)16:14
jcristauNg: because it appears twice in /proc/bus/input/devices16:24
jcristauand claims to have keys16:24
Ngso I immediately wonder how on earth a configuration GUI is going to eliminate all of the clearly bogus entries in there16:25
Ngmacintosh mouse button emulation is not bogus on certain hardware, but it seems to appear everywhere16:25
jcristaudon't try to solve that in the configuration gui. find a way to detect these cases, and don't load evdev for them.16:26
Ngmaybe I'll stick to UI mockups or go with my earlier plan of leaving this for smarter brains ;)16:30
tseliotNg: UI mockups are more than welcome ;)16:38
NgI almost wonder if talking directly to xinput for the list of devices is a mistake and that hal should have an addon which puts their properties into its tree16:40
Ngbut I'm really not very familiar with that kind of thing, so I could be talking nonsense ;)16:40
jcristautalking to hal would be a mistake16:40
NgI'll take your word for that, but out of interest - why?16:41
jcristaubecause you're configuring your X server, and you already have a way to talk to it, it's the X11 protocol16:42
jcristautalking to hal on the machine where the X client is running achieves nothing, since the x server might live somewhere else entirely, and even if not you'd need some kind of authorization mechanism. which you already have with Xauth if you communicate via X1116:44
Ngthat's a good point16:45
tjaaltonie. don't try to build a gui for xinput-the-command, but XInput the API16:46
tjaaltonjust like wgrant did for synaptics ;)16:47
tjaaltonalthough, the API will soon change a bit16:47
tseliottjaalton: of course I'll wait for the new API ;)16:49
=== superm1|away is now known as superm1
tjaaltonbryce: I'll prepare mesa-7.2 and xserver-1.5.1 for upload17:27
brycetjaalton: ok; is mesa 7.2 mainly bug fixes?  I suspect the last mesa (or else kernel) broke compiz on one of my machines18:27
tjaaltonbryce: yes, 7.1 was a devel version, 7.2 is the stable one18:59
tjaaltonbryce: what hardware was it where compiz failed?19:16
brycetjaalton: http://bryceharrington.org/ubuntu/lspci.txt19:18
brycetjaalton: erf, 255008 has reopened19:18
tjaalton"Eaglelake".. never heard19:27
tjaaltonbryce: should be closed again19:28
brycetjaalton: ok, what should I tell them?19:29
tjaaltonmuelli is the only one with the problem19:29
tjaaltonI'll explain him19:30
bryceok great thanks19:32
bryceyay, ok I think all intrepid targeted X bugs are closed now19:32
bryceoops maybe not19:33
bryce247376 is our fglrx one we can't do anything for yet.  179797 is fix committed.  hmm...19:34
superm1any updates from AMD regarding the libstdc++5 business?19:34
brycesuperm1: never got a reply to my email :-/19:37
superm1-shrug-19:37
brycenext call is in a week; I'll re-raise it then19:37
bryceI suspect they've read it and (hopefully) added to their todo list, but maybe didn't think a reply was needed19:38
bryceI went to dinner with them once and noticed they are major blackberry junkies there19:38
brycebut because the keyboards are so tiny and hard to use, they tended to read waaaay more than they write ;-)19:39
superm1yeah 90% of the mail i see from mtippet is from BB19:40
superm1(that's a bit rude for them to be using them during dinner though)19:40
bryce(that was my take too...)19:44
brycetjaalton: the compiz issue I mentioned earlier is #26108021:41
brycetjaalton: (which is a private bug)21:41
bryceupstreamed at http://bugs.freedesktop.org/show_bug.cgi?id=1738421:42
ubottuFreedesktop bug 17384 in Drivers/DRI/i965 "X hangs up if turning on the virtual effect of gnome" [Major,Reopened] 21:42
brycetseliot: btw, on bug 220563, you should file a new bug with those patches, since that bug is already closed21:53
brycetseliot: I think you'll need to get seb128's approval on them to go in, since they're a fairly substantial amount of code21:53
tseliotbryce: ok, thanks, I'll do it21:54
tseliotoh seb128 has just entered21:54
brycetseliot: I'd be happy to sponsor the upload if he is okay with the changes21:54
bryceoh, one note is in the screen-resolution-extra diff, it appears you stepped on james_w's changelog entry; perhaps that could be cleaned up better21:55
tseliotbryce: great. Ok, I'll open another report, attach the patches and bug seb128 again to review them21:55
tseliotbryce: sure, I will fix it21:55
tseliotright, James' entry is missing21:57
seb128tseliot: where are the changes to review?21:57
tseliotseb128: https://bugs.launchpad.net/gnome-control-center/+bug/22056321:58
tseliotsee the last posts21:58
tseliotseb128: and thanks in advance :-)21:58
Ngtjaalton: is it expected that xinput properties are lost across a suspend/resume?22:06
tjaaltonNg: I'm not sure, sounds like a bug22:06
NgI've not checked if it's entirely reproducible yet, but I've noticed it twice today and afair I've suspended twice so far22:07
tjaaltonmine fails to resume, so can't really test it myself :)22:08
Ngerk22:14
Ngyour X61?22:14
NgI read a bug earlier on one of the 14 bajillion BTS I'm poking around in since this damn e1000e bug appeared, about some variant of e1000 breaking resume. It definitely used to break suspend for me, so I generally unload it on suspend22:15
Ngalthough I think intrepid has lost the script we put in for hardy to do that22:15
seb128tseliot: +    - bump Standards-Version to 3.8.022:25
seb128why?22:25
seb128I'm wondering why many people do that, we have no reason to create diff over debian on this number and we make no use of it22:25
seb128did you verify it conforms to the new standards-version or just updated automatically?22:25
seb128tseliot: I've to admit I don't like those changes22:32
seb128that doesn't seem the right way to me22:32
=== superm1 is now known as superm1|away
tseliot seb128: ok, I can revert that change22:53
tseliotseb128: don't you like the other changes either?22:53
seb128tseliot: several things22:53
seb128- displaying an error saying to edit the virtual xorg.conf, no22:53
seb128that's not something user will understand and not something to recommend22:54
seb128you should rather display a "you need to install this software for that" and maybe add an "install now button"22:54
tseliotseb128: shall I change the message to "sorry, it wasn't possible to apply your settings"?22:54
tseliotah22:54
seb128similar to how samba is installed when required for example22:55
tseliotseb128: ah, ok, so I should call APT to install screen-resolution-extra if the user accepts22:55
tseliotgood point22:55
seb128right, or rather synaptic22:55
seb128maybe ask mvo about it22:56
tseliotyes, I know how to do it22:56
tseliotI can call that stripped down progress dialog22:56
tseliotI did it in another app too22:56
seb128otherwise I'm not sure to understand why you need a copy of the settings22:56
tseliotseb128: because otherwise you would have to log in and set up screens again as you did before 22:57
tseliotwhy should users do the same thing twice?22:57
seb128why? can't you write directly the config?22:58
seb128it'll not be used before next login anyway22:58
tseliotyes but then you will have to restart the xserver22:58
seb128you have to restart it anyway22:58
tseliotyes but my point is22:58
tseliotthat you don't have to set up your screens again after restarting X22:59
tseliotsince you have already selected how you would like to have your screens arranged22:59
tseliotand that determines the framebuffer size22:59
tseliotseb128: maybe I'm missing your point. If so, please explain it again23:00
seb128why would writting the new config directly not work?23:00
seb128well you write an alternate config now23:00
tseliotah23:00
seb128and try to load this one first at next login right?23:00
seb128why don't you writte directly the normal config, it'll not be applied before the next login anyway23:01
tseliotno, it wouldn't work as the current app won't do anything. It will only try to apply settings without writing anything23:01
tseliotI prefer not to touch the main xml file23:01
tseliotso that if previous settings worked23:02
tseliotwe should use them instead23:02
tseliotwe should keep using them, I mean23:02
tseliototherwise, if all the conditions are good23:03
tseliotwe apply the desired xml23:03
tseliotfor example23:03
tseliotif a certain setup used to work, say, with 2 screens,23:04
tseliotwe let the system fallback to that23:04
seb128alright, it seems a bit weird but why not23:05
seb128did you discuss that upstream already?23:06
tseliotI sent an email to Soren23:06
tseliotand attached two partial patches23:06
seb128anyway feel free to get the changes sponsored by somebody once you fixed the "change your xorg virtual setting configuration" thing ;-)23:06
tseliotin the GNOME bugzilla23:06
tseliotseb128: ok, great, I will change it as you suggested23:07
tseliotthanks a lot23:07
seb128thank you23:07
tseliot:-)23:07
jcristauNg: the device might be removed by the kernel on suspend, so you'd get a new one on resume23:52
Ngjcristau: is that logged or traceable somehow?23:55
Ngit does seem to be happening every time23:56

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