• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 372 373 374 375 376 ... 1198 Next »

Slowdown on Linux anyone else or just me?
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Slowdown on Linux anyone else or just me?
10-11-2016, 05:45 PM
#1
_c0rr0si0n_ Offline
Junior Member
**
Posts: 7
Threads: 1
Joined: Oct 2016
Hi all,

Running Dolphin 5 on my Ubuntu 16.04 box (i3-3225, 660ti, 8GB RAM) and trying to play Metroid Prime on the Gamecube. As soon as the intro video starts running I get a big frame hit down to 30fps. I've got the latest Nvidia drivers (Binary blob from nvidia.com) and tried the Vulkan and OpenGL renderers. I've also tried tweaking just about every setting to do with graphics I could find but it seems to make zero impact.

Has anyone else seen this on Linux? Maybe have some suggestions of things I can look for. I can see my CPU is pegging 100% utilization in top on a single core it looks like so maybe it's not utilizing all cores but I guess this could be design? Any tips on where I can start looking for the bottle neck? Is anyone else seeing anything comparable on Windows? I.e. is this just the speed it runs at?
Find
Reply
10-12-2016, 01:35 AM
#2
leolam Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,478
Threads: 5
Joined: Sep 2015
Is it a very stable 30fps? If so, have you made sure v-sync is disabled?

Since you have a 660 Ti and use the proprietary driver, it should handle full speed just fine.
Website Find
Reply
10-12-2016, 05:26 PM
#3
_c0rr0si0n_ Offline
Junior Member
**
Posts: 7
Threads: 1
Joined: Oct 2016
It's 30fps lowest and varies a little up to say 40. I've struggled through the first "intro/training" level to the Chozo Ruins the frame rate seems to jump around a lot (never below 30 and can be as high as 60 in small rooms with no actors) so this is looking like it's something to do more with the intro video that plays in the background of the opening of the game? I might surrender and install Windows to see if that makes any odds when I get a chance.
Find
Reply
10-12-2016, 05:55 PM
#4
_c0rr0si0n_ Offline
Junior Member
**
Posts: 7
Threads: 1
Joined: Oct 2016
A bit more testing has come up with the following:

Testing my Laptop (Lenovo Z370, i5-2410M, Geforce 410M, 8GB RAM) Also on Ubuntu 16.04 with stock distro graphics drivers I see similar performance (30-40fps) to my i3 desktop. However trying another machine on Windows 10 (AMD Athlon II X4 645, Geforce 650, 16GB RAM) (All using OpenGL for comparison). I'm getting a near solid 60fps the odd dip to 50 here and there but nothing like I'm seeing on Linux. As far as I know the i3 and i5 CPU's should be much better performers than the AMD, likewise the 660ti should wipe the floor with the 650.

So I guess I'm missing something here as far as configuring / running the Linux port? Any suggestions?
Find
Reply
10-12-2016, 06:44 PM
#5
degasus Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,828
Threads: 10
Joined: May 2012
The "threaded optimization" of the nvidia driver is disabled by default on linux, but enabled by default on windows. Try: __GL_THREADED_OPTIMIZATIONS=1 as environment variable.

The performance of windows and linux should be very similiar else.
Find
Reply
10-12-2016, 11:08 PM
#6
_c0rr0si0n_ Offline
Junior Member
**
Posts: 7
Threads: 1
Joined: Oct 2016
Thanks degasus, that certainly helped improve things. Frame rates appear to be 7-10 FPS up on where they were however it seems I'm still far off my other Windows test box. Are there any other optimization flags or environment variables I could try passing in?
Find
Reply
10-13-2016, 03:10 AM (This post was last modified: 10-13-2016, 03:10 AM by leolam.)
#7
leolam Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,478
Threads: 5
Joined: Sep 2015
Which thread is using 100% of CPU time? Is it the GPU thread?

(you can see that fairly easily with htop, and showing custom thread names.)
Website Find
Reply
10-13-2016, 07:03 PM
#8
_c0rr0si0n_ Offline
Junior Member
**
Posts: 7
Threads: 1
Joined: Oct 2016
During the opening video / title / menu screen CPU thread 100% Video thread ~8%
In game during a 40-45 FPS section CPU thread is sat at 100% Video at ~55%
On the pause screen CPU thread at 80-90% and Video thread still at around 50%
Find
Reply
10-14-2016, 03:47 AM
#9
leolam Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,478
Threads: 5
Joined: Sep 2015
100% CPU usage on the CPU thread doesn't sound normal at all.

1) Make sure you are running the latest development version.
2) Reset your Dolphin configuration by deleting ~/.dolphin-emu (warning: this will remove your Wii NAND too) or ~/.config/dolphin-emu and see if the issue still happens with the default settings.
Website Find
Reply
10-14-2016, 07:56 AM
#10
_c0rr0si0n_ Offline
Junior Member
**
Posts: 7
Threads: 1
Joined: Oct 2016
So I've tried the Dolphin PPA and the Appimage (https://forums.dolphin-emu.org/Thread-dolphin-as-appimage-on-linux) version of Dolphin.

I've removed both ~/.dolphin-emu and ~/.config/dolphin-emu unfortunately the issue persists. Any suggestions on what I can try next?

Many thanks for your on going help.
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode