You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2008-08-29 13:14:54

piesia
Member
Registered: 2008-08-29
Posts: 2

Error: Mac OS X - Couldn't create OpenGL pixel format for video output

I have read the README and README.MAC in /Applications/DeSmuME.app/Contents/Resources.

I have Mac OS X 10.5.4, 2.2 GHz intel core 2 due, 4 gb memory, 512 MB Nvidia

When I try to start DeSmuME application, the error message 'Couldn't create OpenGL pixel format for video output' appears in a message box. I click ok, and can load rom but see nothing. I can hear sound so I know the rom loaded.

I am using whatever OpenGL is built in to mac os x. I downloaded the latest SDL (SDL version 1.2.13 (stable)) for Mac os X and put the Framework in /Library/Frameworks

I can hear sound but no video.

Can anyone tell me what I am doing wrong?

Thanks!

Piesia

EDIT: I am using a non-apple old display due to a problem. It is a 3 yr old 15 inch LCD display, and About This Mac says that this display is not Quartz Enabled. Perhaps I need to get better hardware (display) or is this a software problem?

Resolution:    1024 x 768 @ 75 Hz
  Depth:    32-bit Color
  Core Image:    Software
  Main Display:    Yes
  Mirror:    Off
  Online:    Yes
  Quartz Extreme:    Not Supported

Thanks!

P.

Last edited by piesia (2008-08-29 14:49:08)

Offline

#2 2008-08-30 23:54:15

jeff
Member
Registered: 2008-04-06
Posts: 47

Re: Error: Mac OS X - Couldn't create OpenGL pixel format for video output

My guess would be that your video hardware is not happy with opengl, or atleast the opengl mode that it's trying to use. Can you run other OpenGL programs?

Offline

#3 2008-08-31 02:11:05

piesia
Member
Registered: 2008-08-29
Posts: 2

Re: Error: Mac OS X - Couldn't create OpenGL pixel format for video output

I ran opengl extensions viewer for mac os x, it says that I'm at 100% for opengl 1.1 thru 2.1 but also says that I'm using Apple Software Renderer (and not NVidia)

Renderer: Apple Software Renderer
Vendor: Apple Computer, Inc.
Memory: 0 MB
Version: 2.1 APPLE
Shading language version: 1.20
Max number of light sources: 8
Max viewport size: 16384 x 16384
Max texture size: 16384 x 16384
Max anisotropy: 0
Max samples: 0
Max draw buffers: 4
Max texture coordinates: 8
Max vertex texture image units: 16


I'm confused about the 0 MB, I have a 512MB card.

I'll try looking for a more recent driver for my card (nvidia 8600 GT 512MB)

Do you have any suggestions of (free) opengl software to test on?

Thanks!

P.

Offline

#4 2008-08-31 21:01:14

jeff
Member
Registered: 2008-04-06
Posts: 47

Re: Error: Mac OS X - Couldn't create OpenGL pixel format for video output

The apple software renderer probably doesn't support the video mode that desmume is trying to use. Your video card isn't being used at all for rendering (0MB memory probably means no dedicated video memory, the software renderer is using your main ram).

I'll see if I can set my system to use the software renderer and try to get it working with that. No promises, though.

As for software to test opengl, you can use grapher (type it into spotlight) which is a pretty nifty program that comes with the OS.

Offline

#5 2008-08-31 22:51:29

jeff
Member
Registered: 2008-04-06
Posts: 47

Re: Error: Mac OS X - Couldn't create OpenGL pixel format for video output

Looks like the code that creates the opengl context had a flag for hardware accelerated renderers only. I think I have a fix for the problem, I'm going to wait to commit it though as I think we're switching code repositories (cvs to subversion) soon, but it should be in the next version.

edit: fix is committed

Last edited by jeff (2008-09-02 06:18:50)

Offline

Board footer

Powered by FluxBB