LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 06-16-2004, 11:46 PM   #1
Nightwing
LQ Newbie
 
Registered: Jun 2004
Posts: 12

Rep: Reputation: 0
RedHat/Video cards/Drivers


Ok I just got a new Linux machine; and despite it having a decent graphics card in there (one that support OpenGL at least, even if it only is a 32MB Card), OpenGL always fails to run on it and I have to force software rendering.

So I have a few questions:

How can I find the drivers for my motherboard/graphics card? (it's an ECS L7VMM3)

Since the card isn't so hot; would it be a better idea necessarily to go out and upgrade my RAM as well as my video card? Rather than screw with finding drivers for a mostly worthless card? If so... what cards are Linux compatible?

Currently I'm on Lindows though; and I'm looking to switch to RedHat 9... should I stick with an older RedHat? Or will 9 be able to handle drivers that are for the older versions?
 
Old 06-17-2004, 12:51 AM   #2
phek
Member
 
Registered: Jul 2001
Location: California, US
Distribution: Slackware
Posts: 196

Rep: Reputation: 30
It looks like that motherboard uses an S3 video chipset. If you haven't manually edited your /etc/X11/XF86Config then I'd suggest running X -configure as root (in console without X running already), then follow the instructions on the screen which say to copy ~/XF86Config.new to /etc/X11/XF86Config (make a backup first). Before you try to start X though you need to add some more stuff to /etc/X11/XF86Config add the following lines to Section "Module"

Load "glx"
Load "dri"

Then add this section

Section "DRI"
Mode 0666
EndSection

Assuming you have DRI support compiled into your kernel or loaded as a module already, your GL should work, you can check if Direct Rending is working by running glxinfo and you should see a line saying: direct rendering: Yes also you can run glxgears to see how well its working.

If it fails to work that means you probally dont have the dri drivers loaded into your kernel, which means your going to have to recompile your kernel which is a whole other thread.
 
Old 06-17-2004, 03:21 AM   #3
Nightwing
LQ Newbie
 
Registered: Jun 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by phek
It looks like that motherboard uses an S3 video chipset. If you haven't manually edited your /etc/X11/XF86Config then I'd suggest running X -configure as root (in console without X running already), then follow the instructions on the screen which say to copy ~/XF86Config.new to /etc/X11/XF86Config (make a backup first). Before you try to start X though you need to add some more stuff to /etc/X11/XF86Config add the following lines to Section "Module"

Load "glx"
Load "dri"

Then add this section

Section "DRI"
Mode 0666
EndSection

Assuming you have DRI support compiled into your kernel or loaded as a module already, your GL should work, you can check if Direct Rending is working by running glxinfo and you should see a line saying: direct rendering: Yes also you can run glxgears to see how well its working.

If it fails to work that means you probally dont have the dri drivers loaded into your kernel, which means your going to have to recompile your kernel which is a whole other thread.
How is it that you get into the console without X running? This has been a focal point in my many problems...

name of display: :0.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x22 16 tc 1 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x23 16 tc 1 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 None
0x24 16 tc 1 16 0 r y . 5 6 5 8 0 16 8 16 16 16 16 0 0 None
0x25 16 tc 1 16 0 r . . 5 6 5 8 0 16 8 16 16 16 16 0 0 None

This is what I got when I run glxinfo...

But this is strange because two separate games have failed to use GL versus software rendering... =/

Last edited by Nightwing; 06-17-2004 at 03:47 AM.
 
Old 06-17-2004, 03:50 AM   #4
Nightwing
LQ Newbie
 
Registered: Jun 2004
Posts: 12

Original Poster
Rep: Reputation: 0
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 640x480
Using 4/4/4 Color bits, 16 depth, 0 stencil display.
Xlib: extension "XFree86-DRI" missing on display ":0.0".
GL_RENDERER: Mesa GLX Indirect


***********************************************************
You are using software Mesa (no hardware acceleration)!
Driver DLL used: libGL.so.1
If this is intentional, add
"+set r_allowSoftwareGL 1"
to the command line when starting the game.
***********************************************************
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem


-------------

^ and this is the error we get when trying to actually run Quake III (full version).
 
Old 06-17-2004, 07:36 AM   #5
phek
Member
 
Registered: Jul 2001
Location: California, US
Distribution: Slackware
Posts: 196

Rep: Reputation: 30
Quote:
How is it that you get into the console without X running? This has been a focal point in my many problems...
You must be booting into run level 4 (or maybe RH uses, 5 i forget which they call it). To go from run level (4|5) to 3, jsut type
init 3
as root and it should take you down to console, then to get back do run level (4|5). If you want to boot into runlevel 3, then edit your /etc/inittab file, look for the line that contains "initdefault" and change the value to 3.

Quote:

This is what I got when I run glxinfo...

But this is strange because two separate games have failed to use GL versus software rendering... =/
i dont see whats so strange about it? it says direct rendering is off.
 
Old 06-17-2004, 11:06 PM   #6
Nightwing
LQ Newbie
 
Registered: Jun 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Well that's my problem right? I mean how do I turn on direct rendering? *currently looking for the drivers to this infernal device*

EDIT: About the drivers... this is incredibly frustrating; it seems that this machine (which came pre-loaded with Lindows) does not have a single Linux driver for its motherboard or even its respective video card. Tell me I'm just looking in the wrong places =(

Last edited by Nightwing; 06-17-2004 at 11:16 PM.
 
Old 06-17-2004, 11:19 PM   #7
Nightwing
LQ Newbie
 
Registered: Jun 2004
Posts: 12

Original Poster
Rep: Reputation: 0
See here's the site of my motherboard manufacturer:

http://www.ecs.com.tw/ECSWeb/Downloa...ailDesc=L7VMM3(1.0C)
Notice how the VGA drivers (as well as all the others on the same page) do not support anything but Windows.

ftp://ftp.ecs.com.tw/driver/vga/via/
Their FTP site... more of the same...
 
  


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
KDE 3.2 and changing video card drivers and monitor drivers citrus Linux - Newbie 4 02-25-2004 06:11 AM
Installing ATI Radeon video drivers on Redhat Advanced Server Darrell22 Linux - Hardware 0 01-25-2004 01:59 PM
2 video cards? cli_man Linux - Hardware 9 09-01-2002 04:06 PM
Zero video cards Slacker_ca Linux - General 1 12-18-2001 04:30 AM
Installing Tar.gz, Video Card Drivers in RedHat 7.0!!! RedHatMN Linux - Newbie 4 03-26-2001 12:36 PM


All times are GMT -5. The time now is 02:23 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration