Warning: kernel 3.4 & AMD catalyst 12.6 not compatible

The new driver failed to install on this PC today, 29-Jun-2016,
so was forced back to 12.4

It looks as though the hack for 12.4 has been implemented by AMD
in file firegl_public.c
but not in kcl_ioctl.c

Anyone having better luck?

3.4.3-30-desktop x86_64 (64 bit); openSUSE 12.1 (x86_64)+Tumbleweed
AMD Phenom II X4 940; ATI Radeon HD 3200 Graphics

Still needed the hack here, but just so you know, your video card is no longer supported in the main line fglrx drivers. Nor is mine, I;ve temporarilly up(down)graded to a 5450HD until a legacy driver that works properly is available (probably never)

Yep, it looks as though we have to wait for an update to the Radeon or Radeonhd
drivers for better performance.

From the 12.4 & 12.6 documentation, file /usr/share/doc/fglrx/driverfaq.html,

  1. Which AMD graphics cards can use this driver?
The AMD Proprietary Linux driver currently supports RADEON 8500 and later,

as well as FireGL 8700 and later products. We do not currently plan to include
support for any products earlier than this. Drivers for earlier products should
already be available from the DRI Project or Utah-GLX project.

12.4 supports HD 4XXX and earlier, but 12.6 does not…oddly the documentation doesn’t seem to have been updated to mention this, or at least it hadn’t yesterday…
I thought it was the drivers AFTER 12.6 that were dropping support, until I tried to install it :frowning:
I had to up(down)grade to a radeon 5450 to use the new driver. It’s not so much of an issue using a lower power card, as I don’t really play games anymore, and it does fix the constant gnome-shell glitches and crashes. I put the old 4850 in my server/media PC that’s running an older debian install, doesn’t need updated drivers for it’s purpose.
When I get paid, a new nVidia card in on the menu though…

I just breifly read the 12.6 release notes. I thought it was supposed to support kernel 3.4. It failed here on 12.2 beta 2. Does this mean my 2 year old laptop with integrated Radeon HD 4570 is no longer supported?

Some notes,

  1. after applying the hack the fglrx driver is generated ok with make.sh
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.4.3-30-desktop/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-3.4.3-30-obj/x86_64/desktop'
/usr/src/linux-3.4.3-30/arch/x86/Makefile:96: CONFIG_X86_X32 enabled but no binutils support
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_str.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o
  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-3.4.3-30-obj/x86_64/desktop'
build succeeded with return value 0
duplicating results into driver repository...
done.
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
  1. but then the install fails with sh make_install.sh
FATAL: Error inserting fglrx (/lib/modules/3.4.3-30-desktop/kernel/drivers/char/drm/fglrx.ko): No such device
  1. the above is with embedded motherboard chip set ATI RS780 [Radeon HD 3200]
    so perhaps AMD have locked the door to older hardware

  2. note the new entry to firegl_public.c lines,

1083          /* If no supported devices found, then need to make some clean before to exit */
1084           kfree(drm_proclist); 

Is this a check of the chip set being used?

  1. if you are using the 12.6 beta driver with older hardware and it works,
    suggest you stick with it.

The drivers 12-2 and 12-3 should work ok for you. The 12-4 should also work with the hack or using atiupgrade

I just tried the Windows driver search, and it only shows 12.4. So my 3 year old $1000 Dell Studio laptop with HD4570 is no longer supported. Thanks AMD. Since when is 3 years too old to support? Anyway, I never could get the hack for 12.4 to work, and 12.2,12.3 don’t support kernel 3.4 either or I would give the atiupgrade script a try. Hopefully someone smarter than me will release a patched 12.4 driver.

the hack is as follows, (root privileges needed)
only attempt if you have supported hardware!

if you have the fglrx driver installed give cmd

sh /usr/share/ati/fglrx-uninstall.sh --force

and reboot

then

  1. cmd
cd /lib/modules/fglrx/build_mod/
  1. open file kcl_ioctl.c with a text editor and insert a new line 220
    DEFINE_PER_CPU(unsigned long, old_rsp);

and save file

  1. open file firegl_public.c with a text editor and change line 4157
from
    for_each_cpu_mask(p, cpu_possible_map)
to
    for_each_possible_cpu(p)

and save file

  1. cmd
sh make.sh
  1. cmd
cd ..

you should now be in didr /lib/modules/fglrx/

  1. cmd
sh make_install.sh

if all has gone well the now driver will be installed

  1. if have a last working /etc/X11/xorg.conf file copy to /etc/X11/xorg.conf

  2. reboot

if you have the fglrx driver installed give cmd

 sh /usr/share/ati/fglrx-uninstall.sh --force

and reboot

then install the new driver from the download directory with cmd

 sh amd-driver-installer-12-6-x86.x86_64.run

when it ends with a failure notice

the hack is as follows, (root privileges needed)
only attempt if you have supported hardware!

then

  1. cmd
 cd /lib/modules/fglrx/build_mod/
  1. open file kcl_ioctl.c with a text editor and insert a new line 220
   DEFINE_PER_CPU(unsigned long, old_rsp);

