View previous topic :: View next topic |
Author |
Message |
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Tue Jun 27, 2006 12:54 am Post subject: |
|
|
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
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 |
|
|
punter Guru
Joined: 25 Nov 2002 Posts: 506
|
Posted: Tue Jun 27, 2006 2:53 am Post subject: |
|
|
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 |
|
|
BRPXQZME Apprentice
Joined: 23 Mar 2006 Posts: 163 Location: Centreville, VA
|
Posted: Tue Jun 27, 2006 3:19 am Post subject: |
|
|
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 |
|
|
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Tue Jun 27, 2006 6:20 am Post subject: |
|
|
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 |
|
|
punter Guru
Joined: 25 Nov 2002 Posts: 506
|
Posted: Tue Jun 27, 2006 12:04 pm Post subject: |
|
|
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 |
|
|
BRPXQZME Apprentice
Joined: 23 Mar 2006 Posts: 163 Location: Centreville, VA
|
Posted: Wed Jun 28, 2006 12:08 am Post subject: |
|
|
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 ) 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 |
|
|
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Wed Jun 28, 2006 1:46 am Post subject: |
|
|
That sounds correct! Thanks for the nice insight |
|
Back to top |
|
|
punter Guru
Joined: 25 Nov 2002 Posts: 506
|
|
Back to top |
|
|
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Mon Jul 03, 2006 10:59 pm Post subject: |
|
|
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 |
|
|
juniper l33t
Joined: 22 Oct 2004 Posts: 943 Location: we the north
|
Posted: Tue Jul 11, 2006 10:44 pm Post subject: |
|
|
any solution yet? |
|
Back to top |
|
|
dev-urandom Apprentice
Joined: 24 Jun 2005 Posts: 260 Location: Huh?
|
Posted: Fri Jul 14, 2006 12:09 pm Post subject: |
|
|
None as of now, from what i see. Damn, I am missing google earth _________________ /earth: file system full. |
|
Back to top |
|
|
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Fri Jul 14, 2006 7:19 pm Post subject: |
|
|
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!
I think the next stable release of mesa will finally fix everything (well I hope so) |
|
Back to top |
|
|
nelchael Retired Dev
Joined: 20 Mar 2004 Posts: 1948 Location: /dev/drzewo
|
Posted: Sat Aug 12, 2006 12:21 pm Post subject: |
|
|
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 |
|
|
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Sat Aug 12, 2006 12:58 pm Post subject: |
|
|
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 |
|
|
roderick l33t
Joined: 11 Jul 2005 Posts: 908 Location: St. John's, NL CANADA
|
Posted: Sun Aug 13, 2006 1:32 am Post subject: |
|
|
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 |
|
|
juniper l33t
Joined: 22 Oct 2004 Posts: 943 Location: we the north
|
Posted: Sun Aug 13, 2006 2:59 am Post subject: |
|
|
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 |
|
|
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Sun Aug 13, 2006 7:18 am Post subject: |
|
|
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 |
|
|
Peregrine n00b
Joined: 16 Jun 2003 Posts: 67
|
Posted: Sun Aug 13, 2006 7:42 am Post subject: |
|
|
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 |
|
|
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Sun Aug 13, 2006 10:17 am Post subject: |
|
|
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 |
|
|
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Sun Aug 13, 2006 10:25 am Post subject: |
|
|
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 |
|
|
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Sun Aug 13, 2006 10:29 am Post subject: |
|
|
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 |
|
|
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Sun Aug 13, 2006 2:05 pm Post subject: |
|
|
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 |
|
|
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Tue Aug 15, 2006 12:45 am Post subject: |
|
|
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 |
|
|
fisch.auge n00b
Joined: 15 Aug 2006 Posts: 57 Location: Saarbrücken, Germany
|
Posted: Tue Aug 15, 2006 3:28 pm Post subject: |
|
|
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 |
|
|
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Tue Aug 15, 2006 3:49 pm Post subject: |
|
|
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 |
|
|
|