Jump to content

Installing ATI in X.org


Guest Jman
 Share

Recommended Posts

I'm trying to run check.sh from konsole to determine my XFree86 version but I am getting the following error. Help please!!!!

 

[root@jman downloads]$ sh check.sh

=====================================================================

ATI Technologies

=====================================================================

Your possibly not running this script from the console

or maybe you simply dont have the console ownership.

Unable to determine XFree86 Version. Stopping now.

 

[moved from Software by spinynorman - welcome aboard :)]

Edited by Jman
Link to comment
Share on other sites

can you type

cat check.sh

 

then copy and paste what it scrolls (or the first ten lines or so if its pages)

 

 

Here you are... there is more but I have only pasted a little....

 

[root@jman downloads]$ cat check.sh

#!/bin/bash

# check script for the ATI Radeon drivers for Linux/x86(IA32) with XFree 4.x

 

# projects name

MODULE=fglrx

 

# strings

VENDOR_TEXT="ATI Technologies"

MODULE_SPACED="ATI Radeon 8500, FireGL 8700/8800"

 

# file names

DRM_LIB_PREFIX=lib${MODULE}drm

IP_LIB_PREFIX=lib${MODULE}_ip

 

# script insertion markers

MODULE_UPPER=FGLRX

 

# i686, ia64 or x86_64

PlatformName=`uname -m`

# remap all old x86 platforms to the i686 string

if [ "$PlatformName" = "i386" ]; then

PlatformName=i686

fi

if [ "$PlatformName" = "i486" ]; then

PlatformName=i686

fi

if [ "$PlatformName" = "i586" ]; then

PlatformName=i686

fi

Link to comment
Share on other sites

Is the file executable (does it tab complete?)

 

If you use KDE rightclick the file, choose porpertie, second tab, and check 'file executable'.

 