and save file

  1. open file firegl_public.c with a text editor and change line 4159
from
    for_each_cpu_mask(p, cpu_possible_map)
to
    for_each_possible_cpu(p)

and save file

  1. cmd
sh make.sh
  1. cmd
cd ..

you should now be in dir /lib/modules/fglrx/

  1. cmd
sh make_install.sh

if no error messages all has gone well the now driver will be installed

  1. if have a last working /etc/X11/xorg.conf.fglrx-X file copy it to /etc/X11/xorg.conf

  2. reboot

  3. verify correct installation with cmd

fglrxinfo

Edit: to admin, please delete post #9 this is a correction of errors

That works! Great. Thank you.

It would be helpful if you posted here the output of

fglrxinfo

thx

  1. Has anyone installed and have a running catalyst 12.6 on a Radeon HD 2000, 3000, or 4000 series gfxcard?

  2. According to document /usr/share/doc/fglrx/user-manual/index.html this driver only supports cards,
    FireGL Workstation
    FireGL 8700, FireGL 8800
    FireGL T2
    FireGL X1, FireGL X2
    FireGL Z1, FireGL Z2
    Mobile FireGL Workstation
    FireGL Mobility T2
    Desktop Radeon
    Radeon 8500, Radeon 8500 All-In-Wonder*
    Radeon 9100
    Radeon 9500, Radeon 9500 Pro
    Radeon 9600, Radeon 9600 Pro, Radeon 9600 XT
    Radeon 9700, Radeon 9700 Pro
    Radeon 9800, Radeon 9800 Pro, Radeon 9800 XT
    Radeon X800
    Mobility Radeon
    Mobility Radeon 9000
    Mobility Radeon 9600
    Mobility Radeon 9700
    Integrated Radeon
    Radeon IGP 9000**
    Radeon IGP 9100**

  • TV Capture is currently not supported for All-In-Wonder products
    ** 3D is currently not supported for the Radeon IGP 9000 & Radeon IGP 9100
  1. But the AMD website shows catalyst 12.6 as the latest driver for the Radeon HD 3200 Series!
    only the 12.4 + hacks works here.

Seriously, WTF!?

My not even 2 years old, about 1 year and 7 months if I’m right, HP DM1-3020us with Radeon HD 6310 Evergreen class GPU/APU is no longer being supported. Okay, so it works if I fall back to kernel 3.1 and I only get the unsupported hardware logo, but I’m betting there are performance losses as well that I haven’t bothered to check. I was almost certain it said this 12.6 update worked with 3.4, and I never would have assumed they were removing HD 6310 support???

Have I lost my mind, or has AMD? What happened to planet earth.

Worked here too:


jrd@braavos:~> uname -a
Linux braavos 3.4.4-32-desktop #1 SMP PREEMPT Mon Jul 9 06:48:00 UTC 2012 (02797bc) x86_64 x86_64 x86_64 GNU/Linux
jrd@braavos:~> fglrxinfo 
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6800 Series 
OpenGL version string: 4.2.11733 Compatibility Profile Context

After a google I stumbled on this quote from amd:

  • AMD Catalyst 12.6 does not support any Mobile APU. Support will be added in AMD Catalyst 12.8.

AMD Catalyst™ Software Suite Version 12.6 Release Notes

So basically were all stuck waiting for 12.8. Well, okay, I got the 12.6 legacy driver to install and it is working, but not totally.

I get a “Testing use only Unsupported hardware” watermark, the best of both worlds. A new one for me. I also can’t run aticonfig due to this so I was wondering if anyone might have an idea of how to get rid of the watermark AND fix aticonfig, or does getting rid of the watermark solve that too?


 l300m@linux-gvl4:~> uname -aLinux linux-gvl4.site 3.4.6-1.1-desktop #1 SMP PREEMPT Thu Jul 26 09:36:26 UTC 2012 (641c197) x86_64 x86_64 x86_64 GNU/Linux
l300m@linux-gvl4:~> fglrxinfo
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6310 Graphics
OpenGL version string: 4.2.11653 Compatibility Profile Context

I saw someone here mention 12.4 might work, which would be worth trying.

So I read this openSUSE Lizards

BUT, the repo on that page changed, as it’s marked at the top of the page the link to the new instrutions to install 12.6. The 12.4 package was removed from the repo, so unless I want to stick which 12.6 legacy which I really don’t, I need to figure out a way to build 12.4 manually since my hardware is NOT supported under 12.6.

I tried grabbing everything from here and building Index of /mirror/ati/raw-src

my-auto-build won’t help even if I could get it to run, because it’s setup for 12.6, and makerpm-amd-12.4.sh does run after I changed it to 12.4 it properly downloads 12.4 and attempts to build, but somewhere theres a problem because I get an error that it couldn’t install, basically it doesn’t indicate where to save the built package, or where to look for it I guess?

Back to 12.6 legacy for the night.

moving discussion from here so perhaps it will help others in this situation. http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/476725-getting-rid-amd-unsupported-hardware-overlay-message-after-video-driver-update.html

