Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia, no direct rendering
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kephale
n00b
n00b


Joined: 30 Jul 2007
Posts: 10

PostPosted: Mon Jul 30, 2007 5:36 pm    Post subject: Nvidia, no direct rendering Reply with quote

Hello,

Hopefully this will end up being a simple problem.

I am using nvidia-drivers, and the nvidia driver loads fine, but I do not have direct rendering. For some reason Mesa keeps coming up even though:

Code:
$ eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11


I have already tried uninstalling mesa then reinstalling nvidia-drivers.

If it makes a difference, I am using Twinview (however, I have tried this with separate x-sessions, as well as the other monitor disabled). Dynamic twinview also works.

Code:
direct rendering: No
server glx vendor string: Brian Paul
server glx version string: 1.4 Mesa 6.5.3
server glx extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
client glx vendor string: Brian Paul
client glx version string: 1.4 Mesa 6.5.3
client glx extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
GLX version: 1.4
GLX extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer
OpenGL vendor string: Brian Paul
OpenGL renderer string: Mesa X11
OpenGL version string: 2.1 Mesa 6.5.3


Any help would be greatly appreciated
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon Jul 30, 2007 6:18 pm    Post subject: Reply with quote

maybe post relevant part of you xorg.config
Back to top
View user's profile Send private message
kephale
n00b
n00b


Joined: 30 Jul 2007
Posts: 10

PostPosted: Mon Jul 30, 2007 6:29 pm    Post subject: Reply with quote

That would be useful wouldn't it. Upps...

Code:

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6200 TurboCache(TM)"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "metamodes" "CRT: nvidia-auto-select +0+0, DFP: nvidia-auto-select +1280+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon Jul 30, 2007 6:40 pm    Post subject: Reply with quote

I have also a nvidia 6200TC

my xorg.conf:

Code:
Section "Device"

    # Insert Clocks lines here if appropriate
   Identifier  "nvidia-6200TC"
   Driver      "nvidia"
   VideoRam    65536
   Option       "RenderAccel" "1"
   Option       "IgnoreDisplayDevices" "DFP, TV"
   Option       "ConnectedMonitor" "CRT"
        # Option    "AddARGBGLXVisuals" "True"
        Option      "AllowGLXWithcomposite" "true"
   BusID       ""
EndSection

Section "Screen"
   Identifier "Screen 1"
   Device     "nvidia-6200TC"
   Monitor    "LG"
   DefaultDepth     24
   #Option       "AllowGLXWithComposite" "true"
        Option      "AddARGBGLXVisuals" "true"
   SubSection "Display"
      Viewport   0 0
      Depth     8
      Modes    "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
      Modes    "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "Extensions"
#   Option       "Composite" "True"
        Option      "Composite" "Enable"
#Option      "AllowGLXWithComposite" "1"
#   Option       "RENDER" "True"
        Option      "RenderAccel" "true"
Back to top
View user's profile Send private message
kephale
n00b
n00b


Joined: 30 Jul 2007
Posts: 10

PostPosted: Mon Jul 30, 2007 6:48 pm    Post subject: Reply with quote

I added the differences between the xorg.conf's (except for the monitors), still no direct rendering.

It is still saying that my OpenGL renderer is Mesa X11
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon Jul 30, 2007 7:06 pm    Post subject: Reply with quote

which version of nvidia-driver are you using?
Back to top
View user's profile Send private message
kephale
n00b
n00b


Joined: 30 Jul 2007
Posts: 10

PostPosted: Mon Jul 30, 2007 7:10 pm    Post subject: Reply with quote

x11-drivers/nvidia-drivers
Latest version available: 100.14.11
Latest version installed: 100.14.11

and when I installed that I got the most recent mesa

media-libs/mesa
Latest version available: 6.5.2-r1
Latest version installed: 6.5.2-r1
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon Jul 30, 2007 7:11 pm    Post subject: Reply with quote

can you also check this file for something useful?:
/var/log/Xorg.0.log
Back to top
View user's profile Send private message
kephale
n00b
n00b


Joined: 30 Jul 2007
Posts: 10

PostPosted: Mon Jul 30, 2007 7:18 pm    Post subject: Reply with quote

Code:

(II) Module glx: vendor="NVIDIA Corporation"
(II) NVIDIA GLX Module  100.14.11  Wed Jun 13 17:16:40 PDT 2007
(II) Module nvidia: vendor="NVIDIA Corporation"
(II) NVIDIA dlloader X Driver  100.14.11  Wed Jun 13 16:35:28 PDT 2007
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(--) Chipset NVIDIA GPU found
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "RenderAccel" "1"
(**) NVIDIA(0): Option "TwinView" "1"
(**) NVIDIA(0): Option "MetaModes" "CRT: nvidia-auto-select +0+0, DFP: nvidia-auto-select +1280+0"
(**) NVIDIA(0): Option "AllowGLXWithComposite" "true"
(**) NVIDIA(0): Option "AddARGBGLXVisuals" "true"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): TwinView enabled
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0):     enabled.
(II) NVIDIA(0): NVIDIA GPU GeForce 6200 TurboCache(TM) (NV44) at PCI:1:0:0
(II) NVIDIA(0):     (GPU-0)
(--) NVIDIA(0): Memory: 262144 kBytes
(--) NVIDIA(0): VideoBIOS: 05.44.02.35.0a
(II) NVIDIA(0): Detected PCI Express Link width: 16X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 6200 TurboCache(TM) at
(--) NVIDIA(0):     PCI:1:0:0:
(--) NVIDIA(0):     BenQ FP931-D (CRT-0)
(--) NVIDIA(0):     HSD HW191D (DFP-0)
(--) NVIDIA(0): BenQ FP931-D (CRT-0): 400.0 MHz maximum pixel clock
(--) NVIDIA(0): HSD HW191D (DFP-0): 155.0 MHz maximum pixel clock
(--) NVIDIA(0): HSD HW191D (DFP-0): Internal Single Link TMDS
(II) NVIDIA(0): Display Devices found referenced in MetaMode: CRT-0, DFP-0
(II) NVIDIA(0): Assigned Display Devices: CRT-0, DFP-0
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):   
(II) NVIDIA(0):     "CRT:nvidia-auto-select+0+0,DFP:nvidia-auto-select+1280+0"
(II) NVIDIA(0): Virtual screen size determined to be 2720 x 1024
(--) NVIDIA(0): DPI set to (85, 86); computed from "UseEdidDpi" X config
(--) NVIDIA(0):     option
(**) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(II) NVIDIA(0): Unable to connect to the ACPI daemon; the ACPI daemon may not
(II) NVIDIA(0):     be running or the "AcpidSocketPath" X configuration option
(II) NVIDIA(0):     may not be set correctly.  When the ACPI daemon is
(II) NVIDIA(0):     available, the NVIDIA X driver can use it to receive ACPI
(II) NVIDIA(0):     events.  For details, please see the "ConnectToAcpid" and
(II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
(II) NVIDIA(0):     Config Options in the README.
(II) NVIDIA(0): Setting mode
(II) NVIDIA(0):     "CRT:nvidia-auto-select+0+0,DFP:nvidia-auto-select+1280+0"
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) NVIDIA(0): DPMS enabled
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon Jul 30, 2007 7:21 pm    Post subject: Reply with quote

seems ok
can you also give the output of this:
glxinfo | grep vendor
Back to top
View user's profile Send private message
kephale
n00b
n00b


Joined: 30 Jul 2007
Posts: 10

PostPosted: Mon Jul 30, 2007 7:31 pm    Post subject: Reply with quote

Yeah, this is where it is saying Mesa

Code:
server glx vendor string: Brian Paul
client glx vendor string: Brian Paul
OpenGL vendor string: Brian Paul


nvidia module is loaded though
Code:
$ lsmod | grep nvidia
nvidia               8111992  24
i2c_core               19904  2 nvidia,i2c_nforce2
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon Jul 30, 2007 7:32 pm    Post subject: Reply with quote

and you already did this as root:?

Code:
 # eselect opengl set nvidia
Back to top
View user's profile Send private message
kephale
n00b
n00b


Joined: 30 Jul 2007
Posts: 10

PostPosted: Mon Jul 30, 2007 7:38 pm    Post subject: Reply with quote

Yes, its confusing the buzzungas out of me

Code:
# eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon Jul 30, 2007 7:48 pm    Post subject: Reply with quote

ok;let's look further
Code:
ldd /usr/bin/glxinfo | grep GL
Back to top
View user's profile Send private message
kephale
n00b
n00b


Joined: 30 Jul 2007
Posts: 10

PostPosted: Mon Jul 30, 2007 7:52 pm    Post subject: Reply with quote

Code:
$ ldd /usr/bin/glxinfo | grep GL
        libGLU.so.1 => /usr/local/lib/libGLU.so.1 (0x00002b4542e28000)
        libGL.so.1 => /usr/local/lib/libGL.so.1 (0x00002b4542fad000)
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon Jul 30, 2007 7:55 pm    Post subject: Reply with quote

mine gives here:
Code:
ldd /usr/bin/glxinfo | grep GL
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7e7f000)
        libGL.so.1 => /usr/lib/opengl/nvidia/lib/libGL.so.1 (0xb7de9000)
        libGLcore.so.1 => /usr/lib/opengl/nvidia/lib/libGLcore.so.1 (0xb70d7000)


try to remove the ones in /usr/local (rename them, so you can easily restore them if necessary)

my /usr/local/lib is empty
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Jul 30, 2007 8:06 pm    Post subject: Reply with quote

Been trying to compile xorg manually? We have ebuilds precisely so that you don't need to do that.

Delete the local libs. Run "emerge nvidia-drivers" and "eselect opengl set nvidia" again.
Back to top
View user's profile Send private message
kephale
n00b
n00b


Joined: 30 Jul 2007
Posts: 10

PostPosted: Mon Jul 30, 2007 8:08 pm    Post subject: Reply with quote

I removed them and re-emerged mesa-progs and it put new copies in /usr/local/lib

So then I removed those, and symbolically linked the locations you listed into /usr/local/lib and glxinfo still reads the same vendors

Eep
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon Jul 30, 2007 8:11 pm    Post subject: Reply with quote

I would just try wat PaulBredbury suggests, no need to make symlinks
Back to top
View user's profile Send private message
kephale
n00b
n00b


Joined: 30 Jul 2007
Posts: 10

PostPosted: Mon Jul 30, 2007 8:13 pm    Post subject: Reply with quote

YAY!

the re-emerging of nvidia-drivers worked!

Thank you both!

I'm not sure, that could have been residual stuff from when I did Xorg manually once it became modular, or when I played with mesa to get OSMesa working.

YAAAAAY!!!
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Jul 30, 2007 8:20 pm    Post subject: Reply with quote

Ebuilds do not populate /usr/local/ - perhaps you have some messed-up symlinks in /usr/lib, I can only speculate.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum