|
Wednesday, February 06, 2008 |
bsnes v0.028.01 source Released
Posted by [vEX] @ 06:25 PM CET | Comments: 0 | SNES
|
| While v0.028's release went a lot better than expected, there was one significant problem: it appears that the Linux OpenGL renderer did not work correctly on any of the four ATI graphics card drivers. It seems to be related to partial implementations of GLX v1.3 (you know, the ten year old Xlib interface for OpenGL?)
Rather than continue fighting these drivers, I instead opted to backport the driver to use GLX v1.2 instead. This seems to work on the fglrx, ati and radeon drivers. I don't know much of the radeonhd drivers, but I believe they lack 3D acceleration anyway.
sinamas also came up with an ingenius trick to work around the X Visual problem: that is to say, a GLX rendering context requires a window with the same X Visual as itself. But it's not possible to change the Visual of the existing window that is passed to the GLX driver. sinamas suggested creating this new window as a child window, and embedding that within the rendering window. This worked wonderfully, and eliminates the need for enumerating all available GLX contexts, which is why I needed the GLX 1.3 API in the first place. bsnes now uses the GLX-recommended Visual, which also eliminates a color problem that existed on the fglrx driver when using the default X11 visual.
I also removed the glClear command inside refresh(), as it was redundant and caused flickering on non-buffered visuals. It might even give a slight speed increase on some cards.
Lastly, [vEX] pointed out that I should use the -D flag for the install command in the Makefile. This has been fixed.
I'm not updating the Windows binary to v0.028.01, as absolutely nothing has changed in the Windows port yet. I'll update again when the Debian repository is synced with the new version.
|
bsnes Official Site
|
| |
|
 |
Featured Content
Spotlight interview with the talented developer Refraction who is part of the great PCSX2 development team.
|  |
 |
File Releases
ScummVM is a collection of interpreters, capable of emulating several adven ...
A NeoGeo CD emulator built upon the Raine engine.
ClrMamePro is a so-called ROM-manager. If you use M.A.M.E. you know the pro ...
Mednafen is an NTSC and PAL NES and Famicom, GameBoy, GameBoy Color, GameBo ...
SSF is a Sega Saturn emulator for the Windows operating system.
|  |
 |
Latest Forum Posts
Last Reply: 16bit_bot
Replies: 5
Last Reply: cerebus5
Replies: 24
Last Reply: cerebus5
Replies: 109
Last Reply: lukytaca
Replies: 89
Last Reply: Gaildclemmer
Replies: 0
|  |
 |
Latest Reviews
Created by WhiteX
Created by WhiteX
Created by WhiteX
Created by WhiteX
Created by WhiteX
|  |
 |
Support Guides
Created by WhiteX
Created by Dark Watcher
Created by Dark Watcher
Created by Dark Watcher
Created by Gent
|  |
 |
Our Affiliates
|  |
|