Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
94 user(s) are online (50 user(s) are browsing Forums)

Members: 1
Guests: 93

emeck, more...

Headlines

 
  Register To Post  

« 1 ... 14 15 16 (17) 18 19 20 ... 32 »
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Capehill

I'll try.

Though i can only test with ScummVM already started and right before the shader is used, otherwise the system goes down to a crawl

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Just can't stay away
Just can't stay away


See User information
@Raziel

It doesn't probably work that way because if OGLES2 context is created before you start glSnoop, it cannot patch the functions and logging fails.

Luckily sashimi output redirected to a file should be pretty usable.

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Capehill

Ah, ok...I thought it does whatever it does all the time.

Ok, as soon as the build has finished I'll try to catch a log

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Capehill

Got one, please check PM

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Just can't stay away
Just can't stay away


See User information
@Raziel

The shader you sent me doesn't validate. It's using "#version 300 es" and "texture2D". It should be using just "texture" in later version as far as I know. texture2D can be used with #version 150, for example.

I don't know who provides HAS_TEXTURE definition but if it should be provided by the application, one way to fix it is to add #define HAS_TEXTURE in the beginning, then it should compile.

#if defined(GL_ES)
#if !defined(HAS_ROUND)
#define round(x) (sign(x) * floor(abs(x) + .5))
#endif
#if !defined(HAS_TEXTURE)
#define texture texture2D
#endif
...

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Capehill

Thank you for taking a look.

I have alerted the scummvm devs, hopefully it will be something trivial to fix/work around.

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Quite a regular
Quite a regular


See User information
Hello I would like to use ScummVM under AmigaOs4.1. About my problem:

I use AmigaOs4.1 via Qemu Pegasos 2 emulation the sm501 driver can't do 3D acceleration and is limited to 16 bit color depth, as well as on real hardware (Sam460).

When running ScummVM I get the following error message:

https://ibb.co/FqdGSLQ

Is there a possibility to run ScummVM anyway, maybe via software rendering or another way I don't know?

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Just can't stay away
Just can't stay away


See User information
@Maijestro

ScummVM should be able to do software rendering. I don't remember which menu you should check.

There is also Wazp3D which should allow Warp3D software implementation http://os4depot.net/?function=showfil ... brary/graphics/wazp3d.lha . So you might be able to use OpenGL (MiniGL) apps.

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Capehill
@Maijestro

Launcher - Global Prefs - Graphics - Renderer -> SDL Surface

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Not too shy to talk
Not too shy to talk


See User information
It's in "Global Options" then "Graphics" and finally "SDL Surface" in "Graphics mode" and "Software" in "Game renderer".

But it is possible that the GUI itself uses OpenGL by default. In this case, you can try starting with:

scummvm --renderer=software

@raziel
One minute faster than me!

Note: My suggestion is looking at the Linux version ... the only one that I can run right now.

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Quite a regular
Quite a regular


See User information
@cortoQuote:
corto wrote:It's in "Global Options" then "Graphics" and finally "SDL Surface" in "Graphics mode" and "Software" in "Game renderer".

But it is possible that the GUI itself uses OpenGL by default. In this case, you can try starting with:

scummvm --renderer=software

@raziel
One minute faster than me!

Note: My suggestion is looking at the Linux version ... the only one that I can run right now.


First of all, thanks for your help guys. Apparently as already suspected the ScummVM GUI uses OpenGL. When I start ScummVM I only get a window with black content and I can't see or set any options.

What I tried is to edit .ini file, here I changed gfx_mode from opengl to software and SDL without success. This is the result:

https://ibb.co/88KvMYs

Also the attempt over Wazp3D (OpenGL) brings no remedy the picture output has then a red sting. Result:

https://ibb.co/pXbWQLt

Also starting ScummVM via the shell with ScummVM --renderer=software does not work.

"WARNING: OpenGLGraphicsManager::endGFXTransaction: Could not load any graphics mode!!!"

Does anyone still have ideas?

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Maijestro

