You are not logged in.

#1 2013-10-30 16:44:15

yabasta
Member
Registered: 2010-05-01
Posts: 167

[SOLVED]Radeon / Xorg issues

Hi Guys,

i'm trying to install arch on an old machine i've been given. i already run arch on a different machine here. the install went fine until i tried to get xorg running.

here's some hardware specs

graphics card - radeon 9200 128mb agp
motherboard - ASUS A7N8X-LA , i beleive all the motherboard chipsets are nvidia

i have xf86-video-ati, and ati-dri drivers installed.

i followed the ati/radeon steps, as per the arch wiki regarding KMS. i went for KMS early start 2...editing mkinitcpio.conf to include 'ati_agp' and 'radeon' in that order as specified. there are no other modules in the modules section. after this i regenerated initramfs, which went without a hitch.

every time i go to do a 'startx, the screen goes black and freezes, and i have to do a hard reboot.

after doing -

cat /var/log/Xorg.0.log | grep "(EE)"

this is the error message i get -

(EE) Failed to load /usr/lib/xorg/modules/libglamoregl.so: libEGL.so.1: cannot open shared object file: No such file or directory
(EE) Failed to load module "glamoregl" (loader failed, 7)
(EE) Failed to load /usr/lib/xorg/modules/drivers/radeon_drv.so: libGL.so.1: cannot open shared object file: no such file or directory
(EE) Failed to load module "radeon" (loader failed, 7)
(EE) Failed to load module "modesetting" (module does not exist,0)
(EE) Failed to load module "fbdev" (module does not exit,0)
(EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (/usr/lib/xorg/modules/dri/swrast_dri.so: cannot open shared object file: no such file or directory)
(EE) GLX: could not load software renderer

i'm really at a loss here, i tried the other KMS early start option 'editing the kernel command line' and this didn't help either.

thanks for your time reading this, and any help would be greatly appreciated.

Last edited by yabasta (2013-10-31 09:00:24)

Offline

#2 2013-10-30 16:55:36

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]Radeon / Xorg issues

Do you need KMS? The Radeon driver should "just work".

What happens if you remove any special configurations you made for KMS ("early start" or "late start" or whatever) and just run "startx"?

Offline

#3 2013-10-30 16:58:34

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]Radeon / Xorg issues

There seems to be something crazy wrong with your installation of the graphics stack. Your output is telling you that it can't find at least mesa and mesa-libgl. You do have xf86-video-ati installed, right?

Offline

#4 2013-10-30 18:50:46

yabasta
Member
Registered: 2010-05-01
Posts: 167

Re: [SOLVED]Radeon / Xorg issues

drcouzelis wrote:

Do you need KMS? The Radeon driver should "just work".

What happens if you remove any special configurations you made for KMS ("early start" or "late start" or whatever) and just run "startx"?

i've changed every setting back to how it was vanilla.

still getting xorg errors -

(EE) Failed to load /usr/lib/xorg/modules/libglamoregl.so: libEGL.so.1: cannot open shared object file: No such file or directory
(EE) Failed to load module "glamoregl" (loader failed, 7)
(EE) Failed to load /usr/lib/xorg/modules/drivers/radeon_drv.so: libGL.so.1: cannot open shared object file: no such file or directory
(EE) Failed to load module "radeon" (loader failed, 7)
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "modesetting" (module does not exist,0)
(EE) Failed to load module "fbdev" (module does not exit,0)
(EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (/usr/lib/xorg/modules/dri/swrast_dri.so: cannot open shared object file: no such file or directory)
(EE) GLX: could not load software renderer

(EE) No drivers available

(EE) no screens found (EE)

and yes Skottish, i do have xf86-video-ati installed

Offline

#5 2013-10-30 19:10:32

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]Radeon / Xorg issues

Your output still says that the system can't find mesa, mesa-libgl, and glamor-egl. What's the output of:

pacman -Qs mesa

Offline

#6 2013-10-30 19:50:14

yabasta
Member
Registered: 2010-05-01
Posts: 167

Re: [SOLVED]Radeon / Xorg issues

local/ati-dri 9.2.2-1
    Mesa drivers for AMD/ATI Radeon
local/glu 9.0.0-2
    Mesa OpenGL Utility library
local/mesa-libgl 9.2.2-1
    Mesa 3-D graphic library

Offline

#7 2013-10-30 20:08:21

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]Radeon / Xorg issues

yabasta wrote:

local/ati-dri 9.2.2-1
    Mesa drivers for AMD/ATI Radeon
local/glu 9.0.0-2
    Mesa OpenGL Utility library
local/mesa-libgl 9.2.2-1
    Mesa 3-D graphic library

Hmmm??? I don't have a lot of ideas here as that looks good. What about:

locate libGL.so.1

Offline

#8 2013-10-30 20:14:07

yabasta
Member
Registered: 2010-05-01
Posts: 167

Re: [SOLVED]Radeon / Xorg issues

-bash: locate: command not found

Offline

#9 2013-10-30 20:14:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]Radeon / Xorg issues

┌─[Veles ~]
└─╼ pkgfile locate
core/mlocate

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2013-10-30 20:20:22

