| Summary: | libsdl not working with svgalib driver for savage card | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Pablo De Napoli <pdenapo> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED WONTFIX | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | CC: | pdenapo |
| Version: | 1.2.10 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
|
Description
Pablo De Napoli
2006-06-17 17:45:14 UTC
libsdl 1.2.10 didn't work either. Is there any chance I can log in remotely, or you can loan me the video card? I have no idea what the problem might be... Just so I'm understanding this correctly, you're using SDL's svgalib driver while running an X server? Is there any reason you can't just use SDL's X11 driver? No SDL developers have hardware that matches the machine mentioned in this problem, but it's very likely that the svgalib driver in SDL is just broken and it's not Savage-specific, as no one has touched that code in years. We probably won't be able to do much here, as you can tell by the bug being open so long. I'd recommend using the X11 backend...or if you absolutely must avoid X, try the fbcon backend. The svgalib code should probably be removed from SDL as unmaintained. Flagging this bug as WONTFIX. If you must use svgalib, use SDL 1.2.7. Sorry. --ryan. No, the problem was not under X, but in the linux console. I've solved the problem by disabling the framebuffer device (i.e.: by using the "-fbcon -directfb" use parameters, that causes the parameters --enable-video-fbcon=no --disable-video-directfb to be passed to configure) Then libsdl selects the svgalib driver, at it works fine. No everything works fine. Ah, I see...the problem wasn't the svgalib driver in SDL, it was that SDL favored its fbcon driver, which didn't work correctly on your system. (This can be forced at runtime if you set this environment variable: SDL_VIDEODRIVER=svgalib Then it will choose that driver, regardless of what else is available to SDL, assuming svgalib support was built into SDL.) Glad it's working for you now! --ryan. |