Im not on my gear, once I get back I'll check if there'd be any more options.

In the meantime you could post on the scummvm forum, maybe one of the devs has an idea or maybe this is even a bug that won't revert to all software rendering if no OpenGL is found?

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Quite a regular
Quite a regular


See User information
@RazielQuote:
Raziel wrote:@Maijestro

Im not on my gear, once I get back I'll check if there'd be any more options.

In the meantime you could post on the scummvm forum, maybe one of the devs has an idea or maybe this is even a bug that won't revert to all software rendering if no OpenGL is found?


I think it's a general problem of ScummVM on AmigaOs4.1 it just hasn't been reported yet. I would like to get it fixed so I can use ScummVM too.

Otherwise I have no problems with applications that can use software rendering directly, so I don't think it's my system.

Who compiles the current versions for AmigaOs4.1?

I could test or debug it with help.

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Maijestro

Quote:

Who compiles the current versions for AmigaOs4.1?


That would be me, but again I'm not on my gear...

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@Maijestro

Try
--gfx-mode=sdl-surface

Not sure about the sdl-surface part, but the --renderer switch only aims at 3D games during gameplay, not the launcher.

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Just can't stay away
Just can't stay away


See User information
@Maijestro

If you modify the ini file directly, try to set gfx_mode to "surfacesdl". Probably same what Raziel suggested.

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Quite a regular
Quite a regular


See User information
@CapehillQuote:
Capehill wrote:@Maijestro

If you modify the ini file directly, try to set gfx_mode to "surfacesdl". Probably same what Raziel suggested.


Unfortunately no luck with GFX_Mode = Surfacesdl

[scummvm].ini
gui_browser_native=true
filtering=false
autosave_period=300
gfx_mode=surfacesdl
mute=false
gui_use_game_language=false
speech_volume=192
native_mt32=false
gui_mode=antialias
midi_gain=100
last_window_width=640
last_window_height=480
talkspeed=60
confirm_exit=false
mt32_device=null
extrapath=extras/
audio_buffer_size=2048
enable_gs=false
gui_scale=125
gui_return_to_launcher_at_exit=false
subtitles=false
multi_midi=false
fullscreen=false
gui_browser_show_hidden=false
render_mode=amiga
browser_lastpath=extras/
gm_device=null
themepath=themes/
sfx_volume=192
music_volume=192
speech_mute=false
music_driver=auto
stretch_mode=stretch
opl_driver=auto
aspect_ratio=true
versioninfo=2.7.0
gui_theme=scummclassic
local_server_port=12345
renderer=software

I use these settings in the .ini file

Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Home away from home
Home away from home


See User information
@all

How would i go about testing this on an OpenGL enabled platform target?

Would it be sufficient to rename minigl and ogles2 libraries or are there other parts needed to be taken care of?

And could someone maybe try? (still a few days to go before i get home)

Thank you

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Quite a regular
Quite a regular


See User information
@RazielQuote:
Raziel wrote:@all

How would i go about testing this on an OpenGL enabled platform target?

Would it be sufficient to rename minigl and ogles2 libraries or are there other parts needed to be taken care of?

And could someone maybe try? (still a few days to go before i get home)

Thank you


If no one is willing to help, I would be happy to investigate the problem with you.

There are ways to use ScummVM, this patch is called PatchCompositeTags, but makes the whole thing very unstable and is not system compliant.

I think there is a better way without this patch if we look at the problem. So it can't be the 16 bit screenmode. I am not sure what this patch does exactly.

ScummVM Patched


Edited by Maijestro on 2023/4/17 18:45:35
Go to top
Re: ScummVM and AmigaOS4.1 F.E.
Just can't stay away
Just can't stay away


See User information
@Maijestro

If problem is now that ScummVM is using the compositing driver for SDL_Renderer, then please open SDL2 prefs and select "software" as driver, or just set the variable on shell:

setenv SDL_RENDER_DRIVER "software"

Go to top

  Register To Post
« 1 ... 14 15 16 (17) 18 19 20 ... 32 »

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project