LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-30-2010, 10:04 PM   #1
conartist6
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Rep: Reputation: 0
GMA X3100 Glx/Direct Rendering under intel driver


Afaik this card should be capable of direct rendering, correct? The card's spec indicates that it supports OpenGL1.5 (wimpy next to its DX10 and Shader Model 4.0 specs...). Currently glxinfo says that direct rendering is not on, and that the Mesa driver is being used. xorg.conf
Code:
Section "Module"
#contains
        Load  "dbe"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dri2"
End Section
Code:
Section "Device"
#contains
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel"
        BoardName   "965G"
        BusID       "PCI:0:2:0"
End Section
Everything works perfectly except that apps that try to make direct rendering calls (blender is the only one I care about, and it works fine in softwaregl mode, but I need hardware support for it and I care about setting this right) Is anything wrong here? Why can't I get direct rendering enabled?

-conartist6
 
Old 08-30-2010, 10:11 PM   #2
conartist6
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Sigh. http://dri.freedesktop.org/wiki/DriTroubleshooting. Seems xorg is linking to the wrong libGL.
 
Old 08-30-2010, 10:22 PM   #3
conartist6
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
"If it isn't [showing LIBGL_DEBUG=verbose info], you have replaced your X.Org-provided libGL with some other libGL, or it's finding an old libGL from somewhere. Run ldd /usr/X11R6/bin/glxinfo and see which libGL it's finding. Make sure it's the one in /usr/X11R6/lib/libGL, or a link in /usr/lib to the one in /usr/X11R6/lib. You shouldn't have any libMesaGL* on your system.

I tried setting the LIBGL_DRIVERS_PATH environment variable to /usr/X11R6/lib/modules/dri before loading X, but I still get no debug info. I double checked to make sure the var was actually set, and it was, but ldd still reports that glxinfo is finding /usr/lib64/libGL.so.1, which is a symlink to libGL.so.190.42, which would be an nVidia library, which explains why dri is borked. Now the only question is: how do I fix it?
 
Old 08-30-2010, 10:54 PM   #4
conartist6
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Ok, fixed that with a symlink. Not the most elegant, but it works. Still no joy tho. That driver is now correctly /usr/X11R6/lib64/libGL.so.1.2, however it is looking for the proper dri module in the incorrect location! /usr/X11R6/lib/dri/ instead of the lib64 variant of that path. I guess another symlink is in order but gosh darn it can anybody tell me how to set all these things correctly so that I'm not hacking things together? Hacking things together doesn't seem to be as bad an idea in Slack as it is in more managed os's, but I still don't like it. Kthx.
 
  


Reply

Tags
dri, glx, x3100


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
Intel GMA X3100 is not supported in Red Hat Linux? Bondxxx Red Hat 8 09-16-2009 02:09 PM
Intel GMA X3100 VESA no valid modes lzcn Red Hat 16 06-08-2009 04:36 PM
Intel Graphics Media Accelerator (GMA) X3100 and OpenGL 2.0? falcon56215 Linux - Laptop and Netbook 0 06-20-2008 11:24 AM
Intel GMA X3100 with Fedora core 7 shibdas Linux - Hardware 2 02-07-2008 09:35 AM
OpenGL Flicker on Intel GMA X3100 Kaboosh Linux - Desktop 2 01-21-2008 05:20 AM

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

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