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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 147 148 149 150 151 ... 369 Next »

A question for the devs, 100% cpu in linux with nvidia drivers
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
A question for the devs, 100% cpu in linux with nvidia drivers
03-20-2014, 04:34 PM (This post was last modified: 03-20-2014, 04:35 PM by degasus.)
#2
degasus Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,828
Threads: 10
Joined: May 2012
On dolphin, this isn't because of any driver issue. Our video thread usually waits in a busy loop for new commands from the cpu thread. We've tried to use some syncing and or sleeping here, but as the round trip time is important for performance, the busy loop was the fastest way.

btw for nvidia, there is an evironment variable to control this busy loop behavior: __GL_YIELD
http://ftp.download.nvidia.com/XFree86/Linux-x86_64/334.21/README/openglenvvariables.html

btw2: you should try __GL_THREADED_OPTIMIZATIONS=1 on dolphin
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
A question for the devs, 100% cpu in linux with nvidia drivers - Toxicshadow - 03-20-2014, 06:37 AM
RE: A question for the devs, 100% cpu in linux with nvidia drivers - degasus - 03-20-2014, 04:34 PM
RE: A question for the devs, 100% cpu in linux with nvidia drivers - Toxicshadow - 03-21-2014, 05:27 AM

  • 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