Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenGL installed incorrectly
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
emitrax
Apprentice
Apprentice


Joined: 03 Nov 2004
Posts: 166

PostPosted: Thu Jul 27, 2006 4:20 pm    Post subject: OpenGL installed incorrectly Reply with quote

How do I check that opengl is installed correctly?

Apparently both matlab and googleearth complain about opengl.

I get this from matlab
matlab wrote:

Warning: Could not query OpenGL.
Warning: OpenGL appears to be installed incorrectly.


and this from googleearth
googleearth wrote:
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x31
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.



The latest software in particular, runs VERY slowly on this pc, while it runs ok on the computer with nvidia and opengl.
On this one I have an i945GM perfectly working.

Any hints?

emitrax
Back to top
View user's profile Send private message
bur
Apprentice
Apprentice


Joined: 20 Feb 2004
Posts: 229

PostPosted: Thu Jul 27, 2006 4:59 pm    Post subject: Reply with quote

libGL belongs to media-libs/mesa, you could try remerging it. After doing so, see what OpenGL implementations are available at your system: "eselect opengl list" and then set the one that fits your graphic card with "eselect opengl set your_card". If you're unsure post the output of "eselect opengl list".

edit: Is the VIDEO_CARDS flag in make.conf set properly? I'm not sure though which one is needed for your card.
Back to top
View user's profile Send private message
emitrax
Apprentice
Apprentice


Joined: 03 Nov 2004
Posts: 166

PostPosted: Thu Jul 27, 2006 5:50 pm    Post subject: Reply with quote

Code:
emitrax@xartime ~ $ eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *
emitrax@xartime ~ $


The VIDEO_CARDS is set properly to i810, as the howto for my cards suggested.
I'll try to reemerge mesa as you said.

EDIT:
I reemerged mesa, but I still have the same problem.

Thanks.

UPDATE: After a reboot

googleearth wrote:
ERROR! sizeof(I830DRIRec) does not match passed size from device driver
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering


Despite the error, googleearth runs more quickly! Matlab warnings persist.
Back to top
View user's profile Send private message
bur
Apprentice
Apprentice


Joined: 20 Feb 2004
Posts: 229

PostPosted: Thu Jul 27, 2006 10:15 pm    Post subject: Reply with quote

I'm not sure if it's different for Intel chips, but with my nvidia card eselect says:
Code:

buren ~ # eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11
buren ~ #

So there is a "customized" selection as opposed to the generic x11-driver.
Back to top
View user's profile Send private message
emitrax
Apprentice
Apprentice


Joined: 03 Nov 2004
Posts: 166

PostPosted: Fri Jul 28, 2006 7:25 am    Post subject: Reply with quote

Don't know what to say. I only have that one.

Thanks anyway.
Back to top
View user's profile Send private message
tsuru
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 99
Location: Nashville, Tennessee, USA

PostPosted: Fri Jul 28, 2006 8:46 am    Post subject: Reply with quote

What version of xorg-x11 are you using? Have you configured DRM in the kernel correctly? If willing to do ~x86, have you tried installing x11-drm?

I would refer you to the open-source ATI and DRI howto on gentoo-wiki: http://gentoo-wiki.com/HOWTO_DRI_with_ATi_Open-Source_Drivers for a frame work on how to get the i810 working...the x11-drm package has i810 drivers. But to me if it's a problem of not getting hardware acceleration, I'd say to check the kernel config and your /etc/X11/xorg.conf file...
Back to top
View user's profile Send private message
pauldv
Retired Dev
Retired Dev


Joined: 12 Jul 2002
Posts: 44
Location: Bournemouth England

PostPosted: Fri Jul 28, 2006 8:46 am    Post subject: Reply with quote

If you want to know whether GL is accelerated use:
Code:
glxinfo
You may have to emerge this if you run modular. It is part of x11-apps/mesa-progs
_________________
Paul de Vrieze
Gentoo Developer


Last edited by pauldv on Sun Jul 30, 2006 1:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
emitrax
Apprentice
Apprentice


Joined: 03 Nov 2004
Posts: 166

PostPosted: Fri Jul 28, 2006 11:46 am    Post subject: Reply with quote

Code:
emitrax@xartime ~ $ glxinfo  | grep -i opengl

