/srv/irclogs.ubuntu.com/2010/04/01/#ubuntu-x.txt

ernstpSarvatt, nope, radeon 4770, desktop00:01
ernstpSarvatt, goes something like this:00:01
ernstpblinking vga cursor for a while, then some error message 00:02
Sarvattflickering as in, brightness changing while the ubuntu logo is on the screen?00:02
ernstpthen plymouth boot00:02
ernstpthen vga again, then plymouth boot00:02
ernstpthen black, then gdm00:02
ernstpno, only between vga+black and plymouth/gdm00:03
ernstp2/3 times depending on how you count00:03
Sarvattbryceh: did you include the bgnr patch with the latest ati upload?00:04
ernstpkms works fine generally00:04
Sarvatternstp: you're using stock lucid packages?00:04
ernstpbut there's nothing smooth about my boot00:04
Sarvatt(because I dont have the splash integration stuff on xorg-edgers)00:04
ernstpSarvatt, yes! I've actually made a point of that, usually don't :-)00:05
brycehSarvatt, yep, why, is there a problem?00:05
Sarvattyeah 100_radeon-6.9.0-bgnr-enable.patch is there so its not that00:05
ernstpbryceh, plymouth problems...00:06
Sarvattbryceh: just ernstp saying thats not working for him and that was my first idea :D00:06
ernstpit's switching to vga two times during boot00:06
Sarvatternstp: pastebin your dmesg?00:06
ernstpno smooth transition between plymouth and gdm00:06
ernstphttp://paste.ubuntu.com/407302/00:07
ernstpkms generally working very well etc00:08
ernstpSarvatt, bryceh, plymouth-log-viewer: http://paste.ubuntu.com/407303/00:08
Sarvattnothing there showing what you're saying happening of course, do you have multiple monitors or anything?00:11
ernstpnope00:11
ernstp1650x108000:11
Sarvattbeen happening for awhile or just recently?00:12
ernstpawhile00:12
ernstpquite consistent between the different plymouth updates I would say actually00:12
ernstpnot sure about that though00:12
ernstplet me reboot and note exactly what happens00:13
Sarvatttry echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash and then sudo update-initramfs -u and see if its any different?00:13
ernstpoki00:13
ernstpSarvatt, ok, that was one flicker less00:16
Sarvatttransition work?00:16
ernstpGrub -> vga 3 seconds -> 2 sec monitor off pause -> plymouth 6-7 secs -> vga 1 sec -> gdm no transition00:17
Sarvattby gdm no transition you mean you see a black screen for awhile right?00:18
ernstpyeah, black vga 1 secs between plymouth and gdm00:19
Sarvattit'd be way more than 1 second if it wasn't working, you never have a mouse cursor over the ubuntu logo?00:19
ernstpoops00:20
Sarvatt<Sarvatt> it'd be way more than 1 second if it wasn't working, you never have a mouse cursor over the ubuntu logo?00:20
ernstpdid I miss anything?00:20
ernstpbefore your change I usually had a mouse cursor on plymouth really quickly, then black, then gdm00:20
ernstpdidn't see one now00:21
Sarvattif you have a mouse cursor ever with the ubuntu logo on the screen the transition is working00:21
ernstpexcept it get's interrupted by a black vga screen00:21
ernstpso it's not a nice transition00:21
Sarvattits kind of delayed now too since gdm doesn't show the cursor initially either, but plymouth is long since quit by the time a cursor is shown00:22
Sarvatternstp: /var/log/Xorg.0.log now please :D00:23
ernstppastebin commandlinetool?00:24
Sarvattit's something setting a new mode after gdm startup probably, your xrandr config maybe?00:24
Sarvattcat /var/log/Xorg.0.log | pastebinit00:24
ernstpcan I have a xrandr config in gdm?00:24
RAOFYou don't happen to have a second monitor plugged in, do you?00:24
ernstphttp://pastebin.com/rTs5WFm900:25
ernstpnope00:25
RAOFSarvatt: UUOC :) - that can be accomplished more simply by “pastebinit /var/log/Xorg.0.log” :)00:25
ernstplet me write down exactly what happens wiht FRAMEBUFFER=n00:26
Sarvatternstp: open gconf-editor, go to apps/gdm/simple-greeter/settings-manager-plugin00:26
Sarvattxrandr, uncheck the enable box00:26
ernstpdone00:27
ernstpok, try again00:27
SarvattRAOF: huh, that works? it didn't used to and I use it so much hence my overuse of cat | grep :D00:33
ernstp_hmm, that helped a bit I guess00:33
ernstp_now set FRAMEBUFFER=n00:34
Sarvattjust delete that file and update-initramfs -u00:34
ernstp_vga 10 seconds, then plymouth, then gdm, no transitions00:35
Sarvatti'd leave it in the initrd though if you dont want things to be ugly :D00:35
ernstp_that was with FRAMEBUFFER=n00:36
ernstp_now with =y again00:36
Sarvatternstp_: i'm 100% positive the transition is working for you, it's something changing the mode after startup00:36
Azelphurdon't suppose there is a command I can use to make X clean up leaked memory?00:37
ernstpnow I don't get any hint of transition at all..00:37
Sarvattsudo jockey-text -d xorg:nvidia_current works :D00:37
ernstpwith FRAMEBUFFER=y its:00:37
Azelphur47.1% of 8GB for Xorg is fun :P00:37
ernstp1 sec vga, 10 sec plymouth, black screen, then gdm all loaded and complete00:38
ernstpwell have to got to bed now, hope that gave something :-)00:38
ernstpthanks Sarvatt, cya!00:38
Sarvatternstp: I dont think you've ever booted without the transition patches to -ati, you wouldn't see the ubuntu logo for more than a second without them :D00:40
Sarvattso apparently the x segfaults when closing clutter apps only happen with libclutter-1.0-0_1.2.4-0ubuntu1 and go away with libclutter-1.0-0_1.0.6-0ubuntu101:07
Sarvattwhich is odd since i thought debian had clutter 0.8.x still and they were getting it too01:08
Sarvattseems like a problem not really specific to upstream because the glx bump to 1.4 on xserver 1.7 branch isn't upstream01:19
jcristaudebian has clutter 1.0.8 in sid and 1.2.4 in experimental fwiw01:22
superm1Sarvatt, you were right, moving the mouse to the top of the screen when gnome terminal goes all wonky fixes it. how bizarre01:42
Sarvattoh superm1? same darn bug then02:32
brycehnew intel-gpu-tools git snapshot uploaded02:44
desrtSarvatt: hey.  got that xorg driver update you wanted me to try?02:44
ScottKIs Intel 865 expected to work on Lucid after the latest uploads get built?02:45
Sarvattdesrt: https://edge.launchpad.net/~sarvatt/+archive/bugs/+sourcepub/1013559/+listing-archive-extra02:46
desrtcheers02:46
brycehScottK, "expected" is such a strong word02:47
brycehScottK, it's worth re-testing but don't hold your breath02:48
ScottKOK.02:48
ScottKIs 865 on the list of things you want to get working?02:48
bryceheverything is on that list ;-)02:49
brycehbut no, I have no additional 8xx enablement work planned in my todo list02:49
desrtSarvatt: ok.  i've installed.  i'm going to reboot and try to login and out a few times to see if i can get the crash02:49
desrtbbiab.02:49
brycehactually I have one other potential todo which is to do kms blacklists of any 8xx chips that we find work with ums but not kms02:50
ScottKOK.  Sounds like time to find that stack of CD-Rs.02:50
ScottKThanks.02:50
brycehbut I need testing feedback from 8xx owners in order to do that02:50
ScottKRight, I would be one of those, thus finding the CD-Rs.02:51
ScottKHow's 945 looking?02:52
brycehI've backported most of the 8xx changes that looked safe and easy.  There's some more which are harder to backport due to massive refactoring upstream, but which might help - I think those can be tested via xorg-edgers.  If xorg-edgers is found to solve the issues then I guess we could take a deeper look into those patches02:53
brycehbut so much of upstream's changes are "Remove..." "Kill..." "Drop..." that it's a bit scary to wade through02:53
ScottKOK.  I'll try to do some testing this weekend.02:53
bryceh945 should be fine, and afaik what issues remain need kernel fixes02:53
brycehthe issues were lid and suspend/resume and plymouth/boot-prettiness related things02:54
desrtSarvatt: ok... after one bootup, no crash02:55
desrtbut osmething odd happened on logout02:55
ScottKWorse comes to worse I guess I do a chassis swap.  I have a 945 box I'm using as a server and an 865 box as a desktop.  I also have 945 desktops too.02:55
desrtSarvatt: now i'm getting these instead: (EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display: No space left on device.02:56
desrtSarvatt: but to be honest with you, i was experiencing some random display corruption even on karmic02:56
desrtSarvatt: i wouldn't be surprised if that message was appearing in the log before and i just didn't notice it because i wasn't really looking02:57
desrtok.  corruption is actually much worse now than it was under karmic02:58
desrtso i'm actually not sure if it's related02:58
Sarvattdesrt: can ya give me the xorg log?03:00
desrtSarvatt: also: i think i've determine that when the crashes happen they're not taking out all of userspace03:00
desrtrather, they appear to be taking out the *harddrive*03:00
desrti can do anything that was already in cache03:01
desrtwhen i try to access something not in cache ,the process goes into D-state03:01
desrti wonder if maybe the harddrive and the graphics share an irq or something03:02
Sarvatti want to see the framebuffer adjustment line with the patch03:02
Sarvattjust before the batchbuffer error03:02
brycehnew radeontool 1.6.1 uploaded03:03
desrt(II) intel(0): Allocate new frame buffer 2400x1920 stride 972803:04
desrtthat one?03:04
desrtnote: no errors so far03:04
desrti'll just paste the hold lot.  just a sec.03:04
desrthttp://pastebin.org/13000503:05
desrtall those lines except for the very last one happen up to the login scren03:06
desrtthe very last one happens when i login03:06
desrtgonna do the glaringly obvious thing and try to go into the bios and max out the amount of shared memory allocated to the graphics.03:07
desrti'm getting graphics corruption this time in the form of the cursor in gnome-terminal being corrupted when it moves03:08
desrtbut no message about it in the log03:08
Sarvattdesrt: wait, so you have *3* monitors running?03:14
desrtonly 2, really03:14
desrtit's a laptop with 3 external display ports03:14
desrti am using 2 of them03:14
desrtand i have the laptop LCD disabled03:14
desrtthe laptop itself has a VGA out03:15
desrtwhich i am not using03:15
desrtit's sitting on a docking station ('ultrabase') that has VGA and DisplayPort out, both of which i have connected to 1920x1200 dell 24" flatpanels xrandr'd sideways03:16
Sarvatttry forcing off LVDS03:16
Sarvatti think its video=LVDS-1:off03:16
desrtkernel commandline option?03:17
Sarvattyeah03:17
desrtLVDS-1 or LVDS1?03:17
desrtxrandr lists it as the latter03:17
Sarvattnot sure03:17
Sarvattlessee03:17
desrtbtw: your patch has stopped the crash-on-login thing, it seems03:17
desrt4 boots now, without a crash03:17
desrtbut it introduced the corruption03:17
desrti never had corruption like this before your patch03:18
desrti'd almost prefer the crash since it only happens half the time :)03:19
Sarvattyeah thats because they downgraded batchbuffer errors to not take the server down post 2.9.103:19
desrtahh03:19
Sarvatti think your setup is pushing the little laptop way too hard with all those screens :D03:19
desrtworked fine on karmic :p03:19
desrtbut maybe you're right.  it might do me good to downgrade my setup a bit for the time being03:20
Sarvattjust disabling the LVDS should fix it03:20
Sarvatttrying to find the kernel parameter now03:20
desrtxrandr has it turned off...03:20
desrtbut i guess it should be dead from the start03:20
Sarvattit *should* be video=LVDS-1:off03:20
desrti'm surprised LVDS is even getting DCC03:21
Sarvattif :off is the right way03:21
desrtk.  i'll try that.03:21
desrti know it works if the output disappears from xrandr?03:21
desrtDCC -> DDC?03:21
desrtthe panel is currently sitting at the other end of my desk :p03:21
desrtnew grub is a trip :)03:24
desrtlvds1 is still listed in xrandr and the corruption remains03:25
desrti'm gonna try going down to just one screen03:25
desrtstill have corruption issues ,even on one screen with low resolution03:26
desrti think that's just how your driver is.....03:26
desrti'm just gonna go back to stock using the normal driver03:30
desrti think you're right -- i'm just driving this thing too hard03:30
desrti got away with it in karmic, but probably just barely03:30
Sarvatt1 extra *should* be fine, i just think there might be problems with 3 huge displays running at the same time, still haven't found the proper way to disable LVDS yet03:31
desrti can deal with this for now03:35
desrti have a new laptop on the way soon03:35
desrtwell, in a couple of weeks anyway03:35
desrtalso: i can't really afford to waste more time on this issue, sorry :/03:36
desrtbut definitely note that there is something nasty in that driver you had me install.  even with a modest screen configuration it has corruption03:37
brycehbeta2 has reached freeze03:40
Sarvattno worries desrt, sorry I couldn't help ya more03:40
desrtSarvatt: you tried lots.  thanks :)03:43
desrtsee you in brussels?03:43
Sarvatthopefully, no word on sponsorship yet :D03:43
desrtbest of luck :)03:43
desrtcheers03:43
Sarvattanyone not using intel that wouldn't mind running a little program that'll probably crash your X? :D03:44
RAOFSarvatt: Of course!03:45
RAOFLet me fire up my sacrificial netbook03:45
Sarvatthttp://bugs.freedesktop.org/attachment.cgi?id=3404103:45
Sarvatt\o/ thanks RAOF03:45
Sarvatttrying to dig into this clutter crashing bug more, seems when swrast is used the app just segfaults instead of crashing the whole xserver like it does when intel is03:46
brycehwow, I sure snuck in a lot of stuff just under the wire03:47
brycehjust two bits didn't make it (but both are new packages for universe so maybe can still do them)03:47
SarvattRAOF: can you do it with edgers 3D support? :D03:47
* Sarvatt is a pain in the butt, sorry03:48
RAOFSarvatt: Yup.  Assuming this netbook will boot.03:48
RAOFAnd it might need a little updating first...03:48
RAOFUniverse doesn't get frozen for beta 2, does it?03:49
brycehslangasek's email indicated the packages need archive admins to put them in, but no approvals are needed03:51
brycehor something like that03:51
brycehI didn't get to xorg-server, however most everything I want to go into that are regular bugs and probably acceptable under freeze rules03:51
RAOFOooh.  This poor little netbook is all manner of messed up.  How did that happen?  It hasn't been turned on for a couple of days!03:52
* bryceh uploads newly repackaged xserver-xorg-video-displaylink03:59
Sarvattok well maybe debugging more into why it segfaults with swrast will help me figure out why with dri2 it's is taking down the server :D04:06
Sarvattbryceh: WHOOPS - http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=bc93395b3eb5e3511c1b62af90693269f4fa6e1305:03
brycehSarvatt, mm, do we have a LP# for this issue?05:04
bryceh(I ask because now that we're in freeze, we're gonna need paperwork to get bug fixes in)05:04
Sarvattjust keep an eye out for bugs about the system being unbearably slow after a few hours uptime on r600-r700 :D05:06
Sarvattdarnit, forgot to --disable-gallium in this mesa debug build, going to take forever05:07
brycehI just checked through the source code, we don't have anything matching that stanza of code05:08
brycehso perhaps that's a regression they introduced in code newer than ours05:08
* bryceh "Ha! Take that phoronix peanut gallery! Saved by the not-shipping-bleeding-edge-crap."05:08
Sarvattoh i thought we had a post 6.12.19205:09
brycehwe do, but doesn't look like we have this code05:10
brycehwhat we have now is basically Debian's 6.12.192-205:10
brycehwhich is 192 plus up to commit 5c25680805:11
Sarvattahhh ok i thought that part was added in the post 192 commit that was fixing the problem in 192 but it was r6xx+ EXA/Xv: add a R600SetAccelState function that added it05:11
brycehplus our bgnr patch and the manpage fix I just stuck in (but it's not gone through yet)05:11
Sarvattphew05:12
bryceh:-)05:12
brycehbtw with freeze in effect I'm hacking on arsenal a bit05:12
brycehand I've just posted a new report:05:12
brycehhttp://www2.bryceharrington.org:8080/X/Reports/ubuntu-x-swat/upstream-fixed.html05:13
brycehthese are bugs that have been marked as fixed upstream05:13
brycehthere's a surprising amount05:13
bryceh(44)05:13
virtualdcan someone help me with this, or point me somewhere: [    1.333067] [drm] MTRR allocation failed.  Graphics performance may suffer.05:13
Sarvattvirtuald: boot with enable_mtrr_cleanup mtrr_spare_reg_nr=1 05:15
Sarvattvirtuald: let me guess, acer aspire one?05:15
virtualdyes05:15
Sarvatt:D05:15
brycehsmokin' sarvatt05:15
Sarvattthese things have buggy bioses05:15
virtuald:>05:15
virtualdok05:15
virtualdi thought about trying a bios upgrade05:16
Sarvatttheres no bios upgrade that fixes it for these :(05:16
virtualdok05:16
Sarvattyou have a AOA110 or AOA150 model?05:16
virtualdAOA15005:17
virtualdZG505:17
Sarvatti just added it to /etc/default/grub on this line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash enable_mtrr_cleanup mtrr_spare_reg_nr=1"05:17
virtualdand that fixed it?05:18
Sarvattyepyep update-grub after05:18
virtualdof course05:18
Sarvattyeah no fixed bioses for AOA150, thats what I have too05:19
virtualdi also have usbcore.autosuspend=1 in there, i hope it does something05:19
Sarvattdid you know there's a gateway bios you can use for your machine that'll most likely add a *ton* more backlight brightness levels?05:20
virtualdno hehe05:20
virtualdsounds like black magic05:20
Sarvattgrep -m 1 AUO /var/log/Xorg.0.log05:21
Sarvattwhats that say?05:21
virtuald(II) intel(0): Manufacturer: AUO  Model: 11c2  Serial#: 005:21
Sarvattacer disabled the lower brightness levels on some of the AUO panels in AOA150's because they flicker during hdd accesses05:22
Sarvatti get over an hour longer on battery if i put up with the flicker :D05:22
Sarvatthow many brightness levels do you have now?05:23
virtuald:-O05:23
virtualdlet's see05:23
Sarvattthere should be 9 steps if you go slow05:23
Sarvattthats what i get with the gateway bios05:23
virtualdyes it's 905:23
Sarvattah ok your LCD isn't blacklisted then05:23
virtuald:)05:24
Sarvatti had 2 before05:24
Sarvattbryceh: wow 44?05:29
RAOFSome are false-positive05:30
RAOFBut that does seem a lot.05:32
Sarvattone day this netbook will finish compiling mesa so I can move on to xserver.. :D05:33
virtualdhehe 05:34
Sarvattvirtuald: how big a battery do you have with yours? i get about 10 hours battery life with this 9 cell, definitely worth picking up :D05:38
virtualdthe small one that came with it..05:39
Sarvattthink i paid around 40 bucks on ebay for the 9 cell, made this thing a billion times more useful05:40
* RAOF has just got a 9 cell for his x200s in preparation for UDS travel.05:40
virtualdi can't find how long it takes to empty in gnome-power-statistics05:41
virtuald8]05:41
Sarvatti'm not sure i'll be going to UDS, thought I was supposed to hear something by the 26th about it05:42
ScottKSarvatt: AFAIK no one has heard yet.  I think the 25th was the application deadline.05:42
SarvattRAOF: x200s is what you bought? thats not a netbook!05:43
virtualdis it the manic manatee?05:43
virtuald:>05:43
Sarvattahh thanks for the info ScottK, I must have misread it05:43
RAOFSarvatt: No, the x200s is not a netbook.  It's too useful to be a netbook :)05:44
Sarvattoh thats right, you did say the netbook had an atom :D05:45
RAOFRight. N270, where the 'N' stands for Not fast enough :)05:45
SarvattRAOF: do you have problems with that x200s? i've seen a lot of intel issues with them05:45
RAOFMy hardware *always* magically avoids all the problems I'd like to debug.05:46
Sarvatthey, it's only taken 30 minutes to compile dri with just swrast and i915 drivers!05:46
Sarvattmklib: Making Linux shared library:  libEGL.so.1.005:47
Sarvattyay thanks for avoiding my explicit --disable-egl mesa!05:47
virtuald8]05:48
=== apachelogger_ is now known as apachelogger____
=== BUGabundo is now known as BUGabundo_vacati
=== BUGabundo_vacati is now known as BUGa_vacations
=== BUGabundo is now known as BUGa_vacations
tjaaltontseliot: good news, mesa 7.7.1 merged and will upload once it's accepted11:29
tseliottjaalton: fantastic news, please let me know when it's uploaded so that I can refresh ia32-libs from canonical's computers11:30
tjaaltontseliot: sure thing11:30
tseliotthanks11:31
AtomicSparkSeems that ATI drivers are now out. They don't seem to support KMS. Less shiny plymouth splash is :(11:31
tseliot-ati does, fglrx doesn't11:32
AtomicSparkDoes -ati support multiple displays?11:33
tseliotyes, of course11:34
AtomicSparkOh great I broke it. Apparently display rotation makes fglrx flip out a bit.11:43
AtomicSparkOkay, now it's not doing it. Sillyness.11:59
tjaaltontseliot: no mesa tarball available yet, so I'll push it to the queue once it is12:38
tseliottjaalton: ok, thanks13:23
=== apachelogger____ is now known as apachelogger
Sarvatthuh.. #2  0x00ff6bf9 in DRI2GetScreen (pScreen=0xffffffff) at ../../../../hw/xfree86/dri2/dri2.c:7816:58
jcristautjaalton: you can probably ask brice for the mesa tarball.  it's not world-readable in the upload queue.17:24
apparlehi guys plz help me with this https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/47546618:56
ubottuUbuntu bug 475466 in xserver-xorg-video-ati "[RC410] detects AGP on a PCIE card" [Undecided,Confirmed]18:56
Sarvattapparle: attach your dmesg output to the bug please19:02
apparleSarvatt: I will have to make a bootable USB for it... I formatted the other one...19:03
apparleSarvatt: the code seems alright... so why am I getting this problem.. 19:04
Sarvattdrm isn't loading right, need to see your dmesg19:04
apparleSarvatt: no... the card is being detected as AGP.. where as it should be seen as PCI19:07
Sarvattbryceh: ok so I fixed *clutter* apps closing crashing the server, but i'm still able to take down the server with the testcase. this commit stops quadrapassel from crashing the server on our 1.7.6 - http://sarvatt.com/downloads/patches/dri2-no-blit.patch19:13
brycehSarvatt, cool, where'd you find that?19:14
=== radoe_ is now known as radoe
apparlewhat all cards come under CHIP_FAMILY_RS400 in radeon driver?19:20
Sarvattapparle: you're using KMS on lucid, that xorg.conf option has no effect afaik. you need to pass radeon.agpmode=-1 for the same effect now and we'd really need to see your dmesg to see whats wrong in the first place19:21
Sarvattapparle: or just boot with radeon.modeset=019:21
apparleSarvatt: you missed the point..... the bug was fixed and I didn't need the setting at all19:22
Sarvattok19:22
apparleSarvatt: see here19:23
apparleSarvatt: http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/tree/src/radeon_driver.c19:23
apparleSarvatt: see the line no 2037,2038,203919:24
brycehSarvatt, I'm adding the patch to xserver, but would like to know a bit more about how this solves the issue if you have any more info?19:25
=== Sinnerman is now known as Cobalt
apparleSarvatt: so what all cards come under CHIP_FAMILY_RS400 in radeon driver?19:28
brycehSarvatt, I wonder if that patch doesn't stop the crashes but just avoids it or race-conditions it away19:30
apparlewhat's the nick of Tormod Volden19:45
Sarvattbryceh: I wouldn't apply it just yet, no idea if it is sane.. sorry I have been testing it out between jobs and haven't been around to answer you or note it on the bug but I just commented on the fdo bug about it20:33
=== BUGabundo is now known as BUG_vacations
BUG_vacationsevening21:36

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