Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- VGL_COMPRESS=xv
- VGL_DISPLAY=:8
- VGL_DRIVER=/usr/lib/nvidia-current
- fifo=/tmp/bumblebee.fifo
- # notify that we want X to start
- echo 1 > "$fifo"
- # here, an acknowledge message should be received
- vglrun -c $VGL_COMPRESS -d $VGL_DISPLAY -ld $VGL_DRIVER "$@"
- # notify that we're done
- echo 1 > "$fifo"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement