You are not logged in.

#1 2011-01-14 23:59:51

devnow
Member
Registered: 2011-01-14
Posts: 7

X crash the PC when exit from X (dixGetPrivateAddr: Assertion)

I installed Arch Linux on my new PC (had Arch on my 6 year old notebook for about 2 years) but each time I want to exit form X (KDE or TWN) crash the video output. The display switch to standby and the keyboard doesn't work any more, so I can't switch to a terminal.

My PC config:
Arch x86_64, new net installation up-to-date (pacman -Syu)
AMD X6, Radeon HD5830, dual head installation

I tried some AUR radeon-git driver (a lot of artefacts, exit from X works) , catalyst (closed source sad , radeon r300g on my notebook just rocks smile ). After all this installation of different drivers I set a new Arch Linux installation up (no KDE, only TWN). But the problem remains. With a remote ssh login I can access the crashed PC and shut it down or restart X and X starts again (now I can switch to a terminal until I exit again from X).

Terminal output when I start X over ssh:

abc@xsix ~]$ su root
Passwort: 
[root@xsix abc]# startx


X.Org X Server 1.9.2
Release Date: 2010-10-30
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.35-ARCH x86_64 
Current Operating System: Linux xsix 2.6.36-ARCH #1 SMP PREEMPT Sat Jan 8 14:15:27 CET 2011 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz26 root=/dev/disk/by-uuid/ed0f04ab-b16c-4a11-8c1b-175c25f7ddb1 ro
Build Date: 01 November 2010  10:29:19PM
 
Current version of pixman: 0.20.0
        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: Sat Jan 15 00:24:48 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
xinit: connection to X server lost

waiting for X server to shut down XIO:  fatal IO error 4 (Unterbrechung während des Betriebssystemaufrufs) on X server ":0"
      after 1027 requests (1027 known processed) with 2 events remaining.
