Bug 511887

Summary: X window (KDE session) killed when switched to tty
Product: [Fedora] Fedora Reporter: Stanislaw Gruszka <sgruszka>
Component: xorg-x11-drv-intelAssignee: Adam Jackson <ajax>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: ajax, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-16 08:58:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
X logs
none
xsession errors
none
dmesg none

Description Stanislaw Gruszka 2009-07-15 14:30:02 UTC
Description of problem:
KDE session is killed and X window system restarts when I switch
to tty and stay there for few minutes. 

Version-Release number of selected component (if applicable):
Fedora 11

How reproducible:
Every time.

Steps to Reproduce:
1. Login to KDE session.
2. Switch to tty (ALT + CTRL + F2)
3. Login to console. 
4. Wait few minutes, X window system should restart 
  
Actual results:
X window system restarts.

Expected results:
X window should perform normally after switch and login to tty

Additional info:
This only happens with KDE and intel driver. I have no such problems
on laptop where I use nvidia graphics. Also problem not happens where
there is only GNOME installed or both GNOME and KDE (gdm is used
on for X window login)

Comment 1 Stanislaw Gruszka 2009-07-15 14:31:11 UTC
Created attachment 353830 [details]
X logs

Comment 2 Stanislaw Gruszka 2009-07-15 14:32:45 UTC
Created attachment 353831 [details]
xsession errors

Comment 3 Stanislaw Gruszka 2009-07-16 08:58:42 UTC
nomodeset kernel parameter helps. It is know issue and reported elseware.

*** This bug has been marked as a duplicate of bug 494411 ***

Comment 4 Stanislaw Gruszka 2009-07-24 13:05:34 UTC
In /var/log/kdm.log is info about failed assertion:

X.Org X Server 1.6.1.901 (1.6.2 RC 1)
Release Date: 2009-5-8
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-128.1.6.el5 i686
Current Operating System: Linux dhcp-lab-161.englab.brq.redhat.com 2.6.29.5-191.fc11.i686.PAE #1 SMP Tue Jun 16 23:19:53 EDT 2009 i686
Kernel command line: ro root=UUID=b6eae959-7c5b-4b45-a793-00eba9fe669d rhgb quiet crashkernel=256M
Build Date: 18 May 2009  02:47:59PM
Build ID: xorg-x11-server 1.6.1.901-1.fc11
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 24 14:09:40 2009
(==) Using default built-in configuration (30 lines)
(EE) intel(0): Failed to set tiling on front buffer: rejected by kernel
(EE) intel(0): max_gtt_map_size: 57686kb.
Setting master
(EE) intel(0): max_gtt_map_size: 57686kb.
(EE) intel(0): max_gtt_map_size: 57686kb.
kdmgreet(1912) KdmLabel::lookupStock: Invalid <stock> element ' "pam-error" '. Check your theme!
Dropping master
Setting master
(EE) intel(0): max_gtt_map_size: 57686kb.
(EE) intel(0): max_gtt_map_size: 57686kb.
Dropping master
X: i830_batchbuffer.h:78: intel_batch_emit_dword: Assertion `pI830->batch_ptr != ((void *)0)' failed.

Comment 5 Stanislaw Gruszka 2009-07-24 13:07:46 UTC
Created attachment 355015 [details]
dmesg

I attached dmesg, however looks there are no bug related info

Comment 6 Stanislaw Gruszka 2009-07-24 13:09:08 UTC
[stasiu@dhcp-lab-161 ~]$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 02)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 [8086:27d4] (rev 02)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 [8086:27d6] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 02)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 02)
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 02)
00:1f.2 SATA controller [0106]: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller [8086:27c5] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 02)
02:00.0 Ethernet controller [0200]: Intel Corporation 82573L Gigabit Ethernet Controller [8086:109a]
03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection [8086:4227] (rev 02)
15:00.0 CardBus bridge [0607]: Texas Instruments PCI1510 PC card Cardbus Controller [104c:ac56]
[stasiu@dhcp-lab-161 ~]$

Comment 7 Stanislaw Gruszka 2009-07-24 13:10:57 UTC
I can reproduce this bug without any custom xorg.conf file.
nomodeset kernel parameter helps.