close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Sep 5, 2008, 2:47:09 PM (17 years ago)
- Author:
-
rider
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v40
|
v41
|
|
| 240 | 240 | '''Mesa 3D GL Driver''' |
| 241 | 241 | {{{ |
| 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 |
| 243 | 249 | }}} |
| 244 | 250 | |
| 245 | 251 | '''DRM Kernel module''' |
| 246 | 252 | {{{ |
| | 253 | # Update to the latest libdrm |
| 247 | 254 | rock@fly:~> git-clone git://anongit.freedesktop.org/git/mesa/drm |
| | 255 | rock@fly:~> cd ./drm |
| | 256 | rock@fly:~> ./autogen.sh --prefix=/usr/lib64 --exec-prefix=/ |
| | 257 | rock@fly:~> make -j 4 |
| | 258 | rock@fly:~> sudo make install |
| | 259 | # libdrm.so will be installed to /usr/lib64 |
| 248 | 260 | }}} |
| 249 | 261 | |
| … |
… |
|
| 647 | 659 | [General VNC] --> [Xorg] --> [VGA Card] [[BR]] |
| 648 | 660 | [TurboVNC] --> [VGL] --> [Xorg] --> [GLX/DRI] --> [VGA Card] [[BR]] |
| | 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 | }}} |