yabasta
Member
Registered: 2010-05-01
Posts: 167

Re: [SOLVED]Radeon / Xorg issues

sadly i can't install anything with pacman tonight as all pgp sigs, or the packages are corrupt

Offline

#11 2013-10-30 20:29:04

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]Radeon / Xorg issues

yabasta wrote:

sadly i can't install anything with pacman tonight as all pgp sigs, or the packages are corrupt

The error that ends in this?

is corrupted (invalid or corrupted package (PGP signature))

If so, there are a number of threads that can help you deal with this problem. Which thread depends on the exact symptoms.

Offline

#12 2013-10-30 20:32:00

yabasta
Member
Registered: 2010-05-01
Posts: 167

Re: [SOLVED]Radeon / Xorg issues

ok thanks, for a quick fix i just found out how to disable package signing for this package.

locate libGL.so 1 gives back this

locate: can not stat () 'var/lib/mlocate/mlocate.db': No such file or directory

Offline

#13 2013-10-30 20:35:43

yabasta
Member
Registered: 2010-05-01
Posts: 167

Re: [SOLVED]Radeon / Xorg issues

sorry, i just did an 'updatedb'

libGL.so is there in /usr/lib/

Offline

#14 2013-10-30 22:03:46

yabasta
Member
Registered: 2010-05-01
Posts: 167

Re: [SOLVED]Radeon / Xorg issues

i'm wondering if this is anything to do with the fact that this card, the radeon 9200 SE 128mb is AGP/PCI? should i be using nvidia drivers too?

Offline

#15 2013-10-30 22:12:01

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]Radeon / Xorg issues

yabasta wrote:

sorry, i just did an 'updatedb'

libGL.so is there in /usr/lib/

I was hoping to see the full output. The reason why is that at least with mesa-libgl, libGL.so is a link to mesa-libGL.so.1.2.0. So on my system:

~ > locate libGL.so.1
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.2.0
/usr/lib/mesa-libGL.so.1.2.0
~ > ls -l /usr/lib | grep libGL.so
lrwxrwxrwx  1 root root       19 Oct 28 23:51 libGL.so -> mesa-libGL.so.1.2.0
lrwxrwxrwx  1 root root       19 Oct 28 23:51 libGL.so.1 -> mesa-libGL.so.1.2.0
lrwxrwxrwx  1 root root       19 Oct 28 23:51 libGL.so.1.2.0 -> mesa-libGL.so.1.2.0
-rwxr-xr-x  1 root root   385008 Oct 28 23:49 mesa-libGL.so.1.2.0
yabasta wrote:

i'm wondering if this is anything to do with the fact that this card, the radeon 9200 SE 128mb is AGP/PCI? should i be using nvidia drivers too?

I don't know that GPU, but you still have the problem where your system can't find libraries that should be installed.

Offline

#16 2013-10-30 22:54:52

yabasta
Member
Registered: 2010-05-01
Posts: 167

Re: [SOLVED]Radeon / Xorg issues

okay

locate libGL.so. 1

scrolls down through pages and pages of files.most of it /usr/ and some /var/log/. i can't even scroll back through them all in my history.

ls -l /usr/lib | grep libGL.so

gives

1rwxrwxrwx  1 root root      19 Oct 19 04:03 libGL.so -> mesa-libGL.so.1.2.0
-rwxr-xr-x 1 root root 357852 Oct 19 04:02 mesa-libGL.so.1.2.0

the graphics card, which is agp as sharing an IRQ with the #1 PCI slot. i'm probably spouting nonsense thinking i'd need a driver for bridge chipset (nvidia).

Offline

#17 2013-10-30 23:08:38

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]Radeon / Xorg issues

yabasta wrote:

okay

locate libGL.so. 1

scrolls down through pages and pages of files.most of it /usr/ and some /var/log/. i can't even scroll back through them all in my history.

ls -l /usr/lib | grep libGL.so

gives

1rwxrwxrwx  1 root root      19 Oct 19 04:03 libGL.so -> mesa-libGL.so.1.2.0
-rwxr-xr-x 1 root root 357852 Oct 19 04:02 mesa-libGL.so.1.2.0

Unless something didn't get copied over into your post, you're missing libGL.so.1. If that's the case, then reinstall mesa-libgl and see if it appears.

Offline

#18 2013-10-31 08:59:55

yabasta
Member
Registered: 2010-05-01
Posts: 167

Re: [SOLVED]Radeon / Xorg issues

that's done it! thank you very much for your time and patience skottish!

Offline

#19 2013-10-31 12:23:38

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]Radeon / Xorg issues

yabasta wrote:

that's done it! thank you very much for your time and patience skottish!

You're welcome. I'm glad to help.

You may want to double check your Xorg.0.log file and see if you're still getting complaints about glamor. If so, reinstall glamor-egl as well.

Offline

#20 2013-11-13 22:57:43

Scriptiee
Member
Registered: 2013-11-13
Posts: 3

Re: [SOLVED]Radeon / Xorg issues

Cheers skottish! had similar issue after messing with the catalyst and that solved it in the end

Offline

Board footer

Powered by FluxBB