LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   SuSE 10.0 + Kernel 2.6.13-15.7-smp + ATI Mobility Radeon 9700 128M = no good? (https://www.linuxquestions.org/questions/linux-hardware-18/suse-10-0-kernel-2-6-13-15-7-smp-ati-mobility-radeon-9700-128m-%3D-no-good-404570/)

rabalder321 01-17-2006 02:49 PM

SuSE 10.0 + Kernel 2.6.13-15.7-smp + ATI Mobility Radeon 9700 128M = no good?
 
Hello

I've just installed SuSE 10.0 with the 2.6.13-15.7-smp kernel. My graphics card is an ATI 9700 Mobility Radeon 128M (inside a DELL Inspiron 9100). I've installed the ATI Proprietary drive, run fglrxconfig, but not much happens. Hiding the Panel with animation looks like playing a computer game with an extreme packet loss, and moving windows around is just painful to watch. In short: The computer doesn't use the driver intended for the graphics card. When I run lsmod, the fglrx driver shows up so I guess the module loads.

I think it may be a kernel issue (it works fine on kernels up to 2.6.12), but I'm not sure. In the ATI man file they say that an "issue with the 2.6.13 and 2.6.14 kernels have been fixed" so I guess it should work. Has anyone had this problem and managed to fix it, or knows how to fix it, please tell me how. Below I'm posting a snippet from a dmesg and lspci i pulled. I'll also paste my xorg.conf file. A lot of text, I know, and I'm sorry but being new to this, I don't really know what parts I can leave out (I've only deleted some comments). Better safe than sorry =)

First the dmesg:

Code:

glrx: module not supported by Novell, setting U taint flag.
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 430 MBytes.
        ACPI-0212: *** Warning: Device is not power manageable
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 185
[fglrx] module loaded - fglrx 8.20.8 [Dec  6 2005] on minor 0
[fglrx] ACPI power management is initialized.
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] Kernel AGP support doesn't provide agplock functionality.
[fglrx] AGP detected, AgpState  = 0x1f004a1b (hardware caps of chipset)
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[fglrx] AGP enabled,  AgpCommand = 0x1f004312 (selected caps)
[fglrx] free  AGP = 121909248
[fglrx] max  AGP = 121909248
[fglrx] free  LFB = 119828480
[fglrx] max  LFB = 119828480
[fglrx] free  Inv = 0
[fglrx] max  Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB  = 0
[fglrx] total AGP = 32768

Then /sbin/lspci:

Code:

00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Modem Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
02:00.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
02:01.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 02)
02:01.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller

And now the xorg.conf:

Code:

# File: xorg.conf
# File generated by fglrxconfig © ATI Technologies, a substitute for xf86config.


# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
        Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#        Group 100        # users
#        Mode 0660
EndSection


Section "Module"

# This loads the DBE extension module.

        Load                "dbe"          # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
        SubSection  "extmod"
          Option        "omit xfree86-dga"  # don't initialise the DGA extension
        EndSubSection

# This loads the Type1 and FreeType font modules
        Load                "type1"
        Load                "freetype"

# This loads the GLX module
        Load                "glx"  # libglx.a
        Load                "dri"  # libdri.a

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

        RgbPath        "/usr/X11R6/lib/X11/rgb"


        FontPath  "/usr/X11R6/lib/X11/fonts/local/"
        FontPath  "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath  "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
#        FontPath  "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath  "/usr/X11R6/lib/X11/fonts/Type1/"
#        FontPath  "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath  "/usr/X11R6/lib/X11/fonts/75dpi/"
#        FontPath  "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#        ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"


#        Option "NoTrapSignals"

#        Option "DontZap"

#        Option "Dont Zoom"

#        Option "DisableVidModeExtension"

#        Option "AllowNonLocalXvidtune"

#        Option "DisableModInDev"

#        Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

        Identifier        "Keyboard1"
        Driver        "kbd"

#        Option "Protocol"  "Xqueue"

        Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#        Option "Xleds"          "1 2 3"

#        Option "LeftAlt"        "Meta"
#        Option "RightAlt"  "ModeShift"

# These are the default XKB settings for XFree86
#        Option "XkbRules"  "xfree86"
#        Option "XkbModel"  "pc101"
#        Option "XkbLayout"  "us"
#        Option "XkbVariant" ""
#        Option "XkbOptions" ""

#        Option "XkbDisable"

        Option "XkbRules"        "xfree86"
        Option "XkbModel"        "pc105"
        Option "XkbLayout"        "se"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************


Section "InputDevice"
  Driver          "mouse"
  Identifier  "Mouse1"
  Option          "Buttons" "6"
  Option          "Device" "/dev/input/mice"
  Option          "Name" "Logitech USB-PS/2 Optical Mouse"
  Option          "Protocol" "explorerps/2"
  Option          "Vendor" "Sysp"
  Option          "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
  Driver          "synaptics"
  Identifier  "Mouse[3]"
  Option          "AccelFactor" "0.1"
  Option          "BottomEdge" "650"
  Option          "CircScrollDelta" "0.1"
  Option          "CircScrollTrigger" "2"
  Option          "CircularScrolling" "1"
  Option          "Device" "/dev/input/mice"
  Option          "EdgeMotionMaxSpeed" "15"
  Option          "EdgeMotionMinSpeed" "15"
  Option          "Emulate3Buttons" "on"
  Option          "EmulateMidButtonTime" "75"
  Option          "FingerHigh" "15"
  Option          "FingerLow" "14"
  Option          "HorizScrollDelta" "20"
  Option          "InputFashion" "Mouse"
  Option          "LeftEdge" "120"
  Option          "MaxSpeed" "1"
  Option          "MaxTapMove" "110"
  Option          "MaxTapTime" "180"
  Option          "MinSpeed" "0.2"
  Option          "Name" "ALPS;Touchpad"
  Option          "Protocol" "auto-dev"
  Option          "RightEdge" "830"
  Option          "SHMConfig" "on"
  Option          "TopEdge" "120"
  Option          "UpDownScrolling" "1"
  Option          "Vendor" "Sysp"
  Option          "VertScrollDelta" "20"
  Option          "ZAxisMapping" "4 5"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#        Option "Protocol"  "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#        Option "BaudRate"  "9600"
#        Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#        Option "Emulate3Buttons"
#        Option "Emulate3Timeout"        "50"

# ChordMiddle is an option for some 3-button Logitech mice

#        Option "ChordMiddle"

EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
        Identifier  "Monitor0"
        HorizSync  60
        VertRefresh 60
        Option "DPMS"

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
        Identifier  "Standard VGA"
        VendorName  "Unknown"
        BoardName  "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#        Chipset        "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

        Driver          "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# installed.

#        BusID          "PCI:0:10:0"

#        VideoRam        256

#        Clocks          25.2 28.3

EndSection

# === ATI device section ===

Section "Device"
        Identifier                                                  "ATI Graphics Adapter"
        Driver                                                          "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
        #Option                                                          "NoDDC"
# === disable/enable XAA/DRI ===
        Option "no_accel"                                  "no"
        Option "no_dri"                                        "no"
# === misc DRI settings ===
        Option "mtrr"                                          "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
        Option "DesktopSetup"                          "(null)"
        Option "HSync2"                                        "unspecified"
        Option "VRefresh2"                                  "unspecified"
        Option "ScreenOverlap"                          "0"
# === TV-out Management ===
        Option "TVFormat"                                  "PAL-B"       
        Option "TVStandard"                                "VIDEO"       
        Option "TVHSizeAdj"                                "0"       
        Option "TVVSizeAdj"                                "0"       
        Option "TVHPosAdj"                                  "0"       
        Option "TVVPosAdj"                                  "0"       
        Option "TVHStartAdj"                                "0"       
        Option "TVColorAdj"                                "0"       
        Option "GammaCorrectionI"                  "0x00000000"
        Option "GammaCorrectionII"                  "0x00000000"
# === OpenGL specific profiles/settings ===
        Option "Capabilities"                          "0x00000000"
        Option "CapabilitiesEx"                        "0x00000000"
# === Video Overlay for the Xv extension ===
        Option "VideoOverlay"                          "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#          will be disabled automatically
        Option "OpenGLOverlay"                          "off"
# === Center Mode (Laptops only) ===
        Option "CenterMode"                                "off"
# === Pseudo Color Visuals (8-bit visuals) ===
        Option "PseudoColorVisuals"                "off"
# === QBS Management ===
        Option "Stereo"                                        "off"
        Option "StereoSyncEnable"                  "1"
# === FSAA Management ===
        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"
# === Misc Options ===
        Option "UseFastTLS"                                "0"
        Option "BlockSignalsOnLock"                "on"
        Option "UseInternalAGPGART"                "yes"
        Option "ForceGenericCPU"                        "no"
        BusID "PCI:1:0:0"        # vendor=1002, device=4e50
        Screen 0
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
        Identifier  "Screen0"
        Device          "ATI Graphics Adapter"
        Monitor        "Monitor0"
        DefaultDepth 24
        #Option "backingstore"

        Subsection "Display"
                Depth          24
                Modes          "1280x800"
                ViewPort        0 0  # initial origin if mode is smaller than desktop
#                Virtual        1280 1024
        EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"

# The Identifier line must be present
        Identifier  "Server Layout"

        Screen "Screen0".

        InputDevice "Mouse1" "CorePointer"
        InputDevice "Keyboard1" "CoreKeyboard"

EndSection

### EOF ###

Thanks for any help!

webterractive 01-17-2006 05:15 PM

1. Uninstall your drivers. ./fglrx-uninstall.sh in /usr/share/fglrx

2. Install the kernel-sources for your kernel.

3. Make sure to make copies of the following files:

/etc/modprobe.conf
/etc/modprobe.preload
/etc/X11/xorg.conf
/etc/X11/XF86Config
/etc/fstab and /etc/mtab

4. Compile the ati-driver and if it installs with no errors, run fglrxconfig.

5. On your modprobe.preload file in /etc/ add the following lines:

XXXX[what ever you have there already]
agpgart
intel-agp

6. Then on your modprobe.conf file in /etc/ add this:

alias ati-driver /sbin/modprobe fglrx /bin/true on the last line of what ever is added.

7. Run Yast before you reboot to make sure the screen resolution, mouse, and other X features are how you like them.

8. Add this line the following to your /etc/fstab:

tmpfs /dev/shm tmpfs defaults 0 0

you need it for opengl applications.

9. Reboot

**(WW)** When running fglrxconfig say no to the following:

"force-multi-visual-samples for opengl applications" [n]
"use Internalagpgart" [n] <--- for some reason the fglrx_agpgart.ko won't config]
"access agplocked pages [n] <--- the default is yes but agpgart doesn't support it so disable it]

rabalder321 01-17-2006 06:24 PM

I don't seem to have the file modprobe.preload, are you sure that's the name of it?
I also get a warning when I install the drives:

arning: could not find /usr/src/kernel-modules/fglrx/.libfglrx_ip.a.GCC4.cmd for /usr/src/kernel-modules/fglrx/libfglrx_ip.a.GCC4

This is how I've installed the drives:
1. ./ati-driver-installer-8.20.8-i386.run --buildpkg SuSE/SUSE100-IA32
2. rpm -ivh fglrx_6_8_0_SUSE100-8.20.8-1.i386.rpm

Thanks for the help btw

webterractive 01-17-2006 07:14 PM

Don't build a distribution package cause it usually doesn't work, I have tried it on Mandriva 2006 and it doesn't work. Use the in install package but follow the recommended instructions. On Mandriva /etc/modprobe.preload is the file that preloads modules at boot time, it is probably different in SuSE maybe like kernel.preload or something check in your /etc/ it should be there.

Try it again in init level 3 when X is not running and edit the files and it should work. It works for me using kernel-2.6.15.1 cause my chipset P4M800CE are only supported in that kernel. Though I did try it on an intel board and it worked perfectly.

All you need is the ati-driver installer, you don't need to install the rpm package.


All times are GMT -5. The time now is 07:52 PM.