LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-02-2007, 08:01 AM   #1
valkarin
Member
 
Registered: Dec 2006
Distribution: Ubuntu
Posts: 41

Rep: Reputation: 15
No Direct rendering with Nvidia Geforce 2 (solved)


Problem: Frame rate of around 350 fps with glxgears. Nexuiz so slow it's unplayable.

System: Ubuntu 6.06, kernel 2.6.15-29, Video Card, Nvidia GeForce 2, Drivers from repo (not the nVidia ones)

Here is the output of glxinfo

Code:
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_EXT_import_context, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGI_video_sync, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce2 MX 100/200/AGP/SSE2/forceSW
OpenGL version string: 1.4 (1.5.6 NVIDIA 87.76)
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters,
    GL_ARB_point_sprite, GL_ARB_texture_compression, GL_ARB_texture_cube_map,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_program,
    GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_point_parameters,
    GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shared_texture_palette,
    GL_EXT_stencil_wrap, GL_EXT_texture_compression_s3tc,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod,
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
    GL_EXT_vertex_array, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_NV_blend_square, GL_NV_fog_distance,
    GL_NV_light_max_exponent, GL_NV_texgen_reflection,
    GL_NV_texture_env_combine4, GL_NV_texture_rectangle,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod,
    GL_SUN_multi_draw_arrays, GL_SUN_slice_accum

   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
----------------------------------------------------------------------
0x21 24 tc  0 32  0 r  y  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  y  .  8  8  8  0  4 24  0 16 16 16 16  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  4 24  0 16 16 16 16  0 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  0  4 24  0 16 16 16 16  0 0 None
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  4 24  0 16 16 16 16  0 0 None
0x2a 24 tc  0 32  0 r  y  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x2b 24 tc  0 32  0 r  y  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x2c 24 tc  0 32  0 r  .  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x2e 24 tc  0 32  0 r  y  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x2f 24 tc  0 32  0 r  y  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x30 24 tc  0 32  0 r  .  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x31 24 tc  0 32  0 r  .  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x32 24 dc  0 32  0 r  y  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x33 24 dc  0 32  0 r  .  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x34 24 dc  0 32  0 r  .  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x35 24 dc  0 32  0 r  y  .  8  8  8  0  4 24  0 16 16 16 16  0 0 None
0x36 24 dc  0 32  0 r  y  .  8  8  8  8  4 24  0 16 16 16 16  0 0 None
0x37 24 dc  0 32  0 r  .  .  8  8  8  0  4 24  0 16 16 16 16  0 0 None
0x38 24 dc  0 32  0 r  .  .  8  8  8  8  4 24  0 16 16 16 16  0 0 None
0x39 24 dc  0 32  0 r  y  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x3a 24 dc  0 32  0 r  y  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x3b 24 dc  0 32  0 r  .  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x3c 24 dc  0 32  0 r  .  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x3d 24 dc  0 32  0 r  y  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x3e 24 dc  0 32  0 r  y  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x3f 24 dc  0 32  0 r  .  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x40 24 dc  0 32  0 r  .  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
Here is my xorg.conf:
Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"ddc"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
	Option		"XkbVariant"	"none"
	Option		"XkbOptions"	"none"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"NVIDIA Corporation NV11DDR [GeForce2 MX 100 DDR/200 DDR]"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"VX700"
	Option		"DPMS"
	HorizSync	30-70
	VertRefresh	50-160
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA Corporation NV11DDR [GeForce2 MX 100 DDR/200 DDR]"
	Monitor		"VX700"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
	Mode	0666
EndSection
Why isn't this working? I have tried several methods of turning on the direct rendering. No joy.

Last edited by valkarin; 10-05-2007 at 10:41 AM. Reason: problem solved.
 
Old 10-02-2007, 08:42 AM   #2
davedave1
LQ Newbie
 
Registered: Jun 2007
Location: Canberra
Distribution: Gentoo, Ubuntu 7, Ubuntu 5
Posts: 17

Rep: Reputation: 0
1. Try the "nv" drivers instead.
2. in xorg.conf add "Load "dri"" to the Module section
3. Update to a more current Xorg version
 
Old 10-02-2007, 08:56 AM   #3
valkarin
Member
 
Registered: Dec 2006
Distribution: Ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
1. Try the "nv" drivers instead.
2. in xorg.conf add "Load "dri"" to the Module section
3. Update to a more current Xorg version
I thought the "nv" driver was 2d. I am trying to get the 3D rendering on and boost the frame rate. Also have been told all over the place that DRI needs to be turned off for 3D to work. On a side note what is DRI anyway? How do I update the Xorg? Do I download it off the web and compile it, or what?
 
Old 10-02-2007, 02:25 PM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
Is your user a member of the video group? DRI=Direct Rendering Infrastructure, which is a fancy way of saying that the video hardware handles graphics processing.
 
Old 10-02-2007, 02:31 PM   #5
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
FWIW, you do not need to load DRI when using the real 'nv' driver. The nVidia driver implements DRI on its own, and will work by itself..

I'm not up on the ins and outs of installing the 'nv' driver into Ubuntu, but you can get the installer binary from http://www.nvidia.com/Download/index.aspx?lang=en-us and I suspect that for your card, it will *probably* be the ...9631... version. *Maybe the newest one will work, but I'm not sure. the new one is something like version 100.14 or something.

I thought the Ubuntu updater (Apt-whatever) offered the nv driver? Oh well..

Last edited by GrapefruiTgirl; 10-02-2007 at 02:36 PM.
 
