LinuxQuestions.org
Visit Jeremy's Blog.
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 04-22-2004, 01:23 PM   #1
luptinpitman
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
Can't change screen resolution on Slackware 9.1...


OK, I am trying to make the switch from windows. I understand I need to RTFM and I have tried, but to no avail.

I am trying to run dropline gnome 2.6 at 1600x1200 on a Samsung 21" SyncMaster 213T running a Radeon 9700 Pro ATI video card.

From reading other posts here I see that I need to install the latest ATI driver. I have downloaded the driver and it is only available in rpm. The instructions from ATI show:

Make sure the following software is already installed on your system:

* glibc version 2.2 or 2.3
* XFree86 version 4.1.0, 4.2.0, or 4.3.0

I of course have these installed, but when I run the command: rpm -Uh --force <ati_package_name>.rpm I receive this:

error: failed dependencies:
/bin/sh is needed by fglrx-4.3.0-3.7.6
/bin/sh is needed by fglrx-4.3.0-3.7.6
/bin/sh is needed by fglrx-4.3.0-3.7.6
/bin/sh is needed by fglrx-4.3.0-3.7.6
ld-linux.so.2 is needed by fglrx-4.3.0-3.7.6
libX11.so.6 is needed by fglrx-4.3.0-3.7.6
libXext.so.6 is needed by fglrx-4.3.0-3.7.6
libc.so.6 is needed by fglrx-4.3.0-3.7.6
libdl.so.2 is needed by fglrx-4.3.0-3.7.6
libm.so.6 is needed by fglrx-4.3.0-3.7.6
libpthread.so.0 is needed by fglrx-4.3.0-3.7.6
libc.so.6(GLIBC_2.0) is needed by fglrx-4.3.0-3.7.6
libc.so.6(GLIBC_2.1) is needed by fglrx-4.3.0-3.7.6
libc.so.6(GLIBC_2.1.3) is needed by fglrx-4.3.0-3.7.6
libm.so.6(GLIBC_2.0) is needed by fglrx-4.3.0-3.7.6
libpthread.so.0(GLIBC_2.0) is needed by fglrx-4.3.0-3.7.6

So, how in the hell do I install the new drivers that I so desperately need to get my resolution changed to something more befitting of my monitor?

Please be gentle
 
Old 04-22-2004, 01:47 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
try rpm2tgz filename.rpm
installpkg filename.tgz

also have a look here

http://www.linuxquestions.org/questi...der=descending

good luck.
 
Old 04-22-2004, 02:22 PM   #3
luptinpitman
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Awesome. Nice info on getting the rpm to a tgz. Worked like a champ.

Problem:

Next step from ATI says:

# Run the fglrxconfig utility to configure the driver

* Answer the questions as prompted
* When asked to generate an XF86Config-4 file, answer y

Now, I run the installpkg filename.tgz and it doesn't error, but what does that actually do? I have also "installed" the tgz using the semi-gui slackware installer but it just completes and that is it. What does this actually do? Does in install the files to a specific location that I need to now go to and run the above mentioned fglrxconfig utility?

I extracted the tgz also and found the fglrxconfig file deep in the directory structure, but I can't launch it. Obviously I am still stuggling with the "windows" mindset. I've run a search for fglrx* and find nothing. Not even the fglrxconfig file I found after un-tarring the tgz.

Any additional help would be massively appreciated.
 
Old 04-22-2004, 07:24 PM   #4
djbanaan
Member
 
Registered: Aug 2003
Location: Haarlem, The Netherlands
Distribution: Slackware, FreeBSD
Posts: 178

Rep: Reputation: 30
It looks to me like your missing a step. You should:

cd /lib/fglrx/build_mod
./make.sh
cd ..
./make_install.sh

This will build the module (driver) for your specific kernel. This requires having the Linux kernel sources installed. If you're using one of the Slackware kernels, this can be installed using the package series 'k' on your Slack CD..

after that you can do a:

/usr/X11R6/bin/fglrxconfig

Hope this helps!

P.S. I have to compliment you on your way of asking questions. That's the way questions should be asked!

P.P.S. Welcome to LQ!

Last edited by djbanaan; 04-22-2004 at 07:27 PM.
 
Old 04-23-2004, 09:56 AM   #5
luptinpitman
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you very much for the help with this!

OK, now I am really confused. When I follow this:

cd /lib/fglrx/build_mod
./make.sh

I get this:

root@LinuxBox:/lib/modules/fglrx/build_mod# ./make.sh
bash: ./make.sh: Permission denied

I tried running the ./make.sh logged in as myself but running as su root, and I tried logging in as root proper. Both ways I get Permission denied when I try to run ./make.sh from inside /lib/modules/fglrx/build_mod

I tried going into the /usr/X11R6/bin/fglrxconfig and running it and it worked, even though the previous step failed. I was able to run the fglrxconfig successfully and follow all of the instructions and answered all of the questions. It successfully wrote the XF86Config-4 and placed it in /etc/X11. Looking through the file it did use the values I specified for my monitor and video card, but when I reboot or kill X it still uses 1024 x 768. If I use the ctrl+alt+Num+/- it just corrupts the display.

So, the instructions from ATI say:

5. Run fglrxinfo to verify the driver is installed correctly

If the output reads OpenGL vendor string: ATI Technologies Inc. then your ATI drivers are installed and configured correctly.

When I run fglrxinfo I get:

Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.4 Mesa 5.0.2)

Obviously I am giving it the old monkey with a football on this one Any ideas?
 
Old 05-01-2004, 04:27 PM   #6
speedbump
Member
 
Registered: Aug 2003
Location: Vallejo, California
Distribution: Slackware 10.1 --Current w/ Dropline
Posts: 61

Rep: Reputation: 15
luptinpitman:

here's step-by-step instructions on how to load ATI's graphic drivers for Slack:
=====================================================
http://www.linuxquestions.org/questi...673#post801673
=====================================================
Works for me every time....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to change screen resolution ? mystique98ls Linux - Newbie 4 08-20-2012 08:19 AM
Cannot change screen resolution (atir 3) in slackware 10 mmarkvillanueva Slackware 6 05-27-2005 06:31 PM
can't change screen resolution rampfld Linux - Newbie 3 03-21-2005 04:52 PM
How to Change Screen Resolution eats85 Slackware 4 10-05-2003 04:06 PM
Change screen resolution? ReSync Linux - Newbie 1 06-16-2002 03:43 PM

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

All times are GMT -5. The time now is 09:37 PM.

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