Discrete video card
Tofloor
poster avatar
jesterjke
deepin
2016-04-18 03:49
Author
Hi, guys. I need some help.
I have a laptop with two video cards:integrated intel 4000 and nvidia 720M.
  1. lspci | egrep -i "vga|3d"
  2. 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
  3. 01:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
Copy the Code
I am on free driver for a while, because proprietary doesn't work properly.(maybe it already fixed, but I do not want reinstall system, if something goes wrong)
But even free driver should give me some perfomance, right?
  1. sudo cat /sys/kernel/debug/vgaswitcheroo/switch
Copy the Code
It seems that my nvidia is off of the power.
So I tried:
  1. sudo su
  2. echo ON > /sys/kernel/debug/vgaswitcheroo/switch
Copy the Code
And it doesn't work.
How can I turn on my nvidia card and not to broke the whole system?
Reply Favorite View the author
All Replies
dance707
deepin
2016-04-18 04:23
#1
Hi, Hybrid-graphics technologies are well supported on windows but still quite experimental in Linux. There are several methods to try in getting Optimus graphics to work in Linux. Like BIOS , PRIME, Bumblebee and newer NVIDIA driver.
But I would be more inclined first to wait on Deepin's up-and-coming new Linux Kernel and other Deepin patches before making any big changes to your system.

https://bbs.deepin.org/post/30883
Reply View the author
jesterjke
deepin
2016-04-18 05:41
#2
I used PRIMEthing and it works!
But.
Intel:
  1. glxgears
  2. 321 frames in 5.0 seconds = 64.111 FPS
  3. 300 frames in 5.0 seconds = 59.993 FPS
Copy the Code
Nvidia:
  1. DRI_PRIME=1 glxgears
  2. Running synchronized to the vertical refresh.  The framerate should be
  3. approximately the same as the monitor refresh rate.
  4. 8187 frames in 5.0 seconds = 1637.334 FPS
  5. 8252 frames in 5.0 seconds = 1650.348 FPS
Copy the Code
Looks good.
But I have FireWatch game, and it do not think so.
On low settings it has higher fps with intel than with nvidia.
What can I do?
Reply View the author
dance707
deepin
2016-04-18 05:52
#3
https://bbs.deepin.org/post/30963
I used PRIMEthing and it works!
But.
Intel:

According to some of the Linux Wiki's using PRIME offers poor performance but does allow switching. Have you tried Bumblebee ?
Reply View the author
dance707
deepin
2016-04-18 06:13
#4
Edited by dance707 at 2016-4-17 10:13
https://bbs.deepin.org/post/30963
I used PRIMEthing and it works!
But.
Intel:

If you do try, the apt-get will ask you whether or not to generate a xorg.conf for you, choose no
Or, you can rm /etc/X11/xorg.conf manually
But still like I mentioned above I would be more inclined to wait and see what Deepin's new kernel and patches offer.
Reply View the author