ERROR!  sizeof(I830DRIRec) does not match passed size from device driver
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5)
OpenGL extensions:


Yes, I have ~xorg-x11 installed as you can see from my package.keywords

cat package.keywords wrote:
sys-apps/855resolution ~x86
x11-base/xorg-x11 ~x86


Basically I followed this guide to get my video card working.

I don't have x11-drm installed though.

Kernel seems to be configured correctly to me


grep wrote:
emitrax@xartime ~ $ grep -i drm /usr/src/linux/.config
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
CONFIG_DRM_I915=y
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set



One more thing
glxgears wrote:

emitrax@xartime ~ $ glxgears

ERROR! sizeof(I830DRIRec) does not match passed size from device driver
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
1317 frames in 5.3 seconds = 247.573 FPS
1254 frames in 5.2 seconds = 240.562 FPS
1368 frames in 5.2 seconds = 261.088 FPS
1368 frames in 5.2 seconds = 260.613 FPS
1368 frames in 5.3 seconds = 257.443 FPS


Shall I install x11-drm ?
Back to top
View user's profile Send private message
pauldv
Retired Dev
Retired Dev


Joined: 12 Jul 2002
Posts: 44
Location: Bournemouth England

PostPosted: Fri Jul 28, 2006 12:42 pm    Post subject: Reply with quote

emitrax wrote:
Code:
emitrax@xartime ~ $ glxinfo  | grep -i opengl

ERROR!  sizeof(I830DRIRec) does not match passed size from device driver
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering


Here is your first indication. What this means in short is a mismatch between versions.

emitrax wrote:

Yes, I have ~xorg-x11 installed as you can see from my package.keywords

cat package.keywords wrote:
sys-apps/855resolution ~x86
x11-base/xorg-x11 ~x86


...

Shall I install x11-drm ?

Don't just yet.

What seems to have happened is that you package.keywords is too small. Remember that xorg-x11-7.1 is no longer monolithic, but consists of many parts. All those parts must be used in the testing version. Especially your video driver.
_________________
Paul de Vrieze
Gentoo Developer
Back to top
View user's profile Send private message
emitrax
Apprentice
Apprentice


Joined: 03 Nov 2004
Posts: 166

PostPosted: Sat Jul 29, 2006 8:55 am    Post subject: Reply with quote

eix wrote:
emitrax@xartime /usr/portage/x11-drivers $ eix xf86-video-i810
* x11-drivers/xf86-video-i810
Available versions: 1.4.1.3 ~1.6.0
Installed: 1.6.0
Homepage: http://xorg.freedesktop.org/
Description: X.Org driver for i810 cards



As you can see even my video driver is unmasked. I'll try to update mesa to unstable version.

EDIT:
I upgraded mesa to unstable version. I don't get that error from googleearth anymore, but the application got slower!

googleearth wrote:

emitrax@xartime ~ $ googleearth
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x31
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.


Error's matlab persist.
Back to top
View user's profile Send private message
tsuru
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 99
Location: Nashville, Tennessee, USA

PostPosted: Sun Jul 30, 2006 12:18 am    Post subject: Reply with quote

Alright, as a test to see if all the packages of your 7.1 installation were installed, run this:
Code:
ACCEPT_KEYWORDS="~x86" emerge x11-org -Duvp


This might return a lot of irrelevant ~x86 packages but if you see any that are "x11-base" those should be added to your packages.keyword file.
Back to top
View user's profile Send private message
emitrax
Apprentice
Apprentice


Joined: 03 Nov 2004
Posts: 166

PostPosted: Sun Jul 30, 2006 11:31 am    Post subject: Reply with quote

emerge wrote:
emitrax@xartime ~ $ ACCEPT_KEYWORDS=~x86 emerge xorg-x11 -Duvp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[blocks B ] <dev-java/java-config-1.3 (is blocking dev-java/java-config-wrapper-0.10-r2)