Old 10-02-2007, 03:32 PM   #6
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
Do: "grep WW /var/log/Xorg.0.log" and "grep EE /var/log/Xorg.0.log" - Check for any warning (WW) or error (EE) from the log. Maybe you can get some clue what had happened.

By the way, reading from NVIDIA, it seems you should download the 96.43.xx series driver.
 
Old 10-02-2007, 05:35 PM   #7
valkarin
Member
 
Registered: Dec 2006
Distribution: Ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
The repos offer the nv driver but that is not what I want. I want direct rendering. for that I need the "nvidia" driver, which I have installed and is working. But direct rendering is turned off. I want it on. I am using the 3D driver from the repos. Should I use the ones from nvidia instead?

The var log you asked for are

Quote:
(WW) The directory "/usr/share/X11/fonts/cyrillic" does not exist.
(WW) NVIDIA(0): No size information available in CRT-0's EDID; cannot compute
(WW) NVIDIA(0): DPI from EDID.
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
My user is a member of the video group and has hardware acceleration privilages. I can play 3D games but the frame rate is slow (around 350 fps)
 
Old 10-02-2007, 05:52 PM   #8
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Yes, my apologies -- I had mixed the two drivers up momentarily. The real one is "nvidia", and the non-real one is 'nv' -- apologies again.

Everything else I said was correct, and yes, if you want DRI, you need the real "nvidia" driver, which DOES implement DRI all by itself. And that last part, which I mixed up also, was supposed to read "I thought the repos offered the real "nvidia" driver," but I am likely mistaken there, as you just stated that it offers the 'nv' driver instead.

Last edited by GrapefruiTgirl; 10-02-2007 at 05:55 PM.
 
Old 10-02-2007, 06:19 PM   #9
valkarin
Member
 
Registered: Dec 2006
Distribution: Ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
Should I use the drivers offered by the nvidia website instead?
 
Old 10-02-2007, 06:27 PM   #10
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
If you want full 3D acceleration and maximum performance, then Yes.
However, that said, I personally am not aware of, nor knowledgeable about, any issues, IF there are any, with installing it in Ubuntu. It's generally a pretty simple process, I mean it literally takes me about 30 seconds to hop into init-3, killing X in the process, and execute the installer (pressing YES and OK a few times) and then jump to init-4 which restarts my X.

Ubuntu may not be so slick; Ubuntu uses Init-5, for one thing, and uses GDM rather than my KDM and KDE, which needs to be stopped using "killall gdm" in a root console (or with sudo.)

so you'll likely want to do something like:

sudo killall gdm
telinit 1 (or maybe 2 or 3, I'm not sure on 'buntu)
./<installer-package-name>
<follow-instructions>
<restart GDM>

and that should do it, in a perfect world

Last edited by GrapefruiTgirl; 10-02-2007 at 06:28 PM.
 
Old 10-02-2007, 06:32 PM   #11
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
I should add too, another thing I know absolutely nothing about, is the "envy" installer. As I understand, it is another means of installing nVidia driver into Ubuntu, but you really would need to look into that if it comes to it; because I honestly know zilch about it. Back when I started into Linux (less than a year ago) I tried 'buntu for like a day or two, and then got rid of it and have been using Slackware ever since. Therefore, many of the intricacies of doing stuff as efficiently in Ubuntu as I can in Slack, are beyond me.

If I can help at all, don't hesitate to ask, and perhaps another person will add something or correct me, but meanwhile, you may as well download the driver.
 
Old 10-02-2007, 07:23 PM   #12
valkarin
Member
 
Registered: Dec 2006
Distribution: Ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
I have downloaded the driver and will install in the morning. I am going to look into envy and see what's what with it. Ubuntu is getting to be more trouble than it's worth. I am thinking of going with Debian (I like the apt-get package manager).
 
Old 10-02-2007, 07:29 PM   #13
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Righto then, good luck on the Envy thing, AND with the install, if you proceed in the mroning
 
Old 10-03-2007, 12:38 AM   #14
davedave1
LQ Newbie
 
Registered: Jun 2007
Location: Canberra
Distribution: Gentoo, Ubuntu 7, Ubuntu 5
Posts: 17

Rep: Reputation: 0
No point shifting to Debian from Ubuntu for apt-get, they both use it as standard.

I've used the Nvidia proprietary drivers in the past but kept on having issues with them. If it is the only way to get 3D working then good luck...
 
Old 10-03-2007, 12:54 AM   #15
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
Quote:
Originally Posted by davedave1 View Post
...I've used the Nvidia proprietary drivers in the past but kept on having issues with them. If it is the only way to get 3D working then good luck...
I have GeForce4 MX 4000 and GeForce 8500 GT, both work fantastically well. The driver installation is so easy I can get it working even with -rc kernels. Compare with another major graphic provider, *cough*ATI*cough*, where there is always a possibility for manual patching or hacking the installer when upgrading kernel, I will go with NVIDIA with every Linux system I built.

Last edited by ghostdancer; 10-03-2007 at 12:59 AM.
 
  


Reply

Tags
direct, nvidia, rendering


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
Direct Rendering on Fedora 6 with GeForce MX 440 captainkrypto Linux - Hardware 3 07-26-2007 02:58 PM
NVIDIA geforce 5500- direct rendering slow cjae Linux - Hardware 2 09-04-2006 04:02 PM
nVidia Quadro FX - no direct rendering n.b.r. Linux - Hardware 2 12-09-2005 02:22 PM
no Direct Rendering on FC4 & GeForce FX 5500 oradev Linux - Hardware 2 08-13-2005 10:05 AM
Nvidia Direct Rendering danile3784 Linux - Hardware 5 11-04-2003 08:17 PM


All times are GMT -5. The time now is 12:18 PM.

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