Then try again. (if you don't use KDE use the chmod command (chmod 777 check.sh && sh check.sh)

 

Good luck

 

Yes it is set to 777 executable. Same error.

Edited by Jman
Link to comment
Share on other sites

hmm.. so far it tells me nothing...

 

instead of just sh try

sh -x check.sh

 

 

this will list the lines as it proceses them and then hopefully we can work out what it is messing up on...

I have a feeling it is trying to run someother script but doesnt have permission but Im not sure...

I dont have an ATI so I dont have that script on my system to check....

 

try with the -x and then you can hopefully paste a few lines above where it hangs!

Link to comment
Share on other sites

[root@jman downloads]$ sh -x check.sh

+ MODULE=fglrx

+ VENDOR_TEXT=ATI Technologies

+ MODULE_SPACED=ATI Radeon 8500, FireGL 8700/8800

+ DRM_LIB_PREFIX=libfglrxdrm

+ IP_LIB_PREFIX=libfglrx_ip

+ MODULE_UPPER=FGLRX

++ uname -m

+ PlatformName=i686

+ '[' i686 = i386 ']'

+ '[' i686 = i486 ']'

+ '[' i686 = i586 ']'

++ pwd

+ HERE=/home/darrell/downloads

+ XXX=/home/darrell/downloads/XXX

+ i=0

++ echo /home/darrell/downloads

++ grep -c ' '

+ i=0

++ echo /home/darrell/downloads

++ grep -c '*'

+ i=0

++ echo /home/darrell/downloads

++ grep -c '\\'

+ i=0

++ echo /home/darrell/downloads

++ grep -c '"'

+ i=0

++ echo /home/darrell/downloads

++ grep -c ''\'''

+ i=0

++ echo /home/darrell/downloads

++ grep -c '`'

+ i=0

+ '[' 0 -ne 0 ']'

+ '[' i686 = x86_64 ']'

+ LIB=lib

+ XF_ROOT=/usr/X11R6

+ XF_BIN=/usr/X11R6/bin

+ XF_LIB=/usr/X11R6/lib

+ XF_INC=/usr/X11R6/include

+ XF_MOD=/usr/X11R6/lib/modules

+ XF_DRV=/usr/X11R6/lib/modules/drivers

+ XF_DRI=/usr/X11R6/lib/modules/dri

+ XF_LIN=/usr/X11R6/lib/modules/linux

+ XF_EXT=/usr/X11R6/lib/modules/extensions

+ OS_MOD=/lib/modules

+ USR_LIB=/usr/lib

+ XFREEDIRS=/usr/X11R6/bin /usr/X11R6/lib/modules/linux /usr/X11R6/lib/modules/drivers /usr/X11R6/lib/modules/extensions

+ XFREEFILES=/usr/X11R6/bin/XFree86

+ INSTALL_LIBGL=0

+ INSTALL_LIBGL_V2=1

+ INSTALL_MODULE_SUBDIRS=0

+ INSTALL_INIT_SERVICE=0

+ INSTALL_MODULE_MAKE_INSTALL=1

+ INSTALL_LIBPATH=0

+ OPTION_FORCE=0

+ OPTION_QUERY=1

+ report_tgz=0

+ echo -e =====================================================================

=====================================================================

+ echo -e '\033[31m ATI Technologies \033[0m'

ATI Technologies

+ echo -e =====================================================================

=====================================================================

+ chk_env=0

+ '[' '' = -check-environment ']'

+ '[' '' = --force ']'

+ GetXfreeInfo

+ '[' 0 -eq 0 ']'

+ FILE=/usr/X11R6/bin/XFree86

++ /usr/X11R6/bin/XFree86 -version

++ grep 'XFree86 Version'

+ x_ver_line=

++ echo ''

++ cut '-d ' -f3

+ x_ver=

+ '[' '' = '' ']'

+ echo 'Your possibly not running this script from the console'

Your possibly not running this script from the console

+ echo 'or maybe you simply dont have the console ownership.'

or maybe you simply dont have the console ownership.

+ echo 'Unable to determine XFree86 Version. Stopping now.'

Unable to determine XFree86 Version. Stopping now.

+ echo ''

 

+ exit 1

[root@jman downloads]$

Link to comment
Share on other sites

OK then that a totally spurious message....

Have you installed x.org ???

 

the line /usr/X11R6/bin/XFree86 -version

seems to be returning nothing (execpt perhaps an error message but that is grep'ed out...

 

this makes

x_ver=

blank and then the error message I think is from here...

 

try from a console

usr/X11R6/bin/XFree86 -version

 

btw seeig this now you should not have the GUI opened at all...

have you tried from the login prompt.... if not

 

init 3

then login as root

then run it!

 

then

init 5

relogin as user!

Link to comment
Share on other sites

this is what I get:

 

root@jman bin]$ XFree86 -version

 

Release Date: 18 December 2003

X Protocol Version 11, Revision 0, Release 6.7

Build Operating System: Linux 2.6.8.1-2mdkenterprise i686 [ELF]

Current Operating System: Linux jman.********.homeip.net 2.6.8.1-10mdk #1 Wed Sep 8 17:00:52 CEST 2004 i686

Build Date: 13 September 2004

Before reporting problems, check http://wiki.X.Org

to make sure that you have the latest version.

Module Loader present

[root@jman bin]$

 

This does not really help as I need to know the Xfree86 version (4.1.0 , 4.2.0 or 4.3.0) and this info 's not telling me....

 

Sorry I'm a newbie :unsure: what did you mean by init3, init5?

 

:thanks:

Link to comment
Share on other sites

linux has a concept of RUNLEVELS...

there is nothing magic about them just certain things are expected at certain levels

 

conventional wisom says (these are not hard and fast)

 

RL 1 single user

RL 2 multi-user

RL 3 networking

RL 4 ?? no well defined

RL 5 GUI interface

 

(RL0 is stopped and RL6 is a special reboot level)

in brief you need to either stop the GUI (including login) yourself .. or let the runlevels do it for you

 

so if you open a console as you have been doing then

su root

<type your root password>

then init 3

screens will flash and stuff then you will be dumped at an inelegant prompt

login as root again

cd to the place whenre you have the file and

sh check.sh

 

hopefully this will work...

your output shows me you are using x.org not xfree .. .dont worry X.org is the newer one and the reasons for this are not something to worry about until you have it working...

 

lets try what I suggest and see if it works, if not we could do with changing the name of the thread (you can use edit) and make it something like 'INSTALLING ATI in X.org' - that wayyou can attract the attention of someone who actually has the ATI...

 

good luck

Link to comment
Share on other sites

Ok I've tried that. I get the same error as before. I have renamed the thread title as you suggested.

OK cos its hard for me to help more without having the same card!

This should attract people with the same card to help out, perhaps they had the same problem and fixed it.

 

As a general rule the more eyecatchingly specific the thread is to something a previous user might have experienced the faster you get answers...

 

anyway /bump

back to the top...

 

cmon someone must have done this with an ATI card.....

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...