That sounds like whats going on, it gets to the point you’d think X would start on my machine and then just blinks a couple times.

Well he removed the 12.4 rpms, so I don’t expect to see them again. Maybe he wasn’t aware they also removed mobile apu support the same as I wasn’t until I re-read the 12.6 release notes I posted in an above post I believe ^^

I thought that I’d need to remove it first because I wasn’t using --force, the script is supposed to run the rpm once it builds it which it can’t do since it doesnt see where it built it/isn’t naming it properly so it vanishes. But after you pointed that out as well I realize it would fail install it after build anyways, since it isn’t being run with --force, so I would just re-run it manually.

I’ll post the log of running that script as soon as possible, it’s running now downloading the 12.4 run.

> sudo sh ./makerpm-amd-12.4.sh*******************************************************************

  •                                                             *
    
  • Script: makerpm-amd-12.4.sh *
  • Version: 5.11 *
  • Written by: Sebastian Siebert (mail@sebastian-siebert.de) *
  •                                                             *
    
  • Description: This script helps you to create a rpm package *
  •             from the proprietary AMD installer              *
    
  •                                                             *
    
  • License: This script is under the *
  •             modified BSD License (2-clause license)         *
    
  •                                                             *
    

Check for running this script as root … OK ]
Remove the unneeded old rebuild script … OK ]
Check for existing AMD-Installer “amd-driver-installer-12-4-x86.x86_64.run” in current directory … MISSING ]
Download the AMD-Installer …
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 103M 100 103M 0 0 147k 0 0:11:56 0:11:56 --:–:-- 74920
OK ]
Compare SHA1 checksum of the AMD-Installer … OK ]
Check for existing packaging script tarball “amd-12.4-packaging-script.tar.bz2” in current directory … OK ]
Compare SHA1 checksum of the packaging script tarball “amd-12.4-packaging-script.tar.bz2” … OK ]
Set the correct permissions of AMD-Installer “amd-driver-installer-12-4-x86.x86_64.run” … OK ]
Check for supported graphics card on this machine …
Creating directory /home/l300m/Downloads/amd-12.4-tmp.qHPEv
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] [1002:9802]
Found supported graphics card by ASIC ID: 9802 OK ]
Extracting the AMD packaging script tarball “amd-12.4-packaging-script.tar.bz2” …
/home/l300m/Downloads/amd-12.4-tmp.qHPEv
OK ]

Build the RPM-Package …
----- START: AMD INSTALLER -----

AMD Catalyst™ Proprietary Driver Installer/Packager

Generating package: SuSE/SUSE-autodetection
Auto detection mode:
Distribution: openSUSE
Version: 12.2
Architecture: x86_64
Package name: SUSE122-AMD64
Verbose mode: on OK ]
Verbose level: 1 OK ]
Release: 5 OK ]
Get information about the machine architecture and the version of SUSE and XOrg …
Package name: SUSE122-AMD64
Distribution: SUSE122
Architecture: AMD64
XOrg version: xpic_64a OK ]
Assemble the package name for rpm build …
Package name: fglrx64_xpic_SUSE122 OK ]
Path to the distro packaging:
/home/l300m/Downloads/amd-12.4-tmp.qHPEv/packages/SuSE OK ]
Path to the installer:
/home/l300m/Downloads/amd-12.4-tmp.qHPEv OK ]
Temporary path to the output from the build:
/tmp/amd_pkg_build.out.oyjH3p OK ]
Temporary path to the build:
/tmp/amd_fglrx.3yJ04D OK ]
Temporary path to the spec file:
/tmp/amd_fglrx.spec.E27D6I OK ]
Get the architecture for the AMD arch path: x86_64 OK ]
Path to the spec file: /home/l300m/Downloads/amd-12.4-tmp.qHPEv/packages/SuSE/fglrx.spec OK ]
Create needed directory … OK ]
Copy all needed files into temporary build path … OK ]
Copy patch files to the temporary build path … OK ]
Remove unneeded files in the temporary build path … OK ]
Substitute variables in the temporary spec file … OK ]
Build the RPM package now … OK ]
Retrieve the absolute path to the built package …basename: missing operand
Try ‘basename --help’ for more information.
OK ]
After-build diagnostics and processing …
cp: missing destination file operand after ‘/home/l300m/Downloads’
Try ‘cp --help’ for more information.

Package /home/l300m/Downloads/ has been successfully generated

Install or update the RPM package as follows:

zypper install

                                                             OK ]

Remove unneeded paths and files … OK ]
Finished! OK ]
----- END: AMD INSTALLER -----

RPM-Package was built successfully! OK ]

I’m running kernel 3.5.? and am no longer able to install Catalyst 12.6 even with the patch. During “make”, it didn’t like the modified files and also did not work with the standard files. I then tried to build a Suse specific rpm. I was able to build the rpm package with no errors, but it failed to install. Running a Radeon HD6570. I would ask l300vl](http://forums.opensuse.org/members/l300lvl.html) if his rpm installed with no errors after he built it.