/srv/irclogs.ubuntu.com/2009/07/07/#ubuntu-x.txt

=== zorael__ is now known as Zorael
Sarvattahhh crap, video ABI bump in xserver master now :(01:50
bryceerf01:50
Sarvatt"These old interfaces are no longer supported by the server, removing them requires bumping the video driver ABI. Note that this is not guaranteed to be the last change in ABI version 6. "01:50
Sarvattthats where I switch back to using server 1.6 branch/edgers methinks :D01:53
Sarvattlooks like theres a cleaner fix for the fbdev problem now too http://cgit.freedesktop.org/xorg/xserver/commit/?id=43ee8d2ead862f84a4526a472519663ef27a8d6a01:55
brycehrm01:58
Sarvattdid you get those messages about the nvidia and fglrx patches bryce?01:59
Sarvattwe cant use it that way, when you have a default xorg.conf it does walk the table from that list and only tries the first thing in there01:59
Sarvattso when i boot with the patches applied and the default xorg.conf from now, it only tries fglrx or nvidia and gives up02:00
Sarvattguess we could delete xorg.conf on upgrade if it matches a default's hash, but the people that edit it and dont explicitly add a driver to the device section will still fail02:01
bryceSarvatt, no, which patches?02:02
bryceoh those patches02:02
Sarvattthe 104 and 105 patches we just added that change around the device tables in xf86AutoConfig.c02:02
bryceheh, well good we tested them only in xorg-edgers02:02
Sarvattyup lol02:02
bryceyeah I was wondering at the time if it would mis-interact with when xorg.conf was present02:03
Sarvatti only noticed because i was setting up an ibook to play with radeon KMS02:03
bryceno, deleting xorg.conf would be an ugly kludge.  this needs to work properly in both cases.02:03
Sarvatttjaalton was saying it didnt use those tables at all if there was an xorg.conf but its pretty clear it does after testing it since its trying to load fglrx and failing, I am no programmer so I couldnt just follow the source to see what happens02:04
bryceyeah there's a different code path for both cases02:05
Sarvattmaybe if theres no pci ids folder defined its different is all I can think of02:05
Sarvattwe could maybe add more placeholder definitions to xorg.conf so it tries more than one entry?02:07
Sarvatti didnt test that yet02:07
Sarvattif theres anything you'd like me to test just let me know, i left the patches on my powerpc machine's xserver so i could test potential fixes out easier02:08
RAOFSarvatt: Hurray!  More fglrx & nvidia pain with ABI changes?02:10
Sarvattyup! fun!02:10
Sarvatti'm switching to server 1.6 branch on all my machines now :D02:10
RAOFThinking of which, libdrm is updated in git to get us a Karmic nouveau update.02:11
Sarvattlibdrm doesnt compile right now if you are thinking about pulling upstream git02:11
RAOFI'm not; I'm talking about the ubuntu branch of libdrm.git on alioth.02:13
RAOF2.4.11 + the 4 git commits needed to support the 0.0.14 nouveau interface.02:14
Sarvattyeah i was just saying that incase you were because libdrm-radeon1 would be nice to have at some point with KMS being enabled in karmic now, but thats not really important because it also requires mesa 7.6 which wont be in karmic anytime soon02:14
RAOFAnd radeon KMS isn't enabled by default again now.02:14
brycedinner... bbs02:14
RAOFMmm.  nouveau has lost the last of it's non-randr12 codepath.02:16
tjaaltonSarvatt: meh, not good06:54
popeybryce: any chance you could please take a look at bug 393510 for me, I'm trying to figure out if it is indeed an xorg or kernel issue, and if it's xorg, would a gdb debug be helpful?10:26
ubottuLaunchpad bug 393510 in xserver-xorg-video-intel "X crashes when I touch the mouse pad" [Undecided,New] https://launchpad.net/bugs/39351010:26
tjaaltonpopey: get a backtrace with gdb to see where it breaks10:31
popeydoing that now10:31
popeyis it good enough to get the "easy" one from apport?10:31
popeyhttps://wiki.ubuntu.com/X/Backtracing as per the top of that page?10:31
tjaaltonnever done that.. it depends on the output ;)10:32
tjaaltonif it's useful or not10:32
popeyok, will do the gdb way then10:32
popeyI know that works :)10:32
tjaaltonyeah10:32
popeythanks10:32
popeylibgl1-mesa-dri-dbg looks just like libg11-mesa-dri-dbg on my screen 10:33
popeyl/110:33
tjaaltonthat's probably not needed10:33
brycepopey, when you say "system crash" do you mean that X "freezes"?10:33
popeybryce: yes, x goes nuts with the display panel blinking madly10:34
brycepopey, looking at your logs I'm not seeing any of the normal stuff that suggests a crash10:34
popeymaybe crash isn't the word, x becomes unusable10:34
bryceok, gdb may not be useful in this case (but continue collecting it if it's not too hard, you never know)10:34
popeyblack screen with flickering and "interference" at the top10:34
popeyok, will do10:34
bryceok sounds more like a freeze-with-corruption.  standby10:34
popeyi note lots of spurious keys coming from the mouse pad10:35
popeyin dmesg10:35
brycehttps://wiki.ubuntu.com/X/Troubleshooting/Freeze has some general tips for debugging freezes10:35
popeythanks10:35
brycepopey, ok attach your dmesg to the bug report that shows those spurious keys10:35
popeyhttp://launchpadlibrarian.net/28629975/dmesg.txt10:36
brycepopey, also, a lot of freeze bugs got resolved in going to karmic, so it would be REALLY useful if you could boot the karmic live cd (or upgrade) and see if that resolves the problem10:36
popeywould you recommend an alpha bryce or a daily build?10:37
brycetjaalton, do you have any clues on those key press errors?10:37
bryce[  893.052606] atkbd.c: Unknown key pressed (raw set 2, code 0x8 on isa0060/serio0).10:37
bryce[  893.052613] atkbd.c: Use 'setkeycodes 08 <keycode>' to make it known.10:37
bryce[  893.054005] atkbd.c: Unknown key pressed (raw set 2, code 0x0 on isa0060/serio0).10:37
bryce[  893.054011] atkbd.c: Use 'setkeycodes 00 <keycode>' to make it known.10:37
popeythats coming from the mouse10:37
brycepopey, for intel graphics, Alpha-2 was really solid10:37
popeyok, will try that10:37
popeythanks for the help, it's appreciated. It's for a machine that a friend of mine (the guy who filed the bug) is rebuilding for a woman whose son got the windows install infected 10:38
brycepopey, *nod*10:39
brycepopey, for what it's worth, Jaunty with Intel graphics kind of ended up sucking pretty bad10:39
popeyyeah, i have an intel laptop myself :(10:39
brycepopey, either Jaunty or Karmic Alpha-2 are probably better choices if you go with a default install10:39
popeyam now on karmic, which is a much more pleasant place for many reasons10:39
brycepopey, Jaunty can often be improved a lot by reverting to 2.4 or upgrading using xorg-edgers10:40
bryceer, "either Intrepid or Karmic Alpha-2..."10:40
popeykarmic looking to fix the jaunty issues?10:40
bryceyep10:41
brycekarmic seems to be extraordinarily solid for intel graphics10:41
popeygood good10:41
tjaaltonbryce: nope, doesn't ring a bell10:41
popeythe way it should be :)10:41
bryce:-)10:41
popeyhaha, typical, can't get the damn thing to crash now :)11:01
Ngkarmic is indeed splendiforously wonderful on my 965 :)11:03
Nghope it's the same on my new G45 ;)11:03
tjaaltonpopey: do you still need those options for the kernel?11:05
popeytjaalton: i will try without, but the internal keyboard seems wired up strangely11:07
popeyok, this is odd, the only thing that has changed (other than updates for 9.04 today) is its now not plugged into the mains11:07
tjaaltonpopey: ah, so you can't make it crash with 9.04 now?11:10
popeynot at the moment11:10
tjaaltonk..11:10
popeywhich is a little frustrating11:10
popeyrunning x under gdb shouldn't change the behaviour should it?11:11
tjaaltonshouldn't11:11
Ngbut it will :)11:17
popeyi have removed all the kernel boot options, and rebooted, no issues at all11:47
popeyi can only imagine that the latest kernel update fixed this. could someone set that bug to fix released?11:48
tjaaltonok, done :)11:51
=== mdeslaur_ is now known as mdeslaur
=== osihuh is now known as virtuald
=== albert231 is now known as albert23
Duke`strange... during my last boot, DRM failed to open the gfx card (i945GM)19:08
Sarvattso you have no drm now, or rebooting again fixed it?19:09
Sarvatterr no dri, sorry19:09
Duke`no dri... I rebooted and it loaded fine, this time19:13
Duke`like a random bug19:14
Duke`hardware not ready on time, or dunno what... :p19:14
brycemorning19:16
Sarvattmorning bryce19:26
bdmurraybryce: bug 395700 has a patch you might be interested in19:48
ubottuLaunchpad bug 395700 in libdrm "Update libdrm-nouveau for 0.0.14 drm interface" [Medium,Triaged] https://launchpad.net/bugs/39570019:48
brycebdmurray, cool thanks19:49
SarvattRAOF already added it to libdrm on origin/ubuntu on debian git19:54
Sarvattshouldnt dh_makeshlibs -plibdrm-nouveau1 -V'libdrm-nouveau1 (>= 2.4.5)' -- -c4 be updated as well with that?19:56
Sarvattman i really need to sit down and read up more on lib packaging19:57
bryceyeah no clue19:59
Sarvattnew symbols were added so i imagine it should be bumped to 2.4.1120:01
tjaaltonyes20:02
tormodsarvatt: no mouse/touchpad (yay for assistive technologies like numpad mousing)20:37
=== ripps_ is now known as ripps
Sarvattlol someone just mentioned xserver-xorg-input-all not getting pulled in in #ubuntu-devel too20:38
tormodso the stock live CD is also broken?20:39
Sarvatti just chrooted into the livecd and theres no input packages besides evdev20:39
tormodif you reroll the iso, consider removing usplash also20:40
Sarvattyep no xserver-xorg-input-all package installed20:40
Sarvattand i dont see why that is because its a depends  in the xorg metapackage20:41
tormodis xorg installed? :)20:41
Sarvattyes20:41
* tormod tries to resize the pidgin window using the keyboard20:42
Sarvattoh i have source for  1:7.4+3ubuntu3, lets see if its in 3ubuntu4 thats broken20:43
Sarvattnevermind it is 3ubuntu4 that i have20:43
tjaaltonjcristau: ^^, xserver-xorg depends on -evdev first, then -input-all | -input-4, meaning that by installing -evdev the latter dependency is already satisfied, thus -input-all won't get installed20:45
Sarvatt xserver-xorg-input-all | xserver-xorg-input-4,20:45
Sarvatt^^ what he said :D20:46
tjaalton-evdev should be moved after -input-all | -input-420:47
Sarvattso i'll just add xserver-xorg-input-all to the build script tormod20:47
tjaaltonit was like that in jaunty20:47
* jbarnes wonders why pulseaudio periodically makes a "bump" sound20:48
tjaaltonjbarnes: it turns off the amp20:48
SarvattHDA power savings probably20:48
jbarneshappens every few minutes though, it's not just a one time thing20:48
jbarnesmaybe hda and pulse are fighting.. hda turns off the amp, pulse later turns it back on20:49
Sarvattjbarnes remove the powersave line from snd-hda-intel in /etc/modprobe.d/alsa-base.conf20:49
jbarnescool I'll try that20:51
* tormod found an old usb mouse20:57
Sarvattwhy not just install xserver-xorg-input-all tormod?20:58
tormodwhat can I do to make X (re)discover the touchpad after install it?20:58
Sarvattsudo rmmod psmouse && sudo modprobe psmouse20:58
tormodthanks20:58
tormodSarvatt, that worked! rocking20:59
* tormod throws mouse away20:59
Sarvattdarn, cant reuse the DELPACKAGES env variable stuff without wiping edit/ since it fails doing the apt-get purge openoffice* that is already deleted20:59
Sarvattso no usplash purge this cd, but input is installed :D21:00
Sarvattshould purge the brltty junk and printing/scanning support to save another 100MB off the iso size really :D21:05
Sarvattbut people might actually try to install off the cd and ubuntu-desktop would be gone that way, dunno how that would work21:06
Sarvattwow, mozilla/chromium updates seem to be getting worse every day - Estimated build start:  in 7 hours21:10
Sarvatttormod: uploading the new cd now -- http://sarvatt.com/downloads/xorg-edgers-0.16-i386.iso21:12
Sarvattack no wonder theres a 7 hour wait -- https://edge.launchpad.net/builders/21:14
Ngman, first X crash on new laptop :(21:28
Ngnothing in logs, not even a segfault notice in dmesg21:28
RAOFtjaalton: Re the dh_makeshlibs above - Aren't the correct versioned dependencies generated by the versioning on the symbols in libdrm-nouveau1.symbols?  If not, why does that file exist?22:26
jcristautjaalton: can you either file a bug, or commit the change yourself?  that way i don't have to keep track.22:28
tjaaltonjcristau: I can commit it myself22:29
tjaaltonRAOF: the symbols file is used to remind the packager to bump the shlibs :)22:31
jcristaui don't know how the various package managers resolve dependencies, so if you think changing the ordering works, then go for it22:31
tjaaltonit used to be like that in jaunty22:31
tjaaltonand I remember changing it in December or so22:31
tjaaltonah, it was in February.. it's a mystery why I didn't push it to debian back then22:35
Sarvattanyone know a way to parse a large number of bootchart logs and make a graph of overall boot times out of it?22:41
=== RAOF__ is now known as RAOF
Sarvatthooo boy, its going to be fun figuring out how to reencode all audio output to an ac3 stream to switch my htpc to linux. i dont even know where to start with that one23:25
Sarvattsorry, didnt mean to say that in here, silly irc client switching where it sends when someone disconnects23:26
jbarnesSarvatt: the new sound blasters can do that in hw23:26
Sarvattyeah i'm gonna have to look into getting something with dolby digital live built in and hope it works in linux i guess :D23:27
jbarnesthe sound blaster I have works ok with linux23:27
jbarnesthough the fancy stuff like ac3 transcode aren't supported yet I think (though I havne't looked too hard)23:27
Sarvatti'm guessing i can do it with pulseaudio, or just force it somehow in xbmc.. in windows i do it through ffmpeg so i imagine i can do it in linux too23:29
Sarvattahhah mplayer -ao alsa:device=iec958 -ac hwac3 <file>23:30
jbarnescool23:31
jbarnesI just have my amp do it for stereo streams23:31
jbarnesmy new amp can do quite a few fancy things with non-7.1 streams23:31

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