/srv/irclogs.ubuntu.com/2009/10/06/#ubuntu-x.txt

lesshastebryce: are you about by any chance?10:58
Nglesshaste: it's still very early in the united states of bryce11:00
lesshasteNg: ah yes. Thanks11:00
mvohm, my X did restart in the middle of a jaunty->karmic upgrade 14:04
tjaaltonthat's bad :)14:08
tjaaltonreal hw or virtual?14:08
Ngisn't that usually gdm at work? I had that a few times while scott was changing upstart gdm stuff14:09
tjaaltoncould be14:09
apwanyone say what X needs to connect to acpid at boot for?14:15
jcristaunot much, iirc fedora disables that14:15
tjaaltonit doesn't14:16
tjaaltonright, it _does_ but shouldn't need to14:16
apwso it failing to connect should be non-fatal and uninteresting then?14:17
apwas it seems the new faster boot is triggering it to fail on some systems, cause acpid is not yet up14:17
tjaaltonhttp://cvs.fedoraproject.org/viewvc/devel/xorg-x11-server/xserver-1.6.0-less-acpi-brokenness.patch?revision=1.1&view=markup14:17
jcristauapw: yes, it's non-fatal and uninteresting14:18
apwmost exceelent ... thanks for the info14:18
tjaaltonright14:18
tjaaltonprobably worth getting that patch, and also not trying i810 on intel systems.. people are scared of the (EE) msgs on the logs ;)14:19
apwso acpid is not used to handle vt switching when KMS is _not_ enabled 14:20
jcristauno14:24
mvotjaalton: virtual (kvm), but still pretty scary14:27
* mvo tries to reproduce14:28
tjaaltonmvo: well, as Ng said it's likely gdm restarting14:29
jcristaucould be X crashing, could be gdm killing it, or could be the session exiting14:29
tjaaltonunless there's something in the logs14:29
mvotjaalton: yeah, I'm trying to find some traces, unfortunately the previous was done with kvm -snapshot (I wanted to test something different) so I need to reproduce it first to get to the logs14:31
=== tjaalton_ is now known as tjaalton
=== federico1 is now known as f_bbiab
=== jldugger is now known as pwnguin
brycetjaalton, what do you think of bug 444438?18:25
ubottuLaunchpad bug 444438 in fglrx-installer "FGLRX: Some settings files do not named rightly in fglrx driver (8.660) in Karamic Koala" [Undecided,New] https://launchpad.net/bugs/44443818:25
tjaaltonbryce: looks like the package was not installed properly for him18:36
tjaaltonie. interrupted or so18:36
brycehmm18:36
brycebug 440233 also seems to be same/similar18:37
ubottuLaunchpad bug 440233 in fglrx-installer "fglrx fails at startup because of missing amdpcsdb.default + removal leaves bad settings in Xorg.conf" [High,Triaged] https://launchpad.net/bugs/44023318:37
brycefglrx is working fine for me though18:37
bryceand I'd expect more bug reports if there was a real issue here18:37
tjaaltondpkg.log should tell18:38
superm1maybe something is happening on upgrade for them18:39
brycethe bug report starts with "After messing around with ATI graphics drivers all day..." so god only knows how they got into this situation18:40
tjaaltonhehe :)18:40
superm1well so what's the situation that normally causes files to be installed w/ a dpkg-dist extension?18:41
superm1there is logic in fglrx's preinst that is supposed to move the old files out of the way in the event they were modified at all so that the new ones can be properly installed18:42
superm1see xorg-driver-fglrx.preinst18:42
tjaaltonI think the package is unconfigured18:42
superm1if the package was unconfigured, there should have been larger problems though too shouldn't there?18:43
tjaaltonsure, but "messing around .. all day" reflects that ;)18:43
tjaaltons/but/and/18:44
bryceyeah that's what I'm thinking18:44
brycesuperm1, https://bugs.edge.launchpad.net/ubuntu/+source/fglrx-installer/+bug/440233/comments/318:46
ubottuLaunchpad bug 440233 in fglrx-installer "fglrx fails at startup because of missing amdpcsdb.default + removal leaves bad settings in Xorg.conf" [High,Triaged]18:46
superm1not on karmic, no18:46
superm1karmic has a prerelease, duh.18:47
bryceah right18:48
superm1the original bug in his situation would have been great to see though18:48
bryceok, I'm just going to close the bug as invalid; I'm reasonably convinced it's just a busted installation.  thanks18:52
lesshastebryce: hi.. are you about?19:41
lesshasteI am looking for a workaround for http://bugs.freedesktop.org/attachment.cgi?id=2259519:44
lesshastecan I add some mode lines to xorg.conf maybe?19:44
=== f_bbiab is now known as federico1
lesshastebryce: I am trying to find a workaround for http://bugs.freedesktop.org/attachment.cgi?id=2259521:01
lesshastebryce: I added a Mode line to xorg.conf but that didn't do it21:01
brycehuh?21:02
lesshastebryce: any ideas how to avoid the null pointer?21:02
lesshastebryce: I am suffering from the bug that that patch fixes21:02
lesshasteyou kindly triaged it for me on ubuntu launchpad21:02
lesshasteI was trying to see if I could workaround the bug easily by editing xorg.conf21:02
lesshastethe patch says "If the screen has no modes defined, can lead to a null pointer dereference in VidModeGetFirstModeline()."21:03
lesshasteso naively I was wondering if I could define some modes  to avoid it21:03
brycelesshaste, why not use the patch?21:03
lesshasteis this wrong/dumb?21:03
bryceprobably21:03
lesshastebryce: I am on intrepid and have never compiled X before21:03
lesshasteand there is no binary for intrepid21:03
bryceintrepid?21:03
lesshasteubuntu 8.1021:04
bryceI know what intrepid is21:04
lesshasteyou mean why not upgrade?21:04
lesshastedisk space problems at the moment21:04
bryceanyway no, other than applying the patch I do not know of another way to work around it.  You could try upgrading.21:04
lesshasteare there simple steps to apply the patch I could follow?21:05
bryceyes, ask on one of the support channels21:05
lesshasteah.. I sort of thought I was :)21:06
lesshastesorry to be dumb but the patch comment does imply that the problem is only caused by having no modes defined21:38
lesshasteis this in a different sense to the Mode line in xorg.conf?21:38
tormodlesshaste, can't you just try to make a mode line and you'll see?21:43
lesshastetormod: I did21:43
lesshasteit made no difference21:43
tormodwell there you go21:43
lesshastethis either implies a) that the patch is not relevant to my problem, or b) I don't know how to make a mode line or c) the comment in the patch is not correct21:44
tormodit says "the screen" but that does not have to be the screen you define in xorg.conf21:46
lesshastehttp://pastebin.com/f7a98aeb is my xorg.conf21:46
lesshastetormod: ok.. any more ideas?21:46
tormodI only looked at the patch, would be better if you linked to the bug report ;)21:47
tormodyour pastebin failed21:48
lesshastehttps://bugs.launchpad.net/bugs/44239521:48
ubottuLaunchpad bug 442395 in xserver-xorg-video-ati "X segfaults with radeon driver - VidModeGetFirstModeline" [Undecided,Confirmed]21:48
lesshastehttp://pastebin.ca/1599463 current xorg.conf21:49
tormodare you undocking a laptop?21:49
lesshastetormod: no21:49
lesshastejust trying to run just about any app :)21:50
lesshastewine also segfaults X 21:50
lesshastethis only started happening in the last month21:50
tormodand the patch does not work?21:50
tormodthe last month? on intrepid?21:50
lesshastetormod: I am still trying to apply it! 21:50
lesshasteyes21:51
lesshasteI am running dpkg-buildpackage -b21:51
lesshasteassuming that is the righ thing to do after having applied the patch21:51
tormodyeah that can take a good while21:51
tormodwell it sounds more like bug 30031021:52
ubottuLaunchpad bug 300310 in xorg-server "SDL applications crash X server" [High,Fix released] https://launchpad.net/bugs/30031021:52
lesshasteso I am thinking either it was an intrepid update (there have been quite a few) or it's my xorg.conf21:52
lesshastebut that looks so harmless21:52
lesshastetormod: ok. The backtrace I posted is almost identical to http://bugs.freedesktop.org/show_bug.cgi?id=19948 however21:53
ubottuFreedesktop bug 19948 in DDX/xorg "segfault in mode selection -- VidModeGetNumOfModes()" [Major,Resolved: duplicate]21:53
lesshasteand I should say that adding Option "DisableVidModeExtension"  does stop the segfault21:54
lesshasteit also stops wine working completely21:54
tormodwas there an xorg-server-core or -ati update in Intrepid?21:54
lesshastehow do I tell?21:54
tormodyou can look through /var/log/dpkg.log21:55
tormodor http://news.gmane.org/gmane.linux.ubuntu.devel.changes.intrepid/21:57
lesshastelooks like no relevant changes there recently21:58
lesshasteat least not by that name21:59
lesshasteok build finished22:00
lesshastehmm.. 22:00
lesshastewhat do I do know :)22:00
lesshasteI can't seem to see a .deb file22:00
lesshastes/know/now22:02
tormodit's quite irritating that you keep asking about the same things in many channels22:03
bryceheh22:06
lesshastebryce: I applied the patch and now I get this X Error of failed request:  XF86VidModeExtensionDisabled22:07
tormodlesshaste, and this is not because you have disabled it in xorg.conf as you wrote above?22:07
tormodlesshaste, it is considered impolite and against IRC rules to ask the same question in different channels (and to different people)22:08
lesshastesorry..22:09
lesshastemy current xorg.conf22:09
lesshastehttp://pastebin.com/f4e838e2622:09
tormodyou are stealing precious time from people who try to help you22:09
lesshastemy current Xorg.0.log http://pastebin.com/f39cf3d9e22:09
lesshastetormod: understood22:10
tormodlesshaste, I would try without an xorg.conf22:11
lesshastesame message without an xorg.conf22:13
lesshastejust now the resolution is lower :)22:13
tormodwhere is that message?22:13
lesshastehttp://pastebin.ca/159956022:14
lesshasteI am totally mystified22:16
lesshasteI applied the patch to xorg-server-1.5.222:16
lesshasteand it applied without error22:16
lesshastetormod: in the meantime my bug has been marked as  a duplicate of https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/30031022:18
ubottuLaunchpad bug 300310 in xorg-server "SDL applications crash X server" [High,Fix released]22:18
lesshasteso maybe the patch was just completely the wrong thing to apply?22:18
tormodlesshaste, no I think that's the same bug. identical stacktrace22:19
lesshasteok22:19
tormodyou don't get stacktrace any longer right? the patch worked22:19
lesshastethat's right. it stops the segfaults22:20
lesshasteIn a similar way to  the Option I mentioned early.22:21
lesshastebut it breaks the apps22:21
lesshastethe key question is why is the mode list returned empty?22:21
lesshastepScrn = xf86Screens[scrnIndex]; is the line I think that we need to understand22:22
lesshastexf86.h:extern ScrnInfoPtr *xf86Screens;/* List of pointers to ScrnInfoRecs */22:23
tormodbecause there is no screen at that exact time I guess22:26
tormodwith xrandr it is possible to turn off all screens22:26
brycetormod, btw looks like we're not going to get mesa 7.6 in karmic22:26
lesshasteis http://bugs.freedesktop.org/attachment.cgi?id=22595 exactly 157_check_null_modes.patch ? I can't see how to check that22:26
jcristaubryce: what about server 1.6.5?22:26
brycejcristau, well we had a FFe and everything for mesa, so if that was rejected I'm doubtful anything else is going to get in22:27
jcristauwell the server has far less changes, all bugfixes22:27
jcristaus/less/fewer/22:27
tormodbryce, well that sucks22:28
brycejcristau, I think pitti would advocate cherrypicking the fixes22:29
tormodso somebody does not trust upstream to make a proper release, and would rather ship an old git master snapshot?22:29
brycehe tends to be rather a stickler about not allowing changes that don't close high priority bug reports in LP22:30
brycetormod, that's the gist22:30
lesshastetormod: I have posted to the bug but I don't know if it will help. Any ideas from your end before I give up for the night?22:31
tormodlesshaste, which bug report?22:31
lesshastetormod: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/44239522:33
ubottuLaunchpad bug 442395 in xserver-xorg-video-ati "X segfaults with radeon driver - VidModeGetFirstModeline (dup-of: 300310)" [Undecided,Confirmed]22:33
ubottuLaunchpad bug 300310 in xorg-server "SDL applications crash X server" [High,Fix released]22:33
albert23lesshaste: Do you have package x11proto-xf86vidmode-dev installed in your build environment?22:37
lesshasteyes22:37
lesshastecan the X log shows (II) Loading extension XFree86-VidModeExtension22:38
lesshasteand the...22:38
tormodlesshaste, is avidemux an SDL app? run ldd /usr/bin/avidemux and look for libsdl something22:52

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