Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i810: libGL warning: 3D driver claims to not support visual
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Tue Jun 27, 2006 12:54 am    Post subject: Reply with quote

We are totally drifting away from the topic, please some admin move that away ;)

I totally agree with the last post from BRPXQZME.
At work, I needed to fit a Linux Kernel into a 4MB ARM board.
I just grabbed the latest version of the Linux Kernel from scratch and trimmed and customized to include my drivers.
But on an x86 station, I reckon that Gentoo is the best distro I've used so far, even if a little high maintenance :D
My conclusion is you can use CVS with any distro as long as you know what you're doing. So just use the best one and stick to Gentoo.
Back to top
View user's profile Send private message
punter
Guru
Guru


Joined: 25 Nov 2002
Posts: 506

PostPosted: Tue Jun 27, 2006 2:53 am    Post subject: Reply with quote

moving back to the Xorg topic, and specifically the error mentioned on the subject line.

aren't we (the i810/i915 video chipset owners) using drm & i915 modules from the freedesktop.org for opengl acceleration?

i'm rather confused.... my understanding is as follows, correct me if i'm wrong.

1. we use kernel built-in agp support for the main-board
2. i810 drivers from xf86-video-i810 (modular X) to support the video chipset
3. drm & i915 modules (from freedesktop.org) to attain hardware (3D) acceleration

isn't mesa for software acceleration? where does mesa fit into this picture?

thanks,
shane
Back to top
View user's profile Send private message
BRPXQZME
Apprentice
Apprentice


Joined: 23 Mar 2006
Posts: 163
Location: Centreville, VA

PostPosted: Tue Jun 27, 2006 3:19 am    Post subject: Reply with quote

Not precisely.

According to the Mesa FAQ:
Quote:
1.2 Does Mesa support/use graphics hardware?

Yes. Specifically, Mesa serves as the OpenGL core for the open-source DRI drivers for XFree86/X.org. See the DRI website for more information.

There have been other hardware drivers for Mesa over the years (such as the 3Dfx Glide/Voodoo driver, an old S3 driver, etc) but the DRI drivers are the modern ones.

_________________
Firefox is spelled F-i-r-e-f-o-x - only the first letter capitalized (i.e. not FireFox, not Foxfire, FoxFire or whatever else a number of folk seem to think it to be called.) The preferred abbreviation is "Fx" or "fx".

FF = Final Fantasy.
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Tue Jun 27, 2006 6:20 am    Post subject: Reply with quote

Indeed, Mesa is for dri/opengl support.
If you look at the Mesa source you'll see drivers for dri on various video chipsets, including the i810/i915 driver.
The issue is that the driver for our video chipset included in the mesa source from portage is still incomplete and does not support some visual modes (23... etc).
This makes some applications and games slow or buggy and has been corrected in the CVS version of Mesa (according to Alan Hourihane, official developper for the i810/i915 driver).
This is why we are all waiting for the inclusion of ebuilds with these updated sources into portage (when they will be stable of course :))
Back to top
View user's profile Send private message
punter
Guru
Guru


Joined: 25 Nov 2002
Posts: 506

PostPosted: Tue Jun 27, 2006 12:04 pm    Post subject: Reply with quote

ok, i have my machine configured according to the http://www.gentoo.org/doc/en/dri-howto.xml
and if you check, it mentions little of "mesa".

am i correct in saying that "the x11-drm package in portage supports hardware acceleration for our cards, and the mesa package is a rendering library that makes use of this hardware acceleration" ??

I feel like you guys are saying that mesa itself has hardware acceleration support for our video chipsets... which puts the x11-drm modules, and the mentioned guide at a questionable position.
Back to top
View user's profile Send private message
BRPXQZME
Apprentice
Apprentice


Joined: 23 Mar 2006
Posts: 163
Location: Centreville, VA

PostPosted: Wed Jun 28, 2006 12:08 am    Post subject: Reply with quote

Oh, x11-drm is kernel space, mesa is user space, and never the twain shall meet,
Till NVIDIA and ATI stand presently underneath Bill's feet!

*ahem* (the BRPXQZME does not make any claims to factual accuracy for this probably oversimplified and ill-conceived half-baked post, but only hopes to offer an explanation that simplifies it as best he understands)

Basically, DRI/DRM and OpenGL are very related but not the same. DRM talks straight to the hardware (because it's in the kernel). DRI is how X talks to that (as in "hey, uh, kernel, you handle this cause for some crazy reason they don' want me to take care of graphics from here ;_;"). OpenGL (provided by the Mesa project for most of us Linux users) is how programs talk in 3D, hopefully to hardware, expecting to be able to ignore nearly everything about how the hardware actually works... and if there is no hardware, then EMULATE IT IN SOFTWARE YOU !$@# $%$%#$ (which Mesa obviously does nicely). Mesa happens to also give you 3D OpenGL acceleration by talking to DRM through the DRI (to summarize it all in one sentence). I dunno, maybe I'll just link you to Wikipedia; it's kind of complicated to paraphrase.

The components in portage named x11-drm, libdrm, and mesa all contribute towards getting you better support for accelerated 3D graphics cards if you're using all open-source drivers. Of course, the binary nvidia and ati drivers replace (maybe only some) equivalent parts in x11-drm and mesa and (at the moment :twisted:) do a better job than the open-source drivers because they have all the hardware specs and pros whose job is to work on the code.
_________________
Firefox is spelled F-i-r-e-f-o-x - only the first letter capitalized (i.e. not FireFox, not Foxfire, FoxFire or whatever else a number of folk seem to think it to be called.) The preferred abbreviation is "Fx" or "fx".

FF = Final Fantasy.
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Wed Jun 28, 2006 1:46 am    Post subject: Reply with quote

That sounds correct! Thanks for the nice insight :idea:
Back to top
View user's profile Send private message
punter
Guru
Guru


Joined: 25 Nov 2002
Posts: 506

PostPosted: Sat Jul 01, 2006 9:58 am    Post subject: Reply with quote

i915 dri module users should also track this thread

https://forums.gentoo.org/viewtopic-t-462307.html

for their performance drop. the thread applies to i915 dri module users only
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Mon Jul 03, 2006 10:59 pm    Post subject: Reply with quote

Still no fix? Did anyone submit this to Bugzilla? Let me check
Edit: Tried the new mesa, i915 driver is broken :-(


Last edited by HTS on Wed Jul 12, 2006 3:43 am; edited 2 times in total
Back to top
View user's profile Send private message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 934
Location: we the north

PostPosted: Tue Jul 11, 2006 10:44 pm    Post subject: Reply with quote

any solution yet?
Back to top
View user's profile Send private message
dev-urandom
Apprentice
Apprentice


Joined: 24 Jun 2005
Posts: 260
Location: Huh?

PostPosted: Fri Jul 14, 2006 12:09 pm    Post subject: Reply with quote

None as of now, from what i see. Damn, I am missing google earth :(
_________________
/earth: file system full.
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Fri Jul 14, 2006 7:19 pm    Post subject: Reply with quote

Yes, finally some progress here!
The driver is NOT broken in:
media-libs/mesa-6.5.1_pre20060714

And I only get one of these warnings now:
libGL warning: 3D driver claims to not support visual 0x4b

and Warcraft3 looks much much better! :D
I think the next stable release of mesa will finally fix everything (well I hope so)
Back to top
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Sat Aug 12, 2006 12:21 pm    Post subject: Reply with quote

HTS wrote:
media-libs/mesa-6.5.1_pre20060714


Where's that version from?
_________________
[color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]

[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166]
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Sat Aug 12, 2006 12:58 pm    Post subject: Reply with quote

Now using:
media-libs/mesa-6.5.1_pre20060810
Which now supports all visuals

It is from the portage-xgl overlay (aka xgl-coffee overlay).
But I think you can safely use the overlay just for Mesa if you don't use XGL. (And u can still roll back if not happy).
_________________
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Sun Aug 13, 2006 1:32 am    Post subject: Reply with quote

HTS wrote:
Now using:
media-libs/mesa-6.5.1_pre20060810
Which now supports all visuals

It is from the portage-xgl overlay (aka xgl-coffee overlay).
But I think you can safely use the overlay just for Mesa if you don't use XGL. (And u can still roll back if not happy).


Yep. Works fine. I combine the Intel 1.6.5 driver with the Mesa and Xorg-server from the overlay and X runs just fine.
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 934
Location: we the north

PostPosted: Sun Aug 13, 2006 2:59 am    Post subject: Reply with quote

oh goodie. i am glad these are being ironed out. can't wait to get it running, but i think i will wait until it gets into normal portage. kudos to those solving this!
Back to top
View user's profile Send private message
trumee
Guru
Guru


Joined: 02 Mar 2003
Posts: 551
Location: London,UK

PostPosted: Sun Aug 13, 2006 7:18 am    Post subject: Reply with quote

roderick wrote:
HTS wrote:
Now using:
media-libs/mesa-6.5.1_pre20060810
Which now supports all visuals

It is from the portage-xgl overlay (aka xgl-coffee overlay).
But I think you can safely use the overlay just for Mesa if you don't use XGL. (And u can still roll back if not happy).


Yep. Works fine. I combine the Intel 1.6.5 driver with the Mesa and Xorg-server from the overlay and X runs just fine.



GoogleEarth still doesnt run for me after the mesa upgrade to pre20060810. I get an error:

do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.


any tips?
Back to top
View user's profile Send private message
Peregrine
n00b
n00b


Joined: 16 Jun 2003
Posts: 67

PostPosted: Sun Aug 13, 2006 7:42 am    Post subject: Reply with quote

You may also want to check for updated versions of libdrm and/or x11-drm .. i know I had to play with those when I was having issues with a i915 system
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Sun Aug 13, 2006 10:17 am    Post subject: Reply with quote

Okey, didn't try Google earth for a while. I will test it for you. brb
_________________
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
Back to top
View user's profile Send private message
trumee
Guru
Guru


Joined: 02 Mar 2003
Posts: 551
Location: London,UK

PostPosted: Sun Aug 13, 2006 10:25 am    Post subject: Reply with quote

Peregrine wrote:
You may also want to check for updated versions of libdrm and/or x11-drm .. i know I had to play with those when I was having issues with a i915 system


Unfortunately, installing x11-drm and libdrm didnt solve the problem. It gives the same error. I did a modprobe i915 and restarted X.

#emerge -pv x11-drm libdrm

Calculating dependencies... done!
[ebuild R ] x11-base/x11-drm-20050502 0 kB
[ebuild R ] x11-libs/libdrm-2.1_alpha20060610 USE="-debug" 0 kB [4]

Total size of downloads: 0 kB
Portage overlays:
[4] /usr/local/overlays/xgl-coffee
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Sun Aug 13, 2006 10:29 am    Post subject: Reply with quote

Code:
hts@gentux ~ $ DISPLAY=:93 googleearth
Mesa: CPU vendor: GenuineIntel
Mesa: CPU name:         Intel(R) Pentium(R) M processor 1.73GHz
Mesa: MMX cpu detected.
Mesa: SSE cpu detected.
Mesa: Not testing OS support for SSE, leaving enabled.
hts@gentux ~ $
NB: Running on display93 because of XGL using dri on my display.
Wow it is incredibly smooth, as never before.
I'm not sure which package you miss...

Wild Guess: probably your xorg-server or your i810 driver?
I am using:
x11-drivers/xf86-video-i810-1.6.5
x11-libs/libdrm-2.0.2
media-libs/mesa-6.5.1_pre20060810
x11-base/xorg-server-1.1.99.3_pre20060802
x11-base/x11-drm-20060608
_________________
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
Back to top
View user's profile Send private message
trumee
Guru
Guru


Joined: 02 Mar 2003
Posts: 551
Location: London,UK

PostPosted: Sun Aug 13, 2006 2:05 pm    Post subject: Reply with quote

How did you unmask the xorg-server?

My installation is as follows:

x11-drivers/xf86-video-i810-1.6.5
x11-libs/libdrm-2.1_alpha20060610
media-libs/mesa-6.5.1_pre20060810
x11-base/xorg-server-1.1.1-r1
x11-base/x11-drm-20060608
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Tue Aug 15, 2006 12:45 am    Post subject: Reply with quote

Code:
echo "x11-base/xorg-server" >> /etc/portage/package.unmask
echo "x11-base/xorg-server    -*" >> /etc/portage/package.keywords


EDIT: ops, sorry I blundered, corrected now
_________________
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
Back to top
View user's profile Send private message
fisch.auge
n00b
n00b


Joined: 15 Aug 2006
Posts: 57
Location: Saarbrücken, Germany

PostPosted: Tue Aug 15, 2006 3:28 pm    Post subject: Reply with quote

hi,

I've got the same problems...
I updated to:
x11-drivers/xf86-video-i810-1.6.5
x11-libs/libdrm-2.0.2
media-libs/mesa-6.5.1_pre20060810
x11-base/xorg-server-1.1.99.3_pre20060802
x11-base/x11-drm-20060608

but googleearth won't work.
glxinfo prints the following message:

Code:
localhost fisch # glxinfo
name of display: :0.0
Mesa: CPU vendor: GenuineIntel
Mesa: CPU name:         Intel(R) Pentium(R) M processor 1.73GHz
Mesa: MMX cpu detected.
Mesa: SSE cpu detected.
Mesa: Not testing OS support for SSE, leaving enabled.
libGL error:
Can't open configuration file /etc/drirc: No such file or directory.
libGL error:
Can't open configuration file /root/.drirc: No such file or directory.
display: :0  screen: 0
direct rendering: Yes


is there a connection between this lines
Code:

libGL error:
Can't open configuration file /etc/drirc: No such file or directory.
libGL error:
Can't open configuration file /root/.drirc: No such file or directory.

and the slowly googleearth?
what I have to install to solve it?
My current kernelversion is gentoo-sources-2.6.17-r4...

i hope you can help me, too.
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Tue Aug 15, 2006 3:49 pm    Post subject: Reply with quote

Well since you have exactly the same packages as me, I don't see what's missing...
Do you run googleearth as a user? (don't run it as root).
_________________
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
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 Previous  1, 2, 3  Next
Page 2 of 3

 
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