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

superm1bryce, this bug about keys getting "stuck", like eject, brightness, etc.  has it been accounted towards the kernel or X server, do you know?00:15
brycebug id?00:16
superm1lets see there's been a few.  00:16
superm1i know bug 273468 is one of them00:16
ubottuLaunchpad bug 273468 in ubuntu "No input after setting brightness on Dell Studio 1535" [Undecided,Confirmed] https://launchpad.net/bugs/27346800:16
superm1it causes gnome power manager to go crazy 00:17
superm1because the key is "stuck" 00:17
superm1and actually i think i just answered my own question; if i run "showkey" in a VT, i'm not seeing keyrelease events00:17
superm1kernel's fault then00:17
superm1wgrant, ^ that plays into that mess with gnome-power-manager right now00:18
bryceyeah sounds like an issue mdz was hot on with thinkpads the past few weeks00:18
superm1Bug 26172100:19
ubottuLaunchpad bug 261721 in linux "X never sees brightness key release events" [High,Triaged] https://launchpad.net/bugs/26172100:19
superm1that's sounding like the same thing too00:19
brycesuperm1: and yeah we ended up narrowing it down to being a kernel issue.  you could check with  him to see if the kernel folks made progress on it00:19
brycesuperm1: btw I've still been on that dithering bug00:19
brycesuperm1: I've been testing some patches for alex today to try to make it display correctly with no dithering required00:20
superm1bryce, I'd say don't put too much more at it at the current moment, the drivers are missing enough features still (read acceleration) that it won't be sufficient to use them for shipping at this time00:20
bryceunfortunately we've not gotten a confirmed patch yet, so may not be able to get this fixed in intrepid. 00:20
bryceok cool00:20
superm1so you priorities are probably better elsewhere atm00:21
bryceironically, the bug is much less noticeable with the new desktop image00:21
bryceok thanks for letting me know that.  yeah the bugs have been swarming lately...00:21
superm1suppose that's what happens when release gets close, more and more people get to testing00:23
bryceyeah00:40
bryceit gets to feel a bit like being a schoolteacher, with a zillion people asking about a zillion different things :-)00:41
wgrantsuperm1: rtg said he probably wouldn't get to it for a few weeks :(00:46
superm1wgrant, well that's not good.06:14
superm1wgrant, that means intrepid goes out the door broke with this..06:14
superm1and god knows if something is wrong with gpm's changes too that amplifies it06:14
superm1wgrant, do you by chance have a hardy kernel handy that you can try still?06:14
superm1to make sure the rest of the stack is in order06:14
wgrantsuperm1: I don't, no. But I'll have time to debug in about 24 hours.06:27
wgrantI need to work out how to convince g-p-m not to use XRandR to adjust brightness on this hardware.06:27
superm1i'm still at a loss why it's using xrandr to do such things06:28
wgrantI really don't want to see Intrepid broken like this, but I've lacked time over the past couple of weeks.06:28
superm1or at least trying to06:28
wgrantXRandR support brightness setting on lots of hardware.06:28
wgrantMy hardware appears to report that it's capable, so X tells g-p-m that it can do it.06:28
wgrantg-p-m's code quite deliberately prefers XRandR over HAL for this.06:28
superm1are there any hal settings that can be overridden?06:28
superm1to change the behavior06:29
superm1because pretty much any Dell will be affected06:29
wgrantNo, it's hardcoded in g-p-m that it will use XRandR if availab.e06:29
superm1the keys themselves will always emit either ACPI or SMI events06:29
wgrantIf I reverse that check, it uses HAL and things work much better.06:29
wgrantThis issue is not the key one.06:30
superm1what's the consequence of reversing the check?06:30
wgrantIt will prefer HAL brightness mechanisms over XRandR ones.06:30
superm1yeah, so is that really a bad thing?06:30
wgrantThe correct fix it to prevent XRandR from lieing about is abilities.06:30
wgrantI don't know if it will break on other laptops.06:30
superm1well in the event a time sensitive fix isn't found, you can just add a patch to check for dell06:31
superm1and if dell hardware, switch06:31
superm1if not then follow the normal code path06:31
wgrantI plan to poke in the X driver code over the weekend.06:32
elmargoltjaalton: ping07:54
crevettehello gents08:54
crevetteI have a flat screen for few days, and I wanted to give a try to hot plugging functionality, how I am supposed to be able to  detect it and use it ?08:56
crevetteI can see something wen I run xrander08:56
crevetteand I see it also when I run the xrander GNOME applet08:56
crevettepressing the switch screen button on my laptop doesn't do anything 08:57
wgrantcrevette: Select the screen, select a resolution, position it, click Apply?08:57
crevetteI pressed apply already but nothing changed08:58
crevetteIt is true that I didn't moved it08:58
crevetteI just moved it a few mm and pressing apply make a dialog on my laptop08:59
crevetteI'm checking it08:59
crevetteso it is necessary to mive a few the screen to make it works?08:59
crevetteis it a bug?08:59
crevettes/mive/move/09:00
crevetteI need to log out and in09:00
crevetteit's kind of work09:02
crevettethe resolution at GDM on my laptop is blurry09:02
crevetteonce logged in my sesssion I have the native resolution on my laptop but not on the screen09:03
crevettehowever I can see the panel on my laptop :)09:03
crevettecan't09:03
wgrantcrevette: Graphics card model?09:04
* crevette doesn't like to be so negative :)09:05
crevettelaptop: T61 with intel09:05
crevettescreen samsung SyncMaster 206 BW09:05
crevetteconnection through VGA09:05
crevettehumm xrander doesn't use the best resolution he can on my screen09:06
wgrantSet it manually in gnome-display-properties, then?09:07
crevetteyep I was search the name of this capplet :)09:07
crevettesearching09:07
crevetteI'm sure this resolution wasn't proposed first time I used it, just before I logged out09:08
crevetteokay trying again09:09
crevettesee you09:09
crevettethanks09:09
wgrantYou shouldn't need to restart...09:09
crevetteokay so I can see my mouse pointer on the screen, but no application can be moved over there09:14
crevetteand the resolution seems to be not the one I chose 09:15
crevettehow could I provide an useful bug report for that?09:15
elmargolis there no way to disable powermixer from the nvidia driver?09:15
elmargolThis anoying powersaving feature freezes my system09:15
crevetteshould I open it against ubuntu  or you'd prefer elsewhere09:16
crevettedesactivating the other screen works fine without having to log out 09:17
crevettebug gnome-display-properties crashed09:18
crevette:/09:18
mvotseliot: could you please have a look at #283905 ?10:07
tseliotmvo: sure10:08
tseliotmvo: it's a duplicate of https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/26181610:11
ubottuLaunchpad bug 261816 in linux-restricted-modules-envy-2.6.24 "nvidia: Multiple versions in DKMS" [Medium,In progress] 10:11
tjaaltonelmargol: yes?10:11
elmargoloh wrong nick sorry10:12
tjaaltonelmargol: np10:13
tseliotmvo: don't worry, this won't affect dist-upgrades to Intrepid10:13
elmargollooks like nvidia at 100mhz is to slow for kwin :/10:14
elmargolAlt Tab has about 10 fps10:15
elmargolSomehow the nvidia powermixer crashes my system. I have limited nv clock and memory clock to 100 mhz now10:16
elmargolMaybe this fixes my issues. tseliot if this works i add a comment to the open bugreport10:16
tseliotelmargol: ok, thanks10:17
elmargolIt is sad that there is no way to disable powermixer10:17
elmargolI googled about an hour today and there are a lot requests for this10:17
elmargolby default the linux nvidia drivers runs at the maximum performance mode10:18
elmargolIf you have are running at battery the mhz is limited to medium. if you run on AC there is no limit10:19
elmargolthere seems to be no way to control the fan10:20
elmargolmy GPU runs between 50 and 65°C10:20
elmargolThe fan starts at 66°C10:21
mvotseliot: thanks10:21
tseliotmvo: I'll backport the fix to Hardy10:21
mvoI want to add a safeguard in InputSection removal in update-manager, should I test for xserver-xorg-core >= 1.5 or is there a better way?11:08
tseliotmvo: yes, I guess that would be a good way to test it.xserver-xorg-core is epoch'd -> 2:1.511:23
mvotseliot: thanks, will add it11:24
james_wbug 284042: it sounds like we want this to go, should there be a transition for users?12:28
ubottuLaunchpad bug 284042 in xserver-xorg-video-unichrome "archive removal request: xserver-xorg-video-unichrome is uninstallable." [Undecided,New] https://launchpad.net/bugs/28404212:28
tseliotjames_w, mvo: about bug 284042, maybe we could migrate users from "via" to "vesa"?13:45
ubottuLaunchpad bug 284042 in xserver-xorg-video-unichrome "archive removal request: xserver-xorg-video-unichrome is uninstallable." [Undecided,New] https://launchpad.net/bugs/28404213:45
jcristautseliot: openchrome seems more appropriate13:48
tseliotjcristau: does it support all the graphics cards supported by unichrome?13:50
mvojcristau: does unicrome and opencrom cover the same cards? if so, we could solve it in the package with a symlink13:50
jcristautseliot: hopefully...13:50
tjaaltonopenchrome supports more13:50
jcristaumvo: symlink is not enough13:50
mvojcristau: what else is needed (sorry for my ignorance)13:51
mvo?13:51
jcristauwhen it loads module foo, the server looks for the fooModuleData symbol13:53
tseliotok then we can make "via" a transitional package and replace "via" with "openchrome" (or whatever it is) in the xorg.conf13:53
jcristautseliot: i'm doing the latter already13:53
tseliotjcristau: how?13:54
jcristau(and even adding this symbol is not always enough, for some reason. it fails for i810/intel)13:54
jcristautseliot: xserver-xorg.postinst13:54
tseliotok, let me have a look at the source13:55
jcristauhttp://git.debian.org/?p=pkg-xorg/debian/xorg.git;a=blob;f=debian/xserver-xorg.postinst.in;h=629291e210c0bffbf4bc3dffab8bcf0c446804a5;hb=refs/heads/debian-experimental#l95513:57
tseliotjcristau: what happens if "Device" is written in lowercase?13:57
jcristautseliot: you lose. don't do that. :)13:57
tjaaltonis it even valid?13:58
tseliotjcristau: I don't but yes, it's valid13:58
tseliotand I've seen a lot of xorg.conf files like that13:58
jcristaureally?13:58
tseliotyes, unfortunately13:58
jcristaui'm mostly interested in handling upgrades for the configs written by dexconf though..13:59
tseliotmvo: I guess we can do it with X-Kit and we already do with nvidia13:59
jcristautseliot: x-kit is Required?13:59
tseliotjcristau: I'm not blaming it on you. It's just that we have to deal with a lot of different xorg.conf files14:00
tseliotwhat do you mean by Required?14:00
tseliotinstalled by default?14:00
jcristauinstalled everywhere14:00
tseliotyes, in Ubuntu Intrepid14:00
tseliotit doesn't depend on anything else other than python14:01
tjaaltonno x-kit here :)14:01
tseliottjaalton: python-xkit14:01
jcristaui don't see why you'd do it there instead of in xserver-xorg, but meh14:01
tjaaltonPriority: optional14:01
tjaaltontseliot: lool already merged xorg, so we have the same logic in the postinst14:02
jcristautjaalton: i didn't mean required in a litteral sense. just depended on by x..14:02
tjaaltonjcristau: ah, ok14:02
tseliotjcristau: ah, then no, X doesn't depend on it14:03
tjaaltonjockey-common seems to depend on it, not x14:03
tseliottjaalton: right14:04
jcristauok, so x-kit has no business modifying xorg.conf automatically on upgrades. good. :)14:06
tseliotno, of course not ;)14:07
tseliotjcristau: we're using x-kit in Update Manager to migrate some users from "nvidia" to "nv" when the proprietary driver is not compatible with xorg, etc.14:10
jcristauok14:10
tjaaltonbtw, it's surprisingly common for people to not have -input-all installed (and possibly no evdev), so I think the server should depend on evdev now with input-hotplug14:10
tjaaltonor would xserver-xorg Depends: -input-all | -evdev | -ABI do?14:11
tseliotjcristau: about lowercase words in the postinst, is it to late to do something like this? "[dD]evice"14:13
tseliotinstead of "Device", I mean14:13
jcristaubah. i guess i can't do case-insensitive match in sed...14:14
tseliotjcristau: try this: echo device | sed 's/[dD]/T/'14:15
tseliotit works14:15
jcristauyes. but, you still don't match "DeViCe" :)14:16
jcristauanyway i guess Device/device would be good enough14:16
jcristaushould i do the same for Driver?14:16
tseliotyes14:16
jcristau'Section'?14:16
tseliotyep14:16
jcristauok, thanks14:17
tseliotjcristau: I know this is ugly but try this: echo deViCe | sed 's/[dD][eE][vV][iI][cC][eE]/Device/'14:18
jcristauyeah. i don't want to do that :)14:18
tseliot(just for fun)14:18
tseliot:-P14:18
tseliottjaalton, jcristau: jokes aside now, are you going to make xserver-xorg-video-unichrome a transitional package?14:23
jcristaui've never shipped -unichrome, so no14:24
tjaaltonit should be just dropped14:25
jcristauabout via, i'm not sure14:25
tseliottjaalton: ah, right, openchrome is installed by default14:26
jcristauhopefully the package manager will get -all installed if you only had -via or -unichrome, but...14:27
tseliotok14:28
jcristauhas anyone done some upgrade testing for this?14:28
tjaaltonnot me14:30
tseliotmaybe mvo? ^^14:32
jcristautjaalton: evdev in master shouldn't crash with joysticks anymore, you'll want to cherry-pick 7243116f14:51
tjaaltonjcristau: thanks14:52
jcristau(it's the patch i suggested yesterday ;) )14:53
mvovia and -openchrome>  why not add a transitional package to be certain that people get the right driver?14:54
jcristaumvo: sounds reasonable to me14:55
mvoexcellent14:56
brycewgrant: do you know what the deal is with bug 281308?  It almost sounds like it may be a user issue rather than a real bug, but it's unclear.  Ideas?19:19
ubottuLaunchpad bug 281308 in xorg "xserver-xorg-input being removed on upgrade" [High,Confirmed] https://launchpad.net/bugs/28130819:19
tseliotbryce, mvo: FYI I have attached Aaron's patch for Compiz: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/26990420:14
ubottuLaunchpad bug 269904 in nvidia-graphics-drivers-177 "Screen refresh problems with nvidia on intrepid" [Medium,Confirmed] 20:14
brycetseliot: okay thanks, I'll review it20:16
brycehmm20:17
tseliotok20:17
brycethere's a realloc and some changes from single val to arrays, both of which raise some risk of memory errors20:20
bryceI'll comment on the bug20:20
tseliotok, great20:33
bryceI think this one will need to be mvo's call20:34
tseliotbryce: BTW do you know where I can find the prototypes of the functions of randr?20:34
bryceyeah20:34
tseliote.g. GetCrtcInfo()20:35
jcristautseliot: <X11/extensions/Xrandr.h>20:35
brycepackage should be libxrandr-dev20:35
tseliotok, thanks20:36
wgrantbryce: I'm not sure I know of all of the issue - there might be other circumstances in which it happens than the one I caused.21:06
brycewgrant: ideas on what we could do to resolve it?  anything I could do to help?21:07
wgrantbryce: The main issue is that users are stupid.21:08
wgrantWe just don't stop them from letting apt-get remove half of their system, and I don't think we should.21:08
wgrantI believe that the main issue was a few hours a week ago during the XInput property transition where apt-get would have wanted to remove most of GNOME, evdev, and synaptics, but there might be other cases21:09
brycewgrant: yeah that's how it sounded to me too21:11
brycewgrant: okay I'm going to drop it as a release-critical bug.  21:12
wgrantWe maybe could make the dist-upgrader make sure that at least evdev is installed.21:13
brycepossibly yeah21:14
bryceideally, I'd like to see someone reproduce the issue from scratch in a plain vanilla hardy->intrepid upgrade21:14
wgrantIt's not possible.21:15
wgrantWell, unless they have some strange packages.21:15
wgrantThe whole stack is installable now, so it won't try to remove things.21:15
wgrantThe only Hardy->Intrepid upgrades it hit were during that 3 hours + mirror lag, AFAICT.21:15
millibryce: I'm told to come here and ask you about rolling to ver 1.2.3 of xserver-xorg-video-radeonhd at this point.21:17
millifor 3D support (XVideo, yeah!) on recent ATI chipsets21:17
jcristaumilli: use radeon21:17
millijcristau: no worky on R500 / R600 based chipsets21:18
millie.g. M56 (what I have)21:18
jcristaumilli: that's not true21:18
millia.k.a. X140021:18
millireally?21:18
milliwhen did that change?21:19
jcristau6.9 iirc21:19
jcristauwgrant: we got reports of aptitude removing most of X on upgrades from etch to lenny, although stuff is installable, i have no idea why.  apt-get does better...21:19
wgrantjcristau: How odd.21:19
* milli stands corrected21:20
superm1bryce, it appears to work correctly without that library.  it's gonna take some nasty packaging hacks to make it build right though21:22
superm1i'll fsck with it a bit 21:22
brycewgrant: thanks again.  release task on 281308 is closed21:52
wgrantbryce: Great! I should probably sort out my RC bugs soon.21:53
bryceyep21:54
wgrantFirst time I've had any.21:55
brycecjwatson says if we don't think we'll be able to get to the task by intrepid, that we should drop the release task.  to do that, mark it wontfix, and that will reopen the main task21:56
wgrantThe one that I have right now is quite doable (I have a patch, and I think it makes the logic more correct). And I think I was one of the few who knew about that LP task quirk.21:57
wgrantIt really could be documented better.21:57
brycewgrant: yep22:44
wgrantsuperm1: Seen Redhat bug #444440?22:54
ubottuError: Launchpad bug 444440 could not be found22:54
wgrantFedora bug #44444022:54
ubottuError: Launchpad bug 444440 could not be found22:54
wgrantStupid ubottu.22:54
wgrantAls, LP bug #271706.22:55
ubottuLaunchpad bug 271706 in linux "Volume control wheel on laptop is sticking in ubuntu" [Undecided,Confirmed] https://launchpad.net/bugs/27170622:55

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