Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Getting AMD drivers & multi-monitors working

Need help with peripherals or devices?
Post Reply
Message
Author
Ac1d
Posts: 18
Joined: 2013-09-17 11:47

Getting AMD drivers & multi-monitors working

#1 Post by Ac1d »

I've installed the latest drivers from AMD's website, Catalyst 13.4. Extracted the download and ran the .run file, everything seems to have installed fine. However I have no access to CCC (catalyst control center), even though its displayed in my preferences menu. When going into the settings menu for the display, I come across the two errors attached below when I try and switch my monitors off of mirror displays.
Screenshot_from_2013_09_18_19_18_29.jpg
Screenshot_from_2013_09_18_19_18_29.jpg (19.25 KiB) Viewed 6941 times
Untitled.jpg
Untitled.jpg (15.89 KiB) Viewed 6941 times
I'm currently running 5 displays, only 3 of which are showing anything.
Two AMD cards are powering them, one 5870 pushing three of them, a cheapo 5450 powering the other 2.

Ac1d
Posts: 18
Joined: 2013-09-17 11:47

Re: Getting AMD drivers & multi-monitors working

#2 Post by Ac1d »

Figured out that I didn't even have a xorg.conf file for some unkown reason. This is a fresh install so I would assume after updates and installing the drivers that it would be there, but apparently not. Anyways I came across something while searching that states that X needs to be configured for a larger virtual desktop. This is the lines of code that I'm supposed to add to xorg.conf. Only problem is I'm not sure of the numbers that I need to add.
You have to configure X for a larger virtual desktop.

Edit your /etc/X11/xorg.conf file, and inside the stanza "Screen", add the following lines:

Subsection "Display"
Virtual 2646 1024
EndSubsection

Where the numbers for Virtual are the ones marked "requested" in the error message:

The selected configuration for displays could not be applied
required virtual size does not fit available size:
requested=(2646, 1024), minimum=(320, 200), maximum=(1366,1366)
^^^^ ^^^^

If there is already a Subsection "Display", don't create another. Just add Virtual 2646 1024 to the end of the existing Subsection.

Log out and back in (to restart the X server) and you should be good to go.
Also this doesn't match up to my error message as it gives what is requested and mine simply states that its outside the maximum limit.

If it helps I'm running one 40" lcd in the center and 2-27" lcds on each side in portrait mode.

debianneedstuning
Posts: 214
Joined: 2012-12-03 02:44

Re: Getting AMD drivers & multi-monitors working

#3 Post by debianneedstuning »

I installed the version for the AMD/ATI 7790 and right at the end of the install it said to run aticontrol (in terminal) which has command line options like --initial=dual-head --dtop horizontal(L&R)(woops forgot to add that that writes /etc/X11/xorg.conf). It worked okay for me without specifying a virtual size. Probably because both monitors are on HDMI cables and not vga.

Good luck. I also found that I had to strip all other ati drivers out, but then with a 7790 video card, the Catalyst driver conflicts.

Ac1d
Posts: 18
Joined: 2013-09-17 11:47

Re: Getting AMD drivers & multi-monitors working

#4 Post by Ac1d »

root@D3B1AN:/home/ac1d# amdcccle
amdcccle: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS32
So I've searched around and found that the adjustments that I need can only be made via CCC apparently. Trouble is I cant get it to run. This is the error that spits out. Not exactly sure what to do.

tukuyomi
Posts: 150
Joined: 2006-12-05 19:53
Contact:

Re: Getting AMD drivers & multi-monitors working

#5 Post by tukuyomi »

A blind shoot:
Are you running on a 64-bit system?
I would suggest you to look after multi-arch - https://wiki.debian.org/Multiarch/Imple ... _multiarch and then install -or reinstall fglrx for amd64 and i386.

debianneedstuning
Posts: 214
Joined: 2012-12-03 02:44

Re: Getting AMD drivers & multi-monitors working

#6 Post by debianneedstuning »

I'm currently running 5 displays, only 3 of which are showing anything.
Two AMD cards are powering them, one 5870 pushing three of them, a cheapo 5450 powering the other 2.[/quote]

How are the monitors connected to the display cards? All vga or all hdmi?
The 5450 specs say it will drive up to three monitors, but the image only shows connection for one(one of each)
5870 image shows dual outlets.

Do you have a ram figure?
I was wondering if the max resolution figure are total resulution of all screens?

Also, what do you need to configure in xconf.com?

Curiosity question, how do you specify the server layout for 5 monitor?
A is LeftOf B, B is LleftOf C, D is RightOf C, E is RightOf D ?

I guess you are using Xinerama and have this?

Section "ServerFlags"
Option "Xinerama" "on"
EndSection

Ac1d
Posts: 18
Joined: 2013-09-17 11:47

Re: Getting AMD drivers & multi-monitors working

#7 Post by Ac1d »

tukuyomi wrote:A blind shoot:
Are you running on a 64-bit system?
I would suggest you to look after multi-arch - https://wiki.debian.org/Multiarch/Imple ... _multiarch and then install -or reinstall fglrx for amd64 and i386.

Yeah its 64bit, what do you mean install 64 & 32bit? I thought that was what my drivers were.
Screenshot_from_2013_09_22_15_34_41.jpg
Screenshot_from_2013_09_22_15_34_41.jpg (7.68 KiB) Viewed 6830 times
Doesn't this mean both 64 & 32 bit drivers compilied together, then once installed it places them in their respective places?
I'm reffering to the .x86.x86_x64 part.

I have a feeling all I have to do is get catalyst open and things should pan out fine.

The error:
root@D3B1AN:/home/ac1d# amdcccle
amdcccle: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS32
Is what really has me focused at the moment, I have a sneaky suspicion that this is the root cause of my CCC not opening.

debianneedstuning
Posts: 214
Joined: 2012-12-03 02:44

Re: Getting AMD drivers & multi-monitors working

#8 Post by debianneedstuning »

Is there anything here that might help?
I'm thinking that the "Soft "Link Hell" part might have a pointer/idea. .
http://www.thinkwiki.org/wiki/Problems_with_fglrx

Ac1d
Posts: 18
Joined: 2013-09-17 11:47

Re: Getting AMD drivers & multi-monitors working

#9 Post by Ac1d »

amdcccle: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS32

So what and/or how do I softlink this libGL.so.1 to get this thing working. I know I use the ln -s command, but I'm not sure what the target and the path's are.

Ac1d
Posts: 18
Joined: 2013-09-17 11:47

Re: Getting AMD drivers & multi-monitors working

#10 Post by Ac1d »

I just completely purged all of my amd drivers and re-created xorg.conf. Now I'm going to try and do a different method of install.

./ati-driver-installer-8.37.6-x86.x86_64.run --buildpkg RedHat/RHEL5
./ati-driver-installer-8.37.6-x86.x86_64.run --buildpkg RedHat/RHEL5_64a
rpm -ivh fglrx_7_1_0-8.37.6-1.i386.rpm
rpm -ivh fglrx64_7_1_0-8.37.6-1.x86_64.rpm --nodeps

Scanned the net for a while and came across this, sounds promising. However, even running the first command is a no-go.

root@D3B1AN:/home/ac1d/Downloads# ./amd-driver-installer-catalyst-13-4-x86.x86_64.run --buildpkg RedHat/RHEL5
bash: ./amd-driver-installer-catalyst-13-4-x86.x86_64.run: Permission denied

Ac1d
Posts: 18
Joined: 2013-09-17 11:47

Re: Getting AMD drivers & multi-monitors working

#11 Post by Ac1d »

