LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-30-2005, 04:29 PM   #1
ChemBot
LQ Newbie
 
Registered: May 2003
Posts: 15

Rep: Reputation: 0
Debian sid ATi driver problem, no module love?


A few things: Running Debian sid, GCC 3.3.6, 2.6.12.3 custom 32 bit k8 kernel

Ok, so I downloaded the official ATi driver package from the website and ran it. Went through the interface and installed stuff automatically. The I ran fglrxconfig and set all the stuff. Then I reboot, but I notice that GL programs are still slow. I check the logs, and sure enough directrendering is disabled. fglrxinfo shows this for the renderer:

display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)

So, after searching around, I find about a dozen "guides" to installing the drivers peroperly. I tried this one:

http://xoomer.virgilio.it/flavio.sta...installer.html

However, I failed pretty much every step of the way. For example, here's the error output I got from each of these steps:

#3a
Code:
chembot@CompuThor:/usr/src/fglrx-installer-8.14.13$ sudo dpkg-buildpackage -b -rfakeroot -tc -uc -D
dpkg-buildpackage: source package is fglrx-installer
dpkg-buildpackage: source version is 8.14.13-2
dpkg-buildpackage: source changed by Flavio Stanchina <flavio@stanchina.net>
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dh_testdir
#dh_testroot
dh_clean
rm -fr usr opt lib
rm -fr extra_src
 debian/rules build
dh_testdir
rpm2cpio fglrx_6_8_0-8.14.13-1.i386.rpm | cpio -i -d -f "./lib/modules/fglrx/fglrx.*.o" --no-preserve-owner
50672 blocks
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
  mkdir -p usr/share/doc/fglrx; \
  mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
fi
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
     usr/X11R6/lib \
     usr/share usr/src     -type f | xargs chmod -x
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib      -name "*.sh" -type f | xargs chmod +x
# extract panel source
mkdir -p extra_src/panel
tar xfzC usr/src/ATI/fglrx_panel_sources.tgz extra_src/panel
patch -d extra_src/panel -p1 -i /usr/src/fglrx-installer-8.14.13/debian/patches-8.14.13/panel.diff
patching file ATITVOExtensions.c
patching file FGLRXExtensions.c
patching file Makefile
# build panel source
make -C extra_src/panel QTDIR=/usr/share/qt3
make[1]: Entering directory `/usr/src/fglrx-installer-8.14.13/extra_src/panel'
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I. -I./include_dummy FGLRXExtensions.c
FGLRXExtensions.c:19:37: X11/extensions/xf86misc.h: No such file or directory
FGLRXExtensions.c:20:39: X11/extensions/xf86mscstr.h: No such file or directory
make[1]: *** [FGLRXExtensions.o] Error 1
make[1]: Leaving directory `/usr/src/fglrx-installer-8.14.13/extra_src/panel'
make: *** [extra_src/panel/fireglcontrol] Error 2
#4.1
Code:
chembot@CompuThor:/usr/src/modules/fglrx$ sudo ./make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /usr/src/linux-2.6.12.3 SUBDIRS=/usr/src/modules/fglrx modules
make[1]: Entering directory `/usr/src/linux-2.6.12.3'
  CC [M]  /usr/src/modules/fglrx/agp3.o
  CC [M]  /usr/src/modules/fglrx/nvidia-agp.o
  CC [M]  /usr/src/modules/fglrx/agpgart_be.o
/usr/src/modules/fglrx/agpgart_be.c: In function `agp_find_supported_device':
/usr/src/modules/fglrx/agpgart_be.c:7136: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7156: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7161: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7187: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7207: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7227: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7232: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_init':
/usr/src/modules/fglrx/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_cleanup':
/usr/src/modules/fglrx/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[2]: *** [/usr/src/modules/fglrx/agpgart_be.o] Error 1
make[1]: *** [_module_/usr/src/modules/fglrx] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12.3'
make: *** [kmod_build] Error 2
build failed with return value 2

#4.2

chembot@CompuThor:/usr/src/linux$ sudo make SUBDIRS=/usr/src/modules/fglrx modules
  CC [M]  /usr/src/modules/fglrx/agp3.o
  CC [M]  /usr/src/modules/fglrx/nvidia-agp.o
  CC [M]  /usr/src/modules/fglrx/agpgart_be.o
