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

brycehI'm going to update -ati to a newer snapshot; anyone know of any glaring issues in the -ati we have in -edgers currently?  Else I'll snag that snapshot for lucid.00:02
ScislaCbryceh: Does this have all of the info you need for a decent report? https://bugs.edge.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/511844 (I'm not asking you to fix my bug, I'm asking about the quality of the report)00:07
ubottuUbuntu bug 511844 in xf86-input-wacom "Wacom Tablet is only recognized on first plug" [Undecided,New]00:07
ScislaCwasn't expecting that, you guys think of everything :)00:08
brycehScislaC, maybe also syslog... like boot with it plugged in, capture that syslog to the bug report, then unplug it, note whatever new stuff shows in the log, then plug it in again, and get that as well00:13
brycehScislaC, this may be a general usb hotplug issue unrelated to X, it's probably a kernel issue, but the syslog output would (hopefully) be informative of what is going on00:13
brycehanother thing which might be of interest is to look at the output of lsusb for the three configurations as well00:14
brycehin theory the first and third cases should have identical lsusb output00:14
ScislaCbryceh: wrt general hotplug, would a wireless usb mouse with a usb receiver suffice to test?00:15
brycehI don't know, try it00:16
ScislaCI did and it has no issues on multiple plugs00:16
brycehbut from what I've seen the usb issues can be hardware-specific00:16
ScislaCahhh00:16
brycehe.g. I have a keyboard with a similar usb issue, but a usb mouse connected to the same port works fine00:16
brycehand on another machine it's vice versa00:16
bryceh(and varies depending on what kernel I boot into)00:17
ScislaCbryceh: you're not giving me confidence that any amount of information I provide will help to make the bug report any more useful ;)00:18
brycehScislaC, it would only be false confidence I could supply in any case; my bet is it's not an X bug but rather a kernel issue00:23
* ScislaC shakes his fist at the kernel00:24
Sarvattregarding ati - none that I know of bryce, just alot of fixes people were having to use edgers to get and thats why I was recommending it.00:26
brycehSarvatt, great - know of particular bugs the xorg-edgers version solves?00:26
Sarvattnot LP bugs I'm afraid, lets see if any stand out :)00:27
* bryceh looks too00:28
ScislaCbbiab... going to collect that syslog and lsusb info00:30
Sarvatt<Sarvatt> [22:16:55] might be a good time to update ati soon, quite alot of bug fixes in the past 2 months on master like signifigant speedups for r600 2D, low memory EXA fixes (and fixing NoAccel to work with KMS), a ton of dpms/incorrect resolution fixes, and a fix for a VT problem I've seen people having00:31
Sarvatt(some symptoms to help narrow it down)00:31
brycehthanks00:31
Sarvatthttps://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/49467200:37
Sarvattfixed00:37
ubottuUbuntu bug 494672 in xserver-xorg-video-ati "[Radeon Xpress 200M] VT switch freezes X" [Undecided,Confirmed]00:37
Sarvatthttp://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=3a30210d50b27f8772fc5045133940246764fce900:37
Sarvattpossibly of course00:38
brycehlp 333377 fixed too00:38
ubottuLaunchpad bug 333377 in xserver-xorg-driver-ati "[RS480] HP Dv8000 laptop suspends but does not resume" [Unknown,Fix released] https://launchpad.net/bugs/33337700:38
brycehlp 487204 is fixed by mesa 7.700:39
ubottuLaunchpad bug 487204 in xserver-xorg-driver-ati "radeon_lock.c:65: radeonGetLock: „drawable != ((void *)0)” Assertion" [Unknown,Fix released] https://launchpad.net/bugs/48720400:39
brycehditto 500607 I guess00:40
RAOFArgh.  I *always* miss xutils-dev when building nouveau orig.tar.gzs.  Where does it go?!00:43
Sarvatthttps://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/511520  -- already fixed, exact same version that was in the archives :D00:45
ubottuUbuntu bug 511520 in xserver-xorg-video-ati "Ubuntu Karmic: DVI output not working with radeon 4350" [Undecided,Fix released]00:45
Sarvattwhat do you mean RAOF? I have 7.5+2 in edgers because we need the newer xorg macros00:45
bryceh465958 -> heh, not an -ati bug, how'd that get here00:46
brycehlp 465958 -> heh, not an -ati bug, how'd that get here00:46
ubottuLaunchpad bug 465958 in x11-xserver-utils "effect of xmodmap ~/.Xmodmap " [Undecided,Incomplete] https://launchpad.net/bugs/46595800:46
Sarvattoh it doesnt get added to your debian/control? I'm not sure, it works fine with auto-xorg-git00:46
RAOFSarvatt: Building the nouveau original tarballs requires that I have xutils-dev installed, because I autoreconf to build the tarball.00:47
RAOFSarvatt: And each time I go to do that it seems that xutils-dev has been uninstalled...00:47
Sarvattoh you install it with apt-get build-dep and it gets autoremoved later? do you use aptitide/synaptic?00:47
Sarvattdo you get it installed via apt-get build-dep I mean00:48
RAOFI don't know.  It's possible that I just reinstall frequenly enough that I seem to always be missing xutils-dev :)00:48
RAOFOr maybe it's my multiple laptops.00:49
Sarvatthuh, this bug is confusing00:57
Sarvatthttps://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/50700000:57
ubottuUbuntu bug 507000 in xserver-xorg-video-ati "2.6.32-10 xserver-xorg hang ati radeon mobility 7500" [Undecided,New]00:57
Sarvatthes crashing with the kernel that enables KMS globally, but his logs show it trying to use XAA00:57
Sarvattis there still a force XAA patch in the ubuntu -ati?00:58
Sarvatthe has no xorg.conf00:59
Sarvattahhh01:00
Sarvatthe got hit with the xserver trashing libdri/libglx.so during the alternatives switch a few weeks ago01:00
brycehah01:01
brycehyeah close that bug and ask him to retest and reopen if it's still an issue01:02
Sarvattdoing that now01:02
brycehhrm, I see my automatic xorg bug repackager has been a bit too aggressive at refiling bugs against -ati01:02
ScislaCbryceh: bug updated with that info, thank you for telling me what might be of use :)01:05
brycehI bet lp 493057 is fixed from the r6xx performance improvements01:09
ubottuLaunchpad bug 493057 in xserver-xorg-video-ati "in top Xorg CPU usage is always 23+ with frequent spikes to 60+ and sometimes higher" [Undecided,Confirmed] https://launchpad.net/bugs/49305701:09
Sarvattso many incorrect resolution in X bugs on ati that could possibly be fixed now01:10
Sarvattdont think so Bryce, thats a x1600 and the huge 2D speed improvement was only R60001:11
brycehah right01:11
Sarvatt01:00.0 VGA compatible controller [0300]: ATI Technologies Inc M56P [Radeon Mobility X1600] [1002:71c5]01:11
brycehx1600 is an R5xx01:11
brycehSarvatt, btw if you run into bug reports which you know have been fixed by upstream code (e.g. a fix is confirmed in xorg-edgers packages), then if you mark the bug report Fix Committed, that clues us for the changelog in when we update the package01:18
brycehok, uploading new -ati01:18
Sarvatthuh, your logs are confusing ScislaC, that XorgLog.gz shows hotplug working, that syslog looks fine too02:10
ScislaCSarvatt: I know... that's why I'm especially confused...02:11
Sarvattis that all over the same boot?02:13
ScislaCSarvatt: given that I don't know how things work internally, is there anything in particular that would make the pen not work after the tablet is replugged? (I don't know if it ties the pen to a device id of sorts on first use)02:13
ScislaCYep, I followed bryce's instruction on how to do it. Booted w/ tablet plugged in, captured syslog, unplugged, grabbed change from syslog, replugged, grabbed change from syslog again (I did attempt to use the pen on the three times, it worked for the first only)02:15
Sarvattfirst time as in before you unplugged it the first time? because it looks like it loaded right on boot and the first unplug/replug at least02:20
Sarvattmaybe try rmmod wacom after you unplug before you plug it in again to see if its any different?02:21
Sarvattit looks like the kernel sides working though, maybe watching what happens with sudo udevadm monitor might be interesting?02:24
* Sarvatt isn't sure02:24
Sarvatthave you ever had that kind of issue with any other usb devices on that system?02:29
Sarvattdid you try plugging it in and such before the wacom driver got updated? curious if it was having the same problem with evdev02:34
Sarvatti tried my 2 tablets on 4 systems now and hotplugging works fine multiple times on them all :(02:36
RAOFI'm scared and confused.  Why does my 2.6.32-10-generic initramfs have a nouveau kernel module?02:41
Sarvattinstalled it with dkms ever? it installs to the latest 2 kernels02:44
RAOFAh, I probably just hadn't rebuilt the initramfs after removing dkms.02:44
RAOFMan we pack the kitchen sink into our initramfs.02:45
Sarvattespecially now with plymouth!02:45
Sarvattpango and such02:45
RAOFThere are probably *some* kernel modules that don't end up in there... :)02:46
Sarvatti dread anything calling update-initramfs because it takes a good 5-10 minutes here :D02:47
johanbrpango?! yikes...02:47
johanbrat least it's better after dpkg triggers were implemented02:48
Sarvatti have it set to rebuild all every time02:48
RAOFAnd you've got every kernel since Warty installed?02:48
Sarvattnah i build my own weekly and forget to remove them until it annoys me enough, removing just one takes forever02:49
Sarvattrebuilds all initrd's twice and calls update-grub twice.. silly kernel-package hooks02:50
RAOFGah.  Why does the nouveau DDX think l-b-m-n's kernel module doesn't have KMS enabled?02:51
Sarvattstopped doing that though and am just living with having to remount my SD every resume, wish the ubuntu kernels had mmc unsafe resume enabled02:51
Sarvattweird it should *only* have kms by now?02:52
RAOFYes.02:52
RAOFAlso, that's why X isn't starting; the UMS code just isn't there.02:52
RAOFIt's mis-detecting KMS.02:53
RAOFAt least I get a 210x65 console to debug from.02:53
Sarvattdid you build it against lucid's libdrm 2.4.17? i thought the ddx needed a post 2.4.17 update to even build anymore02:54
Sarvattcould something be screwy with the lbm-* module renaming?02:56
RAOFI built it against xorg-edgers 2.4.17+git2010102002:57
RAOFYou're right, it does need to be built against > 2.4.17.02:57
RAOFI'm just checking how it checks for kms.02:57
brycehouch, it needs a git snapshot of libdrm?02:58
brycehhope we can cherrypick what it needs02:58
RAOFI'd be surprised if we couldn't; I'm fairly sure it's just #defines in the nouveau headers again.02:59
Sarvattcant cherrypick i dont think because it adds a new symbol03:00
Sarvattwell could and define that symbol in libdrm-nouveau1.shlibs I guess, i'm slow03:01
RAOFWe've done that before.03:01
Sarvattwhats the error in Xorg.0.log? [drm] KMS not enabled?03:04
ScislaCSarvatt: Yes, first time as in before it was unplugged. I've never had issues like this on this system, and it worked as expected in Karmic. I will try your suggestions after I eat. :)03:04
Sarvattahh i better get off the pc, wife wants to watch a few house episodes before we pass out :D will try the nouveau stuff out tomorrow, i'll try making NVPciProbe() always assume KMS is enabled and see if it works that way too03:08
RAOFI *think* the problem is that we've renamed the drm directory under /sys/stuff to lbm-drm.03:12
RAOFWell, dropping the KMS check makes everything work nicely.03:28
tseliotbryceh: are you around?10:12
=== seb128_ is now known as seb128
CobaltHello. Does anyone know if Xorg Edgers has a IRC channel?14:18
tseliotyou can ask here14:20
tseliotCobalt: maybe ask Sarvatt and RAOF14:21
Cobalttseliot: Thanks.14:22
=== Sinnerman is now known as Cobalt
CobaltSarvatt, RAOF: It's regarding a change made to the Intel Xorg driver after xserver-xorg-video-intel_2%3a2.9.1~git-0ubuntu0tormod_i386.deb. I noticed there's a bug filed for this on Launchpad: #502663. I'm having the exact same problem, with the latest packages (from 20100127). Is there any information I can supply that might help fix this issue?14:26
CobaltThat is, any package made after that one causes a crash, back to the log-in screen. It always crashes, but the amount of time it takes to do that varies.14:27
Sarvatt[drm:i915_gem_object_bind_to_gtt] *ERROR* Invalid object alignment requested 409615:47
Sarvattthats the error you get?15:47
SarvattI have gotten that at one point before but only on the 2.6.31 kernel, it didn't happen on the 2.6.32 kernel15:47
CobaltSarvatt: It is, I just wrote an entry in the bug report.15:48
Sarvattcan you try with a mainline kernel? I recommend 2.6.32.6 http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32.6/15:49
CobaltI am on 2.6.31-18-generic. I ought to look into how to upgrade to .32, test that and report back.15:49
CobaltSarvatt: I'm going out right now, I'll do that when I get back.15:50
CobaltHow different is the mainline kernel from the -generic Ubuntu one, do you know?15:50
SarvattI have to run too, if you dont have any luck with it I'll see it in the irc logs though and come back when I can :)15:50
CobaltSarvatt: No worries, this is a lot better than no interaction at all. Thanks for the pointers.15:51
Sarvattits basically the newest upstream kernel with the karmic kernel configuration15:51
Sarvattupstream stable kernel that is15:51
CobaltThat's nice. I'm definitely getting it. Hope that solves some the nasty bluetooth pairing issues I've been having with my aluminium Mac keyboard at the same time.15:57
CobaltIt's downloading, I'll install and test after I get back. Laters. And thanks again.15:58
=== yofel_ is now known as yofel
=== Amaranth_ is now known as Amaranth
ScislaCSarvatt: So, I did the couple of things you recommended last night (rmmod wacom & udevadm monitor), everything looked fine. I even tried a dummy test to have the tablet plugged in, NOT use the pen, and then on replug to test if the pen works... nope, it truly will only work on the first plug only.19:00
brycehScislaC, :-(19:09
ScislaCbryceh: Yeah... it is SO strange. As mentioned, with the X stuff from Karmic (because that is the one piece I held off on upgrading), it all worked as expected.19:12
ScislaCbrb19:13
ScislaCyay for a newer ati driver :)19:17
brycehScislaC, did it solve any issues for you?19:28
ScislaCbryceh: the transition from plymouth to gdm looks less scary (before the whole screen was corrupted, this last start was only about 25% of it). I haven't done much more yet to know.19:35
brycehok19:35
brycehScislaC, if you post bugs about those issues, sub me to them and also include a photo19:36
ScislaCbryceh: ok... I will reboot in a bit with my camera available. There is also interruption of plymouth on shutdown that I don't know if it's known or expected right now.19:37
tjaaltonScislaC: try with a 2.6.33-rc package19:42
tjaaltonit's likely something in the kernel drm driver, since it's using kms anyway19:43
ScislaCtjaalton: is there a ppa I should use?19:43
tjaaltonScislaC: http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.33-rc5/19:43
ScislaCbrb :)19:44
* bryceh waves to tjaalton19:44
tjaaltonhi bryceh, nice nick :)19:45
ScislaCtjaalton: No plymouth at all with that kernel... also no wacom action either (I had to test)19:59
tjaaltonScislaC: you have to boot it with the kernel option to turn kms on20:02
tjaaltoncan't remember what it was20:02
tjaaltonoption radeon modeset=120:05
tjaaltonradeon.modeset=1 on the kernel cmdline20:06
tjaaltonsauna ->20:06
=== Sinnerman is now known as Cobalt
ScislaCtjaalton: when you say kernel cmdline, would that be the line in grub?20:45
ScislaCwell, that's what I'll try... brb20:47
ScislaCtjaalton: I had no plymouth on boot, but it showed up on shutdown.20:58
tjaaltonScislaC: do you have kms on boot, better vt's etc?21:14
ScislaCvt's?21:14
tjaaltonvirtual terminal21:14
tjaaltonc-a-fN21:14
ScislaCI added radeon.modeset=1 in grub... I'm back in my 32 kernel at the moment (it seemed that video acceleration wasn't working for me in 33)21:15
tjaaltonok21:15
ScislaCI will test again in a bit to see about the vt's though 21:16
RAOFbryceh: Oh, I do have something I'd like a pointer towards - how to make nouveau the first autoprobed driver in X.21:57
tjaaltonsee what the nvidia/fglrx patches do21:58
tjaaltonthough they are disabled21:58
brycehright21:58
RAOFIn the xorg-server package?21:58
tjaaltonyes21:58
brycehRAOF, yes21:58
brycehbasically there's a case statement that selects a driver by chip manufacturer id21:58
brycehso look for the line with "nv" and change it to "nouveau"21:59
RAOFWe're in a bit of a bind with the combination of nouveau (a) not being a part of the base kernel and (b) not working *at all* when its kernel module isn't available, so I think the best way to reliably get to X is to have it try to autoload nouveau, then fall back on nv (then VESA, or whatever).21:59
tjaaltonrather put it above nv21:59
brycehactually what we really want is to try "nouveau" first and then "nv" if it's unavailable21:59
brycehhowever I'm not sure that fallback function will work21:59
tjaaltonit works if nouveau fails to init22:00
RAOFI'll have a look & give it a try.22:00
jcristaudoes it only work if probe fails, or also if preinit fails?22:00
tjaaltonat least when the driver doesn't support the chip22:01
tjaaltonnot sure what stage that is22:02
RAOFnouveau fails fairly early in the init when its kernel module is unavailable22:03
RAOFI can test it out & see.22:03
RAOF*After* I bisect the kernel to work out when suspending started to work again in 2.6.3322:12
tjaaltongimp crashes when wacom is unplugged, nice22:15
tjaaltonon karmic though, don't know about lucid22:16
Sarvatttjaalton: pretty sure thats fixed in xserver 1.7, i had the same issue all during karmic and it didnt happen with the early pre-1.7 releases22:28
tjaaltonSarvatt: ok, good22:39
CobaltSarvatt: Using the mainline kernel you gave me a link to fails to load proper ath5k modules, get no wifi, and hence can't test for the most usual test case and reproduce the crash (ie, opening pages in Firefox). As an aside, apparmor profiles also fail to load, and /proc/mount fails to mount as well.22:46
=== ripps is now known as ripps|sleep

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