Bug 4819 - Low performance of Optimus on nvidia340
: Low performance of Optimus on nvidia340
Status: CONFIRMED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: -Enter Bugs Here-
: Fresh
: All Linux
: Normal normal
: ---
Assigned To: Andrey Ponomarenko
: Desktop Triage Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-12-23 13:06 MSK by Andrey Ponomarenko
Modified: 2017-10-25 18:01 MSD (History)
3 users (show)

See Also:
RPM Package:
ISO-related:
Bad POT generating:
Upstream:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Ponomarenko 2014-12-23 13:06:39 MSK
Description of problem:

glxgears shows about 900 FPS on nvidia340 when Optimus is enabled [1]. However, if I disable Intel integrated graphics in BIOS and reinstall driver, then glxgears shows about 2700 FPS [2].

nouveau shows 1570 FPS when PRIME is enabled [3] and 1432 FPS with disabled Intel graphics [4].

To measure FPS I use:

1) NVIDIA card + Intel card (Optimus + nvidia340):

$ optirun glxgears

2) NVIDIA card only (nvidia340):

$ nvidia-settings --load-config-only --assign="SyncToVBlank=0"
$ glxgears

3) NVIDIA card + Intel card (PRIME + nouveau):

$ xrandr --setprovideroffloadsink nouveau Intel
$ DRI_PRIME=1 glxgears

4) NVIDIA card only (nouveau):

$ vblank_mode=0 glxgears

[1] http://hw.rosalinux.ru/index.php?probe=368db772bf&test=glxgears
[2] http://hw.rosalinux.ru/index.php?probe=8b81c402d8&test=glxgears
[3] http://hw.rosalinux.ru/index.php?probe=8673a6713d&test=glxgears
[4] http://hw.rosalinux.ru/index.php?probe=7abee18c2c&test=glxgears

Version-Release number of selected component (if applicable): R5


How reproducible: always


Steps to Reproduce:
1.
2.
3.
Comment 1 Sergei Trusov 2017-10-25 18:01:50 MSD
The following change in the file /etc/bumblebee/bumblebee.conf
should fix this issue 

Bridge=auto 

to 

Bridge=primus