You are not logged in.
If so, what did you do? Are you using the script from the ATI site?
.oO Komodo Dave Oo.
Offline
sweet that you got it working mds; how did you uninstall the ATI drivers though? are you using the ATI script from their site? Or the pacman ati-drivers?
.oO Komodo Dave Oo.
Offline
edit: as for the uninstall procedure: pacman -R with ati drivers, then i disabled fglrx in rc.conf
What I really meant was, if you were using the script from the ATI site, how can you uninstall it (I don't think you can). I know how to uninstall things via pacman
That info's great to have though mds, I'll look on freedesktop.org as you suggested
.oO Komodo Dave Oo.
Offline
if you were using the script from the ATI site, how can you uninstall it (I don't think you can)
I've used the ATI stuff (80MB package, because I have different Linux setups). Because the ATI script installs stuff under /usr/X11, on previous occasions I've just "pacman - S xorg" to get the original xorg files back.
Offline
Komodo wrote:if you were using the script from the ATI site, how can you uninstall it (I don't think you can)
I've used the ATI stuff (80MB package, because I have different Linux setups). Because the ATI script installs stuff under /usr/X11, on previous occasions I've just "pacman - S xorg" to get the original xorg files back.
That's very useful to know vacant, and explains why I always lose DRI when reinstalling xorg, until I re-run the script.
.oO Komodo Dave Oo.
Offline
If anyone's generous enough to write even a brief tutorial for how to get ATI working with xorg 7.0 as described by mds in the posts above, I'd be extremely grateful. I want to write one myself, mainly cos I've currently got no 3D acceleration (no ET... goddammit), but I'm busy with some other projects at the moment, and can't spare the time to go and research the various things that need to be done.
Let us know if you're the man for the job
.oO Komodo Dave Oo.
Offline
Section "Module"
Load "ddc"
Load "GLcore"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "bitmap"
Load "type1"
Load "freetype"
Load "record"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "ati"
BusID "PCI:1:0:0"
EndSection
I personally don't use xorg 7, and am not planning to (at least till 2morrow )
But if what mds said is really all you need to do. The above options should be enough.
And I never knew xorg7 had 3d hardware acceleration using the open-source drivers. W00T. Can't wait.
TO MDS: what fps are you getting in glxgears?
My output on my 9800, with the propetary drivers.
[jesus@RoXoR ~]$ glxgears
26732 frames in 5.0 seconds = 5346.400 FPS
30798 frames in 5.0 seconds = 6159.600 FPS
29935 frames in 5.0 seconds = 5987.000 FPS
Offline
I originally thought it'd be that simple, but it doesn't work for me sadly, jf. I get this for glxinfo when your suggestion is added to my xorg.conf
[dave@kaminoitte dockingstation_195_64]$ glxinfo
name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x21 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x22 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
.oO Komodo Dave Oo.
Offline
Just upgraded to testing.
And I'm using libgl-dri for my opengl.
This is my config.
Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/lib/xorg"
FontPath "/usr/lib/X11/fonts/misc:unscaled"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi"
FontPath "/usr/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/PEX"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/latin2/75dpi"
FontPath "/usr/lib/X11/fonts/latin2/100dpi"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/ttf/western"
FontPath "/usr/share/fonts/ttf/decoratives"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/truetype/openoffice"
FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
FontPath "/usr/share/fonts/latex-ttf-fonts"
FontPath "/usr/lib/X11/fonts/defoma/CID"
FontPath "/usr/lib/X11/fonts/defoma/TrueType"
EndSection
Section "Module"
Load "ddc"
Load "GLcore"
Load "glcore"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "bitmap"
Load "type1"
Load "freetype"
Load "record"
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"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "CPD-E540"
HorizSync 30.0 - 110.0
VertRefresh 48.0 - 170.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "ati"
Option "AccelMethod" "EXA"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1600x1200" "1400x1050" "1280x960" "1280x800" "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1400x1050" "1280x960" "1280x800" "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
I have 2d hardware acceleration, I can tell because when I select something on the gnome desktop and drag the mouse across the entire destop (from the upper right hand corner to the lower left) it does not lag. And it should be as it did when using mesa and xorg6.8
glxinfo output
[root@RoXoR ~]# glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
......
but glxgears gives me a crappy 230 fps. So I lost 3d hardware acceleration, it was fun while it lasted
The new udev is nice
Links:
DRI http://dri.freedesktop.org/wiki/Documentation
EXA http://xorg.freedesktop.org/wiki/ExaStatus
Offline
I found that adding
Option "backingstore" "true"
to your device section makes xcompmgr run at native speeds even using mesa. It even increases 3d performance when using the official ati drivers. Don't know why that option isn't documented very often. Found it on the xorg mailing list. Xcompmgr is alive and kicking and very fast on my computer with the xorg from testing.
Offline
I have got an ATI radeon 9200 card for which i think 3D dri is supported in the new xorg. How do i enable direct rendering? Right now direct rendering is no according to glxinfo.
thnx
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
If those 'Load' options you added after advice in the other thread don't do it, then things aren't looking good.
Under your ati 'Device' section, is the 'Driver' fglrix? If not then change it. You may also need to add a line to the ati Device section saying BusId "PCI:2:0:0"
.oO Komodo Dave Oo.
Offline
The latest fglrx driver is working for me with xorg 7 and direct rendering. All I had to do was to copy the files extracted from the .run-file to the correct locations. The new modules directory etc.
Offline
Good to know Avenger, I'll try it myself in the next couple of days. Mind posting the relevant sections of your xorg.conf?
.oO Komodo Dave Oo.
Offline
All I did was to change the font,rgb and module paths in the files selection. I did have fglrx installed before I upgraded to Xorg 7.0, so there might be some files that was already there.
Here is the video-device part of my Xorg.conf
This is an ATi Mobility Radeon x700.
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
Option "no_accel" "no"
Option "no_dri" "no"
Option "mtrr" "off"
Option "DesktopSetup" "Clone"
Option "ScreenOverlap" "0"
Option "TVFormat" "PAL-B"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x06419064"
Option "GammaCorrectionII" "0x06419064"
Option "Capabilities" "0x00000000"
Option "CapabilitiesEx" "0x00000000"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "CenterMode" "off"
Option "PseudoColorVisuals" "off"
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" "yes"
Option "ForceGenericCPU" "no"
BusID "PCI:3:0:0"
Screen 0
# Insert Clocks lines here if appropriate
EndSection
As for the files i copied them from the x690 directory found inside the .run file.
At first I had problems with DRI not working even the Xorg.0.log said that DRI was enabled.
ATi has their own libGL.so.1.2 file so I copied it from the extracted archive to /usr/lib/
You might also need to symlink libGL.so.1 to libGL.so.1.2
That did the trick for me.
Offline
Great, thanks for the detailed reply Avenger
.oO Komodo Dave Oo.
Offline
Here's what I did:
sudo sh [ati-script] // Ctrl-C when it's extracted the folder, before it deletes it
cd fglrx/x690/
sudo cp -r lib/modules/fglrx/ /usr/lib/xorg/modules/
sudo cp -r usr/X11R6/bin/* /usr/bin/
sudo cp -r usr/X11R6/lib/*.* usr/X11R6/lib/modules/ /usr/lib/
Gonna try it now...
.oO Komodo Dave Oo.
Offline
[OLD]
.oO Komodo Dave Oo.
Offline
@Avenger
What ati card do you have? what do you get with glxgears? do you know if there is any improvements compared to xorg 6.8?
cheers
The ultimate Archlinux release name: "I am your father"
Offline
@Komodo
Here is the files I copied: (fglrx is the extracted .run file)
cp -R fglrx/x690/usr/X11R6/lib/modules/ /usr/lib/xorg/modules
cp -R fglrx/x690/usr/X11R6/lib/libGL.so.1.2 /usr/lib/
I also copied the contents of
fglrx/x690/usr/X11R6/lib/* to /usr/lib/xorg/modules
Not recursive.
I don't know if that is needed, but I did copy the files just to be sure. When I do a locate on the files they are also installed in "/usr/X11R6/lib"
also copy the contents of fglrx/common to your root /
I already had the kernel module installed, so no need to copy the fglrx/x690/lib directory
That did the trick for me.
@jinn
I have a mobile x700 and I get around 4800, that is an increase form 3800 with xorg 6.8.2
I also have had some problems by /usr/lib/libGL.so.1 being overwritten to point to the original libGL.so.1.2 that I renamed to libGL.so.1.2.orig for backup reasons. This might be resolved by removing the original libGL file completely.
Offline
Thanks for posting that detailed info Avenger, it was very helpful. =o)
I followed your instructions, but sadly I still get the same error message as before.
This is really doing my head in... has anyone got any idea what's wrong? ='o{
Error :
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.15-rc6 i686
Current Operating System: Linux kaminoitte 2.6.13 #2 Thu Oct 6 11:25:45 BST 2005 i686
Build Date: 01 January 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Thu Jan 5 11:47:53 2006
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "fglrx" (module does not exist, 0)
(EE) No drivers available.
Fatal server error:
no screens found
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
Couldnt get a file descriptor referring to the console
Xorg.conf :
Section "dri"
Mode 0666
EndSection
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx" # libglx.a
Load "dri" # libdri.a
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/75dpi/:unscaled"
FontPath "/usr/share/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
ModulePath "/usr/lib/xorg/modules"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
EndSection
Section "Monitor"
Identifier "Monitor0"
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection
Section "Device"
Identifier "ATI Graphics Adapter"
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" "(null)"
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 "UseInternalAGPGART" "no"
Option "ForceGenericCPU" "no"
BusID "PCI:2:0:0" # vendor=1002, device=4148
Screen 0
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
.oO Komodo Dave Oo.
Offline
First, make sure these files exists:
/usr/lib/xorg/modules/dri/fglrx_dri.so
/usr/lib/xorg/modules/drivers/fglrx_drv.so
/usr/X11R6/lib/modules/linux/libfglrxdrm.so
if these files don't exists, you have copied some files wrong. These files should be found in the x690/usr/X11R6/lib/modules/... directories.
Now, if those files does exists, then I'm afraid I don't know what's wrong.
Offline
First, make sure these files exists:
/usr/lib/xorg/modules/dri/fglrx_dri.so
I don't believe it; even though there's no doubt that I followed your earlier instructions to the 'T', one of the directories didn't copy across. Thank you SO much for getting me to check this Avenger
After I followed your advice and recopied the files across, X started with the fglrxconfig-generated xorg.conf! This was a magical moment
Sadly though, I still don't have DRI. I've tried using both internal and external AGPGart, but neither gives Direct Rendering. Any ideas?
I'm hoping that you'll have a suggestion Avenger, since you're the first person I've come across who seems to know what they're talking about as far as ATI configuration goes =o)
.oO Komodo Dave Oo.
Offline
Now, one thing I want to know is does your Xorg.0.log say "(II) fglrx(0): Direct rendering enabled" ?
If it does that, then it's probably your libGL.so.* files that are not linked to the ATi version of libGL.so.1.2. These files should be in /usr/lib/. Be sure to copy the libGL.so.1.2 that comes with ATi to that directory.
My card is a PCI express card, so I don't know anything about external or internal agpgart issues, but I would think that the agpgart module is just a kernel module and has nothing to do with X.org.
Offline
Now, one thing I want to know is does your Xorg.0.log say "(II) fglrx(0): Direct rendering enabled" ?
Sadly it doesn't Avenger; I copied libGL.so.1.2 across anyway just to make sure that wasn't the problem, and still no DRI I'm afraid ='o(
Any other ideas? I'm sorry it's not fixed yet... feel free to give up when you run out of steam!
.oO Komodo Dave Oo.
Offline