FS#33548 - [linux] 3.7.4 - 3.11.x system boots to blank screen after upgrade from linux
Attached to Project:
Arch Linux
Opened by Jeff Hodd (jghodd) - Thursday, 24 January 2013, 20:23 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 09 October 2013, 09:43 GMT
Opened by Jeff Hodd (jghodd) - Thursday, 24 January 2013, 20:23 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 09 October 2013, 09:43 GMT
|
Details
Description:
After upgrading my Atom D2500/GMA3600 (x86_64) system from linux-3.6.11 to linux-3.7.4, the graphics environment now boots to a blank screen after going through the normal boot process up to that point. Additional info: * linux-3.7.4 * Xorg.0.log reflects that X appears to be attempting the same operations as it did under linux 3.6.11, but with no success. * Downgrading just the kernel to 3.6.11 returns graphics operations to normal. Steps to reproduce: Boot to graphics runlevel. |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Wednesday, 09 October 2013, 09:43 GMT
Reason for closing: Upstream
Wednesday, 09 October 2013, 09:43 GMT
Reason for closing: Upstream
Is it possible that there is some config option that was missed when building the 3.7.4 kernel - some option that was set for 3.6.11?
https://bugs.freedesktop.org/show_bug.cgi?id=53926
If this is related, then there might not be a resolution for this issue until linux 3.8 becomes available (which is unfortunate because I was hoping to also resolve my vt1705 audio issues with the 3.7+ kernel). The bug referenced above alludes to issues in 3.7 with kms.
Still holding at linux 3.6.11.
Still not resolved, but better - at least there's a workaround. Lets hope linux-3.8 gives us a real fix.
http://nouveau.freedesktop.org/wiki/InstallDRM#out-of-tree_build_.28alternative.29
I'm more concerned that my inability to get native resolution using the modesetting driver has something to do with lack of kernel-level (gma500_gfx/modesetting) support for the specific D2500/GMA3600 combo. From what I've been reading, only the D2500 and N2600 drive the GMA3600 at 400MHz. It'd be great to get some input from anybody else who has one of these combinations to see if they're having the same issues with timing/sync. Since others have been able to use the GMA3600 in native resolution using the modesetting driver, and given that, in my case, X is correctly probing the timing details and correctly decoding the EDID blob when provided but losing sync, that the issue must be at the kernel level and must have something to do with my specific hardware. Since the LVDS screen is standard and not likely to be the cause, that only leaves the GPU configuration - and the only difference between mine and most others is the graphics core engine frequency. When using the EDID blob, X is picking up every other detail right down to the gamma corrections and display size. I have done some poking around in the kernel gpu code for the gma500 and noted that it appears that the core is initialized to 200MHz (cdv_device.c - cdv_get_core_freq - used to set up the bios).
Anyway, I'm attaching my Xorg log - the one that uses the EDID blob, and the accompanying xorg.conf and a screen dump of my running parse-edid on the EDID blob in case anyone wants to take a look. I've also attached my non-EDID-driven xorg.conf and Xorg log for comparison. Otherwise I'm not sure where to go next with this. Maybe submit it as a kernel bug?
parse-edid-output.png (117.4 KiB)
xorg.conf (0.8 KiB)
xorg.conf-edid (0.5 KiB)
Xorg.0.log (20.6 KiB)
I downloaded the live images of all Linux versions that claimed to support the GMA3600 or GMA500, including MeeGo, Fedora, Ubuntu (12.04 and 12.10), Knoppix, Joli OS, LivePixie, and found they all had the same issue I'm seeing here. JoliOS and LivePixie came up using the default VESA 800x600, but all the others had the same timing/sync issue I'm seeing with Arch. The closest I got was Fedora that appeared to work fine until I actually opened an app, then all hell broke loose, graphically speaking... in the same way it all collapses in Arch/openbox with the app window header repeating 10 or so times down the screen. I even went so far as to install a 32-bit version of Arch in case the 64-bit kernel was causing the problem with the 32-bit GPU, but got the same results.
Thought it was interesting to see the same results across multiple OS's.
I provided a new patch for 915resolution-static to handle the GMA3600 and you can find the packages and PKGBUILD archives at http://bluestarlinux.org/index.php?action=downloads;cat=312. I also wrote out configuration instructions in an article there as well, although the Arch Wiki instructions are probably more complete and better written (https://wiki.archlinux.org/index.php/Uvesafb).
Anyone else who has been experiencing the same problem with their gma3600 would well be advised to go this route. I've searched the internet over and found nothing that works properly using the xorg modesetting or fbdev drivers. I even built the cedarview_gfx kernel driver and its associated drm modules provided by thomas001 (http://gh.codehum.com/thomas001/cedarview-drm) and still couldn't acheive more than an 800x600 resolution with a stable display.
Hope that provides some much needed help for some folks.
They're available at the same location - http://bluestarlinux.org/index.php?action=downloads;cat=312
http://www.phoronix.com/scan.php?page=news_item&px=MTMyMTQ
The one that caught my eye was the "VBlank fixes for old Intel "Gen2" through "Gen4" (GMA X3000 series) graphics" since this is, I believe, the "timing/sync" issuse I was talking about. I believe that with that fixed, the modesetting driver should work on the gma3600.
linux-lts 3.0.89-1
libdrm-nouveau1 2.4.33-1
nouveau-dri 9.1.6-1
xf86-video-nouveau 1.0.9-1
Comment by Dale Blount (dale) - Wednesday, 27 February 2013, 10:00 GMT-5 — Edit
I have a similar issue with xf86-video-nouveau and dualhead. The second monitor never gets video with linux 3.7 or 3.8. Reverting to LTS allows it to work again.
Possibly similar issue: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/1041428
One interesting change I did see was that the boot splash reacted differently this time around - it looked as if KMS was working properly when the LVDS boot param was removed. Instead of going to a black screen after the initial driver load, it reloaded the splash screen, which is expected if KMS is working as it should.
So perhaps there has been some progress on the driver. I do know there were some fixes to gma500_gfx rendering that came through the changelogs a few minor revisions ago. I'm hoping there's some real work going on to fix this driver properly and that we'll see that come through within the next couple of months.