Moderatore: Gruppo Documentazione
Problemi & Consigli Dell xps l502x su ubuntu 10.10 e successive
MoonDragon ha scritto:oky..io ho testato entrambi.leggi qua http://forum.ubuntu-it.org/viewtopic.ph ... #p3569540/

federico@Iris-Linux:~$ bumblebee
Bumblebee version 2.4.1~git5d086c9
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Website: https://launchpad.net/~bumblebee
Usage:
bumblebee [OPTIONS]
OPTIONS
-d start bumblebee service as daemon. To start it
backgrounded use the handler with 'start' argument.
--help show this help message
--version show version number
federico@Iris-Linux:~$ bumblebee -d
Must be run as root
federico@Iris-Linux:~$ sudo bumblebee -d
/usr/sbin/bumblebee: riga 262: /var/run/bumblebee.pid: impossibile sovrascrivere il file esistente
federico@Iris-Linux:~$ glxspheres
Polygons in scene: 62464
Visual ID of window: 0x95
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Sandybridge Mobile
59.570115 frames/sec - 52.150062 Mpixels/sec
60.196128 frames/sec - 52.698098 Mpixels/sec
59.943512 frames/sec - 52.476948 Mpixels/sec
60.060583 frames/sec - 52.579437 Mpixels/sec
60.341848 frames/sec - 52.825667 Mpixels/sec
federico@Iris-Linux:~$ optirun32 glxspheres
optirun32: comando non trovato

glxspheres optirun glxspheres 
optirun glxspheresfederico@Iris-Linux:~$ optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 540M/PCI/SSE2
137.240362 frames/sec - 120.145702 Mpixels/sec
127.593716 frames/sec - 111.700643 Mpixels/sec
134.975311 frames/sec - 118.162786 Mpixels/sec
134.536422 frames/sec - 117.778565 Mpixels/sec
143.156300 frames/sec - 125.324751 Mpixels/sec
141.159898 frames/sec - 123.577021 Mpixels/sec
141.530594 frames/sec - 123.901543 Mpixels/sec
federico@Iris-Linux:~$
# WARNING ! Power management is a very unstable feature for now, use it at your
# own risk. You won't get any support if you use this function. Please set
# first /etc/bumblebee/cardon and /etc/bumblebee/cardoff by just writing your
# calls there (one per line) and nothing else or you will face errors :
# \_SB.PCI0.PEG0.GFX0_ON
# Or :
# \_SB.PCI0.RP00.VGA._DSM {0x01,0x02} 0x03 0x04 {0x1,0x0,0x0,0x3}
# \_SB.PCI0.RP00.VGA._PS0
# You should also set STOP_SERVICE_ON_EXIT to Y if you really want to save
# power/battery life.
# See https://github.com/Bumblebee-Project/Bu ... Developers
# for more information.

"OUTDATED!!!!! - Replaced by "The Bumblebee Project" and "Ironhide" — Read more
http://www.martin-juhl.dk/2011/08/ironh ... -for-duty/
cicileu ha scritto:ciao ragazzi!
prima di tutto vorrei ringraziarvi di cuore per l'ottima guida (grazie a voi ho installato bumblebee e funziona benissimo), volevo segnalarvi che forse il repository e la pagina web del progetto sono cambiate, dico forse perchè sono un profano...
andando sulla pagina web postata nella vostra guida https://github.com/MrMEEE/bumblebee c'è l'avviso"OUTDATED!!!!! - Replaced by "The Bumblebee Project" and "Ironhide" — Read more
http://www.martin-juhl.dk/2011/08/ironh ... -for-duty/
"
cercando su google la nuova pagina sembra che sia questa: https://launchpad.net/~bumblebee
e il nuovo repository questo: deb http://ppa.launchpad.net/bumblebee/stable/ubuntu oneiric main
volevo dare anche io il mio piccolo contributo per quello che posso fare...ora però non saprei come fare eventualmente per disinstallare il vecchio bumblebee, aggiornare le repo e installare il nuovo...![]()
spero di essere stato utile!

sorry...

optirun64: command not foundThe Bumblebee X server was not available, please check the Bumblebee logfile at /var/log/bumblebee.logsudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get upgrade
rebootcat /proc/acpi/battery/BAT0/state--------------------
## Power Management
--------------------
Since 2.4, we added backend support for enabling/disabling the card.
You should first read the following page:
https://github.com/Bumblebee-Project/Bu ... PI-Removed
It will help you understand the current situation about Power Management. If you
understand what that does mean, then, here is how to enable it.
You need to install acpi_call module for your system.
Ubuntu: available on the PPA. To install it, run:
sudo apt-get install acpi-call-tools
Arch Linux:
AUR package: https://aur.archlinux.org/packages.php?ID=39470
First, edit the 'bumblebee.conf' file and set power management to Y.
You should also set STOP_SERVICE_ON_EXIT to Y:
ENABLE_POWER_MANAGEMENT=Y
STOP_SERVICE_ON_EXIT=Y
Then, in the bumblebee conf dir, create the textfiles 'cardon' and 'cardoff'
which should just contain the calls to respectively enable and disable the card.
Each line should contain a call, comments are not allowed.
Check 'bumblebee.conf' file comments on Power Management for more informations.
After that, reboot (or restart daemon) to apply changes.
### Bumblebee daemon configuration file.
### Boolean options accept 'Y' and 'N'. Do not use true/false or 0/1.
### Modifications made here will need a daemon restart to take effect.
# Should bumblebee service be stopped after last optirun program is closed ?
STOP_SERVICE_ON_EXIT=N
# How many seconds should be waited before giving up on starting the X server ?
X_SERVER_TIMEOUT=10
# Display for the nVidia X Server, choose a higher display (e.g. :5) if you use
# Fast User Switching which starts incrementing from :0 (:0, :1, :2, ...).
VGL_DISPLAY=:8
# The video driver to be used. Supported drivers are 'nvidia' and 'nouveau'.
# Nouveau driver can be used if the available drivers are available and the
# experimental Mesa Gallium3D libraries are present.
DRIVER=nvidia
# The Xorg configuration to be used, leaving it empty will base the file on the
# driver name, which is usually /etc/bumblebee/xorg.conf.DRIVER
X_CONFFILE=
# The group that is allowed to use Bumblebee. Note that the user needs to
# re-login for group membership changes to apply.
BUMBLEBEE_GROUP=bumblebee
# WARNING ! Power management is a very unstable feature for now, use it at your
# own risk. You won't get any support if you use this function. Please set
# first /etc/bumblebee/cardon and /etc/bumblebee/cardoff by just writing your
# calls there (one per line) and nothing else or you will face errors :
# \_SB.PCI0.PEG0.GFX0_ON
# Or :
# \_SB.PCI0.RP00.VGA._DSM {0x01,0x02} 0x03 0x04 {0x1,0x0,0x0,0x3}
# \_SB.PCI0.RP00.VGA._PS0
# You should also set STOP_SERVICE_ON_EXIT to Y if you really want to save
# power/battery life.
# See https://github.com/Bumblebee-Project/Bumblebee/wiki/ACPI-for-Developers
# for more information.
ENABLE_POWER_MANAGEMENT=N
### The below only affects optirun, restarting the daemon is not necessary
# Image transport from bumblebee X server to screen.
# Possible values: proxy, jpeg, rgb, xv or yuv (default = proxy)
VGL_COMPRESS=proxy
# If ECO mode is active, the nvidia card will not be used if not plugged in
# (running on battery). This setting has only effect on newly started programs.
# This feature is still not enablend and depends on power-management features.
ECO_MODE=N
# Fall back on using the Intel graphics card if the nVidia one is not available.
# If disabled, optirun will quit after displaying an error message.
FALLBACK_START=N/etc/bumblebee/cardon/etc/bumblebee/cardoff
The version that you're using (2.4) does not support automatic power management out-of-the-box so you'll always have both cards on. WIth the next version (3.0) which should get released shortly, the card will always be off unless you run a program with "optirun".
maegras ha scritto:Devnull, a quanto pare la procedura per il cambio di scheda è leggermente cambiata con la versione 2.4 di b.bee. Da quello che leggo mi sembra che gli script non siano più necessari. Hanno integrato il power-management nel demone.
Maggiori riferimenti:



Note that this method is not supported by all machines and only works if you are using the opensource driver (nouveau, radeon) and not the proprietary ones (nvidia, fglrx).


Fiodor ha scritto:Scusate, ma nel documento originale citato in fondo alla guida "VGA_switcheroo" si dice che funziona solo con i driver openNote that this method is not supported by all machines and only works if you are using the opensource driver (nouveau, radeon) and not the proprietary ones (nvidia, fglrx).
mentre nella guida sul Wiki non mi sembra sia riportato...


kris@kris-SATELLITE-L750:~$ git clone http://github.com/mkottman/acpi_call.git
Cloning into acpi_call...
error: The requested URL returned error: 403 while accessing http://github.com/mkottman/acpi_call.git/info/refs
fatal: HTTP request failed
Clockris ha scritto:
- Codice: Seleziona tutto
kris@kris-SATELLITE-L750:~$ git clone http://github.com/mkottman/acpi_call.git
Cloning into acpi_call...
error: The requested URL returned error: 403 while accessing http://github.com/mkottman/acpi_call.git/info/refs
fatal: HTTP request failed
Salve, seguendo la guida mi si è presentato questo errore in cui mi si dice che la pagina non è accessibile. Come posso fare? Grazie!

questa pagina
pagina del progetto
dedicata ad Ubuntu



Visualizzano questa pagina: Nessuno e 1 ospite