LinuxQuestions.org
Visit Jeremy's Blog.
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-31-2005, 03:24 AM   #1
guideweb
Member
 
Registered: Mar 2004
Location: /planet/earth
Posts: 110

Rep: Reputation: 15
Another ATI driver problem


Hi all,

note : first time for me that i play with the kernel
I am trying to install the ati drivers for my Sapphire radeon 9000 pro and i get errors
I follow this little howto
http://www.fedoraforum.org/forum/showthread.php?t=32300


Step 4
[root@sam build_mod]# patch -p0 -i ~admin/kernel-patch.patch
patching file agpgart_be.c
Hunk #8 FAILED at 5245.
Hunk #10 succeeded at 6530 (offset 1 line).
Hunk #11 succeeded at 7076 (offset 1 line).
Hunk #12 succeeded at 7502 (offset 1 line).
1 out of 12 hunks FAILED -- saving rejects to file agpgart_be.c.rej
patching file firegl_public.c
Hunk #1 succeeded at 80 (offset -8 lines).

Step 5
[root@sam build_mod]# sh 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

I googled on that and found that i need theases packages ( ?? do i forget any ??)
kernel-2.6.12-1.1372_FC3.src.rpm
kernel-devel-2.6.12-1.1372_FC3.i686.rpm
so i install it and i get the same error.

How can i get kernel includes to be at the right place ?

Thanks
 
Old 07-31-2005, 07:42 AM   #2
tumbelo
Member
 
Registered: Mar 2005
Distribution: Suse 9.3, Kubuntu Hoary, Slackware 10.1
Posts: 66

Rep: Reputation: 15
I think you need to install the sources for your running kernel. According to your sig, you have 2.6.9. Or are you using the 2.6.12 kernel you downloaded?
 
Old 07-31-2005, 11:04 AM   #3
guideweb
Member
 
Registered: Mar 2004
Location: /planet/earth
Posts: 110

Original Poster
Rep: Reputation: 15
I am running 2.6.12-1.1372_FC3

Kernel source are kernel-2.6.12-1.1372_FC3.src.rpm ?

# rpm -qa | grep kernel
kernel-utils-2.4-13.1.49_FC3
kernel-2.6.9-1.667
kernel-2.6.12-1.1372_FC3
kernel-devel-2.6.12-1.1372_FC3



when i try to build rpms i get error :
[root@sam SPECS]# rpmbuild --rebuild /mnt/datadisk/DOWNLOADS/linux/kernel-2.6.12-1.1372_FC3.src.rpm
Installing /mnt/datadisk/DOWNLOADS/linux/kernel-2.6.12-1.1372_FC3.src.rpm
error: Architecture is not included: i386



Last edited by guideweb; 07-31-2005 at 11:31 AM.
 
Old 07-31-2005, 10:15 PM   #4
guideweb
Member
 
Registered: Mar 2004
Location: /planet/earth
Posts: 110

Original Poster
Rep: Reputation: 15
I fix (not realy fix it but, make it work) by using my 2.6.9-1.667 FC3 kernel that have headers and sources.


Now i am stuck in a strange desktop mode , 2048 * 168 instead of two 1024*768. This cause all the window to be opened in the middle of my two monitors and when i maximize windows they are maximized on the two monitors instead of one.

Anybody had this problem before ? any solution ?

Thanks
 
Old 07-31-2005, 10:33 PM   #5
ride153
Member
 
Registered: Apr 2005
Location: Northeast USA
Distribution: current is PCLOS (server) and Suse (desktop)
Posts: 102

Rep: Reputation: 15
may be the modes is wrong in this section of your xorg.conf
Section "Screen"

#Option "backingstore"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
# initial origin if mode is smaller than desktop
# Virtual 1280 1024
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection
 
Old 08-01-2005, 12:53 AM   #6
guideweb
Member
 
Registered: Mar 2004
Location: /planet/earth
Posts: 110

Original Poster
Rep: Reputation: 15
When i generate xorg.conf using fglrxconfig with option Dual Head
Code:
Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter connector 0"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection
Section "Screen"
    Identifier  "Screen1"
    Device      "ATI Graphics Adapter connector 1"
    Monitor     "Monitor1"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection
With option Big desktop
Code:
Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection
#startx
......
Code:
(II) Primary Device is: PCI 02:00:0
(WW) fglrx: No matching Device section for instance (BusID PCI:2:0:0) found
(EE) No devices detected.

Fatal server error:
no screens found
To be able to start X i need to change in the device section
BusID "PCI:2:0:1" # vendor=1002, device=496e
TO
BusID "PCI:2:0:0" # vendor=1002, device=496e


Last edited by guideweb; 08-01-2005 at 01:09 AM.
 
  


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 driver problem maginotjr Slackware 9 08-11-2005 02:09 AM
Yet another ATI Driver Problem Fascination Slackware 1 11-08-2004 06:06 PM
ATI driver problem ekaqu Linux - Hardware 3 09-19-2004 04:03 PM
ati driver problem waslit Linux - Software 0 06-03-2004 12:06 PM
ATI Driver problem CartersAdvocate Slackware 1 02-07-2004 04:05 PM

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

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