LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-13-2004, 07:33 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Graphics Problem


Ive had this problem for a while, When I move windows around they stretch and skip like im low on memory but im not.

This is from my xfree86 file. Can i remove the #VideoRam 4096 and change it to
VideoRam 32mb since thats what my video card has? and will that fix the jerky motion when I move windows around or something else involved?
If it matters I dont have a swap partition. Thanks

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA Framebuffer"
Driver "nv"
#VideoRam 4096
# Insert Clocks lines here if appropriate
vendorname "NVidia"
boardname "GeForce3 (rev 1)"
EndSection

Last edited by BajaNick; 06-13-2004 at 07:44 PM.
 
Old 06-13-2004, 07:58 PM   #2
Aeiri
Member
 
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Re: Graphics Problem

What do 'glxinfo | grep direct' and 'glxinfo | grep string' output? What FPS do you get for 'glxgears'?
 
Old 06-13-2004, 08:28 PM   #3
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I am also using an agp slot if that helps, I just think I should be getting much better performance out of this card.


$ glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

$ glxinfo | grep string
server glx vendor string: SGI
server glx version string: 1.2
client glx vendor string: SGI
client glx version string: 1.2
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)

$ glxgears
793 frames in 5.0 seconds = 158.600 FPS
784 frames in 5.0 seconds = 156.800 FPS

Thanks
 
Old 06-13-2004, 09:36 PM   #4
Aeiri
Member
 
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Yep, you SHOULD be getting much better performance from that card

Your drivers aren't set up properly, in fact, they aren't even being USED. X is using the Mesa drivers, which are generic drivers :/

Make sure you followed the steps properly on NVIDIA's site, you might have forgotten something.
 
Old 06-13-2004, 10:06 PM   #5
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Actually I just installed the nvidia drivers since that last post but now I get this:

$ glxinfo | grep direct
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
$ glxinfo | grep string
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".

and glxgears wont start at all
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual


 
Old 06-13-2004, 11:25 PM   #6
Aeiri
Member
 
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Now it's not initializing GLX at all....

Check the top of your XF86Config and make sure there is a line:

Load "glx"

And it's not commented out.
 
Old 06-13-2004, 11:49 PM   #7
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
It dosnt seem to be commnented out.
What else should I check for?
Thanks

# This loads the font modules
Load "type1"
Load "freetype"
Load "speedo"

# This loads the GLX module
Load "glx"

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"

# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection
 
Old 06-14-2004, 11:16 AM   #8
Aeiri
Member
 
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Try installing the drivers again, maybe you'll get lucky :/

I can't think of any reason that it wouldn't initialize GLX like that.

Try checking /var/log/XFree86.0.log and try running 'dmesg' to see if it gives you any clues.
 
Old 06-14-2004, 09:06 PM   #9
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I downloaded a Nvidia driver set from nvidia but It was not from their main driver page.
I found a link to it while doing a search here on LQ. When I went to the Nvidia main Display driver download page it did not have the driver I installed. I think that might be the problem. It had ia32 and ia64 for linux. I wasnt sure If wich one to DL.The other page just had one driver but i cannot find that page yet.

How can I go about reinstalling the Mesa drivers and dump the Nvidia drivers? Kde seemed to run better with the mesa drivers. Thanks.

Last edited by BajaNick; 06-14-2004 at 09:22 PM.
 
Old 06-14-2004, 09:45 PM   #10
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Change that:
Driver "nv"
to:
Driver "nvidia"
Then restart your X server and see if the problem is solved.
 
Old 06-14-2004, 10:38 PM   #11
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I just tried that and nothing.
I did find out that I am missing a whole lib directory needed by the nvidia driver (/usr/lib/tls)
When I did the Nvidia install it searched for libraries online but said none found. I wonder if I can manually install this. I dont know if this will fix the glx no loading problem but I am gonna keep on this cuz this is driveing me crazy, lol.
 
Old 06-14-2004, 10:47 PM   #12
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
By the way, can you do a cat /proc/mtrr for us and tell us what comes up?
 
Old 06-14-2004, 11:19 PM   #13
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
This is getting kinda deep, lol.
I dont know what any of this means but you guys must.

cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size= 512MB: write-back, count=1
reg01: base=0xd0000000 (3328MB), size= 64MB: write-combining, count=1

Heres this also:

modprobe nvidia
Warning: loading /lib/modules/2.4.22/kernel/drivers/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module nvidia loaded, with warnings

Last edited by BajaNick; 06-15-2004 at 12:56 AM.
 
Old 06-15-2004, 09:01 PM   #14
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Well I didnt want to but I uninstalled the nvidia drivers using the unistaller provided but nothing changed, my xfree86 file is exactly the same as it was and my graphics are no better. I have a feeling my XFree86 file is doing nothing cuz Ive made several changes and nothing different has happend. Is there another config file that controls Graphics and the mouse?? Thanks
 
Old 06-17-2004, 02:04 AM   #15
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I got the nvidia driver to work!!
I was modifying the wrong file, I was changing the XFree86Conf file and I was supposed to edit the xorg.conf file.
but the graphics are still really jerky when I move windows around, but glxgears is showing almost 6 times the FPS than before.

Last edited by BajaNick; 06-17-2004 at 02:13 AM.
 
  


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
Graphics problem anjum Linux - Hardware 1 04-17-2005 04:49 PM
Graphics problem Smokieisgod Linux - Hardware 2 01-16-2004 07:39 AM
3d graphics problem silveredge Linux - Software 10 08-21-2003 08:03 PM
graphics problem zaman Linux - Hardware 7 07-06-2003 10:49 PM
Graphics Problem jasonk Linux - Newbie 1 10-27-2002 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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