LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   fglrx driver for kernel 2.6.22.1 (custom build) (https://www.linuxquestions.org/questions/linux-hardware-18/fglrx-driver-for-kernel-2-6-22-1-custom-build-602184/)

frieza 11-25-2007 12:14 AM

fglrx driver for kernel 2.6.22.1 (custom build)
 
if anyone can point me in the right direction as to where to find an ATI driver such as fglrx
for a dell laptop with this card:
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500] on fedora core 6 running a custom compiled 2.6.22.1 kernel that would be appreciated
i have been going in circles as of so far so any pointers will helep ;)

Lenard 11-25-2007 07:09 AM

See this (my reply #6 in the thread):

http://www.centos.org/modules/newbb/...11270&forum=37

frieza 11-25-2007 12:10 PM

hmm
i might be making progress but small
glxinfo gives me the following:
Code:

Xlib:  extension "XFree86-DRI" missing on display ":0.0".
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.5.1)

glxgears gives me the same DRI error plus
Code:

1129 frames in 5.1 seconds = 241.058 seconds
etc...

fgl_glxgears gives me:
Code:

Xlib:  extension "XFree86-DRI" missing on display ":0.0".
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  30
  Current serial number in output stream:  30

oh yes im using kernel 2.6.22.9-61.fc6 now with fedora 6

frieza 11-25-2007 12:11 PM

*post deleted by frieza*

Lenard 11-25-2007 03:45 PM

A few things to try...........

First try using the older ati-x11-drv package built for FC6;
http://zod.freshrpms.net/rpm.html?id=1184

Second try the very latest ATI driver built according the the Installer instructions;
http://ati.amd.com/support/drivers/l...ux-radeon.html

Also see: http://wiki.cchtml.com/index.php/Fed...allation_Guide

frieza 11-27-2007 10:20 AM

grr.. this is driving me nutz, no matter what i seem to install or uninstall it seems to fail to load X11 then forces it's way back to the default 'radeon' driver. what in gawd's name could i be doing wrong?
alot of times i'll see
Code:


Runing ldconfig, this could take some time...
false

could that be a help
oh yes.. ive installed from yum.. various .run packages by doing sh *package*.run or sh *package*.yum --buildpkg Fedora/FC6 then installing the resulting RPM -packages, edited the xorg.conf files in various ways suggested, all no dice

Lenard 11-27-2007 02:26 PM

Quote:

oh yes.. ive installed from yum.. various .run packages by doing sh *package*.run or sh *package*.yum --buildpkg Fedora/FC6 then installing the resulting RPM -packages, edited the xorg.conf files in various ways suggested, all no dice

For comparison here is what I currently have;

$ rpm -qa 'fglrx64*'
fglrx64_7_1_0-8.433-1.x86_64

This rpm package was built from the latest ATI driver package ati-driver-installer-7-11-x86.x86_64.run
as root from runlevel 3 I did;

chmod u+x ati-driver-installer-7-11-x86.x86_64.run
sh ati-driver-installer-7-11-x86.x86_64.run

I choose to build a Distribution Specific Driver Package, when done my next steps were;

rpm -e ati-x11-drv
rpm -ivh fglrx64_7_1_0-8.433-1.x86_64.rpm

I did not need to change my /etc/X11/xorg.conf file (as I have been using ATI's driver package since I had my current laptop);
Code:


# Xorg configuration created by system-config-display

Section "ServerLayout"
        Identifier    "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
        Load  "dri"
        Load  "extmod"
        Load  "dbe"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option            "Device" "/dev/input/mice"
        Option            "Protocol" "auto-dev"
        Option            "Emulate3Buttons" "yes"
        Option            "TouchpadOff" "2"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
        Identifier  "Monitor0"
        ModelName    "LCD Panel 1280x800"
#        HorizSync    31.5 - 90.0
#        VertRefresh  59.9 - 60.1
        Option            "DPMS" "true"
EndSection

Section "Device"
        Identifier        "Videocard0"
        Driver                "fglrx"
        Option                "UseInternalAGPGART" "no"
        Option                "DRI" "true"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Section "ServerFlags"
        Option            "AIGLX" "true"
EndSection

Section "DRI"
        Group        0
        Mode        0666
EndSection

Section "Extensions"
        Option            "Composite" "False"
        Option      "XVideo"  "Enable"
EndSection

The results;

$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon Xpress Series
OpenGL version string: 2.1.7059 Release

$ fgl_glxgears
Using GLX_SGIX_pbuffer
1492 frames in 5.0 seconds = 298.400 FPS
1873 frames in 5.0 seconds = 374.600 FPS

$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2

$ glxgears
9019 frames in 5.0 seconds = 1803.711 FPS
9232 frames in 5.0 seconds = 1846.255 FPS

You might want to check and maybe clean out the /usr/lib[64]/fglrx any broken symbloic links. I do build my own custom kernels using the kernel.org sources.

$ uname -a
Linux Aspire5100 2.6.23.8 #2 Sat Nov 17 11:04:03 EST 2007 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/*release
Red Hat Enterprise Linux Client release 5.1 (Tikanga)


All times are GMT -5. The time now is 08:57 PM.