Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fbcon doesn't reset vidmode on SDL_Quit() #269

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

fbcon doesn't reset vidmode on SDL_Quit() #269

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Labels
worksforme We can't reproduce the bug

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: HG 1.2
Reported for operating system, platform: Linux, x86

Comments on the original bug report:

On 2007-01-25 19:48:58 +0000, Ryan C. Gordon wrote:

Apparently the fbcon target doesn't always reset the video mode on exit:

http://lists.libsdl.org/pipermail/sdl-libsdl.org/2007-January/059751.html

Most relevant info follows.

"Here's the exact code that will duplicate the problem:

int main(int argc, char**argv)
{
SDL_Init(SDL_INIT_VIDEO);
SDL_SetVideoMode(1024, 768, 32, SDL_FULLSCREEN | SDL_ANYFORMAT | SDL_HWSURFACE | SDL_DOUBLEBUF);
SDL_Quit();
return 0;
}

Here's output of "dmesg | grep radeon":

radeonfb: Found Intel x86 BIOS ROM Image
radeonfb: Retrieved PLL infos from BIOS
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=378.00 Mhz, System=338.00 MHz
radeonfb: PLL min 20000 max 40000
radeonfb: Monitor 1 type CRT found
radeonfb: EDID probed
radeonfb: Monitor 2 type no found
radeonfb (0000:01:00.0): ATI Radeon NH

I'm using linux kernel 2.6.16.27 (built using LFS 6.2 and jhalfs). I've added a few items from blfs like nfs + dependencies, along with inetd servers.

Like always, any help is appreciated... now onto my V4L Hauppauge ImpactVCB issue :-)."

--ryan.

On 2007-05-28 22:40:18 +0000, Ryan C. Gordon wrote:

(This worked for me when I tested it...I think it might be a flakey kernel driver.)

--ryan.

@SDLBugzilla SDLBugzilla added bug worksforme We can't reproduce the bug labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme We can't reproduce the bug
Projects
None yet
Development

No branches or pull requests

1 participant