Sdl 2.0.3 and Ubuntu 14.04

Hi Everyone,

I don’t know who has this problem like me, but I have a laptop freshly installed Ubuntu 14.04 32bit and SDL works fine just the screen goes to black and white after a 5 second.
I have installed the latest Ubuntu 14.04 64 bit to my PC, and the black and white effect is the same.
Is anybody know a solution how to solve this to not loose color?

Looking forward to your answers.

Hi,On 09/11/2014 11:52 AM, kj192 wrote:

Hi Everyone,

I don’t know who has this problem like me, but I have a laptop freshly
installed Ubuntu 14.04 32bit and SDL works fine just the screen goes
to black and white after a 5 second.
I have installed the latest Ubuntu 14.04 64 bit to my PC, and the
black and white effect is the same.
Is anybody know a solution how to solve this to not loose color?

Looking forward to your answers.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Hi,

I am on Kubuntu 14.04 L.T.S. 64Bit and both SDL version 1.2 and SDL
version 2.0.3 are working fine.
I have Intel CPU and nVidia GPU with nVidia proprietary display drivers
installed.

Would help if you list hardware and what SDL application you are trying
to run.

JeZxLee
16BitSoft Inc.
Video Game Design Studio
www.16BitSoft.com

Hi,
On the pc:
VGA compatible controller: Intel Corporation 82Q963/Q965 Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
Subsystem: Dell Device 01da
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at dfe00000 (32-bit, non-prefetchable) [size=1M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
I/O ports at ecb8 [size=8]
Expansion ROM at [disabled]
Capabilities:
Kernel driver in use: i915

SDL2-2.0.3
SDL2_gfx-1.0.1
SDL2_mixer-2.0.0
SDL2_ttf-2.0.12
SDL2_image-2.0.0

Found Driver: opengl
-> ACCELERATED
-> PRESENTVSYNC
-> TARGETTEXTURE
Found Driver: software
-> SOFTWARE
-> TARGETTEXTURE

video about what is happening:
I write the FPS with red color, and it will become black. The application is still running, just without color.

2014-09-11 13:36 GMT-03:00, kj192 <elte.kissjanos at gmail.com>:

video about what is happening:
I write the FPS with red color, and it will become black. The application is
still running, just without color.
https://www.youtube.com/watch?v=2NdVptj-ZbY&list=UUEaVWVFsIpYqesdWZ4HYgBQ&index=1

I think you wanted to make it unlisted, not private (the latter
requires you to whitelist users, the former just makes it not appear
in your video list).

Sorry, the video should be okey now

Sik wrote:> 2014-09-11 13:36 GMT-03:00, kj192 <@kj192>:

video about what is happening:
I write the FPS with red color, and it will become black. The application is
still running, just without color.
https://www.youtube.com/watch?v=2NdVptj-ZbY&list=UUEaVWVFsIpYqesdWZ4HYgBQ&index=1

I think you wanted to make it unlisted, not private (the latter
requires you to whitelist users, the former just makes it not appear
in your video list).


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

video about what is happening:
I write the FPS with red color, and it will become black. The
application is still running, just without color.
https://www.youtube.com/watch?v=2NdVptj-ZbY&list=UUEaVWVFsIpYqesdWZ4HYgBQ&index=1

Ubuntu turns windows to black and white when they aren’t responding to
window events for some time, to alert the user that the application
appears to be hung up.

This will go away if you put this somewhere in your drawing loop:

SDL_Event e;
while (SDL_PollEvent(&e)) {}

Eventually you’d want to actually examine those events, but just polling
for them and throwing them away will fix your problem for now.

–ryan.

Thanks It worked !!

Ryan C. Gordon wrote:>

video about what is happening:
I write the FPS with red color, and it will become black. The
application is still running, just without color.
https://www.youtube.com/watch?v=2NdVptj-ZbY&list=UUEaVWVFsIpYqesdWZ4HYgBQ&index=1

Ubuntu turns windows to black and white when they aren’t responding to
window events for some time, to alert the user that the application
appears to be hung up.

This will go away if you put this somewhere in your drawing loop:

SDL_Event e;
while (SDL_PollEvent(&e)) {}

Eventually you’d want to actually examine those events, but just polling
for them and throwing them away will fix your problem for now.

–ryan.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org