LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Suse 10.2-- ATI-Have 3d enabled but no DRI (https://www.linuxquestions.org/questions/linux-newbie-8/suse-10-2-ati-have-3d-enabled-but-no-dri-554562/)

morans 05-17-2007 03:34 AM

Suse 10.2-- ATI-Have 3d enabled but no DRI
 
Hey all
Once again im stuck and was hoping for a little bit of help in the right direction and any help would be appreciated. Ok so running an ATI 9700 mobility radeon of my laptop on Suse 10.2. Graphics work fine. Have Beryl running smoothly and everything. I get approx 5000 fps from glxgears. Also when i try to run ATI catylist control center( or amdcccle) it says segmentation fault. Let me know if theres any extra info u guys mite need.


When i run fglrxinfo i get the following:

Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY RADEON 9600/9700 Series
OpenGL version string: 1.2 (2.0.6458 (8.36.5))



My XORG.conf file is as following:

Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "10"
Option "Device" "/dev/input/mice"
Option "Name" "A4 Tech USB 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 "Buttons" "7"
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" "3"
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"
EndSection

Section "Monitor"
Option "CalcAlgorithm" "XServerPool"
DisplaySize 305 230
HorizSync 31-60
Identifier "Monitor[0]"
ModelName "1024X768@60HZ"
Option "DPMS"
VendorName "--> LCD"
VertRefresh 30-60
UseModes "Modes[0]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806 -HSync -VSync
EndSection

Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

Section "Device"
BoardName "ATI MOBILITY RADEON 9600/9700 Series (M10-P 4E50)"
BusID "1:0:0"
Driver "fglrx"
Identifier "Device[0]"
Option "FSAADisableGamma" "no"
Option "CapabilitiesEx" "0x00000000"
Option "ScreenOverlap" "0"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "mtrr" "off"
Option "FSAAMSPosX4" "0.000000"
Option "ForceGenericCPU" "no"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAScale" "1"
Option "FSAAMSPosY3" "0.000000"
Option "Capabilities" "0x00000000"
Option "GammaCorrectionI" "0x00000000"
Option "no_accel" "no"
Option "FSAAMSPosY4" "0.000000"
Option "UseFastTLS" "0"
Option "FSAAMSPosY5" "0.000000"
Option "FSAACustomizeMSPos" "no"
Option "FSAAEnable" "no"
Option "BlockSignalsOnLock" "on"
Option "GammaCorrectionII" "0x00000000"
Option "KernelModuleParm" "locked-userpages=0"
Option "FSAAMSPosX0" "0.000000"
Option "no_dri" "no"
Option "VideoOverlay" "on"
Option "UseInternalAGPGART" "no"
Option "PseudoColorVisuals" "off"
Option "StereoSyncEnable" "1"
Option "FSAAMSPosX1" "0.000000"
Option "OpenGLOverlay" "off"
Option "FSAAMSPosX2" "0.000000"
Option "Stereo" "off"
Option "FSAAMSPosX3" "0.000000"
Option "CenterMode" "off"
VendorName "ATI"
EndSection

Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Mouse[3]" "SendCoreEvents"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection

Section "DRI"
Group "video"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "false"
EndSection

serafean 05-17-2007 06:32 AM

Hi,
I too have an ATI, and get the exact same error while using beryl. I found out that disabling beryl solves it. I disabled it permanently since I'm a bit of a gamer, and needed DRI for things more uselful than eye-candy, thus I can run amdcccle at all times..

Serafean

morans 05-17-2007 11:32 AM

Yea i was hoping this wouldnt be the case. What can i say, im a sucker for a bit of eye candy. Tell me do you have XGL working is or do i need to take it all away??

morans

serafean 05-17-2007 02:57 PM

Xgl was working very well until I turned it off. But as I said, no other app using the graphic card could be used. Unfortunately, to get fglcontrolpanel to work properly, I had to turn it completely off. (modification of kdmrc...)

morans 05-17-2007 08:15 PM

Well i deleted beryl and everything has gone wrong. my login is quicker but after a while my cpu usage go's through the roof thanks to x. it seems to stay between 95-100% of my cpu usage. i've tried deleting xgl but it won't let me due to dependicies. and i can't disable it through command. no xgl or gnome-xgl commands are there?? Can someone please help??? and still no DRI

alex

jay73 05-17-2007 08:26 PM

Steer clear of the 8.37 driver; all those are known issues.

morans 05-17-2007 08:35 PM

Ok i went to command line and started yast2 outside of x. deleted xgl, restarted my xserver and everything is great. its faster then it was. i have DRI. Only problem is glxgears gives me 125fps as opposed to 5000fps when i had beryl on. is there an explanation for this?? and im using 8.36.5. Cedega is now telling me my 3d support is not working as supposed to my direct rendering.

morans

jay73 05-17-2007 08:59 PM

Where is the "modules" section in your xorg.conf?

morans 05-17-2007 09:40 PM

**EDIT** i forgot to mention this in the last post aswell, games like motox and chromium that need 3d support are running better then ever**

Ok so ive followed the following steps courtesy of:
http://en.opensuse.org/ATI#32-bit_users

# cd /usr/src/linux
# make mrproper
# make cloneconfig
# make modules_prepare
# make clean

# rpm -e $(rpm -qa | grep fglrx) **didnt work**

# rpm -Uvh --force fgl*.rpm **didn't wokr**

# ldconfig
# aticonfig --initial --input=/etc/X11/xorg.conf

# fglrx-kernel-build.sh

# sax2 -r -m 0=fglrx

init 5
then added to my xorg.conf

Section "Extensions"
Option "Composite" "false"
EndSection

And nothing has changed and this is my new xorg file and as you can see has changed quite a bit. Now has a module section again.

Section "Files"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/URW"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/PEX"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/latin2/misc:unscaled"
FontPath "/usr/share/fonts/latin2/75dpi:unscaled"
FontPath "/usr/share/fonts/latin2/100dpi:unscaled"
FontPath "/usr/share/fonts/latin2/Type1"
FontPath "/usr/share/fonts/latin7/75dpi:unscaled"
FontPath "/usr/share/fonts/baekmuk:unscaled"
FontPath "/usr/share/fonts/japanese:unscaled"
FontPath "/usr/share/fonts/kwintv"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/uni:unscaled"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/ucs/misc:unscaled"
FontPath "/usr/share/fonts/ucs/75dpi:unscaled"
FontPath "/usr/share/fonts/ucs/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/misc:unscaled"
FontPath "/usr/share/fonts/hellas/75dpi:unscaled"
FontPath "/usr/share/fonts/hellas/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/Type1"
FontPath "/usr/share/fonts/misc/sgi:unscaled"
FontPath "/usr/share/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
FontPath "unix/:7100"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
EndSection

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

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
Option "IgnoreABI" "on"
EndSection

Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "10"
Option "Device" "/dev/input/mice"
Option "Name" "A4 Tech USB 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 "Buttons" "7"
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" "3"
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"
EndSection


Section "Monitor"
Option "CalcAlgorithm" "XServerPool"
HorizSync 31-60
Identifier "Monitor[0]"
ModelName "1024X768@60HZ"
Option "DPMS"
VendorName "--> LCD"
VertRefresh 30-60
UseModes "Modes[0]"
EndSection


Section "Modes"
Identifier "Modes[0]"
EndSection


Section "Device"
BoardName "ATI MOBILITY RADEON 9600/9700 Series (M10-P 4E50)"
BusID "1:0:0"
Driver "fglrx"
Identifier "Device[0]"
#Option "NoDDC"
Option "UseInternalAGPGART" "no"
Option "no_accel" "no"
Option "no_dri" "no"
Option "mtrr" "off"
Option "ScreenOverlap" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
Option "Capabilities" "0x00000000"
Option "CapabilitiesEx" "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 "ForceGenericCPU" "no"
VendorName "ATI"
EndSection


Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection


Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Mouse[3]" "SendCoreEvents"
Screen "Screen[0]"
EndSection


Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
Option "Composite" "false"
EndSection

jay73 05-17-2007 09:57 PM

So it's running better now with the modules section added?

morans 05-17-2007 10:00 PM

No unfortunately nothing has really changed since i deleted xgl

jay73 05-17-2007 10:43 PM

Oh, I hadn't noticed you deleted xgl. The thing is: the fglrx driver does not support 3D unless you use it in combination with xgl - only the open source driver (radeon) does but that one supports only a limited range of radeons.

Edit: 9700 is covered by the radeon driver; you may want to look into this if fglrx really doesn't do anything for you.

morans 05-17-2007 11:50 PM

Ok so let me get this straight (as you can tell its all a little too complicated for me). I can't have DRI with XGL. And i need XGL to use ati's driver. So basically you can't have DRI at all if you are going to use the official driver. The weird thing is with out XGL i can't notice any real problems other then a low fps rate and that only seems to be with glxgears( i've reinstalled the driver and it has now gone up to around the 250fps mark). It's still failing in cedega but when i run the cedega test the cogs look like they are going really fast( i don't know if that means anything). But otherwise linux 3d games run fine like motox, chromium and maniadrive(runs at about 90fps, not great but definitely 3d). The Desktop runs very smoothly and everything looks great.

morans

morans 05-18-2007 01:54 AM

I dont know if this of any help to anyone but this is the error message i get from:

cat /var/log/Xorg.0.log | grep "(EE)"

(EE) fglrx(0): === [swlDalHelperAddCustomizeMode] === CWDDEDI_DisplayGetSetModeTimingOverride failed: 2

morans 05-18-2007 07:30 AM

Ok i've given up and i want to install the open source drivers. Now i can't find out where to get them from. I got mesa. Is that the same thing?? if so 3d defitnly dosn't work with it. I can't understand why i can't find any solutions to get both 3d and direct rendering working at the same time with ATI. Is it possible?? I know serafean said it was possible but maybe that a different ati card.PLEASE HELP???


All times are GMT -5. The time now is 06:35 PM.