/srv/irclogs.ubuntu.com/2008/11/19/#ubuntu-x.txt

* bryce waves03:46
wgrantGood afternoon, bryce.03:55
superm1wgrant, being that you wrote a bunch of patches to gsd, how responsive is upstream usually about reviewing them?03:55
superm1hi bryce 03:55
wgrantsuperm1: I've only taken a couple upstream; I got a response within 24 hours, and normally committed just a few hours after I submitted a good patch.03:56
wgrantSo they're very good.03:56
superm1bryce, i've got an issue you'll probably get pulled into after we get a valid root cause.03:56
superm1wgrant, hmk, i submitted something upstream and they immediately said yuck on formatting, resubmit and we'll relook03:57
superm1gsd's formatting is really a mess.  i stuck to a standard with all the source files i touched, but it's not standard among all of the files03:57
wgrantThe standard varies within files.03:57
superm1i think i've gotten too used to working with python code03:58
wgrantOne of the files I worked on has 2 spaces in some functions, 8 spaces in others, tabs in others.03:58
wgrantSame.03:58
superm1and how nice formatting is consistent everywhere03:58
wgrantYou do occasionally see tabs in Python.03:58
superm1when i do though, if it's in a project that i work on regularly, i start throwing knives at people for that :)03:58
wgrantYep.03:59
wgrantThe only place I've seen it recently was in PlayOnLinux.03:59
* wgrant shudders.03:59
superm1if you're curious, the patch i wrote is to fix the issue i was discussing with jcristau the other day where XF86Eject doesn't work04:00
wgrantIf you want evidence that you can make unthinkably horrible code in Python, PlayOnLinux is a good example.04:00
wgrantAh.04:00
wgrantHow're you planning to fix that?04:00
wgrant(I followed the discussion)04:00
superm1let me show you the patch, sec04:00
superm1http://bugzilla.gnome.org/show_bug.cgi?id=56127504:00
ubottuGnome bug 561275 in plugins "shortcuts don't work if keysym bound to multiple keycodes" [Normal,New]04:00
superm1it affected way more of my hardware than i wanted it to, so i got antsy waiting for anyone else to write a patch04:01
wgrantAha.04:02
brycesuperm1: oh?04:34
superm1bryce, yeah bug  297245.  it is seeming like a new vendor was introduced for the 153504:39
ubottuLaunchpad bug 297245 in xorg "Dell Studio 15 Doesn't Boot, White Screen of Death" [Undecided,Confirmed] https://launchpad.net/bugs/29724504:39
superm1we dont have a root cause of the white screen yet, but i'm thinking it's not reading the EDID correctly04:39
superm1unfortunately i've yet to get ahold of any hardware that will reproduce it04:40
brycesuperm1: oh, it's using -vesa04:43
superm1bryce, it only "works" with VESA04:43
superm1with -intel the white screen is occurring04:43
brycehmm, comment #7 said that was the log from after reproducing the issue04:44
superm1from what i gather, there are at least 3 different LCD vendors available, 2 types of LCD, and 2 sets of resolution04:44
superm1people have been manually setting vesa to get to X at least04:45
brycemm, yeah, we'd need to see the edid's, to see if it's just bad edid from the monitor04:46
bryceand definitely need an Xorg.0.log[.old] from after booting and seeing the problem, so we can see if the xserver just got confused, or what04:47
superm1do you have some useful commands that people can post?  I can provide good EDIDs from the models of LCD that i know work04:47
bryceI usually ask for 'get-edid | parse-edid' and 'xrandr --verbose'04:47
superm1does get-edid work outside X?04:48
bryceI believe so04:48
bryceas long as the monitor's connected04:48
bryceit's doing a low level bios call, not X calls04:48
superm1ah okay yeah that would be a good recommendation then04:48
brycexrandr might work only when booted into -vesa or whatever04:48
superm1if it turns out this LCD vendor does have a borked EDID, what are the options though?04:48
brycebut the --verbose flag includes a dump of the EDID04:49
superm1in terms of fixing it04:49
bryceand the xrandr's parsed EDID is very close to what the X server is using04:49
brycequirks :-)04:49
bryceunless the edid is completely invalid, in which case shipping a static xorg.conf really is the only option04:49
superm1yippee. well at least such things will be possible hopefully04:50
brycealthough we could upstream the issue and see if the xserver guys can figure out something better04:50
bryceif we at least get the LCD vendor name/model from the EDID, the remainder can be quirked04:50
bryceif nothing can be gotten from the LCD, then the LCD vendor is very very naughty04:51
superm1which wouldn't be a surprise, they may have been a cost reduction option 04:51
superm1in which case, this is something i'll have to check if the 1535's successor has this LCD vendor as an option04:52
bryceheh, profit reduction option maybe too ;-)04:52
brycebut actually, bad edid is only one possibility.  Could be a GPU lockup or some other issue.  Can't say for sure without having the Xorg.0.log04:53
superm1do you have a canned reply that you can drop in as a response asking for edid information and what not?04:53
brycesuperm1: also you may want to test against current xserver git.  They've put in some reworkings of EDID handling based on some bugs I was seeing, which makes it try harder in certain cases.04:53
bryceI don't think this is one of those cases, but it's well worth a try04:54
superm1well first things first, i need some hardware that reproduces it :)04:54
bryceyep04:54
brycenah, I don't have a canned reply for edid.  I probably should make a stock one though04:54
superm1okay i'll write up something tomorrow morning then04:54
brycecool.  Oh, btw this week I'm working on a Dell bug for you guys, that's turning into quite a time sync04:55
superm1for a belmont related item?04:56
superm1or for ideastorm related04:56
bryceI may need to ping you for advice on it tomorrow.  we had a call this evening (we're trying to get the bug upstreamed to intel).04:56
brycebelmont04:56
superm1okay yeah pm me or email me tomorrow if you need some further advice on it.  04:57
brycegreat04:57
superm1there are so many bugs in belmont, i'm not keeping up with them anymore :)04:57
* bryce paints a picture of superm1 swimming in bugs05:00
brycenight everyone05:01
superm1night05:01
tjaaltonseb128: does xvfb still need to Depend on xauth, xfonts-base, isn't Recommends enough now?11:19
seb128tjaalton: recommends is likely good enough indeed11:21
tjaaltonseb128: ok, moving back to Recommends, thanks11:33
seb128tjaalton: you're welcome11:33
tjaaltonoh nice, so jaunty has a broken libxi without properties11:51
tjaaltonand XInput.h, because it got autosynced :P11:51
tjaaltonwell, I'll add the changes back11:54
brycetjaalton: yes, riddell mentioned that12:50
tjaaltonbryce: yeah, it was the -2build1 upload :)12:50
tjaaltonwhich meant that it would be autosynced when a new version was ready12:51
bryceah12:51
brycesuperm1: bug 297245 is upstream and assigned to jbarnes, although he's not yet commented on it.  I'll ping him.16:46
ubottuLaunchpad bug 297245 in xserver-xorg-video-intel "[i965] Dell Studio 15 White Screen on X startup" [High,Confirmed] https://launchpad.net/bugs/29724516:46
superm1bryce, ah that's great.  16:49
superm1bryce, well the bad news here, if this does end up being attributed to the intel driver's handling of this LCD, the studio 1535's successor does indeed offer this exact same LCD, so the breakage will continue on it16:56
brycesuperm1: do you have the hardware on hand to reproduce this issue yourself?16:58
superm1bryce, i've got several 1535's but not with that LCD manufacturer.  I've been trying to track one down with it, but now that i know the 1535's successor has it too, i might have a little more luck finding one17:01
brycesuperm1: okay.  I've dinged jesse to hopefully bring his attention to it.  He's not on IRC so I emailed him.  (Possibly he's AFK?)17:05
bryceI didn't see anything wrong with the edid we collected, but given that it occurred after the LCD manufacturer was changed, it does sound like EDID is the thing to look at17:06
superm1i'll let you know if/when i can finally get ahold of hardware with this17:06
brycesuperm1: great.  xrandr --verbose would be nice to see.17:06
superm1we're trying to nab one of the returned models that was returned for this white screen problem (which proves to be more difficult than you anticipate with this big of a company :))17:07
superm1bryce, someone from that bug should hopefully be able to get you xrandr --verbose in the meanwhile I think.  the reporter on it (Chris Menning) seems to be on top of responding to anything asked for17:10
tseliotbryce: today I received the tablet :-)17:16
tseliotthanks a lot17:16
brycetseliot: ahh excellent!  Finally, I was starting to worry.17:47
tseliotBTW I'll write the wiki pages about the projects ASAP17:53
brycetseliot: excellent18:07
brycetjaalton: lool ran into that issue with xorg not starting up due to missing hal - http://pastebin.com/f750ebfb718:08
bryce#18:08
bryce(EE) config/hal: couldn't initialise context: (null) ((null))18:08
jcristauxorg starts up just fine when hal is missing, just with no input devices18:09
bryceokay...  ;-)18:09
brycejcristau: do we need a hal dependency added here somewhere?18:11
* bryce summons lool18:11
jcristausome X package should depend on (or recommend) hal, yeah. and the init scripts for the display managers should depend on hal being started.18:12
loolHi folks18:12
looljcristau: So when one installs gdm it pulls xorg and input-all and everything, but fails to start18:12
looljcristau: I think at some level we need to pull hal18:12
jcristauyup18:13
brycelool, <jcristau> some X package should depend on (or recommend) hal, yeah. and the init scripts for the display managers should depend on hal being started.18:13
looljcristau: Currently, in Debian and Ubuntu it will be pulled "externally" by /some/ metapackage18:13
looljcristau: Ok, good points18:13
jcristauxserver-xorg should be a good candidate for the hal Depends or Recommends.18:13
loolgdm.init looks like crap right now hmm18:14
loolI guess only the real server needs hal, not others like Xvfb right?18:14
brycelool, do you want to add to gdm?18:14
loolbryce: I'm not sure it's correct18:14
loolI don't think gdm has any knowledge of hal18:15
jcristaui don't think any server other than Xorg implements NewInputDeviceRequest18:15
looljcristau: Is this NewInputDeviceRequest in an input specific path, like e.g. evdev?18:15
loolIf that's the case we could add the dep on xserver-xorg-input-evdev instead18:16
jcristaulool: NewInputDeviceRequest is the DDX function that's called when hal tells the server about an input device18:17
* lool doesn't know what ddx is18:17
jcristaulool: each subdir of hw/ in the xorg-server tree18:18
looljcristau: I guess my question is rather, is the hal dependency specific to some input module which might not be on the xorg server, or is it really the binary requiring hal?18:18
brycejcristau: xserver-xorg looks like a good place to hang the dependency.  We already have -evdev listed there18:18
jcristauit's Xorg requiring hal to tell it what input devices are there18:18
loolI guess it's in the xorg-server source tree... then we should probably add the dep on the xorg-server indeed18:18
jcristaubryce: 19:13 < jcristau> xserver-xorg should be a good candidate for the hal Depends  or Recommends.18:19
jcristaubryce: looks like violent agreement :)18:19
loolI don't mind a recommends, if the server can work with other input devices than the hal provided ones18:19
brycejcristau: yes I'm agreeing with you ;-)18:19
jcristaulool: it can, but not with the default config18:19
loolPeople, I strongly agree with you too but we need to flame on smth18:19
bryceok, I'll put the change in18:19
looljcristau: Can it with autodetection of the config?18:19
loolI mean, without any xorg.conf?18:20
lool(My use case was no xorg.conf)18:20
jcristauwithout any xorg.conf, you don't get input devices if you don't have hal, i think18:20
loolhmm18:21
jcristaui guess whether it should be Depends or Recommends kinda depends whether apt will pull it in on upgrade if it's just Recommended18:22
loolIt does18:22
loolUnless configured not to -- not our problem18:22
jcristauok18:23
jcristauthen both work. i don't have a strong preference18:23
looljcristau: Ah stop18:23
looljcristau: vorlon tells me that apt doesn't do that18:23
loolI'm very confident that aptitude does, but it seems that's an aptitude extension18:24
loolSo Depends then?18:24
jcristaui guess so18:24
jcristauand 'Should-Start: hal' in gdm.init, or some such?18:25
loolYeah18:26
looljcristau: Hmm it has it already18:28
loolProbably not in Ubuntu though18:29
jcristauoh. good.18:29
jcristaui only have xdm installed here...18:30
loolbryce: http://launchpadlibrarian.net/19793798/buildlog_ubuntu-jaunty-powerpc.libgtk2-perl_1%3A1.190-1ubuntu1_FAILEDTOBUILD.txt.gz18:32
brycepowerpc :-o18:32
loolchroot needs cleanup18:32
jcristau/tmp/.X99-lock left around, i guess?18:33
loolActually was still running from previous build18:41
loolAnd using all CPU18:41
loolI think I ran into this once with missing bdeps, but don't recall how to reproduce18:42
loolAnyway, buildd admin fixed it for now18:42
loolIf someone reproduces he should fix xvfb-run to not use 100% CPU but die18:42
loolWhen the package is removed18:42
looljcristau, bryce: I added a depends on hal in Debian's gdm because of the should-start18:43
lool(in SVN)18:43
loolthanks all18:43
jcristaushould-start means 'start if available', it's not a dependency..18:43
brycelool, great :-)18:44
looljcristau: I think it should be one, shouldn't it?18:44
jcristauis the depends in xserver-xorg not enough?18:44
bryceand the xserver-xorg change is committed to git and uploaded to jaunty now.18:44
jcristaulool: not if gdm itself doesn't use hal, no18:44
loolHmm18:44
loolWe are listing hal here because we're leaking into gdm the fact that xorg server needs hal to work18:46
loolWe need to leak it because we care about representing that in init scripts and xorg server doesn't have an init script18:46
loolIf we leak that in the init script, we might as well be consistent and leak it in the deps18:46
jcristauyeah. but depending how it's configured, gdm might not even start an X server.18:46
loolTrue, so let's make it a recommends18:46
jcristauwhy? xserver-xorg will already have the Depends...18:47
loolWe should have a gdm-bin thingy like you have a split between meta and binaries18:47
jcristauthe init script says 'hey, i might start Xorg, and if i do it needs hal started'18:47
jcristaubut you don't need that leaking in the packaging, since Xorg can have deps of its own :)18:48
loolYeah, so the package deps might want to say "Hey, I might need xorg (recommends) and my init script will attempt to start hal because it's needed in most cases (recommends)"?18:49
loolBut I've reverted it18:49
loolI don't have a strong opinion on it, and I know we have too many deps18:49
loolCan't think of something that would break without the dep, so I don't need to care too much18:49
looljcristau: thanks for discussion18:49
tjaaltonbryce: the displayconfig-gtk change was added to the old changelog entry :)18:57
tjaaltonnot hugely important though18:59
tjaalton-gh18:59
bryceok19:09
tjaaltonbryce: fixed it in git20:21

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