VectorLinux
September 02, 2014, 08:54:29 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: ATI driver won't install  (Read 1492 times)
Yammer
Member
*
Posts: 3


Yammer


« on: May 05, 2013, 04:21:56 pm »

Hello,

Could someone please help me? I downloaded the ATI driver I need for my video card (a Radon HD 5450), but it reports the following when I try to make the fglrx driver for Slackware:

AMD kernel module generator version 2.1
kernel includes at /usr/src/linux/include not found or incomplete
ERROR: I didn't make module
[Error] Generate Package - error generating package : Slackware/Slackware

I have no idea!
Logged

-Yammer
MarkGrieveson
Vectorian
****
Posts: 531


« Reply #1 on: May 08, 2013, 09:16:58 am »

Maybe their wiki page could help.  There's a Slackware link there.
« Last Edit: May 08, 2013, 09:19:57 am by MarkGrieveson » Logged

I am using VL7.0 standard with XFCE
retired1af
Packager
Vectorian
****
Posts: 1259



« Reply #2 on: May 08, 2013, 12:38:50 pm »

Also make sure the kernel source files are installed. You'll most likely need to modify your "exempt list" in gslapt to allow them to be installed via gslapt.
Logged

ASUS K73 Intel i3 Dual Core 2.3GHz
Yammer
Member
*
Posts: 3


Yammer


« Reply #3 on: May 08, 2013, 06:01:53 pm »

Thank for the advice, but I am still at a loss...?
Logged

-Yammer
roarde
Vectorian
****
Posts: 529


move the needle


« Reply #4 on: May 08, 2013, 06:45:00 pm »

You need kernel sources to compile a module, and I don't think they're installed by default,

My opinion on installing them differs from retired1af's. Either will work, but I don't like enabling kernel, even source, in slapt/gslapt.
You can probably do with kernel-stripped-src for building modules. If you install kernel-src instead, you can build anything, including kernels themselves.

Do "uname -r" to see your kernel version. The following link assumes you're running VL 7.0 32-bit with the original kernel. Adjust the URL if you're not. http://ftp-osl.osuosl.org/pub/vectorlinux/veclinux-7.0/kernels/3.0.17-2vl70/ . Choose either kernel-src or kernel-stripped-src and download.

Once you've downloaded the correct package for your kernel, issue "upgradepkg --install-new /path/to/package/packagename.txz". Then you have the needed kernel source in place to compile kernel modules.
Logged

Robert
VL STD 7.1 RC2.2.2, icewmvmods
sledgehammer
Vectorian
****
Posts: 1423



« Reply #5 on: May 08, 2013, 07:54:37 pm »

Yammer,

I don't want to disagree with these guys.  They are much more knowledgeable.  Still, I am wondering why you are having problems.   I've been using VL a long time on lots of different machines and don't think I have ever had to download a video card driver.  I think I have tried the fglrx option (I recall something like that on install), but it has never worked for me.  So I just ignore it and use all the standard video stuff (hit return a lot) and everything always seems to work.
Logged

VL7.0 xfce4 Samsung RF511
MarkGrieveson
Vectorian
****
Posts: 531


« Reply #6 on: May 09, 2013, 06:57:39 am »

You need kernel sources to compile a module, and I don't think they're installed by default,

I think they are installed by default.  They are installed on mine (specifically, kernel-stripped-src 3.0.8-i686-1vl70 along with the headers and modules).  Perhaps I manually installed them, but I don't recall doing this.  I do have NVIDIA-Linux-x86 installed on my computer for my video card.  

Anyway, to get back to the original question, I think that if you have the following packages installed, then attempting to install the proprietary ATI driver should work:

  • kernel-headers
  • kernel-modules
  • kernel-stripped-src

So, whether via the command line as roarde suggested, or via the gui application Gslapt as retired1af suggested, just make sure these are installed.  My personal preference is using Gslapt, so try the following:
open Gslapt (via Menu/System/Gslapt Package Manager), and do a search for "kernel" to see if these are installed.  If not, and there are locks on these packages, then go to Edit/Preferences/Excludes within Gslapt and remove kernel, kernel-source, kernel-modules, kernel-ide, and kernel-headers from the Excludes list, and then update.  Then install the packages that are listed above.  Then go back, and add kernel, kernel-source, kernel-modules, kernel-ide, and kernel-headers back to the Excludes list in Gslapt, then update.  May need to reboot.

Then try to install the ATI driver again.  If it does install, reboot, and run the following to see if you've had success (I'm assuming you want to enable 3d rendering, which really is the only reason to install the proprietary drivers -- otherwise it's best to just stick with xf86-video-ati.)

Code:
vector://home/mark
root:# glxinfo | grep direct
direct rendering: Yes

vector://home/mark
root:# glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
2331 frames in 5.0 seconds = 466.106 FPS
2308 frames in 5.0 seconds = 461.449 FPS
2402 frames in 5.0 seconds = 480.238 FPS
2383 frames in 5.0 seconds = 476.562 FPS

The second command will give you a little window with gears spinning.  If you don't have 3d acceleration going, then the gears will go at snail-crawl pace and the results you'll get will be like 80 FPS rather than 400 FPS or higher, depending upon your card.

You may wish to try the given driver (xf86-video-ati) first as sledgehammer suggested, along with making sure mesa is installed (via Gslapt) to see if that works before installing the proprietary driver.

ETA:  I don't know if you have an x86 or amd64 or whatever computer.  But, if it's not x86, then make the appropriate substitutions.
« Last Edit: May 09, 2013, 07:06:01 am by MarkGrieveson » Logged

I am using VL7.0 standard with XFCE
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!