242 | | rock@fly:~> git-clone git://anongit.freedesktop.org/git/mesa/mesa |
| 242 | # Update Mesa-7.0.1 -> Mesa-7.0.4 |
| 243 | rock@fly:~> git-clone git://anongit.freedesktop.org/git/mesa/mesa (The latest Mesa 7.1.0 -> Dependency -> libdrm-2.3.1 higher) |
| 244 | rock@fly:~> http://downloads.sourceforge.net/mesa3d/MesaLib-7.0.4.tar.gz?modtime=1218883994&big_mirror=0 (Mesa 7.0.4 -> Dependency -> libdrm-2.3.0) |
| 245 | rock@fly:~> tar zxvf MesaLib-7.0.4.tar.gz |
| 246 | rock@fly:~> cd ./Mesa-7.0.4/ |
| 247 | rock@fly:~> make linux-dri-x86-64 |
| 248 | rock@fly:~> sudo make install |
| 661 | |
| 662 | === OpenSUSE Xgl development Q & A === |
| 663 | |
| 664 | Question1: [[BR]] |
| 665 | Direct rendering does not work when running Xgl, but it does on Xorg. Why are OpenGL applications not accelerated? |
| 666 | {{{ |
| 667 | Ans: |
| 668 | Do not intermix hardware acceleration and direct rendering. |
| 669 | OpenGL applications will be hardware accelerated on Xgl if the driver supports pBuffers or FBOs, like the nvidia and fglrx drivers do. |
| 670 | Direct rendering on the other hand is impossible to implement at the moment, the necessary extensions for implementing that feature are not even specified yet, let alone being implemented. |
| 671 | Direct rendering implies hardware acceleration, but not the other way round. |
| 672 | Direct rendering is a bit faster than indirect rendering, but indirect rendering is not as bad as it sounds. |
| 673 | }}} |
| 674 | Question2: [[BR]] |
| 675 | How can I check whether I have direct rendering on Xorg? |
| 676 | {{{ |
| 677 | Ans: |
| 678 | Direct rendering is active if running glxinfo|grep direct on top of Xorg (not Xgl!) shows you "Yes". On top of Xgl this will always show you "No". |
| 679 | Unfortunately, for Xorg having direct rendering is a synonym for having accelerated graphics, and it is more difficult to detect whether hardware acceleration is available than it is to detect direct rendering. |
| 680 | }}} |