Closed ghost closed 10 years ago
@Fangz17 Hmm... sounds like a driver issue. What's the output of glxgears
?
With mesa-utils
, I get:
glxgears: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
But with mesa-utils:i386
:
7749 frames in 5.0 seconds = 1548.243 FPS
4280 frames in 5.0 seconds = 853.574 FPS
5840 frames in 5.0 seconds = 1164.139 FPS
4280 frames in 5.0 seconds = 853.181 FPS
4280 frames in 5.0 seconds = 855.099 FPS
5140 frames in 5.0 seconds = 1026.275 FPS
4267 frames in 5.0 seconds = 852.199 FPS
4280 frames in 5.0 seconds = 853.854 FPS
4280 frames in 5.0 seconds = 855.607 FPS
4280 frames in 5.0 seconds = 853.141 FPS
4280 frames in 5.0 seconds = 853.562 FPS
4280 frames in 5.0 seconds = 854.842 FPS
4280 frames in 5.0 seconds = 852.768 FPS
5452 frames in 5.0 seconds = 1089.038 FPS
@Fangz17 Do you have libgl1-mesa-dev
installed?
@GhostSquad57 Yes
@Fangz17 The 64-bit version?
@GhostSquad57 Yes
@Fangz17 What drivers do you have installed? FGLRX, or the open source variant? And did you install them via apt-get or from AMD's website.
@GhostSquad57 I used apt-get install libgl1-fglrx-glx:i386
@Fangz17 do you have libgl1-fglrx-glx
(64-bit version) installed?
@GhostSquad57 Installed it just now. Still get the same error.
@Fangz17 I'm going to list a bunch of packages that you should already have installed.
And after you install fglrx-driver
, you have to run sudo aticonfig --initial
for 3D acceleration to work.
Everything installed. Same error.
@Fangz17 Did you just now install fglrx-driver? after sudo aticonfig --initial
you have to reboot
@Fangz17 Are you still having trouble?
@GhostSquad57 Sigh... when I reboot it boots into the terminal instead of the GUI.
@Fangz17 Try removing /etc/X11/xorg.conf
and reboot
@GhostSquad57 Nope, doesn't work.
@Fangz17 Looks like the drivers have to be removed. Try apt-get purge fglrx-driver fglrx-modules-dkms
@GhostSquad57 Okay, that fixed it. Now what?
@Fangz17 Could you kindly, dpkg --get-selections | grep fglrx
I need to make sure you're NOT using the fglrx-driver:i386
package
@GhostSquad57 This is what I get:
fglrx-atieventsd deinstall
fglrx-modules-dkms install
glx-alternative-fglrx install
libfglrx:amd64 install
libfglrx:i386 install
libfglrx-amdxvba1:amd64 install
libfglrx-amdxvba1:i386 deinstall
libgl1-fglrx-glx:amd64 install
libgl1-fglrx-glx:i386 deinstall
@Fangz17 Okay, you need to apt-get purge
ALL of those packages. Let me know when you do.
@GhostSquad57 Done. Now what?
@Fangz17 Re-install fglrx-driver fglrx-modules-dkms glx-alternative-fglrx libfglrx libgl1-fglrx-glx libfglrx-amdxvba1
Once you've installed them, sudo aticonfig --initial
P.S. only install the 64-bit version for now.
@GhostSquad57 Boots into terminal still.
EDIT: I need to go to sleep, sorry. I'll check back in the morning.
@Fangz17 Sorry I didn't reply for 5 hours, was busy runnin' around. Anyway. The drivers found in the stable repo are very old and must not be compatible with your chipset. (See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679794) the post was made in 2012, but the mentioned version is still in stable.
I recommend installing the most recent beta drivers from the experimental repos. See https://wiki.debian.org/DebianExperimental for instructions on installing experimental packages.
P.S. Before installing the drivers from experimental, your gonna want to apt-get purge fglrx-driver fglrx-modules-dkms
@Fangz17 Any luck installing experimental drivers?
@GhostSquad57 To install fglrx-driver
(1:13.8~beta1-3) I need to install glx-alternative-fglrx
(0.4.1) which depends on glx-diversions
(0.4.1), but installing glx-alternative-fglrx
removes the correct version of glx-diversions
and breaks it.
@Fangz17 glx-diversions
? Back when I was using an AMD card, I don't recall ever needing that package. I would just apt-get purge glx-diversions
then try installing the experimental drivers.
@GhostSquad57 http://packages.debian.org/sid/glx-alternative-fglrx
@Fangz17 Could you please post the terminal output of sudo apt-get install fglrx-driver
Just so I could get a better understanding of the situation.
ian@crunchbang:~$ sudo apt-get -t experimental install fglrx-driver
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
fglrx-driver : Depends: glx-alternative-fglrx (>= 0.4.1~) but it is not going to be installed
Recommends: libgl1-fglrx-glx (= 1:13.11~betav9.4-1) but it is not going to be installed
Recommends: libgl1-fglrx-glx-i386 but it is not installable
Recommends: fglrx-atieventsd but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ian@crunchbang:~$ sudo apt-get -t experimental install glx-alternative-fglrx
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
glx-alternative-fglrx : Depends: glx-diversions (= 0.2.2) but 0.4.1 is to be installed
Depends: glx-alternative-mesa but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
@Fangz17 OK, OK. I think I know what the problem is; experimental doesn't have any package named glx-alternative-fglrx
. So when you execute apt-get -t experimental install glx-alternative-fglrx
apt can't find glx-alternative-fglrx
, so it falls back to stable.
Let's try this: Open /etc/apt/sources.list
and change experimental to unstable. Then, make a file named preferences
inside /etc/apt
and paste these lines in it:
Package: * Pin: release a=stable Pin-Priority: 700
Package: * Pin: release a=unstable Pin-Priority: 650
THEN:
apt-get update
apt-get -t unstable install fglrx-driver glx-alternative-fglrx glx-diversions glx-alternative-mesa
Please let me know the terminal output of the last command, we're so close to the finish line!
@GhostSquad57 Nope:
Reading package lists... Done
Building dependency tree
Reading state information... Done
glx-diversions is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
fglrx-driver : Depends: libfglrx (= 1:13.8~beta1-3) but 1:13.11~betav9.4-1 is to be installed
Depends: glx-alternative-fglrx (>= 0.4.1~)
Recommends: fglrx-modules-dkms (= 1:13.8~beta1-3) but 1:13.11~betav9.4-1 is to be installed or
fglrx-kernel-13.8-beta1
Recommends: libgl1-fglrx-glx (= 1:13.8~beta1-3) but it is not going to be installed
Recommends: libgl1-fglrx-glx-i386
Recommends: fglrx-atieventsd but it is not going to be installed
glx-alternative-fglrx : Depends: glx-diversions (= 0.2.2)
glx-alternative-mesa : Depends: glx-diversions (= 0.2.2)
E: Unable to correct problems, you have held broken packages.
@Fangz17 What about: apt-get -t unstable install fglrx-driver glx-alternative-fglrx glx-diversions glx-alternative-mesa libfglrx fglrx-modules-dkms libgl1-fglrx-glx fglrx-atieventsd
You removed experimental
from /etc/apt/sources.list
right?
Reading package lists... Done
Building dependency tree
Reading state information... Done
glx-diversions is already the newest version.
libfglrx is already the newest version.
fglrx-modules-dkms is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
fglrx-driver : Depends: libfglrx (= 1:13.8~beta1-3) but 1:13.11~betav9.4-1 is to be installed
Depends: glx-alternative-fglrx (>= 0.4.1~)
Recommends: fglrx-modules-dkms (= 1:13.8~beta1-3) but 1:13.11~betav9.4-1 is to be installed or
fglrx-kernel-13.8-beta1
Recommends: libgl1-fglrx-glx-i386
glx-alternative-fglrx : Depends: glx-diversions (= 0.2.2)
glx-alternative-mesa : Depends: glx-diversions (= 0.2.2)
libgl1-fglrx-glx : Depends: libfglrx (= 1:13.8~beta1-3) but 1:13.11~betav9.4-1 is to be installed
E: Unable to correct problems, you have held broken packages.
Yes, I removed it.
@Fangz17 You said you're using Crunchbang? I think Crunchbang uses separate repos then vanilla Debian. Would you kindly paste the contents of /etc/apt/sources.list
## CRUNCHBANG
## Compatible with Debian Wheezy, but use at your own risk.
deb http://packages.crunchbang.org/waldorf waldorf main
#deb-src http://packages.crunchbang.org/waldorf waldorf main
## DEBIAN
deb http://http.debian.net/debian wheezy main contrib non-free
#deb-src http://http.debian.net/debian wheezy main contrib non-free
## DEBIAN SECURITY
deb http://security.debian.org/ wheezy/updates main
#deb-src http://security.debian.org/ wheezy/updates main
deb http://ftp.uk.debian.org/debian unstable main non-free
deb http://ftp.uk.debian.org/debian stable main contrib non-free
#deb-src http://ftp.uk.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
#deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates contrib non-free
#deb-src http://security.debian.org/ wheezy/updates contrib non-free
Unstable and after are ones I added after installation.
@Fangz17 Output of apt-cache policy fglrx-driver
?
fglrx-driver:
Installed: (none)
Candidate: 1:12-6+point-3
Version table:
1:13.8~beta1-3 0
650 http://ftp.uk.debian.org/debian/ unstable/non-free amd64 Packages
1:12-6+point-3 0
700 http://http.debian.net/debian/ wheezy/non-free amd64 Packages
700 http://ftp.uk.debian.org/debian/ stable/non-free amd64 Packages
Now, apt-cache policy libfglrx
libfglrx:
Installed: 1:13.11~betav9.4-1
Candidate: 1:13.11~betav9.4-1
Version table:
*** 1:13.11~betav9.4-1 0
100 /var/lib/dpkg/status
1:13.8~beta1-3 0
650 http://ftp.uk.debian.org/debian/ unstable/non-free amd64 Packages
1:12-6+point-3 0
700 http://http.debian.net/debian/ wheezy/non-free amd64 Packages
700 http://ftp.uk.debian.org/debian/ stable/non-free amd64 Packages
@Fangz17 Could you remove libfglrx
?
@GhostSquad57 Done
@Fangz17 Now, apt-get -t unstable install fglrx-driver
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
fglrx-driver : Depends: glx-alternative-fglrx (>= 0.4.1~)
Recommends: fglrx-modules-dkms (= 1:13.8~beta1-3) but 1:13.11~betav9.4-1 is to be installed or
fglrx-kernel-13.8-beta1
Recommends: libgl1-fglrx-glx-i386
Recommends: fglrx-atieventsd but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Hmm... apt-cache policy fglrx-modules-dkms
fglrx-modules-dkms:
Installed: 1:13.11~betav9.4-1
Candidate: 1:13.11~betav9.4-1
Version table:
*** 1:13.11~betav9.4-1 0
100 /var/lib/dpkg/status
1:13.8~beta1-3 0
650 http://ftp.uk.debian.org/debian/ unstable/non-free amd64 Packages
1:12-6+point-3 0
700 http://http.debian.net/debian/ wheezy/non-free amd64 Packages
700 http://ftp.uk.debian.org/debian/ stable/non-free amd64 Packages
@Fangz17 OKOK, we're making progress! remove fglrx-modules-dkms
@GhostSquad57 Done
Hello, I've installed this on Crunchbang on two different computers but it doesn't work on one. I get this output:
The computer that works uses integrated Intel graphics. The one that doesn't has an i7-4770k and AMD Radeon HD 7950.