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

Sarvattnice, gnome display properties shows display names instead of just "Unknown" under KMS now00:11
virtualdi activate changes in display properties no more00:18
virtualdcan't00:18
virtualdwith radeon-kms ppa00:18
virtualdMethod "ApplyConfiguration" with signature "" on interface "org.gnome.SettingsDaemon.XRANDR" doesn't exist00:19
Sarvattdoes xrandr say anything when you run it in terminal?00:21
virtualdit works normally i think00:21
virtualdxrandr --output DVI-0 --auto set my resolution to 1600x1200 as it should00:21
Sarvatttry sudo apt-get update && sudo apt-get instal gnome-desktop on the livecd?00:23
Sarvattinstall rather00:23
Sarvatthttps://lists.ubuntu.com/archives//karmic-changes/2009-June/002780.html00:24
Sarvattoh sorry, its gnome-desktop-data00:25
Sarvatt10 minutes left on the nouveau KMS livecd upload00:27
virtualdo.o00:27
Sarvatthttp://sarvatt.com/downloads/xorg-edgers-0.10-nouveaukms-i386.iso00:59
=== jldugger_ is now known as pwnguin
=== jldugger is now known as pwnguin
Sarvattradeon KMS merged in linux-2.6 :)06:58
crevettehey Sarvatt 07:48
crevettethanks for the reply on https://bugs.edge.launchpad.net/bugs/388032 the method I used is described in the wiki KMS page07:49
ubottuLaunchpad bug 388032 in xserver-xorg-video-intel "[KMS] no display with KMS enabled" [Undecided,New]07:49
Sarvattheyo crevette, ahh thats you?08:54
crevetteyep08:54
crevettestill up?08:54
Sarvattyep, i should have looked at your logs more last night, thats a really common problem right now :D we need that bad-fbdev-thats-mine patch for xserver or else everyone using KMS without an xorg.conf has that problem :(08:56
Sarvattactually i'll just put it up for karmic with that patch on edgers, dunno why i didnt do that08:58
crevetteSarvatt, I don't know why re you refering to jaunty in https://bugs.edge.launchpad.net/ubuntu/+source/xorg/+bug/388032/comments/409:01
ubottuLaunchpad bug 388032 in xorg-server "[KMS] no display with KMS enabled (intel)" [Unknown,Confirmed]09:01
crevetteI'm using karmic09:01
Sarvattyeah I apologized for that right after09:01
crevette:)09:01
crevetteno problemo09:01
crevetteI was just confused after; so can I use the i915.modeset=1 on karmic? becasue I don't want to have it loaded automcatically now, as my laptop is also used by my wife. 09:02
Sarvatttry adding what I said to /etc/X11/xorg.conf, you might be able to going by your logs.09:07
Sarvattany luck?09:14
crevette_Sarvatt, were you talking to me?09:14
Sarvattyeah09:14
crevette_sorry I've been disconnected, I can test that tonight once I back to home09:14
Sarvatt<Sarvatt> try adding what I said to /etc/X11/xorg.conf, you might be able to going by your logs.09:15
Sarvattah alrighty09:15
crevette_I'm09:15
Sarvattoh boy, libdrm-radeon1 added to mesa/drm master now, i'll leave packaging that till tomorrow so I dont screw something up due to lack of sleep :)09:21
=== seb128_ is now known as seb128
tjaaltonyeah, the -9 kernel is a disaster :/10:14
tjaaltoncompared to -8 at least10:15
Ngfor what?10:16
tjaaltonNg: blank screen after a while10:18
tjaaltonintel & kms10:18
Ngtjaalton: like a dpms off screensaver event you can cancel with input?10:19
tjaaltonNg: right, but in this case I can't10:21
tjaaltondid you have the same?10:22
NgI've had recoverable, erroneous dpms off events since I installed karmic, and I've had a couple of unrecoverable dpms events which co-incided with suspend/resume since yesterday (which happened to be when I rebooted to get -9, but someone else saw very similar OOPses with -8)10:25
NgI suspect this might be several bugs looking the same, dpms events shouldn't be related to kernel oopses, I would have thought10:25
Sarvatttjaalton: are you on karmic?10:47
tjaaltonSarvatt: yep10:47
tjaaltonno problems with -810:47
Sarvattgnome-power-manager is horrible about dpms handling right now, there are some fixes upstream not in ours yet10:47
Sarvattah10:48
Sarvattlets see what was changed between rc8 and release then, hmm10:50
Ngyeah we need gpm 2.27.2 afaik10:50
Ngbut I've not wanted to waste seb's time asking about it, I'm quite sure he has a plan10:51
Sarvatthttp://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c9fb15f60eb517c958dec64dca9357bf62bf220110:51
Sarvatti've got a deb here of gpm 2.27.2 if you just want to test it out https://edge.launchpad.net/~sarvatt/+archive/ppa/+sourcepub/654048/+listing-archive-extra10:52
tjaaltonok thanks10:53
Ngaha10:54
Sarvattthat commit was between -8 and -9, looks like that might be where the problems coming from10:54
Ngtalking of gpm, is anyone else seeing a very default gnome looking icon for it?10:58
tjaaltonthe battery with blue on it?10:59
Ngyeah10:59
Ngit doesn't look like the icon in jaunty, it looks more like a default gnome icon would10:59
tjaaltonmaybe the name got changed11:00
Sarvatti saw something about that in the changelogs i think, patch that changed it didnt apply on the new ones or something11:00
Ngalthough with the sarvatt package I just installed, the icon is /!\ ;)11:00
NgI think because it doesn't understand the state my battery is in. it's not full, but not charging and gpm is telling me it's confused11:00
Sarvattdid you restart gpm?11:01
Ngyeap11:03
Sarvatt  * Drop 04-battery-low-icon-change.patch; it does not apply at all any more,11:03
Sarvatt    and wasn't sent upstream.  Icons for 2.26 changed a lot, thus this needs11:03
Sarvatt    some more work anyway. This reopens LP #344886 for Karmic.11:03
ubottuLaunchpad bug 344886 in gnome-power-manager ""Battery low" notification displays wrong icon, when Human theme is selected" [Undecided,Fix released] https://launchpad.net/bugs/34488611:03
NgTI:11:03:42TH:0x1afcd00FI:gpm-devicekit.cFN:gpm_devicekit_get_object_icon,161 - nothing matched, falling back to default icon11:04
Sarvattthats what i was thinking of, maybe it wasnt all of the icons11:04
Ngwhich may be related to:11:04
NgTI:11:03:42TH:0x1afcd00FI:gpm-devicekit.cFN:gpm_devicekit_get_object_summary,275 - in an undefined state we are not charging or discharging and the batteries are also not charged11:04
Sarvatthttp://git.gnome.org/cgit/gnome-power-manager/commit/?id=651cd63cfd5e1d47bd9c625a904d57e74428429211:05
Sarvatt(post 2.27.1 change)11:05
Sarvatthopefully they fix that before the 2.27.2 release11:07
Nghuh11:13
=== crevette_ is now known as crevette
tjaaltonSarvatt: the new gpm didn't help, it froze just the same15:50
crevetteis there a way to generate a xorg.conf from the running X configuration for someone without xorg.conf?18:31
brycejbarnes: https://bugs.freedesktop.org/show_bug.cgi?id=22336 seems fairly serious.  Mind taking a look when you get a chance?  Maybe there's already a patch somewhere for that.18:36
ubottuFreedesktop bug 22336 in Driver/intel "[i965] GPU hang in i915_gem_retire_work_handler() / finish_task_switch()" [Critical,New]18:36
Ngaha, that looks like it might be a dupe of the one I filed yesterday18:36
jbarnesbryce: yeah that might be a dupe of the vblank sync bug18:37
Ng(but I'd dupe mine to mdz's, since he's way better at it than me ;)18:37
jbarneswhen we turn off a display there's a chance we'll hang18:37
jbarnesyeah looks related18:38
Ngthat would match with what I've seen, all of the hangs have been related to screensaver/dpms type events18:38
halflinecrevette: it puts the xorg.conf in /var/log/Xorg.0.log18:46
crevettehalfline, hey halfline, what are you doing on ubuntu chan ? :thanks for the tips18:48
halflineSPYING18:49
crevettetsss18:49
crevette:)18:49
crevetteactually mclasen is idling on #ubuntu-desktop :)18:49
* halfline sees federico1 here too18:50
crevetteSarvatt, the fix you adviced in the bug https://bugs.edge.launchpad.net/bugs/388032 fixed the problem18:50
ubottuLaunchpad bug 388032 in xorg-server "[KMS] no display with KMS enabled (intel)" [Unknown,Confirmed]18:50
federico1halfline: hey18:52
brycejbarnes: regarding the vblank sync bug, we pulled in 120_fix_dri2_vblank_syncing_segfault.patch (commit b8e360bf2b77d28559d15a7c0f9c766848eb6ced) to fix that one, which iirc listed a backtrace in Xorg.0.log.  This one is a bit different in that it oops in dmesg.  But is there another patch we need for the vblank bug?20:05
brycejbarnes: I poked around on fdo but didn't spot an obvious open or closed vblank bug that matches these reports; do you have a bug id or patch I should look at?20:10
tjaaltonSarvatt thinks it's because of this change that got in after 2.6.30 rc8 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c9fb15f60eb517c958dec64dca9357bf62bf220120:13
tjaalton-8 works fine, -9 doesn't20:13
tjaaltonat least on my box20:13
jbarnestjaalton: turning of the pipes & plls would cause the vblank counter to stop20:14
jbarnesso would leave us open to hangs related to vblank waits (as is done in xv and dri2 now)20:14
jbarnesbryce: lemme see...20:14
tjaaltonjbarnes: ok..20:15
jbarnesbryce: I was thinking of this one: https://bugs.freedesktop.org/show_bug.cgi?id=2231820:15
ubottuFreedesktop bug 22318 in Driver/intel "kernel oops when laptop screen is switched off" [Normal,Reopened]20:15
brycejbarnes: yeah... anholt unduped it though20:16
tjaaltonhmm, maybe I should try to get a dump20:16
jbarnesbryce: yeah saw that... I'm just guessing it's related to the vblank stuff20:17
jbarnesit may not be20:17
jbarnes--- a/src/i830_dri.c20:17
jbarnes+++ b/src/i830_dri.c20:17
jbarnes@@ -299,7 +299,7 @@ I830DRI2CopyRegion(DrawablePtr pDraw, RegionPtr pRegion,20:17
jbarnes     ValidateGC(dst, pGC);20:17
jbarnes 20:17
jbarnes     /* Wait for the scanline to be outside the region to be copied */20:17
jbarnes-    if (pixmap_is_scanout(get_drawable_pixmap(dst))) {20:18
jbarnes+    if (pixmap_is_scanout(get_drawable_pixmap(dst)) && 0) {20:18
jbarnes        BoxPtr box;20:18
jbarnes        BoxRec crtcbox;20:18
jbarnes        int y1, y2;20:18
jbarnesif it's a vblank wait causing the hang that patch would prevent it20:18
brycejbarnes: btw we now have an apport script to collect all this stuff on freezes - https://bugs.edge.launchpad.net/ubuntu/+source/xorg/+bug/388467 - now we just need something in X to trigger it when the gpu hangs and we'll be golden20:18
ubottuLaunchpad bug 388467 in xorg "apport script to collect information about a gpu hang" [Wishlist,Triaged]20:18
jbarnesyay20:18
brycealthough it seems every time we find a freeze anholt comes up with a unique new way to collect debug info :-P20:19
Ngis intel-gpu-dump somewhere nicer than a git tree I have to compile? ;)20:35
tjaaltonapt-get away20:36
tjaaltonintel-gpu-tools20:36
Ngoh duh, I guess command-not-found doesn't know about it yet, I'm too used to that telling me what to install ;)20:36
Ngta :)20:36
tjaaltonapt-file works better ;)20:36
Ngyeah yeah :)20:37
bryceNg: yeah merged it into karmic a bit ago.  Still lives in universe fwiw.  Doubt that matters tho.20:40
Sarvattheyo tormod, just copyed everything for nouveau KMS over https://edge.launchpad.net/~xorg-edgers/+archive/nouveau21:15
Sarvattoops, radeon-kms ppa out of space21:15
tormodhi Sarvatt! these kernels fill them up fast :)21:16
Sarvattcould you take a look at this libdrm if you get a chance? https://edge.launchpad.net/~sarvatt/+archive/ati21:21
tormodwhat's that kms6 kernel anyway? I was waiting for a mainline snapshot now :)21:21
Sarvattwant to update libdrm with libdrm-radeon1 on edgers so we can bring apw's kernels in with the drm-intel-next stuff in it without breaking ati for everyone using it since its got kms on default :D21:22
Sarvattdunno, he made it 2 days ago, guess its a bit newer than 521:22
tormodseems like the kms6 kernel only added intel support, so maybe not so useful for radeon-kms PPA :P21:22
Sarvatt5 had the intel stuff too!21:23
tormodhmm the kms5 and kms6  changelogs look identical21:25
Sarvatttheres so many new kernel options in .31 right now, wouldnt be surprised if it'll be awhile till we get one of those :)21:25
Sarvatti dont know, just saw higher number in his PPA and copied it21:27
tormodmaybe apw changed something without updating the changelog21:27
tormodit's strange the ppa is full, it has only 5 packages21:28
tormodguess there is a lot of cruft in the file reop21:28
tormod*repo21:28
Sarvattits the old 400MB kernel that hasnt been deleted yet21:28
Sarvattjust copied it like 15 minutes ago21:29
tormodthe kms5 ?  there are still some kms1 files also21:29
tormodyou want to put the kms kernel into xorg-edgers?21:30
Sarvatthmm, maybe it bugged out when you uploaded that one that failed and it didnt ever remove the one previous to that21:30
Sarvattwell he's pulling drm-intel-next into it and some people want to use it for that but the whole radeon KMS enabled by default part of it kept me from copying it over, seemed like it might be ok to do it now?21:33
tormodI have seen that nomodeset does not work for radeon, is there a way to disable KMS?21:33
Sarvattseems to be a consensus that KMS/DRI2 radeon-rewrite is a crapload more stable than UMS/DRI1 radeon-rewrite is all :D21:33
crevettehey Sarvatt21:33
Sarvattheyo!21:34
tormodDRI2 seems slower than DRI1 in many situations, which is not surprising21:35
tormodfirst it gets usable, then stable, then they work on performance21:35
tormodI would like to have the possibility to test out DRI1 in xorg-edgers for still some time21:36
tormodunless it gets too complicated - intel always complicates things :)21:36
tormodmy biggest problem with DRI2 is that suspend and hibernation is broken21:38
tormods/DRI2/kms I guess21:38
tjaaltonbryce: are you going to add the new script to 'xorg', or can you wait until I've finished the merge? :)21:38
Sarvattcould that be because pm-utils doesnt have the quirk handling for radeon KMS?21:38
tormoddoesn't it? isn't it just no quirks at all?21:39
brycetjaalton: I can wait21:39
tjaaltonbryce: won't take long anymore21:39
tormod(only the cosmetic no-switch-vt quirk)21:39
brycetjaalton: in fact we cannot use it until apport supports running as root anyway, and won't actually function until we have the trigger stuff from jesse21:39
tjaaltonbryce: ah, ok21:40
tormodSarvatt: would it be an idea to have intel optimized stuff in ~intel-gfx-testing, or is it too many ppas to maintain?21:41
Sarvattnaaaaah too many darn PPAs as it is and that'd just be for the kernel unless we pulled in all the dri2 swapbuffer stuff21:42
Sarvatthttp://cgit.freedesktop.org/pm-utils/tree/pm/sleep.d/98smart-kernel-video?id=a79d16300c662080caf1775f1cf68f1be404971621:42
Sarvattthats what i was referring to, intel needs special handling there that radeon might as well21:43
Sarvattspeak of the devil21:45
Sarvatthttp://cvs.fedoraproject.org/viewvc/rpms/pm-utils/F-11/pm-utils-1.2.2.1-radeon-kms.patch?revision=1.1&view=markup21:45
* tormod just had a DRI1 crash again21:48
tormodSarvatt: the intel special handling is only for old kernels, right?21:52
Sarvattnah apw is pulling drm-intel-next with fixes that take up to 3 weeks sometimes to make it down to the ubuntu kernel into the radeon KMS kernel21:53
tormodif have_kms succeeds the have_smart_intel is not even run21:53
Sarvatt#define ABI_XINPUT_VERSION SET_ABI_VERSION(7, 0)21:53
* Sarvatt cries.21:53
tormodI see. so we definitely want a special kernel for intel.21:55
Sarvatt3rd xserver input ABI bump in 2 weeks, think thats my queue to let it settle a bit more before rebuilding all input drivers yet again :D22:03
Sarvattanyway no point updating it now, i was only doing it because of the radeom KMS/intel kernel thing but you're right, it would be better to have dri1 in edgers22:12
Sarvattintel people were asking me about putting a drm-intel-next kernel in edgers is why i was looking at it22:13
Sarvattwe've got the intel driver people telling people to use edgers and singing its praises on their blogs now :D22:14
Sarvattdid you see this? http://cworth.org/intel/driver_stability/22:14
brycesweet :-)22:15
jbarnesyeah I mentioned it in my internal uds status report too22:16
jbarnesedgers kicks ass22:16
tormodjbarnes: thanks! but of course the -intel stuff is sarvatt's effort22:18
tjaaltonbryce: ok, xorg merge pushed to git23:45
bryceyay23:46
tjaaltonI've retained the changes to dexconf, although I don't think they hold much value anymore23:46
tjaaltonthe failsafeDexconf needs a surgery too, since all the debconf stuff is gone23:48
tjaaltonjcristau: looks like the bus_id stuff should be ripped out as well?23:49

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