LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-30-2005, 04:32 PM   #1
Angelis
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Fedora Core 4
Posts: 39

Rep: Reputation: 15
ATI driver And FC4


I have managed to install the latest ATI drivers on my FC4 machine. Currently I am running kernel 2.6.12-1.1398_FC4smp
The problem now is that if I try to setup a dual X system with the new drivers it doesn't work. Anybody had any success getting ATI drivers to work properly with 2.6.12 kernel?
I have attached a copy of my current X config, the moment I change Driver "radeon" to Driver "fglrx", my dual X setup does not work.

Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" RightOf "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
Option "Clone" "off"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

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

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

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Samsung SyncMaster 450(N)b"
HorizSync 30.0 - 54.0
VertRefresh 50.0 - 120.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Philips 107S(17inch/CM6800)"
HorizSync 30.0 - 66.0
VertRefresh 50.0 - 130.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon 9600 Pro"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "radeon"
VendorName "Videocard Vendor"
BoardName "ATI Radeon 9600"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

I need to get Americas Army going, so any help will be appreciated
 
Old 07-30-2005, 09:42 PM   #2
guideweb
Member
 
Registered: Mar 2004
Location: /planet/earth
Posts: 110

Rep: Reputation: 15
I am running 2.6.12-1.1372_FC3 and i cant get my ati drivers working but my dual monitor work, so here is my Xorg configuration :

[root@sam ~]# cat /etc/X11/xorg.conf

Section "ServerLayout"
Identifier "dual head configuration"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
Option "Clone" "off"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection

Section "InputDevice"

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

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "NEC MultiSync FE700"
HorizSync 31.0 - 70.0
VertRefresh 55.0 - 120.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor 1024x768"
HorizSync 31.5 - 57.0
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection

Section "Device"

# BusID "PCI:2:0:0"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon 9000 Pro"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "radeon"
VendorName "Videocard Vendor"
BoardName "ATI Radeon 9000"
BusID "PCI:2:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 
Old 07-31-2005, 05:29 AM   #3
Angelis
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks for the reply, unfortunately as long as my driver is radeon and not fglrx my dual X works, which inturn means I can not play games. If anybody has any ideas please let me know. At the moment installing a older kernel seems to be the only thing I can do
 
Old 07-31-2005, 11:26 AM   #4
guideweb
Member
 
Registered: Mar 2004
Location: /planet/earth
Posts: 110

Rep: Reputation: 15
Are you sure your driver is correctly instaled ?

You can try : http://www.fedoraforum.org/forum/showthread.php?t=32300

When you run #fglrxconfig what kind of errors did you get when you #startx ?

Last edited by guideweb; 11-28-2005 at 08:44 PM.
 
Old 07-31-2005, 12:17 PM   #5
Angelis
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
After restarting X, I go into a weird clone mode. Both monitors can be seen but only one is semi active. I finally found some logs that the ATI installer generates (/usr/share/fglrx/fglrx-install.log) and I get the following output:

[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Error] Kernel Module : No kernel module build environment - please consult readme.

I searched google and some people mentioned a patch, I tried this patch without any success. Neither the 2.6.11 or 2.6.12 kernels function with the ATI driver.

Does anybody know if ATI is going to release a new driver at some stage? I have been going through the forums and it seems that there are a lot of people experiencing the same problems...
 
Old 07-31-2005, 12:34 PM   #6
Angelis
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
I followed the steps in the link you provide, but the same happens as all the other patches I have tried. This is what happens when I try to run make.sh.

ATI module generator V 2.0
==========================
initializing...
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h
 
Old 07-31-2005, 10:25 PM   #7
guideweb
Member
 
Registered: Mar 2004
Location: /planet/earth
Posts: 110

Rep: Reputation: 15
You need to have headers for your current kernel, so you need to install the headers for the kernel you are currently using or reboot with your original FC4 kernel and it should work.

Last edited by guideweb; 11-28-2005 at 08:46 PM.
 
Old 08-01-2005, 07:33 AM   #8
Angelis
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
I tried my original kernel but that didn't work either, so I installed the headers for the latest kernel (2.6.12). After that I ran the ati installer again and the following error message is generated in the install log:

