You are not logged in.

#1 2014-05-26 09:44:40

k0ner
Member
Registered: 2014-05-26
Posts: 6

[SOLVED] Radeon HD4850 with KMS hangs on dual display

Hello everyone

Recently I have installed Archlinux on my quite old (approximately 6. years) PC with Asus P5E MB, Q6600 CPU with G0 revision and Radeon HD4850 by Powercolor. As ArchWiki says it's better to use ati dri instead of proprietary catalyst driver. Everything is OK, my X server works great, even KMS early start works great! I have full screen resolution on terminal, my i3 desktop works fine. But the problem starts when I try to add second display, then entire system hangs and after few second restarts. I spent almost whole week resolving this issue but I haven't found any working solution...

I checked my configuration, mkinicpio.conf has amd64_agp and radeon modules (not hooks), also I removed vga= from grub.cfg. I don't have any logs because I can't get anything after system hangs, but sometimes it exits with kernel panic (no further logs too).

//EDIT
I forgot to add that I tried to use proprietary driver, but as it turned out it requires xorg-server < 1.13 (actual version is 1.15).

Last edited by k0ner (2014-05-27 09:41:37)

Offline

#2 2014-05-26 10:13:15

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Radeon HD4850 with KMS hangs on dual display

To use fglrx you need the legacy driver version:

$ yaourt -Qs catalyst
catalyst-hd234k/catalyst-hook 13.1-20
    AMD/ATI legacy drivers. Auto re-compile fglrx module while shutdown/reboot.
catalyst-hd234k/catalyst-libgl 13.1-8
    AMD/ATI Catalyst legacy drivers. Catalyst drivers libraries symlinks.
catalyst-hd234k/catalyst-utils 13.1-7
    AMD/ATI Catalyst legacy drivers. Utilities and libraries. Radeons HD 2 3 4 xxx ARE NOT SUPPORTED
catalyst-hd234k/lib32-catalyst-libgl 13.1-8
    AMD/ATI Catalyst legacy driver. Catalyst drivers libraries symlinks (32-bit)
catalyst-hd234k/lib32-catalyst-utils 13.1-7
    AMD/ATI Catalyst legacy driver. Utilities and libraries (32-bit)
catalyst-hd234k/lib32-opencl-catalyst 13.1-7
    AMD/ATI Catalyst legacy driver. OpenCL implemention for AMD Catalyst (32-bit)
catalyst-hd234k/opencl-catalyst 13.1-7
    AMD/ATI Catalyst legacy drivers. OpenCL implemention for AMD Catalyst

And yes, it is very probably necessary to downgrade parts of X. I run a dual head setup with my HD4850, although my second monitor is connected through s-video (two screens on one X server).

Offline

#3 2014-05-26 10:21:12

k0ner
Member
Registered: 2014-05-26
Posts: 6

Re: [SOLVED] Radeon HD4850 with KMS hangs on dual display

So the solution without installing catalyst doesn't exist? I don't want to stuck with some old xserver version...

Offline

#4 2014-05-26 10:36:16

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Radeon HD4850 with KMS hangs on dual display

That is not what I wrote, I only suggested what would be needed for the proprietary driver. Show your xorg.conf[.d]. And what exactly is this "some old xserver version" bothering you with?

Last edited by emeres (2014-05-26 10:38:20)

Offline

#5 2014-05-26 12:34:00

k0ner
Member
Registered: 2014-05-26
Posts: 6

Re: [SOLVED] Radeon HD4850 with KMS hangs on dual display

In xorg.conf.d directory I have only 3 files:

└─[$] ls /etc/X11/xorg.conf.d                                                                                                                                                    [16:33:57]
10-evdev.conf  10-quirks.conf  20-radeon.conf

First two are auto generated, I added only the third file:

┌─[koner@zenon] - [~] - [93]
└─[$] cat /etc/X11/xorg.conf.d/20-radeon.conf                                                                                                                                                                                                                     [16:34:13]
Section "Device"
	Identifier  "My Graphics Card"
	Driver	"radeon"
	Option	"SWcursor"              "off" #software cursor might be necessary on some rare occasions, hence set off by default
	Option	"EnablePageFlip"        "on"  #supported on all R/RV/RS4xx and older hardware, and set on by default
	Option	"AccelMethod"           "EXA" #valid options are XAA, EXA and Glamor. Default value varies per-GPU.
	Option	"RenderAccel"           "on"  #enabled by default on all radeon hardware
	Option	"ColorTiling"           "on"  #enabled by default on RV300 and later radeon cards
	Option	"EXAVSync"              "off" #default is off, otherwise on. Only works if EXA activated
	Option	"EXAPixmaps"            "on"  #when on icreases 2D performance, but may also cause artifacts on some old cards. Only works if EXA activated
	Option	"AccelDFS"              "on"  #default is off, read the radeon manpage for more information
EndSection

Offline

#6 2014-05-26 13:06:20

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Radeon HD4850 with KMS hangs on dual display

How are you adding the second physical display? When exactly does it hang up and restart? I would disable 20-radeon.conf, shut down, connect the second monitor and boot. It should at least attempt to autoconfigure. You should have a video signal on the second monitor just after powering up (BIOS/UEFI messages should show up), if it is not there, then there is something wrong, probably on the hardware side.
Is amd64_agp really necessary in your case? I never used KMS, so I might have missed something here, but I doubt that you need an agp module for a pci gpu.
You can also just boot a live medium with mint or ubuntu on it and see if X gets both monitors working.

Offline

#7 2014-05-26 13:28:19

k0ner
Member
Registered: 2014-05-26
Posts: 6

Re: [SOLVED] Radeon HD4850 with KMS hangs on dual display

I'm using xrandr to add second display. I tried suggested approach with connecting second monitor before booting and sometimes it works, sometimes not - I mean grub always works but when boot messages from arch start showing then sometimes system hangs. Despite that I have never managed to log in - always hang.

//EDIT
I can also exlcude hardware problem because under Windows 8 everything works OK. I would like to find solution without installing catalyst

Last edited by k0ner (2014-05-26 17:06:12)

Offline

#8 2014-05-26 20:17:26

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Radeon HD4850 with KMS hangs on dual display

Take a look here and here. Rule out KMS, disable it at boot by adding 'nomodeset" to the boot command line. Check your kernel. See if there are updates for anything relevant. Downgrading to last stable release, would more or less suggest a kernel issue, but see it as last resort. Again, I would try a live medium and while you are at it, chroot to get any logs from last boot or try booting to multi-user.target/rescue.target.

Last edited by emeres (2014-05-26 20:18:21)

Offline

#9 2014-05-27 07:02:51

k0ner
Member
Registered: 2014-05-26
Posts: 6

Re: [SOLVED] Radeon HD4850 with KMS hangs on dual display

I decided to switch my KMS to catalyst driver. Now everything works great.

Offline

#10 2014-05-27 09:15:44

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Radeon HD4850 with KMS hangs on dual display

It would be nice if you filled a bug report, since this does not solve your stated problem, but is a workaround. Afterwards if you wish, you can mark this thread solved (read the wiki how).

Offline

#11 2014-05-27 09:41:04

k0ner
Member
Registered: 2014-05-26
Posts: 6

Re: [SOLVED] Radeon HD4850 with KMS hangs on dual display

I would do it with great pelasure but... as I mentioned previously I don't have any logs. Also I don't have time right know for futher debugging. I will just mark this thread as [SOLVED] (but actually this is only workaround...)

Offline

Board footer

Powered by FluxBB