Summary: | [GM965] Display Start is set incorrectly when switching resolution | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Richard Goedeken <SirRichard> | ||||
Component: | Driver/intel | Assignee: | Wang Zhenyu <zhenyu.z.wang> | ||||
Status: | RESOLVED NOTOURBUG | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | ||||||
Version: | git | ||||||
Hardware: | x86-64 (AMD64) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Richard Goedeken
2007-12-19 17:51:30 UTC
Created attachment 13245 [details]
sdltest.c
Run the following to compile this test program:
gcc -o sdltest `sdl-config --cflags --libs` sdltest.c
I tested this morning and found that this bug occurs in both TV-only and VGA-only configurations; apparently it is not dependent on the output type. This is probably just an issue with SDL being unaware of randr and smashing your setup as a result by using old extensions to set the mode, but I haven't tried to reproduce/debug it myself. (In reply to comment #3) > This is probably just an issue with SDL being unaware of randr and smashing > your setup as a result by using old extensions to set the mode, but I haven't > tried to reproduce/debug it myself. > I'm using Fedora 8, which includes the latest SDL (1.2.13). According to the this list of configure script flags (http://www.genunix.org/wiki/index.php/Configure_options_-_sdl), SDL does have support for XRandr fullscreen mode, and it is enabled by default. I don't know how the Fedora team built the included SDL library, but it seems unlikely that they would disable this feature. I performed another test this morning: I added "Omit XFree86-VidModeExtension" to my xorg.conf, restarted X, and looked at the Xorg.0.log to verify that the VidMode extension was not loaded. I then performed the test given in the original bug description, and the bug was still present. After further testing, I concluded that this bug is not specific to the Intel video drivers. I searched through the SDL bugzilla and mailing lists and found references to problems with SDL+XRANDR going back to 2003. I am able to work around this problem by setting an undocumented environment variable: SDL_VIDEO_X11_XRANDR=1. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.