New FGLRX RPM build script for 13.2

For those who have had problems with the new Catalyst driver and gdm (on
13.2), there’s a new script that resolves the issues. I’ve been running
the driver since Saturday and so far, it looks good.

The fix for this requires a binary patch to the ATI driver - it was using
a method to detect the Xorg version that is deprecated, and gdm doesn’t
provide the function necessary to obtain the version. The binary patch
fixes the issue.

See https://www.sebastian-siebert.de/2015/04/08/opensuse-proprietaeren-
grafik-treiber-amd-catalyst-15-3-beta-als-rpm-installieren (in German)
for more info and for the new beta script.

To patch the driver:

  1. Use the script to build and install the fglrx drivers.

  2. Run the script a second time with ‘-igf’ to install the GDM fix.

  3. Change your displaymanager back to gdm using YaST’s /etc/sysconfig
    editor.

  4. Reboot

Thanks to Sebastian for his work on the script and for applying the fix.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Hi,

I really like that script but the instructions on his blog.

sh makerpm-amd-15.3-beta.sh --install-gdm-fix

Calling sh to run a bash script is a disaster waiting to happen, just my 2 cents. :slight_smile:

On Mon, 13 Apr 2015 22:56:01 +0000, jetchisel wrote:

> Hi,
>
> I really like that script but the instructions on his blog.
>
>
> Code:
> --------------------
> sh makerpm-amd-15.3-beta.sh --install-gdm-fix
> --------------------
>
>
> Calling sh to run a bash script is a disaster waiting to happen, just my
> 2 cents. :slight_smile:

You might want to make the comment on his blog, as he doesn’t read here.

However, on openSUSE, as I recall, sh is a symlink to bash - and I’ve
confirmed on my system that that is the case.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Hi,

Yes Jim sh points to bash in openSUSE and I’m just saying this from my own experience specially when the script is run as root.

On Tue, 14 Apr 2015 08:56:01 +0000, jetchisel wrote:

> Yes Jim sh points to bash in openSUSE and I’m just saying this from my
> own experience specially when the script is run as root.

My experience has been different, but like I said, if you think
Sebastian’s instructions need to be clarified, contact him through his
blog - reporting it here won’t get the information to him, as he doesn’t
read the forums (to my knowledge).

Out of curiosity, what was your experience with this?

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Hi,

Well i use bash builtins and syntax like and (( also arrays. Which is bash of course but it seems Sebastian is using a more portable code so calling sh to run his script will work as intended. (until it does not), to answer your question my script deleted something inside / directory because of mixing bash and sh syntax and calling my bash script with sh. I can’t remember the details because that was when i was not aware something like that can happen, i learned my lesson the hard way and I don’t want someone to have the same experience like i did. I will try to contact Sebastian if i find the time.

On Tue, 14 Apr 2015 19:06:01 +0000, jetchisel wrote:

> Hi,
>
> Well i use bash builtins and syntax like and (( also arrays. Which is
> bash of course but it seems Sebastian is using a more portable code so
> calling sh to run his script will work as intended. (until it does not),
> to answer your question my script deleted something inside / directory
> because of mixing bash and sh syntax and calling my bash script with sh.
> I can’t remember the details because that was when i was not aware
> something like that can happen, i learned my lesson the hard way and I
> don’t want someone to have the same experience like i did. I will try to
> contact Sebastian if i find the time.

Very strange. Thanks for clarifying, and also for contacting Sebastian
when you have time.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C