Slackware :: FGLRX Driver And Compiling Kernel In 13.1
May 26, 2010
I am currently having an issue installing the FGLRX driver in slackware 13.1. I use a customer kernel due to buggy acpi on my toshiba laptop. The steps i took to compile my kernel are as followed. hu
make mrproper in /usr/src/linux directory
patch /usr/src/linux directory
copy kernel config from /boot directory
make menguconfig and load config
the make all
make modules install
i have also tried make install as well
then i mopy system.map the kernel file and config file into /boot directory
edit lilo
reboot ... everything works fine acpi works properly like before.. now the problem comes.. I try to install the fglrx drivers and i get the error message
Code:
Error:
kernel includes at /lib/modules/2.6.33.4-smp/build/include do not match current kernel.
they are versioned as ""
instead of "2.6.33.4-smp".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
ERROR: I don't have make module
Am I doing something wrong setting up my kernel. Issue on my gentoo box I have.
I have an HP laptop running 11.3/KDE4.5.2, has integrated HD3200 ati graphics.
Yesterday, ATI version 10.10 fglrx driver was installed on the system, kernel was 2.6.34.7-0.4-desktop. I use the "build rpm" option with the downloads from ATI. All seemed running well.
I had installed the automatic recompile script posted by please_try_again after moving to 2.6.34.7-04, so today's new 2.6.34.7-0.5-desktop update was a chance to see it in action.
After the update and reboot, the X server restarted so I have to assume the automatic recompile script ran, although I did not see any messaging (place to look?).
However, some things did not seem "quite right". fgl_glxgears ran, but seemed slow (only 70 or so fps) pm-suspend failed to sleep the machine, I see the error message "s2ram_do: Device or resource busy" in /var/log/pm-suspend.log, which I think (?) is fglrx related but not sure why I think that. I moved to a root terminal, init 3, removed the fglrx rpm with yast, deleted the fglrx rpm and rebuilt a new one with ati....run. I then installed the new rpm (with yast), ran aticonfig --initial, then rebooted.
Basically, I am at the same level as above, fglrx installed and running, but slow and pm-suspend still not working.
So now I wonder if there is a new problem with the -5 kernel update, something like the excitement a couple weeks back when we had to patch the driver (or the kernel symbols) just to get a compile.
Can i assume someone has been able to cleanly update to 2.6.34.7-0.5 and get their fglrx running again?
An observation, which may or may not be related to my issues. The fglrx rpm installs a new /usr/lib64/dri/fglrx_dri.so, but in reviewing the log file /var/log/Xorg.0.log, it never appears to load. Two other *dri*.so modules do load. There is no "dri" section in Xorg.conf; I seem to recall there being one a while back, but much seems to be changing there.
I haven't used slackware for many years. There used to be a sticky thread with a great kernel compiling guide for slackware. It feels somewhat unnatural to me to use slackware without a shiny new kernel. Does that guide still exist? I'm working from memory right now.
In order to configure a dual display in a fresh 11.4 installation, I am attempting to install the nVidia driver according to the instructions in SDB:NVIDIA the hard way - openSUSE. I have not previously compiled or configured a kernel so I largely followed the instructions from OpenSUSE 11.2 - How to compile a Kernel for Newbies.The currently installed kernel is 2.6.37.1-1.2-desktop. The graphics card is an ASUS EN9600GSO (512MB).
In Yast, I installed gcc, make, kernel-devel (v. 2.6.37.1-1.2) and kernel-desktop-devel (v. 2.6.37.1-1.2). Per the "hard way" instructions, I did not install kernel-source.
I want to compile a kernel to add a few options that are not enabled in the huge-smp-2.6.29.6 that comes with slackware. specifically, i want to add TASK_DELAY_ACCT and TASK_IO_ACCOUNTING so that I can use iotop. I just want to add those 2 options to the new kernel, everything else I'd like to keep the way it is as the system has been running just fine. Will running 'make menuconfig' in /usr/src/linux default to the options that are used in the stock kernel?
I compiled a kernel using a previous kernel config after I switched to the ext4 file system. Previously it was using ext3 and the kernel compiled and ran fine. I added support for ext4 to the config but when I went to boot I had a kernel panic. The error was "kernel can't mount vfs on (8,5)". Root is on sda5, I don't know what the 8 is. I started over, using mrproper and made a new config, but got the same error. I created an initrd with the ext4 file system but then the kernel said it couldn't mount root on ext3 because of unique options. (something along those lines) I booted back into the default kernel and saw that it had a similar error right after the bios check, but it loaded fine. I'm wondering why the kernel is saying that the ext4 file system is ext3.
Anyone able to compile kernel 2.6.38.6 on Slackware 13.37 successfully using the config from testing/2.6.38.4? I was able to get .4 and .5 to compile successfully, but with .6 I get the following after running "make modules".
Code: WARNING: modpost: Found 11 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' Running "make CONFIG_DEBUG_SECTION_MISMATCH=y 2>&1 > outfile" gives me a bunch of WARNINGS as follows:
Code: WARNING: vmlinux.o(.text+0xe656a): Section mismatch in reference from the function build_all_zonelists() to the function .meminit.text:setup_zone_pageset.clone.56() The function build_all_zonelists() references the function __meminit setup_zone_pageset.clone.56(). This is often because build_all_zonelists lacks a __meminit annotation or the annotation of setup_zone_pageset.clone.56 is wrong.....
WARNING: drivers/watchdog/nv_tco.o(.devinit.text+0x14): Section mismatch in reference from the function nv_tco_init() to the function .init.text:nv_tco_getdevice() The function __devinit nv_tco_init() references a function __init nv_tco_getdevice(). If nv_tco_getdevice is only used by nv_tco_init then annotate nv_tco_getdevice with a matching annotation.
I am running Debian 5.0.6 and trying to install an ATI FirePro V3750 graphics card. I am unable to compile the fglrx driver. if there is some way to manage to install the fglrx drivers.
cpus amd64 dual quads motherboard tyan 2927 video ati V3750 kernel 2.6.26
I'm trying to bring my Slackware system back to life as my XP HDD is dying... I've got everything working except for my audio. I got a new motherboard (ASRock P43DE3) and it has a VIA VT1708S as the onboard audio. Is there any way I can get this working without rebuilding the kernel?
i'm using this guide videos - howto: debian linux kernel compilation, part 1 and the author says i need kernel 2.6.26 this version of kernel doesnt longer exist in kernel.org website and the only 2.6.26 i found is a patch here. should i use the patch? or download another version of kernel?
I read over the X11 acceleration in this forum but I'm not having issues with acceleration - running slackware 13 with built in ATI AGP stuff in kernel. Glxgears is putting out what I would expect for a 9600 pro (2500 FPS in the little window). I haven't needed you guys for a very long time but I just formatted Ubuntu (was getting on my nerves) and installed slack 12 on my hp netbook and 13 on my old desktop without a hitch - except this
I NEED BIG DESKTOP! I've searched, I've read, I've wondered! What's the normal setup in xorg.conf for bigdesktop WITHOUT the ATI driver (I ran the driver after building a custom kernel and the installer crashed with "Error: ./default_policy.sh does not support version" - I think I should of renamed my kernel path and setup differently or something)? Is BigDesktop ONLY supported with the driver? I know now that the driver wont work for my system - How do I enable bigdesktop with the open source driver I built in?
I have Slackware 13.0 installed with the newest stable kernel (2.6.32.3) on an hp notebook with ati hd3200 igp. What happens is that when I try to buildpkg the catalyst drivers, it fails on the new kernel but not on the original one. I've been searching for a solution for a few days now. found a few that involved patching some files, but none seem to work or I can't make them work. I could probably use the binary installer but I would prefer not to.
Here's the output: Code: sh ./ati-driver-installer-9-11-x86.x86_64.run --buildpkg Slackware/Only_Module Created directory fglrx-install.hokais Verifying archive integrity... All good. Uncompressing ATI Proprietary Linux Driver-8.672...... ATI Technologies Linux Driver Installer/Packager Generating package: Slackware/Only_Module .....
I'm running Slack64 13.1 and I'm in good shape with the 33.4 kernel, but if I upgrade the kernel to 35.x what do I need to do to get it working with my Nvidia 7300GT? I have the nvidia installer, NVIDIA-Linux-x86_64-260.19.12.run. Do I just do from the stable repo
Code: slackpkg upgrade then boot to run level 3 and run NVIDIA-Linux-x86_64-260.19.12.run? Thanks for your help.
Im having a battle for quite some time now with lastest intel driver now and wondering if someone has solution. Ive checked :[URL].. and i decided to have exact same version of everything listed in there installed on the system.
I have few questions since i manually builded xorg-server 1.8 im wondering what packages are dependent for x11 to be upgraded so everything run smoothly for xserver 1.8. are those xf86-input* and xf86-video* the only one or there are other packages that i have to get rebuilded? the second question: im wondering if im the only one for that having a problem of that lastest driver dosent work for me, for the purpose i rebuilded the driver and libdrm 2.4.20 with kms enabled once i installed xorg-xserver 1.8.0
heres log problem: Code: 214.704] (II) LoadModule: "intel" [ 214.704] (II) Loading /usr/lib/xorg/modules/intel_drv.so [ 214.704] dlopen: /usr/lib/xorg/modules/intel_drv.so: undefined symbol: resVgaShared [ 214.706] (EE) Failed to load /usr/lib/xorg/modules/intel_drv.so [ 214.707] (II) UnloadModule: "intel"
I can't seem to get a screen on my Asus Netbook 1005pe. I did install the xf86-video-intel-2.10.0-i486-1.txz & kubdrn-2.4.17-i486-1.txz.I'm also having a Kernel Modesetting issue. Below is my Xorg.conf file & my Xorg.0.log file. Sorry if I am not explaining myself correctly.
I'm using Slackware 13.1 32bit and can't run virtualbox when I try to boot the virtual machine it shows me a window with the following message:
Quote:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup' run - /etc/rc.d/rc.vboxdrv setup
Quote:
Stopping VirtualBox kernel module ...done. Recompiling VirtualBox kernel module ...failed! (Look at /var/log/vbox-install.log to find out what went wrong) Check /var/log/vbox-install.log
Quote:
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.33.4-smp/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( echo;
I have made a full install of Slack 13.37.0. When I try to run the installer of the NVIDIA GF 8400GS card (NVIDIA-Linux-x86-180.29-pkg1.run) downloaded from [URL], I receive an error message. It says that the kernel source cannot be indetified/found. /lib/modules/2.6.37.6-smp/source and .../build links to /usr/src/linux-2.6.37.6-smp, which contains the full kernel source (can be compiled), including the header .h files in include/linux. The same NVIDIA installer can be run successfully on my previous Slack 11.
I'm using Slackware 13.0 on rather old PC with old Riva TNT2 video card. Default driver is "nv". Everything work fine, but without hardware 2D acceleration under X.
After studying various manuals I 1. downloaded Nvidia binary package suitable for my video card. 2. Recompile kernel without Riva framebuffer support. 3. Start Nvidia script.
Script said: "Error: unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and that they are properly configured...""
Kernel sources are in /usr/src/linux-2.6.29.6 I have all kernel packages installed. I was trying various switches for script in order to show the right path - nothing! 8 Some people say that Nvidia script don't like 4th digit in a kernel's name and get it from "uname -r" output. Can I change it somehow?
I turned off my machine and when I turned it back on it would only boot in low res mode.I cannot 'activate' the driver, gives me an error. Tried following options in 10 different threads here,10.04, was working fine for a month or more since upgrading. ATI 5770 card, driver is latest.
I have a HP Pavillion dv5 laptop with an ATI Mobility Radeon 4200 series. It always worked fine with Ubuntu for as long as I can remember. However, at one point, something happened and truly made a majestic mess of things. It might've been extra repos I enabled with Ubuntu Tweak - I do not know. But something made it so that my system would not boot any longer.
And when I say "won't boot", this is what I mean:
- Durning a normal bootup, any entries (except Windows) selected with GRUB (or BURG, not even sure which one I'm using anymore) will spawn the Ubuntu loading screen.
- then try to start X (or GDM) 5 times. The screen goes to dark, black and back to the Ubuntu loading screen. Then it just stays there until I spawn another TTY.
I have no idea what is happening or why. There are no errors in my logs, and I'm truly at a loss here.
I've linked three files: Xorg.0.log, the output of dmesg and the GDM log:
I did a fresh install of openSUSE 11.2 32 bit today and installed all updates. I also installed the kernel sources and kernel symbols. Finally I installed the ATI drivers from http:///www2.ati.com/suse/11.2. The drivers didn't work after that, so I tried to run the 32 bit driver installer suitable for my gfx card (Radeon X800 XT PE -> v9.3), where I got the following error message:
================================================== ATI Technologies Linux Driver Installer/Packager ================================================== which: no XFree86 in (/usr/lib/mpi/gcc/openmpi/bin:/home/schaeff/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin) Error: ./default_policy.sh does not support version
[code]....
I had no such problems with openSUSE 11.1 32 bit. Is there a way to install the drivers on my system? If yes, how would I do it?
From the wiki page I know the ATI Mobility Radeon X1400 card is no longer supported by the new fglrx driver in squeeze. Is there a way to use the older driver from lenny? I'm on the radeon driver and the glxgrears performance is pretty low.
UPDATE 8/28/2009: I now recommend that people install the new packages instead of the manual instructions below, see this link:http://forums.fedoraforum.org/showthread.php?t=155503 (Howto for fglrx/catalyst (Ati driver) and Compiz-fusion)NOTE: After installing the packages, I had to do the things at the following link to make the above packages work:http://forums.fedoraforum.org/showpo...postcount=3564If you still want to install the driver manually (you do not need to if you install the packages above), the instructions are below:
I was having issues with xscreensaver, desktop background and VLC all cutting out at same or different times and narrowed it down to "possibly" compiz or the FGLXR ATI driver that was recommended for my ATI HD3200 card. So, without knowing better, i went into hardware settings and removed the proprietary driver and did a reboot thinking the system would come back up and default back to a vanilla driver. No dice. Hello white screen of death! So, i am assuming that I can just reinstall via terminal and life will be good again? So, looking for CLI commands via terminal for reinstall.. (if possible)
I got tired of not being able to run any 3D apps on my integrated Intel and went out and came home with a ATi Radeon HD 4650. Skip the bit about how I could have gotten an nVidia (they didn't have any HTPC compatible low-profile nVidias on shelf).
Actually the card works very well, it runs all the 3D apps I've thrown at it so far (and quite a bit faster too).
My problem is with video playback: it is jerky. The framerate stalls and then speeds up and is out of sync. When not out of sync, there is tearing. Yes I have tried turning Compiz off, didn't do anything. Weird thing is the CPU utilization is really low, so everything should be working.
I figured I would update the video drivers to the latest available on ATi website (following the instructions here) but I've ran into trouble with the installer:
Code:
How do I proceed from here? If you've got a fix for the video with the drivers in the repositories that is cool also. I don't necessarily need the latest drivers.
I am running Kubuntu 10.04 LTS and have had no problems with my ATI card up to kernel 2.6.32-29. Upon update/upgrade to 2.6.32-30 the FGLRX driver will not load graphics and I can only get the text system login. If I reboot to -29 everything works great.
A kernel update just killed my ATI graphics driver.
Trying to install proprietary graphics driver fails and points at /var/log/jockey.log
This ends with
Code:
If I can't sort this out I'll have to try rebooting into the old kernel to get the graphics driver back. The dreadfully slow scrolling in the browser is starting.