Summary: | SDL applications start transparently and can never be set to be fully opaque | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Mike MacCana <mmaccana> | ||||||
Component: | Driver/nVidia (proprietary) | Assignee: | Andy Ritger <aritger> | ||||||
Status: | RESOLVED NOTOURBUG | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | high | CC: | ajax, moz | ||||||
Version: | unspecified | ||||||||
Hardware: | x86 (IA32) | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Description
Mike MacCana
2004-09-21 21:22:55 UTC
i suspect that QEMU is picking up the RGBA visual unintentionally. try starting qemu with XLIB_SKIP_ARGB_VISUALS=1 Thanks for the quick response. Setting the environment variable then runnign QEmu crashes the X server each time. freakish. and i suppose since it's the nvidia driver you can't get a useful backtrace... i'll see if i can't reproduce this. This is an SDL issue. SDL 1.2.7-7.1 from Rawhide. run 'xwininfo' on the SDL window and paste the output, please. (assuming this is still open.) mass component shift / reassign for proprietary nVidia driver bugs. This is a bug in SDL. It's choosing the 32-bit visual when it shouldn't, and then not setting alpha to 1 in the pixels it produces. I took a look at the source and can't make much sense out of the visual selection code. In SDL_x11modes.c:X11_SupportedVisual, it compares the target depth against this->hidden->visuals[i].bpp. However, this is 32 for the all the visuals on my system. It looks like it should be looking at this->hidden->visuals[i].depth instead. You should probably take this up with the SDL maintainers. XLIB_SKIP_ARGB_VISUALS=1 should work, and should not crash the X server. If it does crash the server even with X.org RC2, please get a backtrace. reporter, please verify that you can still crash the server, and attach a backtrace if so. Same problem with DOSBox 0.65 My system is SuSE 10.1 on amd64, graphic card: NVidia FX5200 chipset with NVidia accelerated driver installed (1.0-8762 x86_64), xgl and compiz from SuSE packages. With XLIB_SKIP_ARGB_VISUALS=1 it appear to work well I attach two DOSBox screenshot with and without XLIB_SKIP_ARGB_VISUALS=1 Bye Created attachment 5802 [details]
DOSBox window with XLIB_SKIP_ARGB_VISUALS=1
Created attachment 5803 [details]
DOSBox window without XLIB_SKIP_ARGB_VISUALS=1
ping timeout on the reported crash, and everything else indicates that this is a bug in SDL. NOTOURBUG. |
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.