[blocks B ] sys-apps/coldplug (is blocking sys-fs/udev-096-r1)
[ebuild U ] sys-devel/gettext-0.14.6 [0.14.5] USE="doc* nls -emacs -nocxx" 6,935 kB
[ebuild U ] sys-libs/ncurses-5.5-r3 [5.5-r2] USE="doc* gpm unicode -bootstrap -build -debug -minimal -nocxx -trace%" 0 kB
[ebuild U ] sys-apps/texinfo-4.8-r4 [4.8-r2] USE="nls -build -static" 0 kB
[ebuild U ] sys-apps/groff-1.19.2-r1 [1.19.1-r2] USE="X" 2,835 kB
[ebuild U ] sys-kernel/linux-headers-2.6.11-r5 [2.6.11-r2] USE="-gcc64" 21 kB
[ebuild U ] app-shells/bash-3.1_p17 [3.1_p16] USE="nls -afs -bashlogger -build" 3 kB
[ebuild N ] dev-python/python-docs-2.4.3 2,296 kB
[ebuild U ] dev-libs/expat-2.0.0 [1.95.8] 440 kB
[ebuild U ] sys-apps/sed-4.1.5 [4.1.4-r1] USE="nls -bootstrap -build -static" 780 kB
[ebuild U ] perl-core/Test-Simple-0.64 [0.62] USE="perl% -minimal%" 69 kB
[ebuild U ] virtual/perl-Test-Simple-0.64 [0.62] 0 kB
[ebuild U ] sys-apps/help2man-1.36.4 [1.33.1] USE="nls" 83 kB
[ebuild U ] sys-devel/autoconf-2.60 [2.59-r7] USE="-emacs" 1,334 kB
[ebuild U ] sys-devel/autoconf-wrapper-3.2-r2 [3.2] 0 kB
[ebuild U ] sys-devel/gnuconfig-20060702 [20060227] 38 kB
[ebuild U ] sys-apps/coreutils-5.97 [5.94-r1] USE="nls -acl -static" 5,007 kB
[ebuild U ] dev-python/docutils-0.4 [0.3.7] USE="-emacs -glep" 1,208 kB
[ebuild N ] app-admin/eselect-compiler-2.0.0_rc2-r1 USE="hardened" 114 kB
[ebuild U ] sys-devel/gcc-config-2.0.0_rc1 [1.3.13-r3] 114 kB
[ebuild U ] sys-devel/binutils-2.17 [2.16.1] USE="multislot* nls -multitarget -test -vanilla%" 13,482 kB
[ebuild U ] x11-misc/util-macros-1.1.0 [1.0.2] USE="-debug" 42 kB
[ebuild U ] x11-proto/xproto-7.0.7 [7.0.5] USE="-debug" 130 kB
[ebuild U ] app-portage/portage-utils-0.1.20 [0.1.18] USE="python" 63 kB
[ebuild N ] dev-java/java-config-wrapper-0.10-r2 5 kB
[ebuild NS ] dev-java/java-config-2.0.26-r4 0 kB
[ebuild U ] dev-java/java-config-1.3.0-r2 [1.2.11-r1] 0 kB
[ebuild U ] media-libs/libpng-1.2.12-r1 [1.2.12] USE="doc*" 0 kB
[ebuild U ] sys-apps/sandbox-1.2.18.1 [1.2.17] 231 kB
[ebuild N ] app-portage/portage-manpages-1.2 17 kB
[ebuild U ] dev-libs/gmp-4.2.1 [4.1.4-r3] USE="doc* -nocxx" 2,659 kB
[ebuild U ] sys-apps/portage-2.1.1_pre4 [2.1-r1] USE="doc* -build" LINGUAS="-pl" 284 kB
*** Portage will stop merging at this point and reload itself,
then resume the merge.
[ebuild U ] dev-lang/tk-8.4.13 [8.4.9] USE="threads -debug%" 3,176 kB
[ebuild U ] media-libs/libsvg-0.1.4 [0.1.2] 358 kB
[ebuild U ] dev-libs/libgpg-error-1.3 [1.0-r1] USE="nls" 561 kB
[ebuild U ] app-text/sgml-common-0.6.3-r5 [0.6.3-r4] 0 kB
[ebuild U ] app-text/docbook-xsl-stylesheets-1.70.1 [1.68.1-r1] 1,589 kB
[ebuild U ] app-arch/unzip-5.52-r1 [5.52] 0 kB
[ebuild U ] app-text/docbook-xml-dtd-4.2-r2 [4.2-r1] 0 kB
[ebuild U ] sys-apps/util-linux-2.12r-r4 [2.12r-r3] USE="crypt nls perl -old-crypt -static" 165 kB
[ebuild U ] app-text/opensp-1.5.2 [1.5.1] USE="doc% nls" 1,485 kB
[ebuild U ] x11-libs/cairo-1.2.0 [1.0.4] USE="X doc* pdf% png svg% -directfb% -glitz" 2,597 kB
[ebuild U ] media-gfx/graphviz-2.8 [1.16-r1] USE="X% cairo% tcltk -minimal% -static%" 4,143 kB
[ebuild U ] x11-libs/motif-config-0.10 [0.9] 0 kB
[ebuild U ] x11-libs/libdrm-2.0.2 [2.0.1] USE="-debug" 373 kB
[ebuild U ] dev-libs/atk-1.12.1 [1.11.4] USE="doc* -debug" 626 kB
[ebuild U ] x11-libs/libXfont-1.2.0 [1.1.0-r1] USE="ipv6 -debug" 577 kB
[ebuild U ] app-arch/rpm2targz-9.0-r5 [9.0-r3] 0 kB
[ebuild U ] sys-libs/libutempter-1.1.4.1 [1.1.2.1] 21 kB
[ebuild U ] x11-terms/xterm-215-r1 [215] USE="truetype unicode -Xaw3d -paste64% -toolbar" 0 kB
[ebuild U ] x11-misc/shared-mime-info-0.18 [0.17-r2] 585 kB
[ebuild U ] x11-libs/gtk+-2.8.20-r1 [2.8.19] USE="X doc* jpeg tiff -debug -xinerama" 11,960 kB
[ebuild U ] app-doc/doxygen-1.4.7 [1.4.4] USE="doc* -qt3 -tetex" 2,859 kB
[ebuild U ] sys-devel/make-3.81 [3.80-r4] USE="nls -static" 1,124 kB
[ebuild U ] sys-apps/baselayout-1.12.1 [1.11.15-r3] USE="unicode -bootstrap -build -static" 210 kB
[ebuild U ] sys-fs/udev-096-r1 [087-r1] 189 kB
[ebuild NS ] sys-kernel/gentoo-sources-2.6.17-r4 USE="-build -symlink" 40,472 kB
[ebuild U ] media-sound/alsa-headers-1.0.12_rc1 [1.0.11] 2,339 kB
[ebuild U ] media-libs/alsa-lib-1.0.12_rc1 [1.0.11] USE="doc*" 688 kB
[ebuild NS ] dev-java/sun-jdk-1.5.0.07-r2 USE="X alsa examples nsplugin -doc -jce" 47,949 kB
[ebuild NS ] virtual/jdk-1.5.0 0 kB
[ebuild U ] sys-devel/bc-1.06.94 [1.06-r6] USE="readline -libedit% -static" 276 kB
[ebuild U ] sys-devel/bison-2.2 [2.1] USE="nls -static" 1,052 kB
[ebuild N ] dev-libs/mpfr-2.2.0_p14 738 kB
[ebuild NS ] sys-devel/gcc-4.1.1 USE="doc fortran gcj gtk hardened multislot nls -bootstrap -build -ip28 -ip32r10k -mudflap -nocxx -objc -objc++ -objc-gc -vanilla" 38,302 kB
[ebuild U ] dev-dotnet/libgdiplus-1.1.16.1 [1.1.13.2] USE="gif jpeg png tiff" 1,738 kB
[ebuild U ] dev-lang/mono-1.1.16.1 [1.1.13.6] USE="X nptl" 18,667 kB
[ebuild U ] dev-lang/swig-1.3.29 [1.3.25] USE="doc* guile java mono% perl python -lua% -ocaml% -php -pike% -ruby -tcl -tk" 3,923 kB
[ebuild U ] sys-libs/libcap-1.10-r8 [1.10-r5] USE="python" 0 kB
[ebuild U ] sys-libs/timezone-data-2006g [2006a] 331 kB
[ebuild U ] sys-libs/glibc-2.4-r3 [2.3.6-r4] USE="hardened nls nptl -build -glibc-omitfp -nptlonly -profile" 15,756 kB
[ebuild U ] dev-lang/tcl-8.4.13 [8.4.9] USE="threads -debug%" 3,431 kB
[ebuild NS ] virtual/jre-1.5.0 0 kB
[ebuild NS ] sys-libs/db-4.3.29-r2 USE="doc java tcltk -bootstrap -nocxx" 5,960 kB
[ebuild U ] x11-proto/kbproto-1.0.3 [1.0.2] USE="-debug" 56 kB
[ebuild U ] x11-libs/libX11-1.0.3 [1.0.1-r1] USE="ipv6 -debug" 1,415 kB
[ebuild U ] perl-core/Test-Harness-2.62 [2.56] USE="perl -minimal" 67 kB
[ebuild U ] app-admin/perl-cleaner-1.04.1 [1.04] 5 kB
[ebuild U ] perl-core/PodParser-1.34 [1.32] USE="perl -minimal" 93 kB

Total size of downloads: 254,078 kB
emitrax@xartime ~ $



None.

Damn I gotta fix this problem!

Thanks a lot guys for your time!

What next? :wink:
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2071

PostPosted: Sun Jul 30, 2006 11:55 am    Post subject: Reply with quote

pauldv wrote:
If you want to know whether GL is accelerated use:
Code:
glxinfo
You may have to emerge this if you run modular.

Code:
# eix glxinfo

Found 0 matches

?
Back to top
View user's profile Send private message
pauldv
Retired Dev
Retired Dev


Joined: 12 Jul 2002
Posts: 44
Location: Bournemouth England

PostPosted: Sun Jul 30, 2006 1:53 pm    Post subject: Reply with quote

Q-collective wrote:

Code:
# eix glxinfo

Found 0 matches

?

It is in x11-apps/mesa-progs.
_________________
Paul de Vrieze
Gentoo Developer
Back to top
View user's profile Send private message
benklopfen
n00b
n00b


Joined: 02 Aug 2006
Posts: 3
Location: Colorado, USA

PostPosted: Wed Aug 02, 2006 10:01 am    Post subject: Possible solution? Reply with quote

I am using the same driver, and upgraded mesa as well, getting the same errors. using
Code:
equery d mesa

i determined that xorg-server depends on mesa, so it might need to be re-merged... i am about to restart X and see what effect this had, will report!
note: equery is in the gentoolkit package

EDIT:

when i upgrade xorg-server to the latest unstable version, this all works! i have direct rendering!
i thikn this is because to upgrade xorg-server, x11-drivers/xf86-video-i810, among other drivers, had to be rebuilt as well. you might be able to rebuild just the i810 driver package to make this work.


Last edited by benklopfen on Wed Aug 02, 2006 6:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
pauldv
Retired Dev
Retired Dev


Joined: 12 Jul 2002
Posts: 44
Location: Bournemouth England

PostPosted: Wed Aug 02, 2006 10:41 am    Post subject: Reply with quote

Take a look at this website. It might be helpful: http://dri.freedesktop.org/wiki/DriTroubleshooting
_________________
Paul de Vrieze
Gentoo Developer
Back to top
View user's profile Send private message
emitrax
Apprentice
Apprentice


Joined: 03 Nov 2004
Posts: 166

PostPosted: Thu Aug 03, 2006 12:19 pm    Post subject: Re: Possible solution? Reply with quote

benklopfen wrote:

EDIT:

when i upgrade xorg-server to the latest unstable version, this all works! i have direct rendering!
i thikn this is because to upgrade xorg-server, x11-drivers/xf86-video-i810, among other drivers, had to be rebuilt as well. you might be able to rebuild just the i810 driver package to make this work.


Do you have my same video card?

Thanks. I'll try to re-emerge xorg-x11 and I'll you guys know.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Fri Aug 04, 2006 6:36 pm    Post subject: Reply with quote

I don't want to hijack this thread, but I think I'm having similar problems. After my upgrade to the modular xorg, it looks like DRI has went away.
Code:
glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

I'm not really sure what is going on, I didn't have my xorg.conf since the last version, and before I had direct rendering. There are no errors about dri in my Xorg.0.log either.

I manually loaded the dri and i810 kernel modules and then restarted X, but this didn't seem to enable it either.

