You are not logged in.
Hi i have a notebook with optimus technology and i followed the wiki and installed the bumblebee drivers so i could use my nvidia graphis card but when i run an application with "optirun ./application" it opens a window and closes right away and gives me the following error on console,
obs.: nvidia 540m video card, notebook LG a520
/usr/bin/vglrun: line 200: hostname: command not found
/usr/bin/optirun: line 239: 11028 Segmentation fault vglrun -c "$VGL_COMPRESS" -d "$VGL_DISPLAY" -ld "$VGL_DRIVER" -- "$@"
and the bumblebee log is this
[ 5618.10] Bumblebee log started at Wed, 07 Sep 2011 00:53:07 -0300
[ 5618.11] Creating fifo /var/run/bumblebee.fifo for communication...
[ 5618.13] Making FIFO writable for members of group bumblebee
[ 5618.14] Waiting for orders
[ 5746.98] Optirun start request received.
[ 5746.99] Checking for X server availability before starting X...
[ 5746.99] X server is not started
[ 5746.99] Enabling graphics card (loading driver)...
[ 5747.05]
[ 5747.05] Starting X...
[ 5747.05] Waiting for X server to become available...
[ 5758.37] X needed 0 retries to become ready
[ 5758.38] X has started.
[ 5758.38] Waiting for orders
[ 5822.76] Waiting for orders
[ 6029.24] Waiting for orders
[ 6041.57] Waiting for orders
[ 6043.28] Waiting for orders
[ 6138.53] Waiting for orders
[ 6221.40] Waiting for orders
[ 6325.55] Waiting for orders
[ 6864.52] Waiting for orders
any one knows what could be happening to my configuration so that it doesnt work? thanks!
Offline
Having same problem after latest upgrade of Arch, before everything worked, but now i get these
terminate called after throwing an instance of 'rrerror'
/usr/bin/optirun: line 239: 3690 Segmentation fault vglrun -c "$VGL_COMPRESS" -d "$VGL_DISPLAY" -ld "$VGL_DRIVER" -- "$@"Offline
I also am having this problem.
/usr/bin/optirun: line 239: 1502 Segmentation fault vglrun -c "$VGL_COMPRESS" -d "$VGL_DISPLAY" -ld "$VGL_DRIVER" -- "$@"and the bumblebee log:
[ 21.71] Bumblebee log started at Wed, 21 Dec 2011 19:46:14 -0500
[ 21.72] Creating fifo /var/run/bumblebee.fifo for communication...
[ 21.85] Making FIFO writable for members of group bumblebee
[ 21.97] Power management is disabled, not disabling card on start.
[ 21.97] Waiting for orders
[ 311.65] Optirun start request received.
[ 311.65] Checking for X server availability before starting X...
[ 311.65] X server is not started
[ 311.66] Power management is disabled, only loading driver
[ 311.75]
[ 311.75] Starting X using nvidia...
[ 311.75] Waiting for X server to become available...
[ 322.47] X needed 1 retries to become ready
[ 322.47] X has started.
[ 322.48] Waiting for orders
[ 322.49] Waiting for orders
[ 332.10] Waiting for ordersInterestingly enough (or maybe not), I have the same graphics card as the user in the first post, the 540M. I should mention that I've been trying to run the recent Humble Bundle games and about half of them work with optirun, the other half produce this segfault. I'm at a bit of a loss, I'm not exactly sure what the next step should be. Any ideas?
edit: Here is the function beginning on line 239 that appears to be causing the problem. Perhaps someone more knowledgeable than I could take a look.
Launch an application on the nVidia card
# return values do not make sense since it could come from the app as well
optirun_launcher() {
optirun_ready
local optirun_retval=$?
if [ $optirun_retval -ne 0 ]; then
if [ $optirun_retval = 1 ]; then
msg "The Bumblebee X server was not available, please check the"
msg "Bumblebee logfile at $BUMBLEBEE_LOGFILE"
fi
msg "=================================================="
# If we cannot use the Bumblebee X server, run the program without it
[[ $FALLBACK_START == [Yy]* ]] && exec "$@"
return
fi
# VGL transports needs the vglclient to be started once for the current X
# server. Since there can only be one vglclient per display (enforced by
# vglclient), we can run it multiple times with vglclient taking care of it
[[ $VGL_COMPRESS =~ ^jpeg|rgb|yuv$ ]] && vglclient -detach &>/dev/null
local VGL_DRIVER="$X_LD_LIBRARY_PATH:$LD_LIBRARY_PATH"
# export settings from configuration file
export VGL_LOG
export VGL_VERBOSE
vglrun -c "$VGL_COMPRESS" -d "$VGL_DISPLAY" -ld "$VGL_DRIVER" -- "$@"
# notify the daemon that we are done
echo stop > "$BUMBLEBEE_FIFO"
}Last edited by mjw655321 (2011-12-22 09:26:13)
Offline
Same here. Got the following error:
/usr/bin/optirun: line 239: 600 Segmentation fault vglrun -c "$VGL_COMPRESS" -d "$VGL_DISPLAY" -ld "$VGL_DRIVER" -- "$@"
Has anyone tried with the latest git version? same result?
Offline