[00:23] Looks like my radeon, which works great in Oneric, does not work with the radeon drivers in Precise. [00:23] Normal mode, it boots to a dark purple flickering screen, entirely unusable, using the radeon driver. Safe mode, it boots with the vesa driver: [00:23] < (II) [KMS] drm report modesetting isn't supported. [00:24] < (II) GPU only supported with KMS, using vesa instead. [00:24] Fresh precise beta 2 install, doing a dist-upgrade now to see if that helps. [00:24] Darxus: Got a dmesg? [00:25] Sure, I'm booted into save graphics mode now, that good? [00:27] http://www.chaosreigns.com/tmp/precise.safemode.dmesg.txt [00:32] You'd need to boot without nomodeset to get a useful dmesg. [00:32] Okay. [00:32] What are you looking for in dmesg? [00:33] Anything drm related; adding “drm.debug=0xe” to the kernel command line would be useful. [00:33] Okay. [00:34] So add "nomodeset drm.debug=0xe" to the end of the kernel args? [00:35] Yeah. [00:36] Another thing to check would be the grub→drm handoff; you'd want to remove the “set gfxpayload=$STUFF” stuff when booting. [00:37] Still waiting for the dist-upgrade. [00:38] Okay. [00:42] Rebooting. [00:46] Doesn't look like it includes what you're looking for: http://www.chaosreigns.com/tmp/precise.dmesg.txt [00:46] ah, I typed the drm.debug part wrong, trying again. [00:49] Uploaded over the last one, http://www.chaosreigns.com/tmp/precise.dmesg.txt [00:49] Still doesn't look useful. [00:49] X is still using the vesa driver. [00:50] X log still says [00:50] [ 15.733] (II) [KMS] drm report modesetting isn't supported. [00:50] [ 15.733] (II) GPU only supported with KMS, using vesa instead. [00:51] You've kept “nomodeset” in the kernel command line. [00:51] Which, indeed, will disable kms, which will mean that nothing interesting happens. [00:52] I guess I misunderstood what you wanted me to do. What should I do? [00:55] Remove the “nomodeset” from the kernel command line, add the “drm.debug=0xe” bit, and boot. [00:55] That will, presumably, fail to work correctly, and the dmesg should give an idea as to why. [00:56] Then, try the same thing, but removing the “set_gfxpayload” bit from the grub entry (you can do this from the grub menu) [00:56] Okay, thanks. [00:56] fglrx looks like it works, which is nice. But not useful with wayland. [00:57] Indeed :) [01:03] I neglected to mention when this fails I can't get any usable console :/ [01:03] dmesg isn't written to a file anywhere by default, right? So, init script or something to run it? [01:04] dmesg is sent to /var/log/kern.log [01:04] Well, and also syslog. [01:04] And probably a couple of other places :) [01:04] Ah, okay. [01:05] So just giving you a copy of /var/log/kern.log from a boot where the graphics fails would be good? [01:06] That'd be good. [01:07] Okay. [01:11] http://www.chaosreigns.com/tmp/kern.log [01:11] That's only the boot with the graphics failing. Booted to oneric, renamed that log, booted to precise with drm.debug=0xe, rebooted back to oneric... [01:12] EPERM [01:12] Or, translated through perror: I don't have permissions to view that :) [01:13] Fixed, sorry. [01:13] Apr 1 21:08:55 dancer kernel: [ 10.663848] [drm:radeon_process_aux_ch], dp_aux_ch flags not zero [01:13] Apr 1 21:08:55 dancer kernel: [ 10.663849] [drm:radeon_dp_i2c_aux_ch], aux i2c too many retries, giving up [01:14] I guess that shouldn't cause this problem. [01:16] Yeah. [01:16] radeon thinks it's brought up 1600x1200 on your VGA output. [01:17] And no useful errors? :/ [01:17] The *other* option might be that X is starting too soon - do you have a corresponding Xorg.0.log [01:17] Sure. [01:17] I'm less familiar with how radeon looks when stuff goes wrong than intel, but I can't see anything obvious there. [01:18] http://www.chaosreigns.com/tmp/Xorg.0.log [01:18] Oh. [01:19] And *X* thinks everything worked, too. [01:19] I swear it's a horribly flickering dark purple mess :/ [01:20] I'm sure it is, but it seems that neither the kernel nor X is aware that anything's wrong. [01:20] Did you try dropping the gfxmode bit in grub? [01:20] No. [01:21] Give that a whirl; the framebuffer handoff can confuse things, and may well be the cause here. [01:21] With everything else as defaults? [01:21] Radeon driver version isn't in the Xorg log? [01:22] With everything else as defaults (assuming that your defaults don't include nomodeset) [01:22] Right. [01:22] The version is in the log - 6.14.99 [01:23] Not that that's particularly useful, as we habitually take git snapshots of the ati DDX, since it's (a) usually stable, and (b) has a slow release cycle. [01:24] Worked! [01:24] I just removed the setgfxpayload... line. [01:24] Sweet. [01:24] Please file a bug with “ubuntu-bug linux”. We may need to add your card to the blacklist. [01:25] A blacklist of cards to effectively skip the setgfxpayload stuff? [01:25] Yup. [01:25] Nice. [01:26] What info do I need to provide on the card, just "lspci | grep -i vga" output? Should I attach the kernel log and X log? [01:26] And what should I title the bug? What do you call that blacklisting? [01:26] If you use “ubuntu-bug linux” it'll attach all the relevant information. [01:27] Title the bug something like “graphics fails with setgfxpayload=keep” [01:27] Thanks. [01:27] Then I can finally test out the wayland packages in precise, and attempt to run some stuff that's built against gtk3 with it :) [01:30] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/971204 [01:30] Launchpad bug 971204 in linux (Ubuntu) "graphics fails with setgfxpayload=keep, AMD Radeon" [Undecided,New] [01:35] Darxus: Excellent; I'll ensure that gets looked at by the kernel team. [01:35] Great, thanks. [01:36] I'll be happy to test a fix. [01:36] Oooh, I see you've got a system built by the well-respected “System manufacturer System Product Name”. Second only to that great paragon of computing, “To Be Filled In By OEM”. [01:37] Haha. [01:37] You got something against people putting their own machines together? :P [01:37] http://www.chaosreigns.com/dancer/ <- more detail than you could possibly care about. [01:38] Except pictures :/ Need to fix that. === himcesjf1 is now known as himcesjf [12:40] xorg-edgers radeondrigetversion failed because of version mismatch. required 1.17.0 but kernel reports 2.12.0. known issue? [12:40] means you need to load radeon.ko sooner [13:29] noon [13:36] I just had a hang where my monitor went off and alt-sysrq reisub didn't work :( I suspect there are more substantial problems between my video card and the radeon driver in precise. [13:36] Just using eog triggered it. === yofel_ is now known as yofel [18:23] bryceh: ping [18:24] anyone here that could help fix https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/551668 before 12.04 ships? [18:24] Launchpad bug 551668 in nvidia-graphics-drivers (Ubuntu) "Fn+F5 and Fn+F6 don't modify brightness on Sony VAIO VPCCW (GT 230M)" [Undecided,Confirmed] [18:31] alex_mayorga: aiui you need to quirk it in the xorg.conf [18:41] tjaalton: Can you dumb down that a bit for me please? [18:44] alex_mayorga: you need a driver option in xorg.conf [18:44] don't ask which one [18:46] blob? [18:47] Option "EnableACPIBrightnessHotkeys" "boolean" [18:47] http://us.download.nvidia.com/XFree86/Linux-x86/295.20/README/xconfigoptions.html [18:48] yeah [18:48] would that work with nouveau? [18:48] I'm using nouveau now [18:48] nvidia-graphics-drivers is nvidia blob right? [18:48] mlankhorst: yes [18:49] alex_mayorga: then why are you linking to a blob bug? [18:49] jcristau, the bug he linked to was open against both -nvidia and -nouveau [18:50] jcristau: I put it affects both [18:50] ah. [18:50] so it's just the url being confusing. fair enough, sorry. [18:50] sorry, don't know how to get the nouveau link [18:50] the nouveau upstream ug was marked as fixed [18:51] https://bugs.freedesktop.org/show_bug.cgi?id=31920 [18:51] Freedesktop bug 31920 in Driver/nouveau "Brightness control is erratic (/sys/class/backlight/nv_backlight/max_brightness is wrong)" [Normal,Resolved: fixed] [18:51] I think it's https://bugs.freedesktop.org/show_bug.cgi?id=23023 instead [18:51] Freedesktop bug 23023 in Driver/nouveau "no backlight support in /sys or /proc ; xbacklight not working" [Normal,Reopened: ] [18:51] the other one worked for the original reporter but not much else [18:52] anyhow, thought I could stop by in case any more detail is needed [18:52] the fact is, backlight levels do not work on this laptop [18:53] even if the display shows =( [18:53] related to 819002 maybe? [18:59] bug 819002 [18:59] Launchpad bug 819002 in Linux "Brightness level control is not working properly on Sony Vaio" [Medium,Incomplete] https://launchpad.net/bugs/819002 [19:00] the patch for that bug appears to come from http://code.google.com/p/vaio-f11-linux/wiki/KernelSupport [19:02] bryceh: Looks very similar [19:02] mine is another model though [19:05] bryceh: Got powers on https://bugzilla.kernel.org/show_bug.cgi?id=41652 ? [19:05] bugzilla.kernel.org bug 41652 in Power-Other "Brightness control keys not working" [Normal,Needinfo] [19:07] patchset proposed on platform-driver-x86 via http://www.mail-archive.com/platform-driver-x86@vger.kernel.org/msg02399.html [19:07] How come the keys are caught, OSD shows, but in the end nothing happens? [19:10] Guess kernel devs don't care as long as their mac book pros work, right? ;-P [19:11] maybe kernel hackers just don't buy vaios. [19:11] pretty much.. [19:11] * hyperair wouldn't either. [19:12] * alex_mayorga doesn't have much sayin on what he gets for "saturnalia" [19:13] http://www.mail-archive.com/platform-driver-x86@vger.kernel.org/msg01975.html [19:13] Added support for handle 0x0143 (Vaio SA/SB/SC, CA/CB). Minor corrections included. [19:13] guess that doesn't fix vaoi vpccw though [19:17] bryceh: the patched were never taken, were they? [19:18] The guy seems to have a Launchpad account https://bugs.launchpad.net/~marco-absence [19:18] alex_mayorga, doesn't appear so to me [19:24] What is there to do then? Upstream doesn't seem to care =( [19:25] it's not cc'd to lkml.. [19:26] mlankhorst, yeah, presumably because he wanted to finish the v2 set of patches first? I'm not really familiar with the platform-driver-x86 list. [19:28] alex_mayorga, as far as next steps, some random ideas... [19:28] reading that mail-archive, there were some technical problems with that patch anyhow.. [19:30] alex_mayorga, 1. contact the patch author, Marco Chiappero, to get an update about the patch and if he plans to re-propose it. (And if he can update it to include your model). [19:31] alex_mayorga, 2. try sweet talking the ubuntu kernel team into building a kernel with that patchset for you to test. This might not be possible though, if there's problems with the kernel or if it's hard to figure out how to apply it to a mainline kernel. [19:32] alex_mayorga, 3. If you feel like hacking on some C code, see if you can figure out which chunk from all those patches provide the backlight fix, extract it and revise it to work with the current kernel, and then verify that bit alone fixes it for you. If so, then propose inclusion of that into the kernel. [19:32] that last one could be rather labor intensive [19:34] alex_mayorga, 4. join the platform-driver-x86 mailing list, and post an email asking for an update on the status of Marco's vaio patchset [19:34] alex_mayorga, meanwhile, I've added my findings to the bug reports and tagged them to get some attention from our kernel team. However I think they'll be more likely to take action if one of the above steps is taken. [19:35] bryceh: Thanks! I'll put those in my to-do [19:48] bryceh, RAOF, Sarvatt: the only other input option breakage I was aware of was bug 969495 [19:48] Launchpad bug 969495 in xserver-xorg-input-evdev (Ubuntu) "evdev stopped remapping events" [Medium,Invalid] https://launchpad.net/bugs/969495 [19:48] which is invalid, the user was using someone else's evdev and now is using the Ubuntu version [19:49] so I think we're ok [19:54] cnd: still can't close my lid due to https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/948697 but ya guys touched on that in #ubuntu-kernel earlier [19:54] Launchpad bug 948697 in xorg-server (Ubuntu) "[bcm5974] Xorg crashed with SIGSEGV in valuator_mask_set_double()" [High,Confirmed] [19:54] Sarvatt, oh, it causes X to crash? [19:54] or is that just an old title [19:54] yeah it crashes X [19:54] but i have suspend on lid closed disabled, sforshee has suspend enabled [19:55] it crashes it after about 8 hours with the lid shut with it sending constant streams of input crap :) [19:55] yeah, I see [19:55] that's quite the stress test :) [19:56] Sarvatt, do you think we should lower the priority of that bug? [19:57] I guess it's a normal configuration though... [19:57] cnd: done [19:58] yeah its specific to this model macbook air with the non default lid close change from what i can see [19:58] Sarvatt, a full stack trace with symbols would help too [19:58] even better if synaptics and the server are built with noopt [19:59] but it's still low priority since we really need a fix for the lid closure issue [19:59] and the bug likely won't show up once that's fixed [20:02] all the dupes of this one are getting duped to https://bugs.launchpad.net/bugs/933504 which is completely unrelated [20:02] Launchpad bug 933504 in xorg-server (Ubuntu Precise) "Xorg crashed with SIGABRT in __libc_message()" [High,Confirmed] [20:03] hey someone with a macbook pro 5,1 hitting it https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/967286 [20:03] Launchpad bug 933504 in xorg-server (Ubuntu Precise) "duplicate for #967286 Xorg crashed with SIGABRT in __libc_message()" [High,Confirmed] [20:04] sucks the retracer is removing good info when it dupes to the unrelated bug [20:06] Sarvatt, yeah I hate that [20:08] uhoh test rebuild going, libxaw is going to fail with new xutils-dev [20:08] oh cjwatson fixed it already [20:11] Sarvatt, it's probably not a huge concern though; looking at the dupes I think we already have independent bug reports for each of those (with better stacktraces) [20:16] Sarvatt, as long as I've worked on X I don't recall ever seeing these types of "double free or corruption" bugs. Certainly never to this volume. Something has to be screwed up in our stack. [20:17] a lot seem to occur in the input layer, and most of those seem to occur in some sort of input deletion [20:18] makes me wonder if the 1.12 input code might be freeing memory already freed by the 1.11 side of the server? === stgraber_ is now known as stgrber === stgrber is now known as stgraber === Daviey_ is now known as Daviey [20:33] I just love Launchpad´s feature of posting freedesktop bug comments to launchpad [20:50] bryceh, hard to say [20:51] you mentioned there are dupes with good stack traces? [20:52] cnd, yes a handful [20:52] cnd, want me to sub you to ones that look relevant and have good traces? [20:53] bryceh, my subscriber folder is a bit large :( [20:53] if you could just paste a one or two here I can take a look [20:53] cnd, alright [20:55] https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/971182 [20:55] Error: launchpad bug 971182 not found [20:58] https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/950162 [20:58] Launchpad bug 950162 in xorg-server (Ubuntu) "Xorg crashed with SIGABRT: double free or corruption, ErrorF (f=0xc69
) at ../../os/log.c:604" [High,Confirmed] [20:59] https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/943880 [20:59] Launchpad bug 943880 in xorg-server (Ubuntu) "Xorg crashed with SIGABRT in __libc_message() from XIDestroyDeviceProperty" [High,Confirmed] [20:59] cnd, ^^ that one has many dupes [20:59] https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/933504 [20:59] Launchpad bug 933504 in xorg-server (Ubuntu Precise) "Xorg crashed with SIGABRT "double free or corruption (out)" from DeleteInputDeviceRequest" [High,Triaged] [20:59] fun [21:00] bryceh, do we know if any of these still exist after the fix in -0ubuntu6 (or 7, can't remember)? [21:01] cnd, check dates on final comments [21:01] yeah, I see now [21:01] odd [21:02] bryceh, have you seen any good reproduction scenarios [21:02] running the X server under valgrind would be very enlightening [21:03] cnd, no the ones we had good repro on I sent your way already [21:03] ok [21:04] cnd, here's one that repro's pretty easily and has a good trace, but it's a different bug I think - https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/948587 [21:04] Launchpad bug 948587 in xorg-server (Ubuntu) "hid-wiimote driver causes Xorg crash in GetPointerEvents" [High,Confirmed] [21:07] yeah, that looks different [21:07] I'm going to run X under valgrind here [21:07] just to see if anything obvious shows up [21:07] maybe it doesn't crash all the time, but it always attempts to do something bad [21:08] sounds good [21:10] meanwhile, I'll check if any have not tested against latest and prompt them to do so [21:13] oh goodie, more SRU paperwork to file https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/968218 [21:13] Launchpad bug 968218 in xorg-server (Ubuntu) "ssh x11 forwarding precise to oneiric causes glibc malloc(): memory corruption" [High,Incomplete] [21:14] Sarvatt, yeah was looking at that last week. is there a fix identified? [21:14] yup superm1 says what i put in the ppa fixed it [21:16] great [21:16] Sarvatt, you going to take care of the sru, or shall I? [21:17] http://cgit.freedesktop.org/xorg/lib/libXi/commit/?h=libXi-1.4-branch&id=22e9ace88d57803ecda95db7c9355a614db1902a was the fix, i had to extend it to XITouchClass and XITouchValuatorClass because of 1_xi2.1.patch [21:17] bryceh: I'm completely bugged out for the day here, will do it tomorrow unless you want to get it in [21:19] bryceh, har har, got a segfault while running under valgrind and disconnecting my magic trackpad :) [21:19] cnd, 8-D [21:20] Sarvatt, ok, I might have time later today [21:22] we (I) really need to get the build conflict on libxtst-dev removed from synaptics [21:22] every time I switch from building synaptics to the x server I have to install/remove it [22:03] bryceh, when I run Xorg under valgrind, I get a segfault when a device is disconnected, the mtdev has returned an error from attempting to read an event from the event node, and then we try to log the error [22:03] the actual segfault occurs in this line: [22:03] sprintf(tmpBuffer, "[%10.3f] ", GetTimeInMillis() / 1000.0); [22:03] there is nothing wrong with that, AFAICS [22:03] I fear there's some corruption in SIGIO [22:04] specifically, when an input event node returns an error from read() [22:08] mmm [22:09] yeah unless tmpBuffer is an invalid chunk of memory [22:10] tmpBuffer is: static char tmpBuffer[1024] [22:10] so it should be fine [22:11] hmm yeah [22:11] I can't see anything that would cause an issue with sigio in mtdev_get though [22:11] when it errors out, it mainly just returns the error code directly from read() [22:14] https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/971767 also has a stacktrace passing through GetTimeInMillis() [22:14] Error: launchpad bug 971767 not found [22:14] although I think the problem would have started from CreateCallbackList() in that one [22:15] when I remove the error message in synaptics, valgrind no longer gets a segfault [22:15] ar_ptr = [22:15] but it doesn't complain about anything else either [22:15] weird [22:15] so I can't reproduce the issue [22:16] what about an error message without the GetTimInMillis() call in it? [22:17] I'll try it, but it's really just a red herring [22:19] yeah [22:22] bug 971767 looks like it might be a bug deeper down than X [22:22] Error: Launchpad bug 971767 could not be found [22:32] bryceh, it doesn't appear to have anything to do with GetTimeInMillis() [22:32] I replaced it with "0", which is confirmed when I look at the Xorg.log file [22:32] but it still died [22:33] so the bug is being hit from within sprintf, where it is given completely valid data [22:33] intriguing [22:33] argh, I wasn't looking closely enough at the backtrace [22:34] oh? [22:34] http://paste.ubuntu.com/912157/ [22:34] I don't think sprintf is signal safe :) [22:34] it's not listed as being signal safe in man signal (7) [22:38] so we're calling sprintf [22:38] then that somehow generates a bad signal [22:38] so we are now in OsSigHandler printing a backtrace [22:38] which then itself fails [22:39] hmm, grepping for 'signal' in our patches shows only 100_rethrow_signals.patch [22:47] I'm going to have to leave it for now though [22:47] more important bugs to work on [22:48] can you update the bug report with your findings/theories? [22:48] I don't have any :( [22:49] I never saw a bug using valgrind that would give me any idea [22:49] I just saw the weird bug when it was trying to print a message [22:49] cnd, well, that'd be a finding... [22:49] true [22:53] bryceh, fwiw, in bug 943880 the stack trace from *after* we fixed the synaptics corruption is from when the server is shutting down [22:53] Launchpad bug 943880 in xorg-server (Ubuntu) "Xorg crashed with SIGABRT in __libc_message() from XIDestroyDeviceProperty" [High,Confirmed] https://launchpad.net/bugs/943880 [22:53] while it's not cool, it's also not terrible [22:54] ok [22:54] yeah I figure once apport is turned off a lot of these bugs will "disappear"