Actually in Deepin there are tools like your manager video drivers, who tackle this task in a practical and automated way. This is a solution based on a classic method that can be very useful under certain circumstances.

As a rule, a GNU / Linux system will install and boot with free video drivers. It may happen that you look for or require better features so you will need to use proprietary drivers to achieve them.

In this case we will talk about Bumblebee, the driver for the Intel / Nvidia combination that we find in some laptops.


sudo apt install mesa-utils

sudo apt install inxi

sudo apt install xserver-xorg-input-mouse

Download and install virtualgl-amd64.deb from

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



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.


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


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


1- Open Steam
2- In Section "library", Point to the game we want to start with Nvidia 3d acceleration, right-click and point"Properties
3- In the tab "General", push the button "Define launch parameters", And in the box fill in:

primusrun %command%

Ready, that's all.

5 3 votes
Rate the Article
Report of
8 Reacciones
More popular
Newer Older
Opinion from the article
See all comments
simchgab (@simchgab)
2 años atrás

Hello good morning, I have a small problem that I cannot solve. Depin 15.5 already came to me with the bumblebee driver installed and using nouveau, The drawback is that on my Dell XPS 15 L501X with a GT420M motherboard the hdmi does not work for me, I connect the cable , the tv shows that it receives a signal, but in deepin I never see any option to share or configure the second screen, so it does not show an image. nvidia-detect was installed from deepig's official repositories: 1deb [by-hash=force] panda main contrib non-freeThen nvidia-driver was installed, which is the driver recommended by nvidia-detect, and nvidia-setting and nvidia-xconfig were installed. When creating the new file /etc/X11/xorg.conf executing nvidida-xconfig everything was fine. When restarting the pc deepin never starts the graphical environment again. It shows 2 or 3 lines, and does not start the desktop anymore. Has anyone already reported this problem with the HDMI or has it been able to solve it? Thank you.

simchgab (@simchgab)
Respondiendo a  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:  @ kkshi1.01hzOpenGL "rel =" ugc "> 1920 × 1080 @ 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)
2 años atrás

Answered by: RomboThanks for the observations, we have already corrected the syntax details in those commands, the purpose of which is to test if the installation was successful. Regarding particular problems, it is best to install using the graphical mode that deepin provides in its driver manager. The guide was created in the community when it was the only way to do it, for some it may be useful and bring positive results while for others it may not work, as is the case with the graphic mode. The truth is a lottery and we believe that deepin should work hard to improve compatibility with certain types of hardware.

If anyway, either by the deepin manager or in this way the HDMI, it still does not work. It only shows me an image while the pc is starting, once the Deepin logo passes when it loads (Blue) it no longer shows me any more image on the secondary monitor (TV) and there is no point in making it work, while with MINT it works for me to perfection And the deepin manager only shows me the noveau or bumblebee option but not the non-free driver, in fact this was the only way that the nvidia-setting app would detect the board. By default or by the driver manager, it does not show me the data I have run out of ideas, and now I discovered that the SD card reader does not work either

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)
2 años atrás

haha the mysteries of the confines of the linux cosmos. I wanted to perform a clean installation of 0 with my precious non-free nvidia drivers, I follow this tutorial and it doesn't work anymore, I think it was a bunch of recipes that I had tried more in the end. Now I do this tutorial, I open the nvidida-config and the data of my nvidia board does not appear 😡 I tried a thousand times to blacklist according to ubuntu forums and debian the damn nouveau kernel and there is no way I have no way to install the driver downloaded from nvidia 👿

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

Good for those who need it, there I finished unraveling the mystery haha.After 15 days fighting I leave you updated the tutorial that is clearly a variant of the one exposed hereGo to the driver manager:

DeepinScreenshot Seleccionar área 20180605113507

Select not to use the device (bumblebee obviously) and acceptOpen the terminal:and run the following commands: sudo apt remove nvidia- * sudo apt purge nvidia- * sudo apt remove bumblebee * sudo apt purge bumblebee *INSTALL BUMBLEBEEsudo apt install mesa-utils

sudo apt install inxi

sudo 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-driver

sudo apt install bumblebee(Accept all)sudo adduser " nombre de usuario" bumblebee(Without the quotes)sudo service bumblebeed restartTESTSIN THE TERMINALglxgears

optirun glxgears

inxi -G xoptirun

inxi -GSET UPNvidia-Settingscd /usr/share/applications

sudo gedit nvidia-settings.desktop

Modificar la linea "Exec" por Exec=optirun nvidia-settings -c :8.0  y guardar.CONFIGURE APPLICATIONS (THAT REQUIRE NVIDIA 3D ACCELERATION)cd /usr/share/applicationsSearch the app.desktopand change the line "Exec"Adding"optirunExample:sudo gedit blender.desktop

Change Exec=blender for Exec=optirun blenderGAMES SET UP STEAM1- Open Steam2- In the Section “library", Point to the game we want to start with Nvidia 3d acceleration, right-click and point"Properties"3- Under the"General", push the button "Define launch parameters", And in the box fill in:primusrun %command%Possibly when executing glxgears it gave you an error: like «Error of failure request: BadValue (Integer parameter out of range for operation) bla bla bla run in the terminal: sudo apt updatedudo apt full-upgrade (In my case I had to do these steps given that when going back to the device manager it did not bring me anything, it gave an error to connect to the internet, being connected) Once the device manager works, select bumblebeee again run xserver-nvidia-settings and it should result in having the data of your plate as in the picture:

DeepinScreenshot nvidia settings 20180605114755

Done, that's it. Now if we restart and everything should work correctly I at first did not do the additional steps (completely eliminate what deepin brought by default or deactivate bumblebee from the device manager and at the end of the tutorial as it was in the beginning, the pc started again but not Neither the keyboard nor the mouse worked, now I can finally say that it detects everything. I will continue fighting with the HDMI and the card reader, but finally I update the image haha) @Rombo Thanks without that tutor it would have been impossible for me to configure the deepin like people. In fact in the official forum they tell me that deepin does not currently have support for non-free drivers

Jaba Ba
Jaba Ba (@jababa)
1 mes atrás

hola, todo iba perfecto hasta que f intenté correr optirun glxgears y me salió esto:
[ 4504.753567] [ERROR]Cannot access secondary GPU – error: Could not load GPU driver

[ 4504.753656] [ERROR]Aborting because fallback start is disabled.

soy muy novato en linux y no tengo idea de como solucionarlo 🙁

We would like to know what you think, join the discussion.x