LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-19-2007, 10:37 PM   #1
mirror_man
Member
 
Registered: Jan 2007
Distribution: Debian squeeze
Posts: 34

Rep: Reputation: 15
Need advice about PCI VGA graphics card settings in xorg.conf


Hi,

I'm fairly new to Linux, have used Ubuntu for a few months and am now trying Slackware. I've just installed Slackware and have a question about what the correct entries for my graphics card should be in xorg.conf.

The GUI is working, but if I grab a window with the mouse and shake it, it looks a bit like the wobbly window effect seen in Beryl! That is, the window area doesn't retain it's shape and is loose and, well, wobbly. Also, the sides of the window break up, but not the top and bottom.

I wondered if these symptoms were due to incorrect settings for my graphics card in xorg.conf. At the moment the settings are for Generic VESA. My card is a PCI VGA card so I used xorgconfig to generate a new xorg.conf file and as it doesn't list my card, I told it to use the Generic VGA settings. This made xorg unable to run the GUI so I've gone back to Generic VESA for now.

This is my hardware:

Graphics card: 3D Phantom VGA Card

Model: XP-PC13800
Chipset: SiS 315E
Bus Type: PCI
Engine Core: 256-bit
Video Memory: 32 MB SDR

CPU: AMD Athlon XP 1600+

Clock speed: 1400

Monitor: Compaq 171FS

Memory: 256 MB DDR

I know the correct sync settings for my monitor and have entered these in xorg.conf so that bit is OK.

So, does anyone know what I should put in xorg.conf for my particular card so it will work with VGA settings instead of VESA?

I don't know if that will make any difference to the display problem but I thought it would be worth a try. Also, if I am misunderstanding something then I would appreciate it being pointed out.

Cheers.
 
Old 01-19-2007, 10:56 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Quote:
Originally Posted by mirror_man
The GUI is working, but if I grab a window with the mouse and shake it, it looks a bit like the wobbly window effect seen in Beryl! That is, the window area doesn't retain it's shape and is loose and, well, wobbly. Also, the sides of the window break up, but not the top and bottom.

I wondered if these symptoms were due to incorrect settings for my graphics card in xorg.conf.
Those are the symptoms of no hardware acceleration enabled/present. How to fix that ... not sure you can, not with that card.
 
Old 01-20-2007, 01:02 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,755

Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
See if there's a real driver for your sis card and use that for better performance.
 
Old 01-20-2007, 02:47 AM   #4
/y0shi
Member
 
Registered: Jan 2006
Location: berlin, germany
Distribution: slackware 12.0
Posts: 58

Rep: Reputation: 15
im sorry but i think direct rendering is not supported for your card:
Quote:
Status

A DRI driver for the SiS300 series cards (300/305, 540, 630/730) is currently available in DRI CVS. A DRI driver for the SiS6326 and 530 cards is in development. The newer 315 and Xabre series chips are not supported; neither are the SiS-based Volari chips from XGI (Volari V3XT, V5, and V8).
(http://dri.freedesktop.org/wiki/SiS?...tegoryHardware)

but did you as root do xorgconfig (/usr/X11R6/bin/xorgconfig)?
there should be (when you say yes at the question: do you want to have a look at the card database?) a generic driver:
25 ** SiS (generic) [sis]
and than make sure your Video Memory: 32 MB SDR is in your xorg.conf (uncommented it should be) ...
 
Old 01-20-2007, 02:59 AM   #5
mirror_man
Member
 
Registered: Jan 2007
Distribution: Debian squeeze
Posts: 34

Original Poster
Rep: Reputation: 15
H_TeXMeX_H and gnashley,

Thanks for your replies.

I've had a bit of luck. I wasn't getting anywhere trying to enable hardware acceleration or finding a Linux driver for that card so I took it out and replaced it with the GeForce2 MX 400 card that came with the computer. When I got the computer the card didn't work and I put the SiS card in as I had lying around and it was better than nothing to get the computer up and running. Well, now the GeForce card does work, don't know why it didn't work before but I'm happy that it does now.

No more wobbly windows!
 
Old 01-20-2007, 03:25 AM   #6
mirror_man
Member
 
Registered: Jan 2007
Distribution: Debian squeeze
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by /y0shi
im sorry but i think direct rendering is not supported for your cardhttp://dri.freedesktop.org/wiki/SiS?...tegoryHardware)

but did you as root do xorgconfig (/usr/X11R6/bin/xorgconfig)?
there should be (when you say yes at the question: do you want to have a look at the card database?) a generic driver:
25 ** SiS (generic) [sis]
and than make sure your Video Memory: 32 MB SDR is in your xorg.conf (uncommented it should be) ...
Hi /y0shi, and thanks for your help.

The blurb on the box claims that the card does 3D gaming and video acceleration but I'm not sure if that is the same as direct rendering.

Yes, I used xorgconfig in root but I didn't see any mention of the SiS entry in the database section. I did enter the correct amount of video memory in xorg.conf.

As you will see in my other repliy in this thread, I have replaced the SiS card with another card and the display is much better now.

Cheers.
 
Old 01-20-2007, 12:27 PM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Quote:
Originally Posted by mirror_man
H_TeXMeX_H and gnashley,

Thanks for your replies.

I've had a bit of luck. I wasn't getting anywhere trying to enable hardware acceleration or finding a Linux driver for that card so I took it out and replaced it with the GeForce2 MX 400 card that came with the computer. When I got the computer the card didn't work and I put the SiS card in as I had lying around and it was better than nothing to get the computer up and running. Well, now the GeForce card does work, don't know why it didn't work before but I'm happy that it does now.

No more wobbly windows!
What driver are you using for that card ?

If you want even more performance, nvidia cards have Linux drivers available with full 3d accel.

See the guide:
http://www.linuxquestions.org/questi...d.php?t=402003

The card would probably use legacy nvidia drivers, I think.
 
Old 01-20-2007, 06:54 PM   #8
mirror_man
Member
 
Registered: Jan 2007
Distribution: Debian squeeze
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by H_TeXMeX_H
What driver are you using for that card ?

If you want even more performance, nvidia cards have Linux drivers available with full 3d accel.

See the guide:
http://www.linuxquestions.org/questi...d.php?t=402003

The card would probably use legacy nvidia drivers, I think.
To start with everything was up and running with the Vesa settings in xog.conf. I've reconfigured it and now it's using the Generic nvidia settings, driver is "nv". Although I gave the VideoRam size it is commented out, just uncommented it, restarted X and all is well.

If I do "glxinfo", it says "direct rendering: No". So, am I right in thinking that the driver supplied in Slackware is an open source driver for nvidia cards and does not support DRI?.

I've looked at the thread you indicated (well, the first page) and am pleased to have the nvidia card as it seems to be much easier to install a driver for it, no recompiling the kernel and such like. Looked on the nvidia site and think I've found the correct driver for this card so I'll have a go at installing it now.
 
  


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
Help! Prob w FC6 install - xorg.conf & my Intel 82845G graphics card moose22 Fedora 7 03-29-2007 05:11 AM
intel i820 agpgart xorg.conf onboard pci video card problem x crashes flayzernax Fedora 4 08-10-2006 12:09 PM
modify xorg.conf for graphics card allelopath Linux - Software 2 05-05-2006 08:13 AM
xorg.conf - vga-adapter with an other resolution than the internal lcd aspartat Linux - General 1 03-07-2006 11:50 AM
Xorg.conf settings keep changing gtzpower Linux - Hardware 2 02-13-2006 11:56 PM


All times are GMT -5. The time now is 12:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration