LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-23-2007, 05:49 PM   #1
Daedelus
LQ Newbie
 
Registered: Oct 2003
Location: British Columbia, Canada
Distribution: Slackware 11.0
Posts: 7

Rep: Reputation: 0
Problem with ATI hardware acceration in Slackware 11.0 fresh install


Hello, I'm having a few problems getting my video card to work properly on my fresh reinstall of slack 11.0. using the ATI fglrx driver 8.34.8 installed from the .run file. Currently available from ATI's Website: http://ati.amd.com/support/drivers/l...ux-radeon.html

First off, there is a significant lag starting X.org from the console, 7 seconds or so, and I believe the following section from Xorg.0.log explain that, but I don't know how to stop it.

Xorg.0.log
Code:
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID PCI:2:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports 
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
...
drmOpenDevice: node name is /dev/dri/card254
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmGetBusid returned ''
* Gratuitous repetition edited out.
For whatever reason, it's probing cards0 to card254 before finally settiling on card0. I've checked /dev/dri and only card0 exists. Any advice on getting this to stop?

Secondly, when trying to run a glxgears under a normal user account, I get about a dozen repetitions of the following error. I am getting proper frame rates for my card, (2700fps area), but the error is still bothersome, and I'd like to take care of it before moving onto more aggressive 3d applications.

Code:
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
This is something that doesn't appear when running as root.

in previous net searches I've found that it typically has something to do with the tmpfs filesystem not being enabled. I've remedied that but it doesn't seem to help.

I know that these are minor errors and probally don't effect system stability, but I know that linux can run error free, espicially slackware if anything. Any help you can provide would be greatly appriciated.

-Daedelus

Other system information
Kernel: Slackware 11.0 stock 2.4.33.3
X.org: Slackware 11.0 stock X11R6.9.0
Graphics Card: ATI Radeon 9650 XT

xorg.conf
Code:
# File generated by xf86config.
#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#
# **********************************************************************

Section "ServerLayout"
	Identifier     "Simple Layout"
	Screen      0  "aticonfig-Screen[0]" 0 0
	InputDevice    "Mouse1" "CorePointer"
	InputDevice    "Keyboard1" "CoreKeyboard"
	InputDevice    "Mouse2" "SendCoreEvents"
EndSection

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/CID/"
#	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic/"
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        "speedo"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "kbd"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "itouch"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse1"
	Driver      "mouse"
	Option	    "Protocol" "PS/2"
	Option	    "Device" "/dev/mouse"
EndSection

Section "InputDevice"
	Identifier  "Mouse2"
	Driver      "mouse"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "ImPS/2"
	Option	    "Emulate3Buttons"
	Option	    "Emulate3Timeout" "50"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
	Identifier   "IBM-P201"
	HorizSync    30.0 - 107.0
	VertRefresh  50.0 - 160.0
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "atiRadeon9600"
	Driver      "fglrx"
	Option	    "UseInternalAGPGART" "on"
	Option	    "FSAAEnable" "on"
	Option	    "FSAAScale" "4"
	Option	    "Capabilities" "0x00000800"
	Option	    "PseudoColorVisuals" "on"
	Option	    "UseFastTLS" "1"
	Option	    "VideoOverlay" "on"
	Option	    "OpenGLOverlay" "off"
	BusID       "PCI:2:0:0"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "atiRadeon9600"
	Monitor    "IBM-P201"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth    24 
		Modes    "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection
*Commented sections removed for berevity.
 
Old 03-23-2007, 06:06 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I'm quite sure that the new ATI drivers break glxgears ... I believe they now include their own version of glxgears.

Are you sure this line is right:

Code:
BusID       "PCI:2:0:0"
 
Old 03-23-2007, 06:33 PM   #3
Daedelus
LQ Newbie
 
Registered: Oct 2003
Location: British Columbia, Canada
Distribution: Slackware 11.0
Posts: 7

Original Poster
Rep: Reputation: 0
testing the The ATI version of glxgears (fgl_glxgears) produced even worse results. The program failed to display properly. there was a rotating cube covered in random colored static and I dropped to an average of 11.0 FPS. While running the following error's streamed out the the console window.

Edit: This error is not present when the program is run as root. It dose render the rotating cube with a static image of the glxgears window at aproximatly 200 fps.
Code:
FGLTexMgr: open of shared memory object failed (Permission denied)
__FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!

I looked in the Xorg.0.log file and found the following lines that lead me to belive that the busID is correct

Code:
(--) PCI:*(2:0:0) ATI Technologies Inc RV350 AR [Radeon 9600] rev 0, Mem @ 0xb0000000/28, 0xd9000000/16, I/O @ 0xd000/8
(--) PCI: (2:0:1) ATI Technologies Inc RV350 AR [Radeon 9600] (Secondary) rev 0, Mem @ 0xc0000000/28, 0xd9010000/16
I don't unfortunately know how to tell any other way.

Last edited by Daedelus; 03-23-2007 at 06:40 PM.
 
Old 03-23-2007, 07:31 PM   #4
Daedelus
LQ Newbie
 
Registered: Oct 2003
Location: British Columbia, Canada
Distribution: Slackware 11.0
Posts: 7

Original Poster
Rep: Reputation: 0
A downgrade of the ati driver file to version 8.30.3 fixed the error regarding the permision issues. I didn't try any of the intermediate versions, but I am now able to run both glxgears, and fgl_glxgears as a non root user with no error messages.

However I still have the issue with the 255 card checks on initilization of the X system problem to deal with...
I'll contnue to google about and post a fix should I be able to find one.
 
Old 03-23-2007, 07:33 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
That's odd that it works fine for root but not for user. Might be some type of permission issue. Might wanna look around for bugs in this specific driver edition. Might also wanna check the permissions of the installed files and see if they make sense. (I'm not exactly sure how to fix this)

EDIT: I have a question ... if you run 'xorgsetup' what BusID does it assign automatically ?

Last edited by H_TeXMeX_H; 03-23-2007 at 07:36 PM.
 
  


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
Fresh Slackware 10.2 install... JesusFreak84 Linux - Laptop and Netbook 3 12-11-2005 03:09 PM
Fresh Install - AMD64 Question (ATI Radeon Xpress200) rickh Debian 3 09-18-2005 06:06 AM
Problem Logging into a fresh Slackware install behi Slackware - Installation 6 08-07-2005 04:01 PM
no sound on a fresh install slackware 10... kublador Slackware 13 08-29-2004 09:05 PM
Getting 2.6.7 with slackware on a fresh install equilibrium Slackware 6 07-13-2004 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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