On Thu, May 24, 2012 at 9:18 AM, Salvatore Borgia <salvo2...@gmail.com>wrote:

> this <http://en.gentoo-wiki.com/wiki/X.Org/nVidia_Optimus> is the old way
> to do the trick, instead this <http://bumblebee-project.org/> is an
> interesting recent project but I haven't tried it yet.
>
>
Thanks  Salvatore, and thanks everyone.

Finally I got it solved by follow Salvatore's suggestion. I am using the
bumblebee project.

there are still some other minor problems solved before success running
bumblebee.

The vgl init script doesn't work on xdm. the xauth section should have a
update. the start function of /etc/init.d/vgl was updated. paste here for
anyone may need it.

start() {
    ebegin "Starting VirtualGL"
    truncate --size=0 /etc/VirtualGL/vgl_xauth_key

    # Check if XAUTHORITY was set successfully, if not wait a bit and let X
to start
    [ -z "$XAUTHORITY" ] && sleep 3 && set_xauth
    [ -e "$XAUTHORITY" ] || sleep 3
    for i in `xauth -f $XAUTHORITY list | awk '{print $3}'`; do
        xauth -f /etc/VirtualGL/vgl_xauth_key add $DISPLAY . $i && \
            chmod 644 /etc/VirtualGL/vgl_xauth_key
    done
    eend $?
}


and i915(and its modsetting ) is required for my intel onboard card, but we
have to disable all framebuffer driver options before going that.

else the screen will get blank during boot stage.

-- 
Dreaming my dream!

Reply via email to