View Full Version : xf86-video-ati 6.9.0 RC2 Driver Released
phoronix
06-25-2008, 09:30 AM
Phoronix: xf86-video-ati 6.9.0 RC2 Driver Released
Twelve days after the first xf86-video-ati 6.9.0 Release Candidate, the second RC release is now available for testing. Since xf86-video-ati 6.9.0-rc1, the man page has been updated, a ShadowFB R600 fix, PLL tweaks, a possible fix for VGA on ATI IGP chipsets, warning fixes, cleanups, and other work...
http://www.phoronix.com/vr.php?view=NjU0Ng
mityukov
06-25-2008, 09:37 AM
What about 3D support for R500+?..
Is it in this git, or there is another "experimental" branch? :rolleyes:
Michael
06-25-2008, 09:42 AM
What about 3D support for R500+?..
Is it in this git, or there is another "experimental" branch? :rolleyes:
That's in Mesa/Mesa and Mesa/DRM branches. xf86-video-ati is the DDX driver.
Well what surprises me is that it already runs Compiz better than fglrx (there's nearly no flickering and I can move video players *with* the video that is being played) for me...
http://d2kx-world.de/pictures/fedora-r500-opensource.png
myxal
06-25-2008, 10:33 AM
This is a bit off-topic, but can we please get some coverage (and 2nd opinion ;) ) on VIA's latest source patch on linux.via.com.tw ? :confused: It seems to be something about support for *chrome in DRM or whatever...
mityukov
06-25-2008, 01:28 PM
That's in Mesa/Mesa and Mesa/DRM branches. xf86-video-ati is the DDX driver.
Isn't MESA contains software rendering implementation?..
(and I had problems some time ago, when glxinfo reported "Mesa", that meant I didn't have DRI with fgrlx).
Where can I read more about it?
Another question: what uses Compiz in the article author's system? I heard there isn't AIGLX support yet, in the open-source drivers.
( http://phoronix.com/forums/showpost.php?p=32602&postcount=1 )
, at least with "stable" xserver..
P.S.: it would be really helpful for me to read an article, explaining all this MESA/AIGLX/DRI stuff for dumbs ;-) Has anybody a link?
oblivious_maximus
06-25-2008, 05:04 PM
the radeon driver (part of xf86-video-ati) has had AIGLX for ages according to wikipedia (which also has other answers for you):
http://en.wikipedia.org/wiki/Mesa_3D)
http://en.wikipedia.org/wiki/Direct_Rendering_Infrastructure
http://en.wikipedia.org/wiki/Aiglx
edit: Mesa link was to the disamiguation page... d'oh!
bridgman
06-25-2008, 05:27 PM
Mityukov, if you want to actually see and touch the 3d drivers :
- go to http://gitweb.freedesktop.org
- scroll down a bit to mesa/mesa and click on it. That will give you a "Summary" page showing recent changes, recent tags (eg this point is release 6 RC2) and recently used branches
- click on "tree" - this will show you the actual source code, about 1.1 million lines IIRC
- navigate down to the HW drivers by clicking on src, then mesa, then drivers, then dri, then r300 (code for R3xx, 4xx, 5xx)
For drm, go back to gitweb.freedesktop.org, scroll down to mesa/drm, click on "tree", then "shared core" and you will see driver files for all the different supported asics.
mityukov
06-26-2008, 03:27 AM
Mityukov, if you want to actually see and touch the 3d drivers :
- go to http://gitweb.freedesktop.org
...
"Ask Phoronix members to give you a "link for dumbs" and they'll send you to GitWeb!" ;-)
10x anyway, I'm not as skilled in C but I think I will be able to read at least .h files..
btw, it's now clear for me that Mesa has both software (basically for referencing) and HW implementations.
Another point, that I got, is that Mesa acts as a "core" for opensource DRI drivers.
Do I have any progress? %)
> xf86-video-ati is the DDX driver.
DDX -- means basically 2D?
.. what then about these recent articles:
* Open-Source ATI Driver Achieves 3D Success
* Gaming With The Open-Source R500 Driver
etc?
Why they refer to Driver (not to HW branch of Mesa)?
some-guy
06-26-2008, 08:03 AM
btw, it's now clear for me that Mesa has both software (basically for referencing) and HW implementations.
Not a hardware implementation but the following
Another point, that I got, is that Mesa acts as a "core" for opensource DRI drivers.
> xf86-video-ati is the DDX driver.
DDX -- means basically 2D?
DDX refers to the X driver, not the mesa or kernel component
It has 2D and 2D acceleration, and initializes DRM and DRI
.. what then about these recent articles:
* Open-Source ATI Driver Achieves 3D Success
* Gaming With The Open-Source R500 Driver
etc?
Why they refer to Driver (not to HW branch of Mesa)?
#1, it's simpler and shorter, do you think they'll say something like: R600 3D in users/somedev/my-reaaaaaaaaally-long-branh-name ;)
#2, there are 2 r500/600 drivers at the moment, radeon and radeonhd, radeon has better support for 3D, and more support for more cards
bridgman
06-26-2008, 08:15 AM
"Ask Phoronix members to give you a "link for dumbs" and they'll send you to GitWeb!" ;-)
10x anyway, I'm not as skilled in C but I think I will be able to read at least .h files..
btw, it's now clear for me that Mesa has both software (basically for referencing) and HW implementations.
Another point, that I got, is that Mesa acts as a "core" for opensource DRI drivers.
Do I have any progress? %)
> xf86-video-ati is the DDX driver.
DDX -- means basically 2D?
.. what then about these recent articles:
* Open-Source ATI Driver Achieves 3D Success
* Gaming With The Open-Source R500 Driver
etc?
Why they refer to Driver (not to HW branch of Mesa)?
No worries; I didn't expect you to actually read the code, just thought it might give you a better sense of what all the pieces do ;)
Sounds like you are "getting it". There are three pieces :
- DDX aka X driver - initialization, display modesetting, 2d & video acceleration. Acceleration usually works without drm driver but works better with drm driver. Contains some code to initialize the rest of the 3D stack and let it know where windows are on screen etc...
- drm aka kernel driver - mostly manages command submission to the chip and interrupt/fence handling back from the chip; allows multiple drivers to share the acceleration bits (eg 2d from ddx, 3d from mesa)
- mesa aka 3d aka opengl driver - user mode portion of the 3d stack; takes opengl commands in at the top, fires chip-specific commands out the bottom through drm
DRI means many things (it's a module, it's an infrastructure, it's a driver, it's a lifestyle) but is essentially the protocols which tie the above three pieces together. The important bit is that it lets the application call mesa directly to draw 3d stuff really fast while staying in sync with what the X driver is doing with windows etc...
re: articles, you need to understand that there are two kinds of Linux users :
- the ones who understand how x, drm and mesa drivers all fit together and think it is so obvious they just talk about the X driver and assume you know that drm and mesa are needed
- the ones who have no idea what x, drm and mesa drivers do and so only talk about the x driver :D
There is also a bit of a "two camps" issue - officially the drm and mesa drivers are not part of "X", so some people still focus mostly on making sure X and 2D/video work properly (even if drm and mesa are not there) while another group feels that 3D is an essential part of the modern user experience and treat drm and mesa as a "must have".
rvdboom
06-27-2008, 04:08 AM
Is there any planned release for libdrm that allows to compile 6.9.0 driver?
I have tried to compile it with stock 2.3.0 drm and current 7.0 Mesa and it doesn't work, so I guess newer versions are required. I try to avoid using git checkouts on my main systems.
When I try to compile the new driver, I get a "legacy_crtc.c no member named 'crtc'" error.
I'm using a Slackware 12.1 system.
Tillin9
06-27-2008, 05:50 AM
Hey, any news on the progress on the MESA side of things?
The current OSS radeon 3D code leaves a lot to be desired. For example, enabling fog on r300 results in lots of in game artifacts. Also, a lot of functions are still slow. Not only does glxinfo show this as a slow caveat next to many functions, but there are measurable performance hits. One practical example includes glBitmap (and a 5-7fps slowdown when this is used to display text over a 3D scene).
mityukov
06-27-2008, 10:34 AM
So, in order to have 3D-enabled OSS driver for my R500, I heed to compile the following things from the Git:
- Mesa itself (since 3D support for R500 was added recently);
- xf86-video-ati
- X-Server/Client (?) (.. I'm on Ubuntu Hardy...)
By the way, am I right thinking "fgrlx" has its own OGL core (i.e., it's not rely on Mesa lib's functions when firing chip-specific commands, but uses its own ones?).
bridgman
06-27-2008, 10:54 AM
The fglrx driver does not use the open source mesa or drm components (other than header files for DRI compatibility) but does follow the DRI core protocols. We have proprietary APIs for things like in-kernel memory management, in the same way that TTM/GEM are defining new APIs today.
I'm not sure of the exact component versions in Hardy; you may also need an updated drm client (mesa/drm). There is a specific build sequence required to make it work AFAIK, but there are a few guides available. I have to run but hopefully someone can point you to an up-to-date set of build instructions.
mityukov
06-27-2008, 11:01 AM
I'm not sure of the exact component versions in Hardy; you may also need an updated drm client (mesa/drm). There is a specific build sequence required to make it work AFAIK, but there are a few guides available. I have to run but hopefully someone can point you to an up-to-date set of build instructions.
Thank's, I don't need a link to guide, at this time. The question was to realize which components are involved ;)
It was really informative to talk to you about these "basics", bridgman. Thanks a lot!
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.