LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-21-2009, 01:55 AM   #1
jacatone
Member
 
Registered: Mar 2004
Posts: 292

Rep: Reputation: 30
Need linux command for video driver


I installed the nvidia-glx-96 driver using Envy and wanted to make sure it's installed. What's the linux command for your video driver? Thanks.
 
Old 03-21-2009, 02:51 AM   #2
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
When asking a question like this you should, at the very least, mention what distro and version number you are using. You should also list exactly how (by posting the commands you used) you installed the driver.

In any case, to see if your nvidia driver is installed and working correctly, just run this from the terminal:
Code:
glxinfo | grep -i direct
It should return an output like this:
Code:
bash-3.1$ glxinfo | grep -i direct
direct rendering: Yes
bash-3.1$
 
Old 03-21-2009, 02:51 AM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Type glxinfo at a prompt.

You may need to be root.

Type lspci to see your card and other hardware.

use grep to show only the lines your interested in. Like this...

lspci -v | grep VGA

You can also check what rendering is enabled...

glxinfo | grep render
 
Old 03-30-2009, 11:10 PM   #4
jacatone
Member
 
Registered: Mar 2004
Posts: 292

Original Poster
Rep: Reputation: 30
This is what I get:

jacatone@eMax ~ $ glxinfo | grep -i direct
direct rendering: Yes
jacatone@eMax ~ $ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Software Rasterizer
jacatone@eMax ~ $
 
Old 03-31-2009, 02:38 AM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Smile

Looks like it's working,

you could also look through the list of modules loaded to see the name and confirm it's presence.

ls mod

and lspci

mine looks like this...
Code:
glenn@GamesBox:~$ glxinfo | grep -i direct && glxinfo | grep render && lspci -v | grep VGA && lsmod | grep nvidia
direct rendering: Yes
    GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
direct rendering: Yes
OpenGL renderer string: GeForce 9800 GT/PCI/SSE2
    GL_NV_depth_buffer_float, GL_NV_conditional_render, GL_NV_depth_clamp,
    GL_NV_vertex_program3, GL_NVX_conditional_render, GL_SGIS_generate_mipmap,
02:00.0 VGA compatible controller: nVidia Corporation Device 0605 (rev a2) (prog-if 00 [VGA controller])
nvidia               8119640  36
i2c_core               34976  1 nvidia
I see the splash screen as x starts each session, that confirms it to me.

You could also check you /etc/X11/xorg.conf file fot the presence of lines like this...
Code:
Section "Device"
    Identifier     "Device0"
    VendorName     "GigaByte"
    BoardName      "GigaByte GeForce 9800gt (GTX+)"
    Driver         "nvidia"  #This is the nvidia driver from nvidia.com
#   Driver	   "nv"   #this is the default Mandriva system driver 
#   Driver         "vesa"    #I keep vesa support for fallback.
Option 	   "DPMS"
    VideoRam	    524288
    Option 	   "RenderAccel" "True"
    
EndSection
A # comments the line, you can easy edit this file from cli to be able to switch between display types.

I googled...

Software Rasterizer nvidia xorg

and it could be something that can be changed in the config file. Check it out.

Regards, Glenn

Last edited by GlennsPref; 03-31-2009 at 02:50 AM.
 
  


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
Linux Video/Driver Issue lisa86 Linux - Hardware 2 09-01-2008 10:17 PM
restore default video driver via command line parent's_basement Ubuntu 3 04-26-2008 07:21 PM
changing video driver via command line armus513 Mandriva 4 02-04-2005 11:03 AM
Video Driver Poblems with Red Hat 8.0 (trident video driver) AstroJim Linux - Newbie 1 05-20-2004 03:25 PM
command to check video driver installed max3001 Linux - Hardware 1 05-11-2004 02:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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