/srv/irclogs.ubuntu.com/2010/07/28/#ubuntu-x.txt

RAOFAaah, plymouth.  Source of endless fun!02:00
* Sarvatt wonders how long maverick will be broken horribly because of it this time02:13
Sarvattnows about the time where all the brokenness starts if lucid is any indication :)02:13
RAOFMe thinks there is a race condition somewhere between X and plymouth on radeon, where drmGetBusId will return “” if called after a certain point, which obviously breaks X.02:17
Sarvattthat happens when X loads the actual kernel module02:26
Sarvattand its fixed by vesafb=sucks02:27
RAOFOh, really?02:27
RAOFWell, it doesn't surprise me that killing vesafb works - is that the trigger, though?02:27
Sarvatti think udev sees the video device tagged already because of vesafb and doesn't load radeon before X starts, those errors are the same as when X starts and fails because of the agp crap02:28
RAOFThe race is that X needs to come up before radeon has got loaded?02:28
Sarvattradeon needs to load before X starts or else the ddx tries to load it with xf86LoadKernelModule() which fails like that02:29
Sarvattits happening on nouveau too02:29
RAOFI haven't seen it there on my hardware, but I have seen it on radeon.02:30
Sarvattlemme try to dig up a nouveau one, ricotz and someone else were having it02:30
Sarvattthe grub change in mid july started all this02:31
RAOFYeah.02:31
RAOFTo leave the grub-set vesa mode and hand off to vesafb.02:33
Sarvattdropping gfxpayload=keep or vesafb=sucks fixes it for now at least02:34
Sarvatthttps://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/60624402:34
ubot4Launchpad bug 606244 in linux (Ubuntu) "X doesn't find a screen and is not starting due a race condition (affects: 3) (heat: 434)" [High,Confirmed]02:34
RAOFYeah, that's the bug I got them to file.02:36
Sarvatti had problems on intel the first few boots after updating grub but its fine now without any of those for some strange reason02:55
Sarvattwith FRAMEBUFFER=Y plymouth was always racy though02:55
Sarvattsometimes i'd get a text splash at native resolution02:55
Sarvatti'm guessing when it actually uses vesafb it'll be screwed and i just havent gotten into those situations where it would use a text splash before02:56
Sarvatti got the text splash because vga16fb was blacklisted02:56
RAOFvga16fb should no longer be loading at all now.02:57
RAOFNow… why is DRI2 killing X on radeon.02:57
Sarvattyeah its not, just saying plymouth would start before inteldrmfb was ready and i'd get a text splash that resized to native res once it was ready sometimes and thats probably whats going to be broken now that its using vesafb02:58
RAOFI know the thinking was that vesafb *should* handoff nicely to the drmfb.02:58
Sarvattit does without plymouth02:59
Sarvattplymouth segfaults and things are all screwed up at that point though02:59
RAOFRight.02:59
RAOFPlymouth also seems to trigger a nice kernel mutex trace.02:59
Sarvattdisplay turns off after intel loads until X starts, if i dont hit escape to switch away from the screwed up plymouth before X starts it just hangs03:00
RAOFHurray for race conditions!03:00
Sarvattvesafb > inteldrmfb handoff > plymouth is fine, vesafb > plymouth > inteldrmfb is screwed03:01
Dr_JakobSarvatt: so if you get plymouth to load the i915 driver you should be okay?03:02
Sarvattit doesn't like using the framebuffer renderer on a drmfb03:02
Sarvattyeah thats a good idea, will look into that03:02
RAOFDo we still have plymouth's drm renderer backend?03:04
Sarvattyeah03:04
RAOFWhat happens if you take that away?03:04
RAOFThat can't be the nouveau problem, because we don't use it there.03:04
Sarvattit picks which backend to use when it starts though and cant change it03:04
RAOFYou can't change it by just deleting the .so? :)03:05
Sarvattwhich would you delete? the framebuffer renderer doesn't work on an inteldrmfb :)03:06
Sarvattgetting rid of the drm backend would make seeing if thats whats really happening easier though03:07
RAOFAs I say, that's clearly not what's happening on nouveau, because we don't use the drm renderer on nouveau.03:08
Sarvattyeah I know, X loading the kernel module doesn't load drm and crap in time for nouveau and radeon, entirely different problem03:08
RAOFHm.  That's a new one - segfault in radeon_drv due to dereferencing a random pointer.03:12
Sarvattcan you reproduce the nouveau or radeon problem? i'd be interested in knowing what device is tagged PRIMARY_DEVICE_FOR_DISPLAY when it fails03:12
Sarvattis it on LP?03:12
RAOFSarvatt: I can probably reproduce on radeon.03:13
RAOFSarvatt: It might be on LP, but that's not where I'm looking.03:13
RAOFFlicking through screensavers will kill X in radeon_dri2_copy_region.03:14
RAOFHowever, it's not a problem in (the new) mesa, so it's time to get that uploaded.03:15
RAOFThen we can move to server 1.903:15
Sarvattguess i shouldn't have filed that x-x-v-sis sync request if we're about to jump to 1.9 and need to rebuild all the drivers :)04:02
Sarvatti have no clue what this guy was trying to do reversioning ppa-purge to 0+bzr46.1 instead of the 0.2.6 it was at and it's already in the archives.. i need to make some changes and i'm not sure what he wants next04:16
Sarvattguess i'll just do (1) UNRELEASED with all these changes, it needs to be higher than 0.2.6 to even upgrade04:18
RAOFGood that it's in the archives, though.04:24
SarvattRAOF: what gen ati was crashing btw?04:31
Sarvattr300?04:32
Sarvattmesa dri driver gen name I mean04:32
RAOFr60004:32
RAOFIt's an r700 chip, though.04:36
RAOFI'll try it against edgers before poking further.04:36
RAOFWhoops!  There it goes.05:05
Sarvattcrashed with edgers too?05:19
RAOFYup.  This time in dixLookupPrivate because fo all the privates changes in 1.905:20
RAOFEdgers builds from master, right?05:20
Sarvattyeah05:22
=== Amaranth_ is now known as Amaranth
RAOFHm.  devPrivates = 0x0.  That's unlikely to work.06:06
Sarvatti dont suppose you use fglrx on that machine ever? :)06:14
* Sarvatt is packaging up 10.7 and doesn't know if it works06:14
Sarvatteh i'll just do the normal upload and wait for whining on phoronix about it being broken06:15
RAOFI can test fglrx if you want.06:16
Sarvattthats weird though, i haven't heard anyone complain about r600 being broken with -ati in edgers, i'm guessing you're getting that right after X starts due to the copyfb stuff?06:18
Sarvattnah thats ok, it should be fine06:18
Sarvattdropped all the patches since its supposed to support 2.6.35 out of the box06:18
Sarvatti'll just do a build test manually06:18
RAOFNo, not at al.06:20
RAOFWhen quitting a DRI2 client - such as flipping wildly through the scrensavers.06:21
Sarvattahh ok that narrows it down, i think i saw a bug about that on dri-devel06:27
RAOFHm.  I hadn't noticed one.06:29
Sarvattproblem is it had a weird title i'm sure and i can't find it :(06:33
RAOFOk, so at least one part of the problem is that dixLookupDrawable is returning Success, but filling &drawable with random data.06:33
Sarvattprahal: the way to reproduce is to run gnome-screensaver-preferences and switch back and forth on c-waes . After 2 or three attempts I get the segffault and the gdb print shows the dri2 buffer pixmap devPrivates null06:34
RAOFAh, where's that?06:34
Sarvattsome more talk of it here - http://www.radeonhd.org/?page=archive_display&c=radeon&m=7&y=2010&d=2010-7-0606:35
RAOFAh, thanks.06:39
RAOFYup, that's what I'm seeing.06:39
RAOFPity there doesn't seem to be a bug reference there.06:44
Sarvatti can't find anything else :(06:50
Sarvattwonder if this helps any - https://bugs.freedesktop.org/attachment.cgi?id=3740106:53
Sarvatt+ https://bugs.freedesktop.org/attachment.cgi?id=3741406:54
RAOFHm.  I'm not sure.07:01
alf__Hi all! Is there a document that describes the current state of input handling in X in ubuntu? eg I want to connect a second keyboard using a different layout and I am a bit confused on how I should go about it.12:18
=== yofel_ is now known as yofel
kangaroooSarvatt: ping22:18
kangaroooim now reinstalled 10.10 to test if no xorg crashes.. im actually having now different crash.. all screen freezes and network also. mouse still moves. with raw mode i can open tty6 (still not showing in screen) and making ctrl+alt+del restart.. what dbg i should install? i have nVidia Corporation NV34 [GeForce FX 5500] (rev a1) but restricted driver i removed couse that makes screen respond slow..22:25
kangarooohappens when in FF opening YT or http://en.wikipedia.org/wiki/Ubuntu_(operating_system)#cite_note-11 if i open without citenote then it doesnt hang. opening cite note makes screen go to cite note and its marked blue till blue fades out..22:27
kangaroooyt flash video i mean.. but not all videos.. but most of them22:27
kangarooowhat should i install to debug and post report couse i cant get any crash report when crashes happen.22:28

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