GhostSquad57 / Steam-Installer-for-Wheezy

Re-write of Valve's deb package. (Orphaned)
193 stars 20 forks source link

Error: OpenGL GLX context is not using direct rendering #31

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hello, I've installed this on Crunchbang on two different computers but it doesn't work on one. I get this output:

Running Steam on debian 7 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1386799584_client)
Installing breakpad exception handler for appid(steam)/version(1386799584_client)
Installing breakpad exception handler for appid(steam)/version(1386799584_client)
unlinked 0 orphaned pipes
removing stale semaphore last operated on by process 1239 with name 0eBlobRegistryMutex_C0DE3DF22176B8A87A98A388A17A50C2
removing stale semaphore last operated on by process 1239 with name 0eBlobRegistrySignal_C0DE3DF22176B8A87A98A388A17A50C2
removing stale semaphore last operated on by process 1239 with name 0emSteamEngineInstance
removing stale semaphore last operated on by process 1239 with name 0eSteamEngineLock
Installing breakpad exception handler for appid(steam)/version(1386799584_client)
[1222/151747:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
Error: OpenGL GLX context is not using direct rendering, which may cause performance problems.

For more information visit https://support.steampowered.com/kb_article.php?ref=9938-EYZB-7457.
Installing breakpad exception handler for appid(steam)/version(1386799584_client)
Installing breakpad exception handler for appid(steam)/version(1386799584_client)
Installing breakpad exception handler for appid(steam)/version(1386799584_client)
Installing breakpad exception handler for appid(steam)/version(1386799584_client)
Installing breakpad exception handler for appid(steam)/version(1386799584_client)
Steam: An X Error occurred
X Error of failed request:  GLXBadRenderRequest

The computer that works uses integrated Intel graphics. The one that doesn't has an i7-4770k and AMD Radeon HD 7950.

GhostSquad57 commented 10 years ago

@Fangz17 Hmm... sounds like a driver issue. What's the output of glxgears?

ghost commented 10 years ago

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
GhostSquad57 commented 10 years ago

@Fangz17 Do you have libgl1-mesa-dev installed?

ghost commented 10 years ago

@GhostSquad57 Yes

GhostSquad57 commented 10 years ago

@Fangz17 The 64-bit version?

ghost commented 10 years ago

@GhostSquad57 Yes

GhostSquad57 commented 10 years ago

@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.

ghost commented 10 years ago

@GhostSquad57 I used apt-get install libgl1-fglrx-glx:i386

GhostSquad57 commented 10 years ago

@Fangz17 do you have libgl1-fglrx-glx (64-bit version) installed?

ghost commented 10 years ago

@GhostSquad57 Installed it just now. Still get the same error.

GhostSquad57 commented 10 years ago

@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.

ghost commented 10 years ago

Everything installed. Same error.

GhostSquad57 commented 10 years ago

@Fangz17 Did you just now install fglrx-driver? after sudo aticonfig --initial you have to reboot

GhostSquad57 commented 10 years ago

@Fangz17 Are you still having trouble?

ghost commented 10 years ago

@GhostSquad57 Sigh... when I reboot it boots into the terminal instead of the GUI.

GhostSquad57 commented 10 years ago

@Fangz17 Try removing /etc/X11/xorg.conf and reboot

ghost commented 10 years ago

@GhostSquad57 Nope, doesn't work.

GhostSquad57 commented 10 years ago

@Fangz17 Looks like the drivers have to be removed. Try apt-get purge fglrx-driver fglrx-modules-dkms

ghost commented 10 years ago

@GhostSquad57 Okay, that fixed it. Now what?

GhostSquad57 commented 10 years ago

@Fangz17 Could you kindly, dpkg --get-selections | grep fglrx

I need to make sure you're NOT using the fglrx-driver:i386 package

ghost commented 10 years ago

@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
GhostSquad57 commented 10 years ago

@Fangz17 Okay, you need to apt-get purge ALL of those packages. Let me know when you do.

ghost commented 10 years ago

@GhostSquad57 Done. Now what?

GhostSquad57 commented 10 years ago

@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.

ghost commented 10 years ago

@GhostSquad57 Boots into terminal still.

EDIT: I need to go to sleep, sorry. I'll check back in the morning.

GhostSquad57 commented 10 years ago

@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

GhostSquad57 commented 10 years ago

@Fangz17 Any luck installing experimental drivers?

ghost commented 10 years ago

@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.

GhostSquad57 commented 10 years ago

@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.

ghost commented 10 years ago

@GhostSquad57 http://packages.debian.org/sid/glx-alternative-fglrx

GhostSquad57 commented 10 years ago

@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.

ghost commented 10 years ago
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.
GhostSquad57 commented 10 years ago

@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:

Please let me know the terminal output of the last command, we're so close to the finish line!

ghost commented 10 years ago

@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.
GhostSquad57 commented 10 years ago

@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?

ghost commented 10 years ago
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.

GhostSquad57 commented 10 years ago

@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

ghost commented 10 years ago
## 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.

GhostSquad57 commented 10 years ago

@Fangz17 Output of apt-cache policy fglrx-driver ?

ghost commented 10 years ago
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
GhostSquad57 commented 10 years ago

Now, apt-cache policy libfglrx

ghost commented 10 years ago
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
GhostSquad57 commented 10 years ago

@Fangz17 Could you remove libfglrx?

ghost commented 10 years ago

@GhostSquad57 Done

GhostSquad57 commented 10 years ago

@Fangz17 Now, apt-get -t unstable install fglrx-driver

ghost commented 10 years ago
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.
GhostSquad57 commented 10 years ago

Hmm... apt-cache policy fglrx-modules-dkms

ghost commented 10 years ago
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
GhostSquad57 commented 10 years ago

@Fangz17 OKOK, we're making progress! remove fglrx-modules-dkms

ghost commented 10 years ago

@GhostSquad57 Done