SDL problems - I get 8-bit colors only [solved]
  • Order of the Butterfly
    Order of the Butterfly
    DiskDoctor
    Posts: 306 from 2009/4/17
    From: Rzeszow, place...
    Using default settings, I already ran three games that seem to work except for colour scheme. It looks like 8-bit, at most.

    I tried to change SDL prefs to use Ambient or Public screen, and switched off SDL screen promotion. It didn't help at all. What am I supposed to do now?

    [ Edited by DiskDoctor on 2009/12/31 16:27 ]
    Was: Mac Mini PPC running MorphOS 2.4
    Now: Amiga Forever 2010 with AmiKit and AmigaSYS
    Not used: Icaros Desktop 1.2 (reason: no wifi)
    Planned soon: an OS4 system
    Shortly then: a MOS notebook (wifi is a must-have)
  • »26.12.09 - 16:53
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Chain-Q
    Posts: 347 from 2003/10/12
    From: 1 AU, EU, DE/HU
    Radeons can do heavy dithering in 16 bit, when using 3D. So if you tried 3D SDL apps on a 16 bit Ambient screen, it's somewhat "normal".
    [.PegasosII/G4.:.Efika.:.Amiga2000/060.]
    [.Free Pascal Compiler MorphOS Port.]
    [.Hosting AmigaSpirit.hu.]
  • »26.12.09 - 17:06
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    DiskDoctor
    Posts: 306 from 2009/4/17
    From: Rzeszow, place...
    Quote:


    Chain-Q wrote:
    Radeons can do heavy dithering in 16 bit, when using 3D. So if you tried 3D SDL apps on a 16 bit Ambient screen, it's somewhat "normal".


    So what am I exactly to do to fix it?
    Was: Mac Mini PPC running MorphOS 2.4
    Now: Amiga Forever 2010 with AmiKit and AmigaSYS
    Not used: Icaros Desktop 1.2 (reason: no wifi)
    Planned soon: an OS4 system
    Shortly then: a MOS notebook (wifi is a must-have)
  • »26.12.09 - 17:18
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Chain-Q
    Posts: 347 from 2003/10/12
    From: 1 AU, EU, DE/HU
    Run your SDL apps, especially SDLGL (3D) ones, on a separate, 32 bit screen? That's roughly everything, you could do in this manner.
    [.PegasosII/G4.:.Efika.:.Amiga2000/060.]
    [.Free Pascal Compiler MorphOS Port.]
    [.Hosting AmigaSpirit.hu.]
  • »26.12.09 - 17:29
    Profile Visit Website
  • MorphOS Developer
    Krashan
    Posts: 1107 from 2003/6/11
    From: Białystok...
    I already ran three games that seem to work except for colour scheme. It looks like 8-bit, at most.

    Which games are these?
  • »26.12.09 - 17:30
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    DiskDoctor
    Posts: 306 from 2009/4/17
    From: Rzeszow, place...
    Quote:


    Krashan wrote:
    I already ran three games that seem to work except for colour scheme. It looks like 8-bit, at most.

    Which games are these?


    Battle fo Wesnoth for example, Aleph One also, one more not sure now.
    Was: Mac Mini PPC running MorphOS 2.4
    Now: Amiga Forever 2010 with AmiKit and AmigaSYS
    Not used: Icaros Desktop 1.2 (reason: no wifi)
    Planned soon: an OS4 system
    Shortly then: a MOS notebook (wifi is a must-have)
  • »26.12.09 - 17:48
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    DiskDoctor
    Posts: 306 from 2009/4/17
    From: Rzeszow, place...
    Quote:


    Chain-Q wrote:
    Run your SDL apps, especially SDLGL (3D) ones, on a separate, 32 bit screen? That's roughly everything, you could do in this manner.


    That's still not an adequate answer I was asking for.
    Was: Mac Mini PPC running MorphOS 2.4
    Now: Amiga Forever 2010 with AmiKit and AmigaSYS
    Not used: Icaros Desktop 1.2 (reason: no wifi)
    Planned soon: an OS4 system
    Shortly then: a MOS notebook (wifi is a must-have)
  • »26.12.09 - 17:50
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    DiskDoctor
    Posts: 306 from 2009/4/17
    From: Rzeszow, place...
    Quote:


    Chain-Q wrote:
    Run your SDL apps, especially SDLGL (3D) ones, on a separate, 32 bit screen? That's roughly everything, you could do in this manner.


    OK since I cannot run any further depth than 24-bit, I'm lost with those games, aren't I? :-( I suppose it concerns all Mini users... No good...

    Any SDL update that might help? I suppose I'm having the version shipped with the system.
    Was: Mac Mini PPC running MorphOS 2.4
    Now: Amiga Forever 2010 with AmiKit and AmigaSYS
    Not used: Icaros Desktop 1.2 (reason: no wifi)
    Planned soon: an OS4 system
    Shortly then: a MOS notebook (wifi is a must-have)
  • »29.12.09 - 12:23
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Korni
    Posts: 472 from 2006/2/23
    From: the Planet of ...
    PowerSDL isn't shipped with MorphOS 2.4. Are you sure that you have the latest powersdl?
    powersdl.library 14.0 (2009-02-26)
    by Ilkka Lehtoranta [based on SDL 1.2.11 S 1997-2009 Sam Lantinga, original MorphOS port by Gabriele Greco]
    powersdl_gfx.library 11.0 (2009-02-21)
    by Matthieu Leroyer [based on SDL_gfx 2.0.18 S Andreas Schiffler] (Mar 16 2009)
    powersdl_image.library 9.5 (2009-02-23)
    by Nicolas Sallin [based on SDL_image 1.2.7 S 1999-2009 Sam Lantinga and Mattias Engdeglrd] (Mar 16 2009)
    powersdl_mixer.library 8.7 (2009-02-06)
    by Nicolas Sallin [based on SDL_mixer 1.2.7 S 1999-2009 Sam Lantinga, Stephane Peter and Ryan Gordon] (Feb 20 2009)
    powersdl_net.library 8.0 (2006-05-20)
    by Matthieu Leroyer [based on SDL_net 1.2.6 S Sam Lantinga, Roy Wood and Masahiro Minami] (Feb 8 2009)
    powersdl_sound.library 1.2 (2009-02-07)
    by Ilkka Lehtoranta [worked from sdl_sound]
    powersdl_ttf.library 7.6 (2006-11-05)
    by Nicolas Sallin [based on SDL_ttf 2.0.8 S 1999-2004 Sam Lantinga] (Feb 8 2009)

    [ Edited by Korni on 2009/12/29 14:41 ]
    http://korni.ppa.pl/modkowypaczek/ | My Rifle, My Bunny, and Me
  • »29.12.09 - 13:16
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    DiskDoctor
    Posts: 306 from 2009/4/17
    From: Rzeszow, place...
    @Korni

    All there. Just reinstalled SDL from dowloads here to make sure. Same result. I run Wesnoth, all I get is several colours maybe.

    But wait!! I switched from 16bit to 24 bit and... it worked :-) :-)

    That's strange - default MorphOS installer sets up the lower depth on the mini, which in turn prevents many SDL games from functioning. That's worth the notion. Thanks guys!
    Was: Mac Mini PPC running MorphOS 2.4
    Now: Amiga Forever 2010 with AmiKit and AmigaSYS
    Not used: Icaros Desktop 1.2 (reason: no wifi)
    Planned soon: an OS4 system
    Shortly then: a MOS notebook (wifi is a must-have)
  • »31.12.09 - 15:27
    Profile
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Some SDL games just clone your Ambient screen so if you are running Ambient on 16bit depth then those games are also using 16bit depth.

    The latest powersdl.library should have an option in SDL Prefs to change this behaviour. At the moment I am not sure if I released this version already... should check....
    1 + 1 = 3 with very large values of 1
  • »01.01.10 - 22:48
    Profile