Changes between Version 15 and Version 16 of VirtualGL_UsageNote
- Timestamp:
- Jun 11, 2008, 4:57:46 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VirtualGL_UsageNote
v15 v16 4 4 rock@gpfs-server:~$ /opt/TurboVNC/bin/vncpasswd (Enter Your Passwd - The password is saved in ~/.vnc/passwd) [[BR]] 5 5 rock@gpfs-server:~$ sudo apt-get install xfs xinetd libimlib* [[BR]] 6 rock@gpfs-server:~$ sudo apt-get install xserver-xorg-core xserver-xorg-dev xorg xorg-dev xserver-xorg-input* xserver-xorg-video* [[BR]] 6 7 rock@gpfs-server:~/.vnc$ sudo vim /etc/gdm/gdm.conf 7 8 … … 298 299 == VirtualGL == 299 300 == Mesa 3D GL Driver == 300 === Step1 Getting Mesa === 301 === Step1 System Check === 302 303 #Pre-Requirement [[BR]] 304 rock@gpfs-server:~$ sudo apt-get install mesa-utils libgl1-mesa-dev libgl1-mesa-dri libgl1-mesa-glx libdrm-dev libdrm2 [[BR]] 305 306 rock@gpfs-server:~$ lsmod | grep drm [[BR]] 307 {{{ 308 drm 73748 3 i915 309 agpgart 30408 3 drm,intel_agp 310 }}} 311 312 rock@gpfs-server:~$ dmesg | grep drm [[BR]] 313 {{{ 314 [drm] Initialized drm 1.1.0 20060810 315 [drm] Initialized i915 1.6.0 20060119 on minor 0 316 }}} 317 {{{ 318 PS1: Some of the DRM messages should like that! If DRM module can't be found, then you can try to do something below. 319 }}} 320 rock@gpfs-server:~$ sudo modprobe i810 [[BR]] 321 rock@gpfs-server:~$ sudo modprobe drm [[BR]] 322 {{{ 323 PS2: You can skip "Building DRM module" when your DRM works well. 324 }}} 325 326 === Step2 Getting DRM & Mesa === 301 327 302 328 rock@gpfs-server:~/intel_Q965$ sudo apt-get install git git-core cogito [[BR]] … … 308 334 }}} 309 335 336 310 337 # Mesa 3D GL driver [[BR]] 311 338 The GL drivers are available from the public Mesa git repository: [[BR]] … … 314 341 }}} 315 342 316 === Step2 Building Mesa 3D drivers===343 === Step2 Building DRM module & Mesa 3D drivers --- Manual Configuration === 317 344 318 345 The DRM (Direct Rendering Manager) provides kernel and library interfaces to clients wanting access to kernel managed resources like interrupts, buffer swaps, DMA memory mapping and graphics memory management.[[BR]] 319 346 320 347 # DRM & LibDRM [[BR]] 348 321 349 rock@gpfs-server:~/intel_Q965/drm$ ./autogen.sh --prefix=/usr --exec-prefix=/ [[BR]] 322 350 rock@gpfs-server:~/intel_Q965/drm$ make [[BR]] … … 335 363 }}} 336 364 365 rock@gpfs-server:~/intel_Q965/drm$ cd linux-core 337 366 rock@gpfs-server:~/intel_Q965/drm$ make -C linux-core [[BR]] 338 367 rock@gpfs-server:~/intel_Q965/drm$ sudo make install [[BR]] 368 rock@gpfs-server:~/intel_Q965/drm$ sudo depmod -a [[BR]] 339 369 rock@gpfs-server:~/intel_Q965/drm$ sudo cp linux-core/*.ko /lib/modules/2.6.20.gpfs/kernel/drivers/char/drm/ [[BR]] 340 370 rock@gpfs-server:/lib/modules/2.6.20.gpfs/kernel/drivers/char/drm$ ls … … 343 373 i810.ko i915.ko mga.ko nv.ko radeon.ko sis.ko via.ko 344 374 }}} 375 376 # Mesa 3D GL driver [[BR]] 377 378 rock@gpfs-server:~/intel_Q965/mesa$ ./autogen.sh --prefix=/opt/mesa --with-driver=dri --disable-glut [[BR]] 379 rock@gpfs-server:~/intel_Q965/mesa$ make [[BR]] 380 rock@gpfs-server:~/intel_Q965/mesa$ sudo make install [[BR]] 381 rock@gpfs-server:~/intel_Q965/mesa$ sudo mkdir -p /opt/mesa/bin [[BR]] 382 rock@gpfs-server:~/intel_Q965/mesa$ install -m755 progs/xdemos/{glxinfo,glxgears} /opt/mesa/bin/ [[BR]] 345 383 346 384 === Server ===