/usr/src/modules/fglrx/agpgart_be.c: In function `agp_find_supported_device':
/usr/src/modules/fglrx/agpgart_be.c:7136: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7156: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7161: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7187: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7207: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7227: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7232: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_init':
/usr/src/modules/fglrx/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_cleanup':
/usr/src/modules/fglrx/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[1]: *** [/usr/src/modules/fglrx/agpgart_be.o] Error 1
make: *** [_module_/usr/src/modules/fglrx] Error 2
#4.3
Code:
chembot@CompuThor:/usr/src/modules/fglrx$ sudo ./make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /usr/src/linux-2.6.12.3 SUBDIRS=/usr/src/modules/fglrx modules
make[1]: Entering directory `/usr/src/linux-2.6.12.3'
  CC [M]  /usr/src/modules/fglrx/agp3.o
  CC [M]  /usr/src/modules/fglrx/nvidia-agp.o
  CC [M]  /usr/src/modules/fglrx/agpgart_be.o
/usr/src/modules/fglrx/agpgart_be.c: In function `agp_find_supported_device':
/usr/src/modules/fglrx/agpgart_be.c:7136: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7156: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7161: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7187: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7207: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7227: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7232: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_init':
/usr/src/modules/fglrx/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_cleanup':
/usr/src/modules/fglrx/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[2]: *** [/usr/src/modules/fglrx/agpgart_be.o] Error 1
make[1]: *** [_module_/usr/src/modules/fglrx] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12.3'
make: *** [kmod_build] Error 2
build failed with return value 2
chembot@CompuThor:/usr/src/modules/fglrx$ cd ..
chembot@CompuThor:/usr/src/modules$  cd..
bash: cd..: command not found
chembot@CompuThor:/usr/src/modules$  cd ..
chembot@CompuThor:/usr/src$ cd linux
chembot@CompuThor:/usr/src/linux$ sudo make SUBDIRS=/usr/src/modules/fglrx modules
  CC [M]  /usr/src/modules/fglrx/agp3.o
  CC [M]  /usr/src/modules/fglrx/nvidia-agp.o
  CC [M]  /usr/src/modules/fglrx/agpgart_be.o
/usr/src/modules/fglrx/agpgart_be.c: In function `agp_find_supported_device':
/usr/src/modules/fglrx/agpgart_be.c:7136: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7156: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7161: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7187: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7207: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7227: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7232: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_init':
/usr/src/modules/fglrx/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_cleanup':
/usr/src/modules/fglrx/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[1]: *** [/usr/src/modules/fglrx/agpgart_be.o] Error 1
make: *** [_module_/usr/src/modules/fglrx] Error 2
chembot@CompuThor:/usr/src/linux$ sudo fakeroot make-kpkg --append-to-version "-32bit-k8-custom" --added-modules fglrx modules_image
for module in /usr/src/modules/fglrx ; do                       \
          if test -d  $module; then                                \
    (cd $module;                                          \
              if ./debian/rules KVERS="2.6.12.3-32bit-k8-custom" KSRC="/usr/src/linux" \
                             KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf"      \
                             KPKG_DEST_DIR="/usr/src/linux/.."       \
                             KPKG_MAINTAINER="Unknown Kernel Package Maintainer"        \                             KPKG_EXTRAV_ARG="EXTRAVERSION=.3-32bit-k8-custom"        \
                             ARCH="i386"                  \
                             KDREV="10.00.Custom" kdist_image; then    \
                  echo "Module $module processed fine";            \
              else                                                  \
                   echo "Module $module failed.";                  \
                   if [ "X" != "X" ]; then      \
                      echo "Perhaps $module does not understand --rootcmd?";  \
                      echo "If you see messages that indicate that it is not"; \
                      echo "in fact being built as root, please file a bug ";  \
                      echo "against $module.";                     \
                   fi;                                              \
                   echo "Hit return to Continue";                   \
         read ans;                                        \
              fi;                                                   \
     );                                                    \
  else                                                      \
               echo "Module $module does not exist";               \
               echo "Hit return to Continue?";                      \
  fi;                                                       \
        done
make[1]: Entering directory `/usr/src/modules/fglrx'
dh_testdir
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/fglrx modules
make[2]: Entering directory `/usr/src/linux-2.6.12.3'
  CC [M]  /usr/src/modules/fglrx/agp3.o
  CC [M]  /usr/src/modules/fglrx/nvidia-agp.o
  CC [M]  /usr/src/modules/fglrx/agpgart_be.o
/usr/src/modules/fglrx/agpgart_be.c: In function `agp_find_supported_device':
/usr/src/modules/fglrx/agpgart_be.c:7136: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7156: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7161: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7187: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7207: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7227: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7232: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_init':
/usr/src/modules/fglrx/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_cleanup':
/usr/src/modules/fglrx/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[3]: *** [/usr/src/modules/fglrx/agpgart_be.o] Error 1
make[2]: *** [_module_/usr/src/modules/fglrx] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.12.3'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/modules/fglrx'
Module /usr/src/modules/fglrx failed.
Hit return to Continue
#4.4
Code:
chembot@CompuThor:/usr/src$ sudo module-assistant a-i fglrx

Build of the package fglrx-kernel-src failed! How do you      │
            │ wish to proceed?

dh_testroot
rm -f configure-stamp
rm -f fglrx.ko fglrx.mod.c *.o libfglrx_ip.a
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
rm -rf patch
dh_clean
rm /usr/src/modules/fglrx/debian/control
rm /usr/src/modules/fglrx/debian/dirs
if [ -f /usr/src/modules/fglrx/debian/control.template ]; then \
        cat /usr/src/modules/fglrx/debian/control.template > /usr/src/modules/fglrx/debian/control; \
fi
dh_testdir
touch configure-stamp
dh_testdir
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/fglrx modules
make[1]: Entering directory `/usr/src/linux-2.6.12.3'
  CC [M]  /usr/src/modules/fglrx/agp3.o
  CC [M]  /usr/src/modules/fglrx/nvidia-agp.o
  CC [M]  /usr/src/modules/fglrx/agpgart_be.o
/usr/src/modules/fglrx/agpgart_be.c: In function `agp_find_supported_device':
/usr/src/modules/fglrx/agpgart_be.c:7136: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7156: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7161: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7187: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7207: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7227: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7232: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_init':
/usr/src/modules/fglrx/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared
at include/linux/pm.h:106)
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_cleanup':
/usr/src/modules/fglrx/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[2]: *** [/usr/src/modules/fglrx/agpgart_be.o] Error 1
make[1]: *** [_module_/usr/src/modules/fglrx] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12.3'
make: *** [build] Error 2
I'm completely at a loss as to what needs to be done. It seems I've tried everything I can think of and everything I've read over an entire night and into the next day, but it still won't give me 3d rendering! Can anyone help me here?
 
Old 07-31-2005, 08:55 AM   #2
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
I'm using a Radeon on this desktop. My fglrxinfo shows following info:

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 1.3 (X4.3.0-3.9.0)

I think your problem is wrong GL libraries. I installed Fglrx maybe a year ago, and can't remember the exact procedure. I'd check all possible manuals and try to find how to make Radeon to use correct OpenGL version.
 
Old 07-31-2005, 01:45 PM   #3
ToastedToad
Member
 
Registered: Feb 2005
Location: Sequim,WA
Distribution: Debian_sid/Debian_sarge_amd64
Posts: 157

Rep: Reputation: 30
The first error in 3a. is the one holding you back. The others depend on it getting set up correctly. I'm not exactly sure what went wrong there. Have you attempted it from the beginning? Making, sure you did it to the letter?
 
Old 08-08-2005, 12:22 AM   #4
Chumtoad
LQ Newbie
 
Registered: Aug 2005
Distribution: Kubuntu
Posts: 1

Rep: Reputation: 0
I encountered #3a tonight as I followed that guide to set up ATI drivers for the first time, and resolved it by fetching packages libxxf86dga-dev, libxxf86misc-dev, and libxxf86vm1-dev.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
will the ltmodem drivers work in debian sid (knoppix sid) maximalred Debian 5 05-29-2009 11:44 AM
Problem installing ATI x600 driver on debian 3.1 Greebstreebling Linux - Hardware 2 12-02-2005 07:03 AM
ATI driver kernel module bmorgan98 Mandriva 1 08-23-2005 01:32 PM
problem with the new ati driver in debian mechmg93 Linux - Hardware 8 06-23-2005 07:33 PM
NVIDIA Driver Help - Debian Sid philwozza Debian 3 02-07-2004 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration