Comment 77 for bug 459639

Revision history for this message
Romain Motylicki (bronislas) wrote :

Hi,

I tried to improve the loop in #62. I made this though it is far from being perfect and probably quite "dirty" :

    modprobe nvidia
    until lsmod | grep "^nvidia"
    do :
    done

    sleep 2
    exec gdm-binary $CONFIG_FILE

I tried to remove the sleep command, but in that case, X always crashes. So I think that the module needs to be fully loaded.
If it still does not work for you, try to change the delay.