Changes between Version 15 and Version 16 of VirtualGL_UsageNote


Ignore:
Timestamp:
Jun 11, 2008, 4:57:46 PM (16 years ago)
Author:
rider
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VirtualGL_UsageNote

    v15 v16  
    44rock@gpfs-server:~$ /opt/TurboVNC/bin/vncpasswd (Enter Your Passwd - The password is saved in ~/.vnc/passwd) [[BR]]
    55rock@gpfs-server:~$ sudo apt-get install xfs xinetd libimlib* [[BR]]
     6rock@gpfs-server:~$ sudo apt-get install xserver-xorg-core xserver-xorg-dev xorg xorg-dev xserver-xorg-input* xserver-xorg-video* [[BR]]
    67rock@gpfs-server:~/.vnc$ sudo vim /etc/gdm/gdm.conf
    78
     
    298299== VirtualGL ==
    299300== Mesa 3D GL Driver ==
    300 === Step1 Getting Mesa ===
     301=== Step1 System Check ===
     302
     303#Pre-Requirement  [[BR]]
     304rock@gpfs-server:~$ sudo apt-get install mesa-utils libgl1-mesa-dev libgl1-mesa-dri libgl1-mesa-glx libdrm-dev libdrm2 [[BR]]
     305
     306rock@gpfs-server:~$ lsmod | grep drm  [[BR]]
     307{{{
     308drm                    73748  3 i915
     309agpgart                30408  3 drm,intel_agp
     310}}}
     311
     312rock@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{{{
     318PS1: Some of the DRM messages should like that! If DRM module can't be found, then you can try to do something below.
     319}}}
     320rock@gpfs-server:~$ sudo modprobe i810  [[BR]]
     321rock@gpfs-server:~$ sudo modprobe drm  [[BR]]
     322{{{
     323PS2: You can skip "Building DRM module" when your DRM works well.
     324}}}
     325
     326=== Step2 Getting DRM & Mesa ===
    301327
    302328rock@gpfs-server:~/intel_Q965$ sudo apt-get install git git-core cogito  [[BR]]
     
    308334}}}
    309335
     336
    310337# Mesa 3D GL driver  [[BR]]
    311338The GL drivers are available from the public Mesa git repository: [[BR]]
     
    314341}}}
    315342
    316 === Step2 Building Mesa 3D drivers ===
     343=== Step2 Building DRM module & Mesa 3D drivers --- Manual Configuration ===
    317344
    318345The 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]]
    319346
    320347# DRM & LibDRM  [[BR]]
     348
    321349rock@gpfs-server:~/intel_Q965/drm$ ./autogen.sh --prefix=/usr --exec-prefix=/  [[BR]]
    322350rock@gpfs-server:~/intel_Q965/drm$ make  [[BR]]
     
    335363}}}
    336364
     365rock@gpfs-server:~/intel_Q965/drm$ cd linux-core
    337366rock@gpfs-server:~/intel_Q965/drm$ make -C linux-core  [[BR]]
    338367rock@gpfs-server:~/intel_Q965/drm$ sudo make install  [[BR]]
     368rock@gpfs-server:~/intel_Q965/drm$ sudo depmod -a  [[BR]]
    339369rock@gpfs-server:~/intel_Q965/drm$ sudo cp linux-core/*.ko /lib/modules/2.6.20.gpfs/kernel/drivers/char/drm/  [[BR]]
    340370rock@gpfs-server:/lib/modules/2.6.20.gpfs/kernel/drivers/char/drm$ ls
     
    343373i810.ko  i915.ko  mga.ko     nv.ko       radeon.ko  sis.ko     via.ko
    344374}}}
     375
     376# Mesa 3D GL driver [[BR]]
     377
     378rock@gpfs-server:~/intel_Q965/mesa$ ./autogen.sh --prefix=/opt/mesa --with-driver=dri --disable-glut  [[BR]]
     379rock@gpfs-server:~/intel_Q965/mesa$ make  [[BR]]
     380rock@gpfs-server:~/intel_Q965/mesa$ sudo make install  [[BR]]
     381rock@gpfs-server:~/intel_Q965/mesa$ sudo mkdir -p /opt/mesa/bin [[BR]]
     382rock@gpfs-server:~/intel_Q965/mesa$ install -m755 progs/xdemos/{glxinfo,glxgears} /opt/mesa/bin/  [[BR]]
    345383
    346384=== Server ===