X: ../../../include/privates.h:122: dixGetPrivateAddr: Assertion `key->initialized' failed.

[root@xsix abc]#

Xorg log:
http://archlinux.pastebin.com/MaBAbWJL
no EE errors

Xorg config:

[root@xsix log]# cat /etc/X11/xorg.conf.d/20-radeon.conf
Section "Device"
        Identifier "HD5830"
        Driver "radeon"
EndSection
[root@xsix log]#

radeon is in /etc/rc.conf under MODULES and dbus is in DAEMONS, late KMS enabled.

Has someone an idea to solve this problem or has/had a similar problems with X,radeon,...? Any piece of information is welcome.

Last edited by devnow (2011-01-15 00:03:40)

Offline

#2 2011-01-15 15:08:37

devnow
Member
Registered: 2011-01-14
Posts: 7

Re: X crash the PC when exit from X (dixGetPrivateAddr: Assertion)

Using driver (radeon, mesa, ...) and kernel from testing result in no improvements.

Offline

#3 2011-01-15 16:03:07

devnow
Member
Registered: 2011-01-14
Posts: 7

Re: X crash the PC when exit from X (dixGetPrivateAddr: Assertion)

After add Repo from https://bbs.archlinux.org/viewtopic.php?id=79509 and install
- dri2proto-git
- glproto-git
- libdrm-git
- mesa-full (replaces mesa, libgl and ati-dri)
- mesa-demos-git (optional: needed for glxinfo and glxgears)
- mesa-full-gallium (optional)
- xf86-video-ati-git

with Kernel 2.6.37 from testing (kernel26-drm-radeon-testing and linux-firmware-git not installed)
X don't crash any more smile

But exit from X isn't clean compare last few lines:

[root@xsix abc]# startx


This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.9.3.901 (1.9.4 RC 1)
Release Date: 2011-01-07
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.36-ARCH x86_64 
Current Operating System: Linux xsix 2.6.37-ARCH #1 SMP PREEMPT Fri Jan 7 17:32:33 CET 2011 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz26 root=/dev/disk/by-uuid/ed0f04ab-b16c-4a11-8c1b-175c25f7ddb1 ro
Build Date: 08 January 2011  11:24:47PM
 
Current version of pixman: 0.20.0
        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: Sat Jan 15 16:56:08 2011
(==) Using config directory: "/etc/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server                                       
xinit: connection to X server lost                                                      
                                                                                        
waiting for X server to shut down XIO:  fatal IO error 4 (Unterbrechung während des Betriebssystemaufrufs) on X server ":0"                                                     
      after 1354 requests (1354 known processed) with 2 events remaining.

Now I will install KDE again and hope there are no wired artefacts with this driver.

Btw, is it possible to move this topic to Desktop Environments?

Offline

#4 2011-01-15 23:12:49

Mr. Ulmo
Member
Registered: 2011-01-15
Posts: 2

Re: X crash the PC when exit from X (dixGetPrivateAddr: Assertion)

Thank you very much, I haven't been able to figure out why my system crashed when trying to use KMS, this helped me alot.

Offline

#5 2011-01-16 16:38:18

devnow
Member
Registered: 2011-01-14
Posts: 7

Re: X crash the PC when exit from X (dixGetPrivateAddr: Assertion)

You are welcome, but what exactly helped you? The remote ssh login?

Anyway, I installed KDE and the wired artefacts are back. After that I installed:
- kernel26-drm-radeon-testing
- linux-firmware-git
- libtxc_dxtn (AUR)
from Perry3d repository but this changes nothing.

Offline

#6 2011-01-16 18:11:12

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: X crash the PC when exit from X (dixGetPrivateAddr: Assertion)

I have two systems with the same issue; a stationary pc with radeon hd5450 running arch64 and a laptop with radeon Xpress 1250, running arch32.

I've tracked down the problem to the drm radeon module in the kernel, and so can be fixed by disabling KMS('nomodeset' kernel boot parameter).

However, this then makes it impossible to change to VTs from X on the stationary pc with the FOSS ati driver, so I keep KMS enabled, and have to live with the issue and just go to VT1 and press ctrl+c and then X stops and I can reboot, or shutdown.

For the laptop, then the FOSS ati driver dosen't work, so I use the vesa driver with KMS disabled, as vesa does let me change VTs with KMS disabled. (I don't play games, so don't need the hardware acceleration of the proprietary catalyst driver)

The last errors shown after quitting X have always been there for me, and also before the "X quiting" issue started some month ago.

Edit: I use stable kernel and ati driver from official repositories and haven't bothered checking out the git editions...

Last edited by mhertz (2011-01-16 18:16:20)

Offline

#7 2011-01-16 18:45:10

devnow
Member
Registered: 2011-01-14
Posts: 7

Re: X crash the PC when exit from X (dixGetPrivateAddr: Assertion)

Thank you mhertz for your information. I will switch to the closed source driver for a while.  I hope AMD will soon release their documentation on the evergreen chip  series, so that the people from freedesktop.org, x.org ... can develop a assume driver like the radeon r300g.

Offline

#8 2011-01-19 20:46:48

Mr. Ulmo
Member
Registered: 2011-01-15
Posts: 2

Re: X crash the PC when exit from X (dixGetPrivateAddr: Assertion)

devnow wrote:

You are welcome, but what exactly helped you? The remote ssh login?

No, it was how you solved the problem that helped me out, i wasn't able to find any other info on why X/console was crashing, or how to resolve it.

I'm not on Arch linux, but the info about the "unstable" drivers is allmost the same on Gentoo, and on top of fixing my Problem, it gave me hardware acceleration too.

Thank You again

Offline

#9 2011-01-23 23:54:13

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: X crash the PC when exit from X (dixGetPrivateAddr: Assertion)

@devnow

Just wanted to say thanks for the tip of the xf86-video-ati-git driver from AUR!

Not only does it fix my screen-blanking error on reboot/halt/ctrl+alt+backspace from X, + it also features Xv and EXA 2d hardware acceleration, 3d hardware acceleration(none of those in the stable version!), and runs stable as far as I can tell!

Initially when the evergreen Xv/EXA preliminary support was added to the git driver, then I tried to install it manually without AUR or 3'rd party repo's, and it failed miserably with a freezed display upon launch(but i'm pretty sure it was my own fault for maybe missing to update a specific component or something else...)

Thanks again, mate! smile

Last edited by mhertz (2011-01-24 00:46:25)

Offline

Board footer

Powered by FluxBB