Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build-dkms in steamos-base-files doesn't deal with old Radeons properly #163

directhex opened this issue Mar 23, 2014 · 0 comments


Copy link

@directhex directhex commented Mar 23, 2014

Whilst the official hardware specs for SteamOS state it needs a Radeon HD5000 or newer (aligning with the latest FGLRX driver), plenty of people have been trying older cards regardless.

The following modification to steamos-base-files will cause build-dkms to use mesa's GL implementation, not fglrx's, on cards which fglrx does not support.

diff -Nru steamos-base-files-2.25/etc/init.d/build-dkms steamos-base-files-2.25+rocket1/etc/init.d/build-dkms
--- steamos-base-files-2.25/etc/init.d/build-dkms   2014-03-01 03:40:10.000000000 +0000
+++ steamos-base-files-2.25+rocket1/etc/init.d/build-dkms   2014-03-21 13:42:30.000000000 +0000
@@ -60,6 +60,16 @@

+ # check for ATI cards not supported by fglrx
+ detected_radeons=`lspci -n | cut -f3 -d' ' | sed 's/://' | grep ^1002 | tr '[:lower:]' '[:upper:]'`
+ unsupported_radeons=`grep ^1002 /var/lib/dpkg/info/libfglrx:amd64.preinst | tr '\n' ' '`
+ for i in $detected_radeons
+ do
+   if [[ $unsupported_radeons == *$i* ]]
+   then alternative=mesa-diverted
+   fi
+ done
  update-alternatives --set glx /usr/lib/$alternative


2 changes need to be made to default.preseed to allow smooth installation on these older cards, but I'll file a separate issue for those modifications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

1 participant