You are not logged in.
Pages: 1
Hello, I remember back in windows, In minecraft, I used to get 600+ FPS in an empty world, On arch linux I have the nvidia drivers and bumblebee, When i optirun minecraft and go into an empty world, I get 100~ fps, I have had the nvidia drivers in windows too and it was on the same computer, Is there any possible cause for this?
(Original title was FPS Problems)
Last edited by grim3271 (2014-07-25 09:28:14)
Offline
One cause might be that Windows seems to disable compositing for fullscreen windows, in the Linux world, as far as I know, none of the compositing window managers do that, and only kwin can work without compositing (it can be disabled with a keyboard shortcut, for fullscreen windows or for select windows/applications).
Offline
One cause might be that Windows seems to disable compositing for fullscreen windows, in the Linux world, as far as I know, none of the compositing window managers do that, and only kwin can work without compositing (it can be disabled with a keyboard shortcut, for fullscreen windows or for select windows/applications).
Well, I cannot use Kwin due to me mostly using cinnamon/gnome 3, Is there any solution to the fps i have?
Offline
Install openbox, run "openbox --replace &", see if FPS is better, run "cinnamon --replace &" to get cinnamon running back. You can also run "DISPLAY=:0 cinnamon --replace &" in the virtual console.
Offline
Install openbox, run "openbox --replace &", see if FPS is better, run "cinnamon --replace &" to get cinnamon running back. You can also run "DISPLAY=:0 cinnamon --replace &" in the virtual console.
No difference at all between the two
Offline
What is your monitor's refresh rate? Perhaps turning off "vsync to blank" in nvidia-settings would help.
Does your game feel not fluid at any point? Because 100 FPS sounds good enough. Maybe vsync, the game itself or something else creates an FPS limit.
Maybe you will find some tips in http://www.reddit.com/r/linux/comments/ … ows_xpost/
Last edited by lucke (2014-07-22 02:03:48)
Offline
What is your monitor's refresh rate? Perhaps turning off "vsync to blank" in nvidia-settings would help.
Does your game feel not fluid at any point? Because 100 FPS sounds good enough. Maybe vsync, the game itself or something else creates an FPS limit.
Maybe you will find some tips in http://www.reddit.com/r/linux/comments/ … ows_xpost/
My monitor's refresh rate is 60 Hz but i do feel a difference between 60 Fps and 120 Fps, The link did not help at all, Also i miss the high FPS i used to have, What would create the FPS limit? I have the FPS cap set to unlimited in minecraft and V-Sync off
Offline
If the cap and vsync are off, maybe bumblebee is to blame somehow? I'm not very familiar with multiple GPUs.
I'm afraid I am unable to assist you further.
Last edited by lucke (2014-07-22 03:30:21)
Offline
If the cap and vsync is off, maybe bumblebee is to blame somehow? I'm not very familiar with multiple GPUs.
I'm afraid I am unable to assist you further.
I remember having the same graphical performance on some older laptop with only 1 GPU on booth linux and windows, Anyway, I tried primus, It runs the same, I have no idea why minecraft runs on lower FPs
Offline
I have been playing a bit with the issue and i noticed something quite shocking,
vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
45196 frames in 5.0 seconds = 9039.196 FPS
46151 frames in 5.0 seconds = 9230.034 FPS
optirun glxgears
9443 frames in 5.0 seconds = 1888.521 FPS
9974 frames in 5.0 seconds = 1994.709 FPS
[VGL] ERROR: in readback--
[VGL] 247: Window has been deleted by window manager
APPARENTLY, The nvidia card is garbage and the intel card is super, But the opposite is true, What's going on O.O
Offline
What hardware do you have? Is the game stressing your graphics card or your CPU?
Offline
What hardware do you have? Is the game stressing your graphics card or your CPU?
Well, An I5 processor, A GeForce 740M nvidia card, A 4600HD intel card thing, And minecraft barely stresses my CPU, Mostly i am running at 5/10% usage, So the GPU i assume
Offline
The Nvidia card with the proprietary driver should give you far better performance than the integrated Intel graphics. You might be able to get a few more frames with Linux-ck.
Offline
The Nvidia card with the proprietary driver should give you far better performance than the integrated Intel graphics. You might be able to get a few more frames with Linux-ck.
Well, That was true on windows, But for some reason with the nvidia drivers ( I can run the nvidia control panel with optirun ) i get strange results with glxgears.
But is a few more frames all i can really get on arch?
EDIT: Primus seems to give better results but not THAT good
vblank_mode=0 primusrun glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
13635 frames in 5.0 seconds = 2726.996 FPS
14792 frames in 5.0 seconds = 2958.318 FPS
14818 frames in 5.0 seconds = 2963.595 FPS
Intel still outperforms the nvidia card, Strange
Last edited by grim3271 (2014-07-25 07:01:43)
Offline
Have you tried other games or applications? Is it the same on benchmarks? I run the nvidia drivers my desktop and get similar performance as when I used to run Windows.
Offline
Have you tried other games or applications? Is it the same on benchmarks? I run the nvidia drivers my desktop and get similar performance as when I used to run Windows.
Well, The only thing i play is minecraft, And the only " Benchmark " i have is my MC fps and glxgears
Offline
Hmm. I found other people were having the issue with the integrated graphics outperfoming the discrete card:
Manjaro Forums
OpenSuse Forums
Ubuntu Forums
Basically, they say removing the drivers and then reinstalling them fixes the issue. Hopefully you can find something in there.
Last edited by ArchWA (2014-07-25 07:50:39)
Offline
Hmm. I found other people were having the issue with the integrated graphics outperfoming the discrete card:
Manjaro Forums
OpenSuse Forums
Ubuntu ForumsBasically, they say removing the drivers and then reinstalling them fixes the issue. Hopefully you can find something in there.
I re-installed everything, From bumblebee, To nvidia to intel, Everything i had related to grahpics, No improvements whatsoever
Wish i can just throw bumblebee out of the window and always have the nvidia card running as the main card, But everytime i try to set that via xorg.conf, I get a black screen once i boot ;,(
EDIT: Graphical performance is WORSE ._.
Last edited by grim3271 (2014-07-25 09:24:11)
Offline
@grim3271:
I tried to throw out the Intel card and only run nVidia and kept getting a black screen as you did. For me -- and YMMV -- the problem was that following the Wiki to get rid of Intel and load nVidia only ALSO required me to REMOVE the Intel drivers and all related such. I recall having to "-Rdd" the removal of some things as the dependencies had to be wrestled with for a bit. But after I got rid of the "Intel" stuff, the nVidia card itself worked just fine with the example xorg.conf given in the Wiki.
I'm not at home, so I'm not on my Linux box, but can try and post exactly what I did when I get home if you want.
Matt
"It is very difficult to educate the educated."
Offline
@grim3271:
I tried to throw out the Intel card and only run nVidia and kept getting a black screen as you did. For me -- and YMMV -- the problem was that following the Wiki to get rid of Intel and load nVidia only ALSO required me to REMOVE the Intel drivers and all related such. I recall having to "-Rdd" the removal of some things as the dependencies had to be wrestled with for a bit. But after I got rid of the "Intel" stuff, the nVidia card itself worked just fine with the example xorg.conf given in the Wiki.
I'm not at home, so I'm not on my Linux box, but can try and post exactly what I did when I get home if you want.
Also there is nvidia-xconfig which i THINK just configures the xorg.conf for you, It still gave me the black screen manually doing it gave me though, Are you suggesting cutting out the intel drivers before doing the nvidia config?
Edit: Now bumblebee won't even open anything,
optirun minecraft
[ 4028.448333] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Server terminated successfully (0). Closing log file.
[ 4028.448357] [ERROR]Aborting because fallback start is disabled.
I hate this program
More edit: I got it to work, I still hate it though
Last edited by grim3271 (2014-07-25 18:05:54)
Offline
The problem looks like a typical laptop with dual graphics problem - unable to switch between intel and nvidia graphics.
Offline
Here is how I made mine stop using Intel+Bumblebee and use only the nVidia card.
1) Stopped bumblebeed.service from running at startup.
systemctl stop bumblebeed.service
systemctl disable bumblebeed.service
2) Added /etc/X11/xorg.conf (See Below)
3) Added /etc/lightdm/display_setup.sh (See Below)
4) Edited /etc/lightdm/lightdm.conf and added the following to [SeatDefaults]
[SeatDefaults]
display-setup-script=/etc/lightdm/display_setup.sh
5) Removed the following packages (becasue I had Bumblebee Installed)
pacman -Rdd mesa-libgl primus bumblebee
6) Added the following package
pacman -S nvidia-libgl
My xorg.conf:
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
#BusID "PCI:PCI address determined earlier"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "UseDisplayDevice" "none"
#Option "AllowEmptyInitialConfiguration" "true"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
#Driver "intel"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
My display_setup.sh:
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
Matt
"It is very difficult to educate the educated."
Offline
Pages: 1