You are not logged in.

#1 2016-08-30 11:29:30

AJdeWit
Member
Registered: 2016-08-13
Posts: 15

Bad performance with bumblebeed & optirun/primusrun

Hi, I've got Arch linux on my laptop where I used to have windows 8 on. I used to play dota2 with medium-high graphics on windows. I now play dota2 with low (everything minimal) and it still produces 20fps. I have a Lenovo ThinkPad Edge E531 (N4I29MH) which has the following specs:

Intel Core i5-3230M Ivy Bridge
5400rpm HDD
GeForce GT740M /


It came with 4GB RAM by default, but I upgraded it to 8GB RAM.

Because the processor is labeled as Ivy Bridge, it also has a HD Graphics 4000.

I've installed bumblebee and yet, I still get a low framerate. What do? Is it normal that Arch gets fewer framerates than windows when running the same game?

I am new to Arch since last december.

Thanks a lot in advance!

Last edited by AJdeWit (2016-09-05 08:00:07)

Offline

#2 2016-08-30 11:34:38

Awebb
Member
Registered: 2010-05-06
Posts: 6,286

Re: Bad performance with bumblebeed & optirun/primusrun

1. Link to the game. It might be widespread, but potential help would need to search for it.
2. You have installed bumblebee, but which drivers did you install and how do you operate bumblebee, e.g. what do you enter to start the game?

Offline

#3 2016-08-30 11:43:56

AJdeWit
Member
Registered: 2016-08-13
Posts: 15

Re: Bad performance with bumblebeed & optirun/primusrun

Thank you for the quick response!


1. I've applied the "Google before asking dumb questions"-rule and found nothing.

2. First I run bumblebeed and then I run dota2 with optirun, nothing changes. Did the same with mount&blade. Mount&blade is not a heavy game to run, should not bring any complications at all yet (if you're familiar with the game) lags when simply entering a village.

I've installed the propietary drivers of nvidia as described on the Arch Wiki page of nvidia. https://wiki.archlinux.org/index.php/NVIDIA. I don't want to switch to Windows because it's inefficient.

I'd hoped that someone could maybe share their experience with playing games on Arch. What do you normally do?

Last edited by AJdeWit (2016-08-30 12:06:29)

Offline

#4 2016-08-30 12:24:18

Awebb
Member
Registered: 2010-05-06
Posts: 6,286

Re: Bad performance with bumblebeed & optirun/primusrun

As of late, I have problems getting things to run with optirun. Steam used to have problems with optirun in general, so I'd try primusrun with games. See the local Steam wiki article, there is an explanation on how to add primusrun to the command line.

Generally, I install a game and run it over bumblebee (with primusrun, because optirun has been acting up for me). For steam games, add primusrun to the game's command line. You might have to play with the different settings of primusrun. Another possible cause of problems is the lack of libraries, Steam using outdated libraries or a 32/64 bit "conflict". You should go through the Steam wiki article and return with questions, if nothing in there fixes your problem.

Offline

#5 2016-08-30 12:47:11

AJdeWit
Member
Registered: 2016-08-13
Posts: 15

Re: Bad performance with bumblebeed & optirun/primusrun

Thank you for your reply!

I will try it out this evening and report later.

Offline

#6 2016-08-30 18:28:39

AJdeWit
Member
Registered: 2016-08-13
Posts: 15

Re: Bad performance with bumblebeed & optirun/primusrun

Primusrun does seem to make it slightly better, but after a while it will repeatedly switch. One moment everything runs smooth, the other moment it all starts going down to ~15-20 fps

Offline

#7 2016-08-30 18:35:13

mazhar
Member
From: Sanandaj
Registered: 2016-07-12
Posts: 60

Re: Bad performance with bumblebeed & optirun/primusrun

i had a problem with games(which i never could solve), bumblebee was preventing good performance to save battery, try it with laptop pluged in smile


We are archers, we live in dark to serve the light.

Offline

#8 2016-08-31 05:42:32

AJdeWit
Member
Registered: 2016-08-13
Posts: 15

Re: Bad performance with bumblebeed & optirun/primusrun

Laptop is as good as always plugged in when I play.

When I start bumblebeed with
sudo bumblebeed

I get the following:

libkmod: kmod_config_parse: /etc/modprobe.d/thinkpad_acpi.conf line 1: ignoring bad line starting with 'thinkpad_acpi'
modprobe: FATAL: Module bbswitch not found in directory /lib/modules/4.7.0-1-ARCH
[11207.553156] [ERROR]Module bbswitch could not be loaded (timeout?)
[11207.553180] [WARN]No switching method available. The dedicated card will always be on.
[11207.555145] [INFO]bumblebeed 3.2.1 started 

Does something seem odd?

Last edited by AJdeWit (2016-08-31 12:55:26)

Offline

#9 2016-09-03 12:11:15

AJdeWit
Member
Registered: 2016-08-13
Posts: 15

Re: Bad performance with bumblebeed & optirun/primusrun

Bump

Offline

#10 2016-09-03 12:14:31

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,858
Website

Re: Bad performance with bumblebeed & optirun/primusrun

Please read the community code of conduct, specifically the section regarding bumping.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#11 2016-09-03 14:41:51

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,919

Re: Bad performance with bumblebeed & optirun/primusrun

something may be wrong in your configuration.

the bbswitch module should be here usr/lib/modules/extramodules-4.7-ARCH/bbswitch.ko.gz    .
verify it's present on your system.


You also seem to have an error in one of your modprobe config files, check /etc/modprobe.d/thinkpad_acpi.conf .

Edited:
you may want to choose  a less generic title

Last edited by Lone_Wolf (2016-09-03 14:43:03)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#12 2016-09-05 07:59:29

AJdeWit
Member
Registered: 2016-08-13
Posts: 15

Re: Bad performance with bumblebeed & optirun/primusrun

Hi, thank you for your answer.

The bbswitch is not present neutral. There's only nvidia.ko.gz, nvidia-uvm.ko.gz and version.

/etc/modprobe.d/thinkpad_acpi.conf:

thinkpad_ascpi fan_control=1

Offline

#13 2016-09-09 11:56:21

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,919

Re: Bad performance with bumblebeed & optirun/primusrun

/etc/modprobe.d/thinkpad_acpi.conf appears to have a typo :  ascpi  insteead of acpi .

bbswitch is optional and only used to power on/off the dedicated card, it shouldn't affect performance.
Your description of the problem does sound like it could be related to re-clocking / power management stuff though.

please install bbswitch, then try to get the problem behaviour again and post full dmesg .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB