Bug 21233 - [RS690] "Failed to map FB" on logout
Summary: [RS690] "Failed to map FB" on logout
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/radeonhd (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Luc Verhaegen
QA Contact: Xorg Project Team
URL: https://bugs.launchpad.net/bugs/361098
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-16 11:21 UTC by Malte S. Stretz
Modified: 2009-04-20 04:49 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Proposed fix (1.18 KB, patch)
2009-04-17 06:30 UTC, Matthias Hopf
no flags Details | Splinter Review

Description Malte S. Stretz 2009-04-16 11:21:22 UTC
This was originally reported on launchpad as LP#361098 (see URL).  A lot more details/attachments are available there, especially the Xorg.0.log at
  http://launchpadlibrarian.net/25528023/Xorg.0.log

Original text (reproduced with 1.2.5 later):

When I logout, instead of being sent back to the logon screen, all I get is a black screen (and I have to re-start X via '/etc/init.d/kdm restart') because radeonhd bails out with the following error:
(WW) RADEONHD(0): xf86UnMapVidMem: cannot find region for [0x7fa3da595000,0x10000000]
 (II) Open ACPI successful (/var/run/acpid.socket)
 (II) APM registered successfully
 (II) RADEONHD(0): Mapped IO @ 0xfdde0000 to 0x7fa3eec7f000 (size 0x00010000)
 (II) RADEONHD(0): IPG sideport memory not present.
 (==) RADEONHD(0): Mapping IGP memory @ 0x70000000
 (EE) RADEONHD(0): Failed to map FB.
Fatal server error:
 AddScreen/ScreenInit failed for driver 0
Please consult the The X.Org Foundation support
          at http://wiki.x.org
  for help.
 Please also check the log file at "/var/log/Xorg.0.log" for additional information.
 ddxSigGiveUp: Closing log
ProblemType: Bug
 Architecture: amd64
 DistroRelease: Ubuntu 9.04
 Package: xserver-xorg-video-radeonhd 1.2.4-2
 ProcEnviron:
  LANGUAGE=
  LANG=en_US.UTF-8
  SHELL=/bin/bash
 ProcVersion: Linux version 2.6.28-11-generic (buildd@crested) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #41-Ubuntu SMP Wed Apr 8 04:39:23 UTC 2009
 SourcePackage: xserver-xorg-video-radeonhd
 Uname: Linux 2.6.28-11-generic x86_64
Comment 1 Matthias Hopf 2009-04-17 06:30:58 UTC
Created attachment 24892 [details] [review]
Proposed fix

Can you try this patch? I'm a bit unsure about this code path, so I'd like to have it tested before applying the patch.
Comment 2 Malte S. Stretz 2009-04-17 06:41:24 UTC
Tormod, can you create a package for me with that patch included so I can test it? :) Or give me a pointer on how to do it myself in no more than ten minutes? Thanks.
Comment 3 Malte S. Stretz 2009-04-19 05:26:35 UTC
It seems like this fixes the bug for me :) (I used the packages Tormod rolled for me.)

This makes X a lot more usable again. But 1.2.5 introduced some new flickering/distortion on logon (compared to 1.2.4), hard to explain, see
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-radeonhd/+bug/361098/comments/3
But that is a different bug, this one seems to be fixed.
Comment 4 Matthias Hopf 2009-04-20 04:49:33 UTC
Thanks for testing.
Pushed as 881334543d2711f159c8fcaf4a30b8b0db3186d7.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.