Bug 24310 - R600, KDE4: text console not restored after log out
Summary: R600, KDE4: text console not restored after log out
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-04 15:26 UTC by Grzegorz Kowal
Modified: 2015-01-02 12:49 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (62.84 KB, text/plain)
2009-10-04 15:26 UTC, Grzegorz Kowal
no flags Details
lspci (13.76 KB, text/plain)
2009-10-04 15:26 UTC, Grzegorz Kowal
no flags Details
xorg.conf (603 bytes, text/plain)
2009-10-04 15:27 UTC, Grzegorz Kowal
no flags Details
dmesg (15.03 KB, text/plain)
2009-10-04 15:27 UTC, Grzegorz Kowal
no flags Details
screenshot of the text console (53.71 KB, image/jpeg)
2009-10-04 15:28 UTC, Grzegorz Kowal
no flags Details
Xorg.0.log with EXA turned off (43.62 KB, text/plain)
2009-10-04 19:51 UTC, Grzegorz Kowal
no flags Details
gdb log and backtrace during logging out (11.35 KB, text/plain)
2009-10-05 08:50 UTC, Grzegorz Kowal
no flags Details

Description Grzegorz Kowal 2009-10-04 15:26:19 UTC
Created attachment 30047 [details]
Xorg.0.log

After the first start of KDM and during normal use of KDE 4.3.1 I can switch between the text console and KDE session without any problem. However, after logging out from the KDE4 session and returning to the KDM login screen, when I switch to the text console, it is not restored. Instead, I see a white screen with some remnant of the KDM screen.

Currently I am using xorg-server 1.6.3.901, libdrm-2.4.13, xf86-video-ati-6.12.4, and mesa-7.5.1 (the "stable" stack for Gentoo), but the problem appeared with older versions since the support for R600 was introduced.

When using driver xf86-video-radeonhd-1.2.5 with the same setup, the text console can be restored after logging out from the KDE4 session.

The hardware is laptop ASUS M50SA with graphics 1GB Mobility Radeon HD 3650. I have 4GB of system memory.

uname -a:

Linux acrux 2.6.30-gentoo-r5 #1 SMP PREEMPT Sun Oct 4 17:34:29 BRT 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz GenuineIntel GNU/Linux

I'll attach the lspci output, Xorg.0.log, xorg.conf, and a screenshot.
Comment 1 Grzegorz Kowal 2009-10-04 15:26:55 UTC
Created attachment 30048 [details]
lspci
Comment 2 Grzegorz Kowal 2009-10-04 15:27:20 UTC
Created attachment 30049 [details]
xorg.conf
Comment 3 Grzegorz Kowal 2009-10-04 15:27:42 UTC
Created attachment 30050 [details]
dmesg
Comment 4 Grzegorz Kowal 2009-10-04 15:28:21 UTC
Created attachment 30051 [details]
screenshot of the text console
Comment 5 Grzegorz Kowal 2009-10-04 15:34:49 UTC
I forgot to mention that I can still switch between the KDM screen and text console, and normally login and use KDE. The console looks always as shown in the screenshot though.
Comment 6 Grzegorz Kowal 2009-10-04 19:49:25 UTC
I checked the following options in xorg.conf:

  Option           "DRI" "off"
  Option           "AccelMethod" "XAA"
  Option           "RenderAccel" "disable"
  Option           "EXANoComposite" "on"
  Option           "EXANoUploadToScreen" "on"
  Option           "EXANoDownloadFromScreen" "on"
  Option           "EXAOptimizeMigration" "off"

These suppose to turn off the acceleration, but unfortunately my problem still exists, so it seems that this issue is not related to EXA.
Comment 7 Grzegorz Kowal 2009-10-04 19:51:56 UTC
Created attachment 30059 [details]
Xorg.0.log with EXA turned off
Comment 8 Alex Deucher 2009-10-04 21:17:41 UTC
Sounds like the server may be crashing when you log out which prevents the text mode from getting restored.  kdm promptly restarts when the server crashes so it may be hard to tell.  Ideally you'd attach to the server with gdb and look for a backtrace when logging out.  See this page for more info:
http://wiki.x.org/wiki/Development/Documentation/ServerDebugging
Comment 9 Grzegorz Kowal 2009-10-05 08:50:37 UTC
Created attachment 30086 [details]
gdb log and backtrace during logging out
Comment 10 Grzegorz Kowal 2009-10-05 08:53:33 UTC
Thanks for pointing this out. Indeed, it looks like the server hangs due to some reason.

I just attached the full gdb log with backtrace while logging out from KDE4 session. I hope this will give us some clue.
Comment 11 Grzegorz Kowal 2009-10-05 12:15:00 UTC
Ok, it looks like this SIGHUP in the gdb log is intencional and it means that the server received a signal for resetting. Correct me if I am wrong. I have no deep understanding of xorg-server.

Nevertheless, I have tested the same setup with xdm and without loging to KDE, i.e. with xterm running only (no WM), and after logging out I observe the same behavior after switching to the text console. When I use radeonhd, everything works well with this setup.
Comment 12 Grzegorz Kowal 2015-01-02 12:49:12 UTC
I don't have that notebook anymore. Since it is an old bug and not valid anymore, I am closing it.


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.