LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-12-2006, 07:46 PM   #1
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Rep: Reputation: 15
Getting hardware graphics going


OK, I have recently installed Slackware 10.2 on my desktop machine after running it for several months on my laptop. The main thing I never did on my laptop was get hardware graphics up and running, it just ran on whatever default display stuff it uses. My question is, how can I take advantage of my video card?
I've done some searching and read some stuff, but I decided the best way for me to grasp this would be to get an actual discussion going where I could ask specific questions. So here I go.

What needs to be done to use a video card, in general? I know there are kernel options for graphics stuff (framebuffer/direct rendering/etc) and some of it even refers to specific vendors. I also know there exist drivers for video cards, so what is the difference? Where does a driver come into play, and where does the kernel stuff come in?
Also, where does the X server come in? Do I have to modify the config for X, and if so what am I telling it exactly?

As for specifics about my particular setup, I have an ATI Radeon 9200 using the AGP slot. I haven't done much to my fresh Slack installation, and I have the 2.6.15.6 kernel source ready to be configured and compiled.
 
Old 03-12-2006, 08:39 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Take a look at my thread :http://www.linuxquestions.org/questi...d.php?t=402003

It tells a bunch about getting DRI( 3D acceleration) going in X

However:
Quote:
Originally Posted by jnsg
As for specifics about my particular setup, I have an ATI Radeon 9200 using the AGP slot.
ATI Is....problematic. There are many threads in this forum dealing with it. Try to search the forum for 'ATI 9200'.

It may come down to: It can't be done. ATI's linux support is the absolute worst in the video market.
 
Old 03-12-2006, 09:38 PM   #3
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Original Poster
Rep: Reputation: 15
Thanks for the link, I'll check it out.
Quote:
Originally Posted by cwwilson721
It may come down to: It can't be done. ATI's linux support is the absolute worst in the video market.
That's discouraging. I was looking forward to trying some 3D games in Linux.
 
Old 03-12-2006, 09:42 PM   #4
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Not to say it's not possible....Just may take alot of work

I've been trying in that thread to get some ATI advice going, but havn't had any luck...Just comments like "Going to get Nvidia next."
 
Old 03-13-2006, 11:57 PM   #5
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Original Poster
Rep: Reputation: 15
OK, I have successfully enabled DRI! Thanks for that thread of yours. I did the necessary kernel configuration, and used ATI's latest installer. It installed the driver and kernel module and even modified xorg.conf for me.
Now, I still have an issue. When I boot into CLI mode and startx, it comes up and I get 2000 FPS from glxgears. However, when I exit the window manager I just get a blank screen, the console doesn't return. I think it must still be there, just not displayed (ctrl+alt+del reboots fine, which is fortunate... I haven't tried blindly startx'ing again). Any idea what the issue here could be?
 
Old 03-14-2006, 12:05 AM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Not sure. My ATI experience is VERY limited. Maybe others can shed some light
 
Old 03-14-2006, 12:06 AM   #7
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Your window manager doesn't return to console properly. Try ctrl+alt+backspace. You can also ctrl+alt+f6, login as root and kill wm.
 
Old 03-14-2006, 07:42 AM   #8
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
Do you have the Radeon frame buffer enabled (radeonfb)? If so, you will need to disable it, otherwise what you describe is the result.
 
Old 03-14-2006, 12:40 PM   #9
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Original Poster
Rep: Reputation: 15
I believe I do have radeonfb enabled. When configuring my kernel I enabled everything graphics-related I could find, heh. I will try disabling that now and report back the results.
Some questions in the meantime: What is the frame buffer? What does it do as opposed to what DRI does? Why can I disable it safely, and why would it be causing a problem?

EDIT:
I disabled frame buffer support altogether in kernel config, and after recompiling/installing I lost direct rendering. Should I re-enable frame buffer support, but just not select the specific hardware?

Last edited by jnsg; 03-14-2006 at 01:14 PM.
 
Old 03-14-2006, 02:51 PM   #10
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
IIRC, the radeon frame buffer and the DRI drivers are both trying to access the same hardware at the same time, hence the problems.

You don't need any frame buffer support for using fglrx (I have it disabled in the kernels on both of my machines).

You will need to rebuild and reinstall the fglrx driver whenever you update, rebuild, etc... your kernel.
Code:
sh /lib/modules/fglrx/build_mod/make.sh
sh /lib/modules/fglrx/make_install.sh
If DRI still isn't working, please post any errors that make_install.sh generates, or any other errors that are produced (except for make.sh since that produces lots of warnings that are can be safely ignored).
 
Old 03-14-2006, 03:36 PM   #11
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Original Poster
Rep: Reputation: 15
Well, I managed to get DRI working again by re-running the ATI installer. My kernel has no frame buffer support. However, I still cannot exit the WM properly. And, I can't seem to use any commands blindly either. Where should I go from here?

EDIT:
To be precise: If I exit using my WM's quit command, or if I use the ctrl+alt+backspace sequence, I get a blank (flickering somewhat maybe?) screen which I cannot get to respond other than with ctrl+alt+del. I am able to ctrl+alt+F6 to a different console, however. My harddrive's light comes on at periodic intervals while this is happening.

EDIT:
Also, if I ctrl+alt+F1 to the original console, I can ctrl+C kill X. But then if I try startx again I get that blank screen, and I can't even swith to a different console. Ctrl+alt+del still works in this case.

Last edited by jnsg; 03-15-2006 at 01:50 PM.
 
Old 03-16-2006, 12:13 AM   #12
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Original Poster
Rep: Reputation: 15
Bump......
 
Old 03-16-2006, 05:38 PM   #13
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Original Poster
Rep: Reputation: 15
OK, I have successfully installed Unreal Tournament (see here) and played it on Slackware! Yay! When I first tried it, it would give me a bunch of screen gibberish, but then I read about enabling shared memory from this post and after doing that it works. I still have a few issues, for instance I can't go above 800x600 resolution in the game without screen gibberish (my desktop is running at 1200 something though, so it's not the card). The shared memory thing seems to be a requirement of ATI cards.

However, I am still having issues with the inability to exit from my window manager correctly. Does anyone have any suggestions about this?
 
Old 04-07-2006, 10:18 PM   #14
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
Quote:
Originally Posted by jnsg
OK, I have successfully installed Unreal Tournament (see here) and played it on Slackware! Yay! When I first tried it, it would give me a bunch of screen gibberish, but then I read about enabling shared memory from this post and after doing that it works. I still have a few issues, for instance I can't go above 800x600 resolution in the game without screen gibberish (my desktop is running at 1200 something though, so it's not the card). The shared memory thing seems to be a requirement of ATI cards.

However, I am still having issues with the inability to exit from my window manager correctly. Does anyone have any suggestions about this?

Another Unreal tournament fan woo hoo what server...add to buddy list *Old_Fogie* I got a shock ball waiting for you. Glad the ATI stuff in cwwilson's thread worked 4 you.
 
  


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
Getting hardware graphics working jnsg Slackware 12 01-15-2006 02:59 PM
help with graphics hardware acceleration... marsques Slackware 18 04-06-2005 04:02 PM
Installation problems with graphics hardware mariag Fedora - Installation 1 03-14-2005 01:48 PM
is it possible for me to achieve a 32 bit graphics with this hardware? spyghost Solaris / OpenSolaris 1 03-27-2004 05:21 AM
'legacy hardware' graphics card help cbn302 Linux - Hardware 1 03-22-2004 02:55 PM

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

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