Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with ATI-8.23.7
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1477
Location: /uk/sheffield

PostPosted: Tue Mar 14, 2006 3:30 pm    Post subject: Problems with ATI-8.23.7 Reply with quote

Hi All,

I'm having a bit of a hard time getting the ATI-drivers working on the 64MB ATI Mobility Radeon X300 Graphics that is in the Dell D610n that I've recently got from work.

I've tried following the HOWto ATI Drivers, but to no avail.

The ATI drivers installed are...

Code:
 emerge ati-drivers -pv
Calculating dependencies... done!
[ebuild   R   ] x11-drivers/ati-drivers-8.23.7  USE="opengl"


...I added the module to /etc/modules.autoload.d/kernel-2.6 and after a reboot it loads fine...

Code:

# lsmod
Module                  Size  Used by
snd_usb_audio          74496  0
snd_usb_lib            14528  1 snd_usb_audio
snd_intel8x0           29276  0
snd_ac97_codec         93152  1 snd_intel8x0
snd_ac97_bus            1792  1 snd_ac97_codec
snd_hwdep               6944  1 snd_usb_audio
snd_rawmidi            19488  1 snd_usb_lib
uhci_hcd               31052  0
ehci_hcd               42696  0
dell_rbu                6792  0
dcdbas                  5732  0
fglrx                 454284  0
agpgart                29064  1 fglrx


...after running the configuration I have the following /etc/X11/xorg.conf...

Code:

# /opt/ati/bin/aticonfig --initial --input=/etc/X11/xorg.conf
# /opt/ati/bin/aticonfig -q
Using xorg.conf
# grep -v '^#' /etc/X11/xorg.conf


Section "ServerLayout"

        Identifier     "Server Layout"
        Screen         "Screen0" 0 0
        Screen         "Screen1" RightOf "Screen0"
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"

        RgbPath      "/usr/lib/X11/rgb"
        FontPath     "/usr/share/fonts/local/"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"

        Load  "dbe"     # Double buffer extension
        Load  "extmod"
        Load  "type1"
        Load  "freetype"
        Load  "dri"   # libdri.a
EndSection

Section "InputDevice"

        Identifier  "Keyboard1"
        Driver      "kbd"
        Option      "AutoRepeat" "500 30"
        Option      "XkbModel" "pc101"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"

        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "ZAxisMapping" "4 5"
        Option      "Device" "/dev/input/mice"
        Option      "Emulate3Buttons"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        HorizSync    31.5 - 60.0
        VertRefresh  60.0 - 75.0
        Option      "DPMS"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        HorizSync    31.5 - 60.0
        VertRefresh  60.0 - 75.0
        Option      "DPMS"
EndSection

Section "Device"

        Identifier  "Standard VGA"
        Driver      "vga"
        VendorName  "Unknown"
        BoardName   "Unknown"
EndSection

Section "Device"

    #Option                              "NoDDC"
    # vendor=1002, device=5460
        Identifier  "ATI Graphics Adapter connector 0"
        Driver      "fglrx"
        Option      "no_accel" "no"
        Option      "no_dri" "no"
        Option      "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
        Option      "DesktopSetup" "0x00000000"
        Option      "MonitorLayout" "LVDS, TMDS"
        Option      "IgnoreEDID" "off"
        Option      "HSync2" "31.5 - 60.0"
        Option      "VRefresh2" "60 - 75"
        Option      "ScreenOverlap" "0"
        Option      "NoTV" "yes"
        Option      "TVStandard" "NTSC-M"
        Option      "TVHSizeAdj" "0"
        Option      "TVVSizeAdj" "0"
        Option      "TVHPosAdj" "0"
        Option      "TVVPosAdj" "0"
        Option      "TVHStartAdj" "0"
        Option      "TVColorAdj" "0"
        Option      "GammaCorrectionI" "0x00000000"
        Option      "GammaCorrectionII" "0x00000000"
        Option      "Capabilities" "0x00000000"
        Option      "VideoOverlay" "on"
        Option      "OpenGLOverlay" "off"
        Option      "CenterMode" "off"
        Option      "PseudoColorVisuals" "off"
        Option      "Stereo" "off"
        Option      "StereoSyncEnable" "1"
        Option      "FSAAEnable" "no"
        Option      "FSAAScale" "1"
        Option      "FSAADisableGamma" "no"
        Option      "FSAACustomizeMSPos" "no"
        Option      "FSAAMSPosX0" "0.000000"
        Option      "FSAAMSPosY0" "0.000000"
        Option      "FSAAMSPosX1" "0.000000"
        Option      "FSAAMSPosY1" "0.000000"
        Option      "FSAAMSPosX2" "0.000000"
        Option      "FSAAMSPosY2" "0.000000"
        Option      "FSAAMSPosX3" "0.000000"
        Option      "FSAAMSPosY3" "0.000000"
        Option      "FSAAMSPosX4" "0.000000"
        Option      "FSAAMSPosY4" "0.000000"
        Option      "FSAAMSPosX5" "0.000000"
        Option      "FSAAMSPosY5" "0.000000"
        Option      "UseFastTLS" "0"
        Option      "BlockSignalsOnLock" "on"
        Option      "UseInternalAGPGART" "no"
        Option      "ForceGenericCPU" "no"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"

    # vendor=1002, device=5460
        Identifier  "ATI Graphics Adapter connector 1"
        Driver      "fglrx"
        BusID       "PCI:1:0:0"
        Screen      1
EndSection

