Compilation, Graphic drivers.

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
Jejy69
Posts: 710
Joined: Thu 20 Jan 2011, 18:10
Location: Perpignan

Compilation, Graphic drivers.

#1 Post by Jejy69 »

Hello,

I am unable to compile the drivers for AMD / ATI graphics cards.
I have the sources, the good DevX relative to the kernel, but when I want to start the run, I get :

Code: Select all

AMD kernel module generator version 2.1
Error:
kernel includes at /usr/src/linux/include do not match current kernel.
they are versioned as ""
instead of "3.8.5.0".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
ERROR: I didn't make module
Someone could give me an information please ? :?
I find no solution on the internet...

Many Thanks !
I'm Commander Shepard and this is my favorite Linux distrbution on the Citadel.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

Hi Jejy69- is /usr/src/linux a softlink to your /usr/src/linux-version_directory?

I'd like kernel version and a dwnld link for the driver you wanna compile.

User avatar
Jejy69
Posts: 710
Joined: Thu 20 Jan 2011, 18:10
Location: Perpignan

#3 Post by Jejy69 »

Hello Semme !

Thanks you for your reply !
is /usr/src/linux a softlink to your /usr/src/linux-version_directory?
I hadn't a "src" directory at the beginning. I create this folder, and put the folder "linux" in it.
I will try with a symlink as you said.

The driver :
http://www2.ati.com/drivers/linux/amd-d ... x86_64.zip

The kernel : 3.8.5.0 from THINslacko made by 01Micko.

I will see with symlink,

Thanks :)
I'm Commander Shepard and this is my favorite Linux distrbution on the Citadel.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#4 Post by pemasu »

Have you downloaded and loaded the kernel sources sfs also. It is needed.

You could point to the url links from where you downloaded devx sfs, kernel source sfs and also link to the original slacko version you have used.
They all need to match.
Also...you probably will need couple of patches for propriertary package before it will compile.
Which means you need to provide them to the extracted folder before launching compiling....which means you cant use installer, which means you need to know what you are doing.

User avatar
Jejy69
Posts: 710
Joined: Thu 20 Jan 2011, 18:10
Location: Perpignan

#5 Post by Jejy69 »

Hello Pemasu,

Thanks for your answer,

All SFS needeed are proposed by 01Micko (Many thanks to him too) here :
http://puppylinuxstuff.meownplanet.net/ ... ko-5.5.01/
Also...you probably will need couple of patches for propriertary package before it will compile.
Which means you need to provide them to the extracted folder before launching compiling....which means you cant use installer, which means you need to know what you are doing.
Well... I didn't know that. I'll take the opportunity to acquire a little knowledge. It will allow me to see what looks like a compilation of drivers. Even if I fail ( sure ), I try. :D
I'm Commander Shepard and this is my favorite Linux distrbution on the Citadel.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#6 Post by pemasu »

http://puppylinuxstuff.meownplanet.net/ ... in_uni.sfs

I suppose you had this one loaded also ?

I just wonder....havent 01micko compiled proprietary ati driver for thin slacko with 3.8.5 kernel version ?

Compiling proprietary ati which need patches...and uses installer which should do all the job....well....it is little tricky to start with.

Is your intent also package the compiled driver as pet or sfs or just use it yourself.

User avatar
Jejy69
Posts: 710
Joined: Thu 20 Jan 2011, 18:10
Location: Perpignan

#7 Post by Jejy69 »

I just wonder....havent 01micko compiled proprietary ati driver for thin slacko with 3.8.5 kernel version ?
I did not find a matching package for this kernel, the most recent drivers are for the 3.4 kernel.
I suppose you had this one loaded also ?
Yes, it's loaded now, but I at the beginning I didn't load it...
Compiling proprietary ati which need patches...and uses installer which should do all the job....well....it is little tricky to start with.


I realize that I do not really have the necessary skills for that, I expected it more affordable. I feel the courage reduced :lol:
Is your intent also package the compiled driver as pet or sfs or just use it yourself.
I wanted a pet package like for the previous kernel version.
I hoped also get the nvidia drivers, but hey, I did a little illusions ...
I'm Commander Shepard and this is my favorite Linux distrbution on the Citadel.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#8 Post by pemasu »

I believe it can be done. I did it for my 3.8.4 kernel. I havent tested my patches for 3.8.5 but probably they work.

I could try the compiling. I just need to download everything first. If it works...I can pet it.

And give instructions how to do it if I succeed.

Did you need the modern or legacy ati proprietary driver. They need different patches.

I think nvidia works just by using shinobars getnividia-0.8.1.pet. Install that pet. Exit to prompt and type getnvidia...expecting that 01micko has included one crucial symlink in his kernel sources sfs. If not...there is need to do that symlink creation first.

User avatar
Jejy69
Posts: 710
Joined: Thu 20 Jan 2011, 18:10
Location: Perpignan

#9 Post by Jejy69 »

Wow ! Really super great! Thank you so much!
Did you need the modern or legacy ati proprietary driver.
I do not know the difference, but I always installed the legacy version. Is it safer, stable? Legacy if it does not bother you please.

Cool ! :D
I'm Commander Shepard and this is my favorite Linux distrbution on the Citadel.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#10 Post by pemasu »

Legacy version is for older and modern for newer ati-amd graphics hardware.
It depends on peoples hardware which one works.

I have recently compiled both when I have done it. Like in Upup Precise.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#11 Post by pemasu »

http://www.smokey01.com/pemasu/spup/

catalyst-13.1-modern-k3.8.5-thinslacko.pet works with my ati graphics. Other pets I cant test. Not suitable hardware.

It needed kernel sources missing symlink addition, which means the included kernel sources sfs is somewhat defective, and patches for modern and legacy drivers...and other tricks so that I can create the catalyst drivers in dedicated folder. I might write the howto manual...but not this evening.

getnvidia-0.8.1.pet works....after you include the missing symlink:

ln -s /lib/modules/3.8.5.0/build/include/generated/uapi/linux/version.h /lib/modules/3.8.5.0/build/include/linux/version.h

Catalyst drivers need this symlink also. And you need to apply the patches after the installer has extracted the files into the extraction folder.
Attachments
catalyst-patch-3.8-modern.tar.gz
(1.47 KiB) Downloaded 240 times
catalyst-patch-3.8-legacy.tar.gz
(2.43 KiB) Downloaded 253 times

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#12 Post by anikin »

Hi Jejy69 et pemasu,

Given the importance of the topic, can we ask Flash to move this thread to where it belongs best:
Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling?

User avatar
Jejy69
Posts: 710
Joined: Thu 20 Jan 2011, 18:10
Location: Perpignan

#13 Post by Jejy69 »

Hello !

Many ( but many ) THANKS Pemasu !
It's really nice !

I will try to compile these drivers, just to take a look about this manipulation.

Cheers !
I'm Commander Shepard and this is my favorite Linux distrbution on the Citadel.

Post Reply