You are not logged in.
Hi all. Ia have a laptop with intel integrated graphic and nvidia 860m. I followed the wiki about nvidia and bumblebee and got it working:
testing bumblebee with
[du@du ~]$ primusrun glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x2c1
Context is Direct
OpenGL Renderer: GeForce GTX 860M/PCIe/SSE2
60.152299 frames/sec - 67.129966 Mpixels/sec
57.947493 frames/sec - 64.669402 Mpixels/secAlso running one game in steam with launch command option primusrun %command% gives me good performances.
But i have really bad performances with game factorio. In my previuous linux box which was linux mint it was running at 60fps, while in arch it runs at 35/40 fps and i am almost 100% sure the cpu is making all the work because the fan goes up as hell (this didn't happen with windows or linux mint).
The strange thing is that while game is running
cat /proc/acpi/bbswitchsays that nvidia card is ON
I really don't know how to investigate further because all seems to working properly
Thanks all for helping
Last edited by jacopastorius (2018-12-28 08:47:14)
Offline
This is what console says
[du@du x64]$ primusrun ./factorio
0.000 2018-12-27 19:22:45; Factorio 0.16.51 (build 36654, linux64, demo)
0.000 Operating system: Linux
0.000 Program arguments: "./factorio"
0.000 Read data path: /home/du/Downloads/factorio/data
0.000 Write data path: /home/du/Downloads/factorio [37663/51239MB]
0.000 Binaries path: /home/du/Downloads/factorio/bin
0.006 System info: [CPU: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz, 8 cores, RAM: 7796 MB]
0.006 Environment: DISPLAY=:0, WAYLAND_DISPLAY=wayland-0
0.007 Display options: [FullScreen: 1] [VSync: 1] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
0.007 Available display adapters: 1
0.007 [0]: resolution 1920x1080px at [0,0]
0.007 Create display on adapter 0. Size 1280x720 at position [310, 162].
0.355 Initialised OpenGL:[0] GeForce GTX 860M/PCIe/SSE2; driver: 4.6.0 NVIDIA 415.25
0.355 Video memory size (dedicated/total available/current available): 2048/2048/1971 MB
0.393 Graphics settings preset: high
0.393 Graphics options: [Graphics quality: normal] [Video memory usage: high] [Light scale: 25%] [DXT: false] [Shader: 1]
0.393 [Parallel sprite loading: 1] [Max texture size: 0/8192] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 0]
0.697 Loading mod core 0.0.0 (data.lua)
0.742 Loading mod base 0.16.51 (data.lua)
0.810 Loading mod base 0.16.51 (data-updates.lua)
0.899 Checksum for core: 840319042
0.899 Checksum of base: 3324912308
0.988 Loading sounds...
1.029 Info PlayerData.cpp:65: Local player-data.json available, timestamp 1545934958
1.029 Info PlayerData.cpp:72: Cloud player-data.json unavailable
1.069 Loaded shader file /home/du/Downloads/factorio/data/core/graphics/shaders/game.glsl
1.131 Loaded shader file /home/du/Downloads/factorio/data/core/graphics/shaders/zoom-to-world.glsl
1.138 Loaded shader file /home/du/Downloads/factorio/data/core/graphics/shaders/alpha-mask.glsl
1.172 Initial atlas bitmap size is 16384
1.183 Created atlas bitmap 16384x3487 [none]
1.184 Created atlas bitmap 16384x613 [shadow]
1.185 Created atlas bitmap 16384x682 [decal]
1.185 Created atlas bitmap 8192x1492 [mipmap]
1.185 Created atlas bitmap 8192x228 [mipmap, smoke]
1.186 Created atlas bitmap 8192x1912 [linear-minification, mipmap, terrain]
1.187 Created atlas bitmap 8192x524 [no-crop, trilinear-filtering, icon, light]
1.187 Created atlas bitmap 8192x204 [alpha-mask]
5.630 Sprites loaded
5.630 Convert atlas 8192x1492 to: mipmap
5.789 Convert atlas 8192x228 to: mipmap
5.821 Convert atlas 8192x1912 to: min-linear
6.005 Convert atlas 8192x524 to: trilinear-filtering
6.063 Convert atlas 8192x204 to: alpha-mask
6.078 Custom inputs active: 0
6.129 Factorio initialised
11.887 Loading map /home/du/Downloads/factorio/saves/1.zip: 782450 bytes.
11.913 Loading Level.dat: 106588 bytes.
11.914 Info Scenario.cpp:136: Map version 0.16.51-0
11.946 Loading script.dat: 370 bytes.
11.960 Checksum for script /home/du/Downloads/factorio/temp/currently-playing/control.lua: 3355732008
34.836 Info GlobalContext.cpp:696: Waiting for child processes to exit:
34.949 GoodbyeOffline
I am not sure but i think i solved finding an incorrect /etc/xorg.conf.d/20-modesetting.conf (i put a " instead of : in BusID "pci:00:02:0")
That is really strange, because the other game i have on steam should have been running bad..
Offline