I’m trying to compile the driver
fglrx-14.502.1040 for my firepro V3900 and Leap 42.1
I installed kernel sources and everything (as usual).
But I get an error message:
fglrx installation requires that the system have kernel headers. /lib/modules/4.1.12-1-default/build/include/linux/version.h cannot be found on this system.
On Sun, 22 Nov 2015 09:16:01 +0000, vincentmm wrote:
> I’m trying to compile the driver fglrx-14.502.1040 for my firepro V3900
> and Leap 42.1
>
> I installed kernel sources and everything (as usual).
>
> But I get an error message:
> fglrx installation requires that the system have kernel headers.
> /lib/modules/4.1.12-1-default/build/include/linux/version.h cannot be
> found on this system.
>
> And in fact, linux/version.h is missing!
>
> What package is missing?
>
> Thanks,
> v
Define “and everything” more precisely.
Generally, you need the kernel-devel package, IIRC.
On Tue, 24 Nov 2015 10:16:01 +0000, KhaosLiege wrote:
> Same here.
>
> I installed kernel-devel, kernel-sources, kernel-sysm, kernel-macros. I
> see a version.h in
>
> /usr/src/linux-4.1.12-1-obj/x86_64/default/include/generated/uapi/linux/
>
> but not in the place expected by the amd drivers installer (that is
> /lib/modules/4.1.12-1-default/build/include/linux).
>
> I am not really sure on how to proceed, maybe some sim-linking might do
> the trick, but if someone has hints they would be really appreciated.
>
> Thanks
It’s possible with the kernel sources installed that you could do a “make
cloneconfig” in the kernel source tree and that would work. If you’ve
got kernel-devel installed (and it’s the correct version - should be, but
worth checking), that should be sufficient, but a cloneconfig should
give you a kernel tree that has everything where it needs to be for
kernel modules to build.
On Tue, 24 Nov 2015 15:17:49 +0000, Jim Henderson wrote:
> On Tue, 24 Nov 2015 10:16:01 +0000, KhaosLiege wrote:
>
>> Same here.
>>
>> I installed kernel-devel, kernel-sources, kernel-sysm, kernel-macros. I
>> see a version.h in
>>
>> /usr/src/linux-4.1.12-1-obj/x86_64/default/include/generated/uapi/
linux/
>>
>> but not in the place expected by the amd drivers installer (that is
>> /lib/modules/4.1.12-1-default/build/include/linux).
>>
>> I am not really sure on how to proceed, maybe some sim-linking might do
>> the trick, but if someone has hints they would be really appreciated.
>>
>> Thanks
>
> It’s possible with the kernel sources installed that you could do a
> “make cloneconfig” in the kernel source tree and that would work. If
> you’ve got kernel-devel installed (and it’s the correct version - should
> be, but worth checking), that should be sufficient, but a cloneconfig
> should give you a kernel tree that has everything where it needs to be
> for kernel modules to build.
>
> Jim
Thanks for the pointers! That “make cloneconfig” stuff looks a bit scary to a guy that just wanted to compile his driver but in case I succeed I will let you know here.
On Wed, 25 Nov 2015 10:26:02 +0000, vincentmm wrote:
> I’ve installed kernel-sources, kernel-sysm, kernel-macros, dkms, gcc,
> make…
> How do I make a “make cloneconfig”?
>
> I’read there is some bugs with Catalyst Pro 14.502.1040 driver and xorg
> 1.17 http://tinyurl.com/q6dnsyo
>
> Did somebody install successfully install the Catalyst Pro 14.502.1040
> driver on leap 42.1?
>
> I’m talking about catalyst pro and not amd-catalyst-15-9.
>
> Thanks for help,
>
> v
From a terminal prompt:
su -
cd /usr/src/linux
make cloneconfig
What this does is create a kernel configuration that matches the running
kernel - which sets things up for being able to compile modules.
It shouldn’t be necessary, but I haven’t tried installing this driver
on Leap (I may have a chance to upgrade my system that uses that driver
this weekend).
I run amd-driver-installer-14.502.1040-x86.x86_64.run as root (sudo), because if I don’t, the installer aks me to do so.
I don’t think that sebastian Siebert’s script for fglrx 15.201.1151 will help, I’m not installing the ati radeon driver, but the catalyst pro for a firepro V3900 card.
On Wed, 25 Nov 2015 21:16:01 +0000, vincentmm wrote:
> Thanks for the help.
>
> I run make cloneconfig as root.
>
> I run amd-driver-installer-14.502.1040-x86.x86_64.run as root (sudo),
> because if I don’t, the installer aks me to do so.
>
> I don’t think that sebastian Siebert’s script for fglrx 15.201.1151 will
> help, I’m not installing the ati radeon driver, but the catalyst pro for
> a firepro V3900 card.
Sebastien’s script is for the fglrx driver not the open source radeon
driver. His script should handle this AFAIK.
On Mon, 30 Nov 2015 10:06:03 +0000, vincentmm wrote:
> You are right Sebastian wrote a script AMD FirePro and FireMV Unified
> Driver (fglrx 13.251.1) http://tinyurl.com/zcjmcms But it does not
> include Leap 4.21.
>
> I’m ok to try to compile it myself, but I don’t know how to fix the
> missing /lib/modules/4.1.12-1-default/build/include/linux/version.h
>
> If you have any idea, I take it.
> Thanks,
> v
His post at https://www.sebastian-siebert.de/2015/09/27/opensuse-
proprietaeren-grafik-treiber-amd-catalyst-15-9-als-rpm-installieren/ has
an update that says it is supported on 42.1 - updated as of 11-Sept-2015.
Unless I’m missing something at this crazy hour of the morning (for me -
which is entirely possible)
I tried to make a link
from /lib/modules/4.1.12-1-default/build/include/generated/uapi/
to
/lib/modules/4.1.12-1-default/build/include/linux/
so that the installer started to compile.
But it finally failed
The install log is below.
After reboot, I had a black screen. I edit grub to start with init3, but it failed too.
I wanted to reboot with a snapshot (snapper) but it didn’t work.
Finally, I was able to connect from another computer with ssh and uninstall fglrx.
So I don’t know if the link was a bad idea or if there is something wrong with the driver.
v
Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
On Thu, 03 Dec 2015 09:56:01 +0000, vincentmm wrote:
> There are two amd drivers for two types of cards.
> Catalyst AMD-Catalyst-15.9-Linux-installer-15.201.1151-x86.x86_64 for
> common cards (gaming)
>
> Catalyst Pro amd-driver-installer-14.502.1040-x86.x86_64.sh for firepro
> cards
>
> I can compile catalyst with no problem but is useless for me.
>
> Sebastian wrote two different scripts for these two drivers.
>
> Catalyst does not work with firepro cards.
>
> My system is for the moment unstable with plasma and color management is
> not possible.
>
> I’m ready to make any test to get it to work.
>
> If you have any idea how to solve this missing file problem, I’ll do it
> immediatly.
>
> Thanks.
> v
I’m out of ideas here myself - hopefully someone else will jump in.
You might also ask Sebastien directly if he has any ideas.