byuu's message board

For discussion of projects related to www.byuu.org/


OpenGL vs Direct3D - Which is better for CPU/GPU? 
Author Message

Joined: Thu 12 Sep 2013, 15:32:50

Posts: 1
Post OpenGL vs Direct3D - Which is better for CPU/GPU?
I've been switching between the two video drivers - OpenGl and Direct3D - to see which would be better for performance. I'm running 64-bit balanced, BTW.

Performance-wise, it seems like it's a draw. Both run fine for the games I'm emulating. However, OpenGL has shader support (scanlines), which I like.

I was monitoring my cores, and noticed OpenGL was using one core exclusively, while Direct3D was using multiple cores. My question is, which is better? Does OpenGL depend more on GPU and thus the reason for only one core? I'm trying to use my GPU more, as my CPU is older (i950).

BTW, thanks for your work on this!

Sat 23 Aug 2014, 16:00:17

Joined: Sat 11 Apr 2009, 01:26:03

Posts: 1983
Location: Australia
Post Re: OpenGL vs Direct3D - Which is better for CPU/GPU?
An Intel i7 950 CPU should be fine, I run most games without issue with my 920 at stock clocks.

_________________
Computer specifications:
Windows 7 x64|Intel Core i7 @ 2.66GHZ|ASUS P6T Motherboard|6 gigabytes DDR3 1600 RAM|2x500GB SATA2 HDD|2TB SATA3 HDD|Auzentech XFI Forte S/C|Nvidia Geforce 560GTS Ti 2048MB PCI-E|Corsair AX760 Power Supply|Thermaltake Armor+ MX case

Mon 25 Aug 2014, 05:04:06
User avatar

Joined: Mon 20 Apr 2009, 08:11:50

Posts: 5266
Location: 日本
Post Re: OpenGL vs Direct3D - Which is better for CPU/GPU?
Image

_________________
CaptainJistuce: He's totally in the wrong, Kakashi's 100% in the right.
Note: The above statement is subject to act of byuu.

Mon 25 Aug 2014, 08:48:40
Board Admin
User avatar

Joined: Sat 11 Apr 2009, 04:21:58

Posts: 4783
Location: Australia
Post Re: OpenGL vs Direct3D - Which is better for CPU/GPU?
jrutz wrote:
I've been switching between the two video drivers - OpenGl and Direct3D - to see which would be better for performance.

Without shaders, an application like higan uses about 0.001% of a modern GPU's capacity (even the old dog-slow Intel built-in GPUs), so there is very likely no discernable difference between OpenGL and Direct3D in this case.

Quote:
Does OpenGL depend more on GPU and thus the reason for only one core?

Direct3D's design allows it to be more heavily multithreaded, which would be an advantage if all of your CPU cores were nearing 100% usage - it could use the spare CPU capacity on any core that was available. However, higan's balanced core probably barely warms one CPU core so there would be no performance difference.

My advice: if you find a shader you like, definitely go for OpenGL; if you don't care about shaders then it's not worth changing whatever it happens to be set to at the moment.

_________________
Maintainer of the unofficial git repository for bsnes.

The ending of the words is ALMSIVI.

Mon 25 Aug 2014, 10:07:59

Joined: Wed 09 Feb 2011, 13:29:34

Posts: 425
Post Re: OpenGL vs Direct3D - Which is better for CPU/GPU?
Kakashi wrote:
Image


Thank you Kakashi, I hoped you'd do that. :lol:

Mon 25 Aug 2014, 11:40:25
User avatar

Joined: Mon 20 Apr 2009, 08:11:50

Posts: 5266
Location: 日本
Post Re: OpenGL vs Direct3D - Which is better for CPU/GPU?
Braintrash wrote:
Kakashi wrote:
Image


Thank you Kakashi, I hoped you'd do that. :lol:

Me specifically?

_________________
CaptainJistuce: He's totally in the wrong, Kakashi's 100% in the right.
Note: The above statement is subject to act of byuu.

Mon 25 Aug 2014, 13:13:27

Who is online

Users browsing this forum: No registered users and 0 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum