LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-25-2007, 12:14 AM   #1
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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
 
Old 11-25-2007, 07:09 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

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

http://www.centos.org/modules/newbb/...11270&forum=37
 
Old 11-25-2007, 12:10 PM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Original Poster
Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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

Last edited by frieza; 11-25-2007 at 12:12 PM.
 
Old 11-25-2007, 12:11 PM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Original Poster
Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
*post deleted by frieza*
 
Old 11-25-2007, 03:45 PM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
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
 
Old 11-27-2007, 10:20 AM   #6
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Original Poster
Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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
 
Old 11-27-2007, 02:26 PM   #7
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
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)
 
  


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
Can't build any modules for custom kernel jittys Linux - General 1 02-16-2007 01:53 PM
fglrx module build fails (i think it is the kernel?) android6011 Linux - Hardware 3 01-06-2007 05:50 PM
Custom kernel image on custom slack build using CUSS nykey Slackware 2 07-15-2006 03:05 AM
New FAQ topic: Should I edit my kernel configuration?/Should I build a custom kernel? chort *BSD 10 09-10-2004 11:15 PM
What do i need to build custom kernel!! no noob_slacker Slackware 20 11-20-2003 07:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:35 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