Any ideas? I wanted to avoid posting any long irrelivant logs/configs, but if someone wants to see one I'll post it.

(I'm running the unstable i810/mesa/xorg-server, as I needed this for X to load, for some reason.)
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Fri Aug 04, 2006 6:41 pm    Post subject: Reply with quote

What does xdriinfooutput?
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Fri Aug 04, 2006 7:08 pm    Post subject: Reply with quote

Kenji Miyamoto wrote:
What does xdriinfooutput?
Here is my output:
Code:
$ xdriinfo
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
Screen 0: not direct rendering capable.
Back to top
View user's profile Send private message
emitrax
Apprentice
Apprentice


Joined: 03 Nov 2004
Posts: 166

PostPosted: Fri Aug 04, 2006 9:40 pm    Post subject: Reply with quote

Kenji Miyamoto wrote:
What does xdriinfooutput?


Quote:
emitrax@xartime ~ $ glxinfo | grep direct
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x31
direct rendering: Yes
emitrax@xartime ~ $ xdriinfo
Screen 0: i915
emitrax@xartime ~ $



Still having the same problem.
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Fri Aug 04, 2006 9:45 pm    Post subject: Reply with quote

It looks like something is working for you, emitrax. I can't explain you issue with OpenGL, though.

mikegpitt, do you have USE="dri" for all Xorg ebuilds that use it, along with libdrm and x11-drm compiled with your driver in VIDEO_CARDS?
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Fri Aug 04, 2006 10:33 pm    Post subject: Reply with quote

Kenji Miyamoto wrote:
mikegpitt, do you have USE="dri" for all Xorg ebuilds that use it, along with libdrm and x11-drm compiled with your driver in VIDEO_CARDS?
I did have the drm use flag enables, since I believe it is enabled by default. Jsut to make sure I put it in my make.conf and ran an "emerge -pv --newuse world", and no hits for dri came up, so it looks like that is fine.

I did have libdrm installed, however I didn't have x11-drm. Right now I am re-emerging libdrm and emerging x11-drm. Is this package suppose to be installed by a USE flag? If so, I don't have that particular use flag enabled.

EDIT: My x11-drm package failed:
Code:
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_agpsupport.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_scatter.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_memory_debug.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/ati_pcigart.o
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/ati_pcigart.c: In function `drm_ati_free_pcigart_table':
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/ati_pcigart.c:87: error: structure has no member named `count'
make[2]: *** [/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/ati_pcigart.o] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-drm-20050502/work/drm/linux-core] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17-suspend2-r3'
make: *** [modules] Error 2
 * Portage could not build the DRM modules. If you see an ACCESS DENIED error,
 * this could mean that you were using an unsupported kernel build system. All
 * 2.4 kernels are supported, but only 2.6 kernels at least as new as 2.6.6
 * are supported.

!!! ERROR: x11-base/x11-drm-20050502 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  x11-drm-20050502.ebuild, line 94:   Called die_error
  x11-drm-20050502.ebuild, line 211:   Called die

!!! Unable to build DRM modules.
!!! If you need support, post the topmost build error, and the call stack if relevant

Maybe there is something wrong with my kernel also.


EDIT 2: Nothing wrong with the kernel. You can't use both the kernel drm and x11-drm at the same time. So that begs the question, which one is better? I woudl prefer to use the kernel drm, since I hate updating modules everytime I upgrade my kernel.
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Sat Aug 05, 2006 12:28 am    Post subject: Reply with quote

You must have the video driver you want under VIDEO_CARDS, and you should add dri to your USE anyway. Once having done both, do an emerge -newuse, then emerge x11-drm.
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
pauldv
Retired Dev
Retired Dev


Joined: 12 Jul 2002
Posts: 44
Location: Bournemouth England

PostPosted: Sat Aug 05, 2006 9:56 am    Post subject: Reply with quote

Kenji Miyamoto wrote:
You must have the video driver you want under VIDEO_CARDS, and you should add dri to your USE anyway. Once having done both, do an emerge -newuse, then emerge x11-drm.

Don't forget to enable dri in your X configuration file. And take a look at the dri troubleshooting page.
_________________
Paul de Vrieze
Gentoo Developer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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