root@D3B1AN:/home/ac1d/Downloads# sh amd-driver-installer-catalyst-13-4-x86.x86_64.run --buildpkg Debian/stable
Created directory fglrx-install.Tw5CX0
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-12.104....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Generating package: Debian/stable
cp: cannot stat `/home/ac1d/Downloads/fglrx-install.Tw5CX0/x710_64a/*': No such file or directory
Package build failed!
Package build utility output:
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 12.104-1
dpkg-buildpackage: source changed by AMD: Advanced Micro Devices. <http://ati.amd.com/support/driver.html>
dpkg-source --before-build fglrx.JupB9b
dpkg-buildpackage: host architecture amd64
debian/rules build
dh_testdir
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
mkdir -p usr/share/doc/fglrx; \
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
fi
# set executable on user apps
find usr/X11R6/bin -type f | xargs chmod a+x
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
usr/X11R6/lib \
usr/X11R6/lib64 \
usr/share usr/src -type f | xargs chmod -x
find: `usr/X11R6/include': No such file or directory
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib -name "*.sh" -type f | xargs chmod +x
# set proper permissions on /etc files
if [ -d etc/ati ]; then \
chmod 755 etc/ati ; \
chmod 644 etc/ati/* ; \
chmod a+x etc/ati/*.sh ; \
fi
if [ -f debian/fglrx.default ]; then \
mv -v debian/fglrx.default debian/fglrx; \
fi
`debian/fglrx.default' -> `debian/fglrx'
# remove exec bit from 64-bit libs too
find usr/X11R6/lib64 -type f | xargs chmod -x
debian/rules binary
dh_testdir
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
mkdir -p usr/share/doc/fglrx; \
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
fi
# set executable on user apps
find usr/X11R6/bin -type f | xargs chmod a+x
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
usr/X11R6/lib \
usr/X11R6/lib64 \
usr/share usr/src -type f | xargs chmod -x
find: `usr/X11R6/include': No such file or directory
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib -name "*.sh" -type f | xargs chmod +x
# set proper permissions on /etc files
if [ -d etc/ati ]; then \
chmod 755 etc/ati ; \
chmod 644 etc/ati/* ; \
chmod a+x etc/ati/*.sh ; \
fi
if [ -f debian/fglrx.default ]; then \
mv -v debian/fglrx.default debian/fglrx; \
fi
# remove exec bit from 64-bit libs too
find usr/X11R6/lib64 -type f | xargs chmod -x
dh_testdir
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_clean: Compatibility levels before 5 are deprecated (level 4 in use)
dh_installdirs
dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
# Create the directories to install into
dh_installdirs -pfglrx-driver \
usr \
usr/lib/xorg \
usr/lib/xorg/modules \
usr/lib/dri \
usr/bin \
usr/sbin \
etc/acpi \
etc/acpi/events \
etc/default \
etc/X11/Xsession.d
dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
# the amd64 package includes 32bit compatibility libraries
dh_installdirs -pfglrx-driver \
emul/ia32-linux/usr/lib \
emul/ia32-linux/usr/lib/xorg \
emul/ia32-linux/usr/lib/xorg/modules \
emul/ia32-linux/usr/lib/dri
dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
dh_installdirs -pfglrx-driver-dev \
usr \
usr/include \
usr/lib
dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
dh_installdirs -pfglrx-kernel-src \
usr/src/modules/fglrx \
usr/src/modules/fglrx/debian
dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
dh_installdirs -A -pfglrx-amdcccle \
usr \
usr/bin \
usr/share \
usr/share/applnk \
usr/share/applications \
usr/share/icons \
usr/share/pixmaps
dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
dh_installdirs -p \
usr/src
dh_installdirs: Compatibility levels before 5 are deprecated (level 4 in use)
dh_install
dh_install: Compatibility levels before 5 are deprecated (level 4 in use)
dh_install -pfglrx-driver "usr/X11R6/bin/fgl*" "usr/bin"
dh_install: Compatibility levels before 5 are deprecated (level 4 in use)
dh_install -pfglrx-driver "usr/X11R6/bin/aticonfig" "usr/bin"
dh_install: Compatibility levels before 5 are deprecated (level 4 in use)
dh_install -pfglrx-driver "usr/sbin/atieventsd" "usr/sbin"
dh_install: Compatibility levels before 5 are deprecated (level 4 in use)
dh_installman -pfglrx-driver "usr/share/man/man8/atieventsd.8"
dh_installman: Compatibility levels before 5 are deprecated (level 4 in use)
# amd64 needs some library redirection
dh_install -pfglrx-driver "usr/X11R6/lib64/*.so*" "usr/lib"
dh_install: Compatibility levels before 5 are deprecated (level 4 in use)
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/dri" "usr/lib"
dh_install: Compatibility levels before 5 are deprecated (level 4 in use)
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/linux" "usr/lib/xorg/modules"
dh_install: Compatibility levels before 5 are deprecated (level 4 in use)
cp: cannot stat `./usr/X11R6/lib64/modules/linux': No such file or directory
dh_install: cp -a ./usr/X11R6/lib64/modules/linux debian/fglrx-driver/usr/lib/xorg/modules/ returned exit code 1
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.Tw5CX0

Ac1d
Posts: 18
Joined: 2013-09-17 11:47

Re: Getting AMD drivers & multi-monitors working

#12 Post by Ac1d »

If I run the automatic installation, not the distro specific one everything goes in fine. But when trying to load amdcccle I get the infamous:

root@D3B1AN:/home/ac1d# amdcccle
amdcccle: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS32

debianneedstuning
Posts: 214
Joined: 2012-12-03 02:44

Re: Getting AMD drivers & multi-monitors working

#13 Post by debianneedstuning »

Since I hope to get minecraft (and other games) working on a Radeon 7790, I've been prodding around the web and turned up this page. No idea how useful it is as it is a wiki
http://wiki.cchtml.com/index.php/Main_Page

Also, they released a new beta driver on 30/9/2013
http://support.amd.com/us/kbarticles/Pa ... river.aspx

Both page
http://support.amd.com/us/gpudownload/l ... linux.aspx

I'm still trying to find their Catalyst support pages. apparently there is a forum and support form but the url slipped past.

Found general AMD forums http://forums.amd.com/ Look in the games sub fourm for Cat stuff.

And the support pages(?) http://support.amd.com/us/Pages/AMDSupportHub.aspx
I'll be exploring that a bit more anothr day.

FWIW, tried to run glxinfo tonight and had this error;
user@host::~$ glxinfo
glxinfo: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
user@host:~$

So I'll be interested in your fix.

Post Reply