Section "Screen"

    #Option "backingstore"
        Identifier "Screen0"
        Device     "ATI Graphics Adapter connector 0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"

  # initial origin if mode is smaller than desktop
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"

    #Option "backingstore"
        Identifier "Screen1"
        Device     "ATI Graphics Adapter connector 1"
        Monitor    "Monitor1"
        DefaultDepth     24
        SubSection "Display"

  # initial origin if mode is smaller than desktop
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"

        Mode         0666
EndSection


...but when I try starting X I get the following errors....

[code]
(EE) Failed to load module "fglrx" (module does not exist, 0)
(EE) No drivers available.
[code]

I've done searching of the forums but to no avail, seems no one else has had this sort of problem (the fglrx driver not being found).

Any help would be greatly appreciated.

Cheers

slack[/url]
Back to top
View user's profile Send private message
gentoo_dude
l33t
l33t


Joined: 08 May 2004
Posts: 645
Location: Washington, DC

PostPosted: Tue Mar 14, 2006 4:50 pm    Post subject: Reply with quote

when you are building ati-drivers does /usr/src/linux point to the working kernel or to a different one?
I have a 810 and I don't have any problems. I believe I have an x600.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1477
Location: /uk/sheffield

PostPosted: Tue Mar 14, 2006 10:00 pm    Post subject: Reply with quote

This is a fresh install and there are therefore only one set of kernel sources installed.

The kernel sources I have are -r7, could this be the problem? Personally I don't see how it could be since everything installs okay.
Back to top
View user's profile Send private message
j79zlr
Apprentice
Apprentice


Joined: 05 Dec 2004
Posts: 235
Location: Chicago, IL

PostPosted: Wed Mar 15, 2006 12:23 am    Post subject: Reply with quote

IS fglrx shown in lsmod?

If you have recompiled your kernel, you need to recompile the ati-drivers.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1477
Location: /uk/sheffield

PostPosted: Wed Mar 15, 2006 12:39 am    Post subject: Reply with quote

Quote:
IS fglrx shown in lsmod?


From original post...

Quote:

Code:

# lsmod
Module                  Size  Used by
snd_usb_audio          74496  0
snd_usb_lib            14528  1 snd_usb_audio
snd_intel8x0           29276  0
snd_ac97_codec         93152  1 snd_intel8x0
snd_ac97_bus            1792  1 snd_ac97_codec
snd_hwdep               6944  1 snd_usb_audio
snd_rawmidi            19488  1 snd_usb_lib
uhci_hcd               31052  0
ehci_hcd               42696  0
dell_rbu                6792  0
dcdbas                  5732  0
fglrx                 454284  0
agpgart                29064  1 fglrx


Code:

emerge ati-drivers -pv
Calculating dependencies... done!
[ebuild   R   ] x11-drivers/ati-drivers-8.23.7  USE="opengl"



So yep I've recopmiled the driver and loaded it.

(May still be listed as a n00b, but I've been tinkering around with gentoo/linux for a few years now, and can suss most things out, but this has stumped me).

I'm thinking since its an x300 (which has M22 chipset) I might try the opensource drivers. Any comments? (I'm about to do it now anyway, but thoughts would still be welcome).

Cheers

slack
Back to top
View user's profile Send private message
j79zlr
Apprentice
Apprentice


Joined: 05 Dec 2004
Posts: 235
Location: Chicago, IL

PostPosted: Wed Mar 15, 2006 1:14 am    Post subject: Reply with quote

Just for shits and giggles, remove the modules, recompile the drivers, and reinsert the module:

modprobe -r fglrx
emerge ati-drivers
modprobe fglrx

And as the other poster pointed out, you do have the /usr/src/linux symlink pointing to your current kernel right? Not trying to be pedantic, but its usually the simple things that you miss.

EDIT: I have the 2.6.15-r7 kernel, but the 8.23.7 drivers are causing me problems with my framebuffer, you might want to try using the 8.22.5 drivers as well.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1477
Location: /uk/sheffield

PostPosted: Wed Mar 15, 2006 1:22 am    Post subject: Reply with quote

Quote:
Just for shits and giggles, remove the modules, recompile the drivers, and reinsert the module:

modprobe -r fglrx
emerge ati-drivers
modprobe fglrx


Have tried all sorts of variations on this, all to no avail :(

Quote:

And as the other poster pointed out, you do have the /usr/src/linux symlink pointing to your current kernel right? Not trying to be pedantic, but its usually the simple things that you miss.


Yep, and as I replied (see post above), its a fresh install so there are only one set of sources installed and the symlink points to them.


Quote:

EDIT: I have the 2.6.15-r7 kernel, but the 8.23.7 drivers are causing me problems with my framebuffer, you might want to try using the 8.22.5 drivers as well.


I've just installed the x11-drm drivers, and I can start fluxbox (startx), but gdm is being funny, I'll try rolling back the ati-drivers in due course, but this comps for work, and I need to be getting on with work instead of figuring out how to get 3d acceleration going, so will beat the gdm problem into submission first (I do statistical genetics, and 3d accel is far from essential for that :D )

Haven't marked this thread as solved (yet) as it isn't, but will post if I suss it out.

Thanks for input,

slack
Back to top
View user's profile Send private message
MixMax
n00b
n00b


Joined: 28 Jan 2005
Posts: 73
Location: Finland

PostPosted: Wed Mar 15, 2006 6:56 am    Post subject: Reply with quote

I've got ATI Mobility Radeon X700 (64-bit gentoo on aspire 5024), but I'm having the exact same kind of trouble. Have been having ever since ati-drivers-8.20.8 came out. Only ati drivers that work for me is the ati-drivers-8.19.10 and lower. I've tryed every trick in the the forum but still no go. Same error keeps coming everytime with the newer drivers
Code:

(EE) Failed to load module "fglrx" (module does not exist, 0)
(EE) No drivers available.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum