INSTALLING CARD NVIDIA OPTIMUS BUMBLEBEE IN Deepin

Actualmente en deepin existen herramientas como su gestor de drivers de vídeo, que afrontan esta tarea de una manera practica y automatizada. Esta es una solución basada en un método clásico que puede ser de gran utilidad bajo determinadas circunstancias.

Standard is a GNU / Linux system will be installed and ripped with free video drivers. It can happen to look or requieras best performance so you will need to use proprietary drivers from source to achieve them.

En este caso hablaremos de Bumblebee el driver para la combinación Intel/Nvidia que encontramos en algunas portátiles.

INSTALL BUMBLEBEE

sudo apt install mesa-utils

sudo apt install inxi

sudo apt install xserver-xorg-input-mouse

Download and install VirtualGL-amd64.deb from sourceforge.net

sudo apt install nvidia-kernel-dkms nvidia-xconfig nvidia-settings nvidia-vdpau-driver vdpau-va-driver
sudo apt install bumblebee (Accept all)
sudo adduser " nombre de usuario" bumblebee (Without the quotes)
sudo service bumblebeed restart

Restart the system

TESTSIN THE TERMINAL

glxgears

optirun glxgears

inxi -G xoptirun

inxi -G

SET UPNvidia-Settings

cd /usr/share/applications
sudo gedit nvidia-settings.desktop
Modificar la linea "Exec" por Exec=optirun nvidia-settings -c :8.0  and save.

SET APPLICATIONS (REQUIRING NVIDIA 3D acceleration)

cd /usr/share/applications
Search the app .desktop and change the line "Exec"Adding"optirun

Example:

sudo gedit blender.desktop
Change Exec=blender for Exec=optirun blender

GAMES SET UP STEAM

1- Open Steam
2- In Section "library"Point the game we want to start with Nvidia 3D acceleration, press right mouse button and point"Properties
3- In the tab "General", push the button "Launch define parameters"And in the box filled with:

primusrun %command%

Ready, that's all.

0 0 vote
Rate the Article
 
Subscribe
Report of
7 Reviews
More popular
Newer Older
Opinion from the article
See all comments
simchgab
simchgab (@simchgab)
2 años atrás

Hi good morning, I have a small problem that can not resolver.Deepin 15.5 and I came up with the bumblebee driver installed and using nouveau, the downside is that on my Dell XPS 15 L501X with a GT420M plate does not work me hdmi, I connect the cable the tv shows that receives signal, but never appears Deepin me no option to share or set the second screen, so it does not show imagen.Se install nvidia-detect from the official repositories of deepig: 1deb [by-hash=force] http://mirrors.kernel.org/deepin/ panda main contrib non-freethen nvidia-driver, which is recommended by nvidia-detect driver was installed, plus nvidia-setting and nvidia-xconfig.Al was installed to create the new /etc/X11/xorg.conf running nvidida-xconfig all right. Resetting the Deepin pc not restarted anymore environment gráfico.muestra 2 or 3 lines, and does not start but the escritorio.Alguien has already reported this problem with a HDMI or able to solve ?? Thanks.

simchgab
simchgab (@simchgab)
Answering to simchgab
2 años atrás

Por cierto hay un error en la guía, en el comando «sudo apt install mesa-utils && inxi» -> inxi no se instala debido a que el comando correcto es: sudo apt install mesa-utils inxi  ya que es el mismo comando apt install.También esta mal el comando «inxi -Gxoptirun» -> Correctamente: inxi -G xoptirunBueno, debido a que no encontré opción para editar el comentario anterior, voy pegando acá los resultados por las dudas que se me reviente todo de nuevo jeje.Siguiendo la guía luego del paso inxi -G xoptirun Muestra:[email protected]:~$ inxi -G xoptirunGraphics: Card-1: Intel Core Processor Integrated Graphics ControllerCard-2: NVIDIA GF108M [GeForce GT 420M]Display Server: x11 (X.Org 1.19.3) drivers: modesetting (unloaded: fbdev,vesa)Resolution: Avatar @ kkshi1.01hzOpenGL "> 1920 × 1080Avatar @ kkshi1.01hzOpenGL: renderer: Mesa DRI Intel Ironlake Mobile version: 2.1 Mesa [email protected]:~$ cd /usr/share/applicationbash: cd: /usr/share/application: No existe el fichero o el directoriofind: ‘nvidia-settings.desktop’: No existe el fichero o el directorioDado esto se me ocurrio generar archivo nuevo:[email protected]:~$ nvidia-settings** (nvidia-settings:14218): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service filesERROR: NVIDIA driver is not loadedERROR: Error querying enabled displays on GPU 0 (Missing Extension).ERROR: Error querying connected displays on GPU 0 (Missing Extension).(nvidia-settings:14218): Gtk-WARNING **: Theme parsing error: gtk.css:3601:22: ‘none’ is not a valid color nameGtk-Message: GtkDialog mapped without a transient parent. This is [email protected]:~$ sudo nvidia-xconfigWARNING: Unable to locate/open X configuration file.New X configuration file written to ‘/etc/X11/xorg.conf’El archivo nvidia-settings.desktop lo encontre en /etc/alternatives/nvidia–nvidia-settings.desktopO al menos fue el más pareido jaja.Bueno reinicio y si no contesto de toque es porque se rompio todo de nuevo  🙄

simchgab
simchgab (@simchgab)
2 años atrás

Answered by: RomboThanks for the comments, we have already corrected the details of those commands syntax, which aims to test whether the installation was exitosa.Respecto of particular problems, we recommend you install using the graphical mode that provides Deepin in your manager drivers.Esta guide was created in the community when doing so was the only way some people can be useful and provide positive results while others can not funcionarles, as it happens with the graphical mode. The truth is a lottery and we think Deepin must work hard to improve compatibility with certain types of hardware.

If however, either by the manager or Deepin this way the HDMI, still does not work. Just show me picture while is starting the PC, once it passes the logo of Deepin when load (Blue) no longer shows me more image on the secondary monitor (TV) and no case make it work, while with MINT me works the perfección.Y Deepin manager only shows me the option or bumblebee noveau but not the non-free, driver made this way was the only way the app nvidia-setting detected me the plate. Default or drivers manager does not show me the datosYa I ran out of ideas, well now I discovered that I neither does the SD card reader 😡

simchgab
simchgab (@simchgab)
2 años atrás

Me parece que le estuve errando a buscar la solución por el lado de Nvidia pero el problema lo tengo con el driver de intel: [email protected]:~$ aplay -l**** List of PLAYBACK Hardware Devices ****card 0: MID [HDA Intel MID], device 0: ALC665 Analog [ALC665 Analog]Subdevices: 1/1Subdevice #0: subdevice #0card 0: MID [HDA Intel MID], device 1: ALC665 Digital [ALC665 Digital]Subdevices: 1/1Subdevice #0: subdevice #0card 0: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]Subdevices: 1/1Subdevice #0: subdevice #0Alguna idea? 

simchgab
simchgab (@simchgab)
1 año atrás

haha the mysteries of the cosmos confines of linux.Quise perform a clean installation 0 my precious nvidia drivers non-free follow this tutorial and not func, I think it was a stew of recipes that had tested more than this at the end. Now I make this tutorial, I open the nvidida-config and do not include me the data from my nvidia plate 😡 Try thousand times to get into blacklist according forums ubuntu and debian damn kernel nouveau and there is no case have no way to install the driver downloaded from nvidia 👿

simchgab
simchgab (@simchgab)
1 año atrás

Good for you need, then finish unravel the mystery jaja.Después to be fighting 15 days I leave updated the tutorial is clearly a variant of exposed hereGo to the driver manager:

DeepinScreenshot Seleccionar área 20180605113507

Choose not to use the device (bumblebee obviously) and give acceptOpen the terminal:and execute the following command: sudo apt sudo apt remove → NVIDIA * * sudo apt purge → NVIDIA remove bumblebee bumblebee * sudo apt purge *INSTALL BUMBLEBEEsudo apt install mesa-utilssudo apt install inxisudo apt install xserver-xorg-input-mouseDownload and install VirtualGL-amd64.deb fromsourceforge.netsudo apt install nvidia-kernel-dkms nvidia-xconfig nvidia-settings nvidia-vdpau-driver vdpau-va-driversudo apt install bumblebee(Accept all)sudo adduser " nombre de usuario" bumblebee(Without the quotes)sudo service bumblebeed restartTESTSIN THE TERMINALglxgearsoptirun glxgearsinxi -G xoptiruninxi -GSET UPNvidia-Settingscd /usr/share/applicationssudo gedit nvidia-settings.desktopModificar la linea "Exec" por Exec=optirun nvidia-settings -c :8.0and save.SET APPLICATIONS (REQUIRING NVIDIA 3D acceleration)cd /usr/share/applicationsSearch the app.desktopand change the line "Exec"Adding"optirunExample:sudo gedit blender.desktopChange Exec=blender for Exec=optirun blenderGAMES SET UP STEAM1- Open Steam2- in "library"Point the game we want to start with Nvidia 3D acceleration, press right mouse button and point"Properties"3- Under the"General", push the button "Launch define parameters"And in the box filled with:primusrun %command%Possibly to run glxgears you has given an error: like "Error of failure request: BadValue (Integer parameter out of range for operation) bla bla blaejecutar in the terminal: sudo updatesudo apt apt full-upgrade (In my case I had to do these steps given that by going back to the device manager did not bring anything, was wrong to connect to the internet being connected) once it operates the device manager, select again bumblebeeejecutar xserver-nvidia-settings and should result in having the data your plate as in the image:

DeepinScreenshot nvidia settings 20180605114755

Ready, that's all. Now if we restart and everything correctamenteYo should work at first did additional steps (completely remove what brought default Deepin or disable bumblebee from the device manager and at the end of the tutorial as it was in the beginning, the pc started again but not it worked or keyboard or mouse, now I can finally say that detects all. Seguire fighting with HDMI and card reader, but anyway haha ​​and update the image) @Rombo Thank without the tute I have been impossible to set up Deepin like people. In fact in the official forum they tell me that Deepin currently has no support for non-free drivers

7
0
We would like to know what you think, Join the discussion.x
()
x