You are not logged in.

#1 2014-11-05 05:05:35

Archnoob15326325
Member
Registered: 2014-07-29
Posts: 15

lenovo y50 gtx 860 4g nvidia bumblebee terrible performance

Hi the title pretty much explains it all. I am getting terrible performance with nvidia bumblebee.

running optirun -vv glxgears

[ 1040.951781] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1040.951931] [INFO]Configured driver: nvidia
[ 1040.952090] [DEBUG]optirun version 3.2.1 starting...
[ 1040.952098] [DEBUG]Active configuration:
[ 1040.952100] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1040.952102] [DEBUG] X display: :8
[ 1040.952104] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia
[ 1040.952106] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1040.952108] [DEBUG] Accel/display bridge: primus
[ 1040.952109] [DEBUG] VGL Compression: proxy
[ 1040.952111] [DEBUG] VGLrun extra options:
[ 1040.952113] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[ 1041.501732] [INFO]Response: Yes. X is active.

[ 1041.501745] [INFO]Running application using primus.
[ 1041.501829] [DEBUG]Process glxgears started, PID 2608.
237 frames in 5.0 seconds = 47.246 FPS

/etc/bumblebee/bumblebee.conf

        # Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=primus
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bu … PM-methods

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

Offline

#2 2014-11-06 03:27:09

Archnoob15326325
Member
Registered: 2014-07-29
Posts: 15

Re: lenovo y50 gtx 860 4g nvidia bumblebee terrible performance

If there is any more information I could give that would help solve the problem please tell me.

Offline

#3 2014-11-06 19:11:32

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: lenovo y50 gtx 860 4g nvidia bumblebee terrible performance

1) Use code tags.
2) What actual model of nVidia card is this? (use lspci, or something similar)
3) What version of the drivers is installed? Version of X? Kernel version?
4) You do realize that glxgears isn't really a benchmark, right?


Matt

"It is very difficult to educate the educated."

Offline

#4 2014-11-07 04:24:48

Archnoob15326325
Member
Registered: 2014-07-29
Posts: 15

Re: lenovo y50 gtx 860 4g nvidia bumblebee terrible performance

1) What are code tags.
2) 01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev a2).
3) X version 1.16.1. Drivers I followed the nvidia bumblebee arch linux wiki guide and installed the nvidia package.
4) Thank you for letting me know this is really helpfull.

Offline

#5 2014-11-09 01:21:15

alexis_evo
Member
Registered: 2013-07-04
Posts: 33

Re: lenovo y50 gtx 860 4g nvidia bumblebee terrible performance

https://github.com/Bumblebee-Project/Bu … t-glxgears

Edit: Do you have the 4k model of the Lenovo Y50? The 4K model's display is hardware locked to ~45 hz, which corresponds to the framerate you're getting in in glxgears. Have you tried appending "vblank_mode=0" to the command?

Last edited by alexis_evo (2014-11-09 01:24:09)

Offline

#6 2014-11-09 19:05:05

Archnoob15326325
Member
Registered: 2014-07-29
Posts: 15

Re: lenovo y50 gtx 860 4g nvidia bumblebee terrible performance

1) Yes I have the 4k model
2) yes this is my fps
17581 frames in 5.0 seconds = 3514.283 FPS
17235 frames in 5.0 seconds = 3446.973 FPS
18216 frames in 5.0 seconds = 3643.181 FPS

However I get terrible performance in games. Example in cs:go I have to run it on 1280x720 and on lowest settings for it to be even playable. And in minecraft I get 33 fps fullscreen. There must be some kind of driver problem.

Offline

#7 2014-11-10 00:28:58

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: lenovo y50 gtx 860 4g nvidia bumblebee terrible performance

1) What is the output of :

pacman -Qs nvidia

Matt

"It is very difficult to educate the educated."

Offline

#8 2014-11-10 01:45:55

Archnoob15326325
Member
Registered: 2014-07-29
Posts: 15

Re: lenovo y50 gtx 860 4g nvidia bumblebee terrible performance

local/bumblebee 3.2.1-6
    NVIDIA Optimus support for Linux through VirtualGL
local/lib32-nvidia-utils 343.22-1
    NVIDIA drivers utilities (32-bit)
local/libcl 1.1-4
    OpenCL library and ICD loader from NVIDIA
local/libvdpau 0.8-1
    Nvidia VDPAU library
local/libxnvctrl 343.22-1
    NVIDIA X Ctrl library
local/nvidia 343.22-4
    NVIDIA drivers for linux
local/nvidia-utils 343.22-1
    NVIDIA drivers utilities
local/xf86-video-nouveau 1.0.11-2 (xorg-drivers xorg)
    Open Source 2D acceleration driver for nVidia cards

Offline

#9 2014-11-19 01:27:05

alexis_evo
Member
Registered: 2013-07-04
Posts: 33

Re: lenovo y50 gtx 860 4g nvidia bumblebee terrible performance

First, you should try using primusrun instead of optirun whenever possible. Bumblebee devs suggest this, as it's more stable/performs better. Are you sure Steam is starting CS:GO using primusrun? It sounds like it is still rendering the game on the Intel GPU. Merely starting Steam with primusrun isn't always enough to get the game to render on the nvidia GPU.

First, read the wiki and make sure you have both primus and all 32bit related packages installed, as Steam is 32 bit. Then right click CS:GO in steam, Properties, Set Launch Options, and enter "primusrun %command%" without the quotes.

Offline

#10 2014-12-03 01:18:15

Archnoob15326325
Member
Registered: 2014-07-29
Posts: 15

Re: lenovo y50 gtx 860 4g nvidia bumblebee terrible performance

Yes I tried that and it still does not work.

Offline

#11 2014-12-07 02:25:18

Archnoob15326325
Member
Registered: 2014-07-29
Posts: 15

Re: lenovo y50 gtx 860 4g nvidia bumblebee terrible performance

Lol figured out the performance issue its because the laptop is the 4k model. Thanks for the help smile

Last edited by Archnoob15326325 (2014-12-07 02:25:36)

Offline

Board footer

Powered by FluxBB