FS#19971 - [xf86-video-ati] KDE session will be reset shortly after login; kernel: [drm] Resetting GPU
Attached to Project:
Arch Linux
Opened by Kay Abendroth (kay.abendroth) - Friday, 25 June 2010, 11:30 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 20 August 2010, 10:29 GMT
Opened by Kay Abendroth (kay.abendroth) - Friday, 25 June 2010, 11:30 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 20 August 2010, 10:29 GMT
|
Details
Description: After upgrading xorg-server from version 1.7.6
to version 1.8.1.902 I experienced the following problem.
Shortly after logging into a KDE session, the session got
"reset" and I was looking at the KDE login screen again.
/var/log/messages.log says: Jun 25 13:07:40 kay kernel: mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining Jun 25 13:07:40 kay kernel: mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining Jun 25 13:07:40 kay kernel: mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining Jun 25 13:07:40 kay kernel: mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining Jun 25 13:07:40 kay kernel: mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining Jun 25 13:07:40 kay kernel: [drm] Setting GART location based on new memory map Jun 25 13:07:40 kay kernel: [drm] Loading RV610 CP Microcode Jun 25 13:07:40 kay kernel: platform r600_cp.0: firmware: requesting radeon/RV610_pfp.bin Jun 25 13:07:40 kay kernel: platform r600_cp.0: firmware: requesting radeon/RV610_me.bin Jun 25 13:07:40 kay kernel: [drm] Resetting GPU Jun 25 13:07:40 kay kernel: [drm] writeback test succeeded in 1 usecs Additional info: * xorg-server-1.7.6-3-x86_64 Steps to reproduce: 1. Upgrade xorg-server to version 1.8.1.902 2. Login to KDE session. 3. Do something and after a few minutes you will see the login screen again. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Friday, 20 August 2010, 10:29 GMT
Reason for closing: Fixed
Additional comments about closing: problem doesn't occur with KMS enabled
Friday, 20 August 2010, 10:29 GMT
Reason for closing: Fixed
Additional comments about closing: problem doesn't occur with KMS enabled
I reinstalled xorg-server-1.7.6-3-x86_64 to get rid of the problem.
If X crashes see my post here: http://bugs.archlinux.org/task/19661
For me crash happens only when I try to restore a window after having minimized it.
Problem in UMS mode, but everything is fine in KMS mode (using ati oss driver from extra repo).
x86_64 system, up to date on core and extra. Testing not used.
ATI HD4650 Mobility (rv730). Not using any xorg.conf
- KMS is disabled.
- Card: ATI Technologies Inc RV610 [Radeon HD 2400 XT]
- Driver: xf86-video-ati
- Samsung R-20 notebook with ATI Radeon XPress 1250 IGP
- kernel26 2.6.34-2
- xorg-server 1.8.1.902-1
- xf86-video-ati 6.13.0-1
- kde****-4.4.4-x
- Compositing is ON
- KMS is turned OFF
Steps to reproduce:
Minimizing a window in KDE results in X crashing.
Reproducible:
Almost always. Sometimes it won't crash but often times it does rather than not.
Details:
If KMS is turned ON heavy3D performance degradation is observed (glxgears yields ~80FPS against usual >200FPS) with random 1-2 seconds complete system freezes (input devices stop responding). Overall system performance is stable though.
If Compositing is turned OFF (via KDE's System Settings) no degradation of system performance can be seen.
I've compiled different versions of xorg-server myself and found out that all versions after 1.8.0 has this issue.
My current (working) setup is:
- xorg-server: 1.8.0 (self compiled);
- xf86-video-ati: 6.13.0 (self compiled, but Archlinux' version probably also works).
The rest (libdrm, dri2proto, mesa, libgl, ati-dri, xf86-input-* and other xf86-video-*) are the same as the current version from Archlinux.
- KMS is disabled.
- Compositing is on.
- xorg-server 1.8.1.902-1
- xf86-video-ati 6.13.0-1
- kdelibs 4.4.5-1
- Thinkpad T400 with ATI Mobility Radeon HD 3400
- kernel 2.6.34.1-1 (x86_64)
There is no problem when I turn compositing off or switch to Openbox. I can't try it with KMS enabled for other reasons.
It happens when minimizing and restoring a window and also when restoring a video from full screen.
This happens when I'm using the latest packages from extra (xorg-server 1.8.1.902, xf86-video-ati 6.13.1...).
So I'm stuck with xorg-server 1.7.6 and its relevant dependencies.
I have an x86 system with an ATI Radeon X1950XT card with compositing ON and KMS OFF.
PS: I also tried turning KMS ON and the problem indeed disappears BUT perfomance(3D mostly) is way downgraded!
[drm] Num pipes: 4
agpgart-intel 0000:00:00.0: AGP 3.0 bridge
agpgart-intel 0000:00:00.0: putting AGP V3 device into 4x mode
pci 0000:01:00.0: putting AGP V3 device into 4x mode
[drm] Setting GART location based on new memory map
[drm] Loading R500 Microcode
platform radeon_cp.0: firmware: requesting radeon/R520_cp.bin
[drm] Num pipes: 4
[drm] writeback test succeeded in 2 usecs
ata1.00: configured for UDMA/100
ata1.01: configured for UDMA/33
ata1: EH complete
ata3.00: configured for UDMA/133
ata3: EH complete
ata4.00: configured for UDMA/133
ata4: EH complete
So is there any wrong in KMS mode expect speed?
I haven't used my system with KMS ON for too long because of the low performance.
As far as I remember when I turned KMS ON, KDE turned compositing off because of the low performance.
On the other hand, I could test my system with KMS ON for a while to see if any other problem occurs (except the slowness in speed) if this would be any helpful.
I hope however that in the coming kernels the perfomance of KMS improves a lot because now its unbearable..
Upgrading KDEmod from 4.4 to 4.5 however results in KDM not starting because the user kdm won't be created. But that's a different issue.