[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
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 /lib/modules/2.6.12-1.1398_FC4/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.12-1.1398_FC4-i686'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agp3.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
/lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.c:57: error: static declaration of ‘__fgl_agp_try_unsupported’ follows non-static declaration
/lib/modules/fglrx/build_mod/2.6.x/agp_backend.h:92: error: previous declaration of ‘__fgl_agp_try_unsupported’ was here
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.12-1.1398_FC4-i686'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.

anybody got any ideas how to get past that one?
 
Old 08-01-2005, 11:21 AM   #9
guideweb
Member
 
Registered: Mar 2004
Location: /planet/earth
Posts: 110

Rep: Reputation: 15
are you sure you patch the file ?


http://www.fedoraforum.org/forum/showthread.php?t=32300
Quote:
2) Download the ATI Development Team's kernel 2.6.10 kernel patch from here: http://rage3d.com/board/showthread.php?t=33798874 (just cut & paste mtippett's code from the first message into a text file and save it as 8.8.25-kernel-2.6.10+.patch at the same place you saved the Driver)

3) Open a terminal and su as root, go to the download directory and install the drivers by executing the following command (it's necessary to overwrite the old MESA GL drivers with the ATI ones, they are backwards compatible with MESA anyway): rpm -Uvh --force fglrx_6_8_0-8.8.25-1.i386.rpm

4) Go to /lib/modules/fglrx/build_mod/ and apply the patch by using a command similar to (where ~/Download is the directory where you put the patch file): patch -p0 -i ~/Download/8.8.25-kernel-2.6.10+.patch
 
Old 08-01-2005, 11:40 AM   #10
Angelis
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
yip, I have done the same process about 100 times. I have managed to get the error message a bit shorter

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
ln: `./libfglrx_ip.a.GCC4': File exists
make: *** [libfglrx_ip.a.GCC4] Error 1
build failed with return value 2


any ideas?
 
Old 08-01-2005, 04:06 PM   #11
guideweb
Member
 
Registered: Mar 2004
Location: /planet/earth
Posts: 110

Rep: Reputation: 15
i have googoled about the error message and i found an LQ post
http://www.linuxquestions.org/questi...96#post1777196

Quote:
Originally posted by alesz
In your file log output I see, you have 2.6.12 kernel. This driver works only for 2.6.11 (at list id didn't work for me at 6.12).
did you try post #35, for FC4?

follow the link
http://forums.fedoraforum.org/showt...goto=nextnewest
'


Link give a 404 error but somone else post this in an other post
http://forums.fedoraforum.org/forum/...ad.php?t=63910


Hope it can help
 
Old 08-02-2005, 05:51 AM   #12
Angelis
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks a mil, that final page did the trick and Americas army is running like a dream in dual X mode !!!!
 
Old 08-03-2005, 11:46 AM   #13
guideweb
Member
 
Registered: Mar 2004
Location: /planet/earth
Posts: 110

Rep: Reputation: 15
Is your desktop is like a big screen or two shared monitors ?

With the ati driver KDE see my screen as a 2048*768 instead of two 1024*768. This cause that when windows are maximized they fill the two monitors. . . When computer start the login box is splited in the middle of the two monitors and it some kind of ugly

If your dual screen work fine can you give me your xorg.con file ?


Thanks
 
Old 08-03-2005, 02:36 PM   #14
Angelis
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
have a look at my original post, my xorg config file is there. just change the driver section from radeon to fglrx. that is of course after you installed the relevant drivers. the process for which you can find at http://forums.fedoraforum.org/forum...ead.php?t=63910.

I am currently running dual X with 3d support in Fedora Core 4 with the 2.6.12-1.1398_FC4smp kernel.

If you need any more info just let me know.
 
  


Reply



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
ATI TV wonder usb 2.0 and FC4 mrground Linux - Software 3 09-28-2005 09:48 PM
Ati driver a bit unstable but no different than nvidia..ati benchmark inside. spade Slackware 1 10-06-2004 12:13 AM
ATI driver: ATI 9600XT failed dependencies igmcdermott Linux - Software 2 08-06-2004 09:26 AM
ATI driver: ATI 9600XT failed dependencies igmcdermott Linux - Software 1 08-06-2004 02:26 AM
ATI driver: ATI 9600XT failed dependencies igmcdermott Linux - Software 1 08-06-2004 02:24 AM

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

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