Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
49 user(s) are online (35 user(s) are browsing Forums)

Members: 0
Guests: 49

more...

Headlines

Forum Index


Board index » All Posts (Capehill)




Re: SDL2
Just can't stay away
Just can't stay away


@samo79

I just ran SDL 2.28.0 testjoystick, testgamecontroller and controllermap tools and they all worked.

Go to top


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


@Raziel

Well, it seems upstream has changed something https://github.com/libsdl-org/SDL/comm ... 6a01c9da3d08a0c0844761965

I am not sure yet what this means for emulation/software renderer users. Or whether ScummVM or our SDL2 port needs to adapt.

Go to top


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


@Maijestro

There is no 2.27.x release for AmigaOS 4. Odd minor versions are prereleases from upstream perspective.

If you want to use 2.26.5 library, you need to copy it to ScummVM's local sobjs/ directory and rename it to libSDL2-2.28.so (replace the original library). This may be obvious but just in case...

ScummVM is linked against libSDL2-2.28.so and it cannot independently load any other versions.

Go to top


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


@Raziel

"WARNING: SDL_SetVideoMode says we can't switch to that mode (Surface already associated with window)!" seems to be caused by some change between SDL 2.26.5 and SDL 2.28.0.

ISI exception is probably caused by recent ScummVM changes. There was for example one suspicious cleanup-related change ( https://github.com/scummvm/scummvm/com ... dae2195351a1189f0df6c1e8f ). I tested ScummVM test build from May and copied SDL 2.28.0 over bundled 2.26.5 library and there was that warning but no exception.

I don't think SDL2 installation (to SOBJS:) can cause anything because your ScummVM builds are bundled with its own sobjs directory which will be used.

I haven't investigated much but I can see this warning can be triggered when using software renderer and toggling between window/fullscreen in launcher window.

There might be some command-line workaround / scummvm.ini manual modification possibility here but I haven't tested it yet.

Go to top


Re: SDL2
Just can't stay away
Just can't stay away


@white

Thanks for testing.

Perhaps I could add a RequestChoice box at the end with a timeout parameter.

As a workaround you could try installation from the shell.

Go to top


Re: Tequila 1.1
Just can't stay away
Just can't stay away


@Raziel

Thanks for testing.

Yeah, it has some issues. I have been planning to add some option to strip the path part away.

Go to top


Re: SDL2
Just can't stay away
Just can't stay away


SDL 2.28.0 RC 1 is available: https://github.com/AmigaPorts/SDL-2.0/ ... /tag/v2.28.0-rc1-amigaos4

Platform-specific changes:
- Add USB Gamepad mapping.
- Disable SDL_FRAMEBUFFER_ACCELERATION only if user hasn't overridden it.

Go to top


Re: 2023 - June - Super Methane Bros.
Just can't stay away
Just can't stay away


@328gts

Do you have a serial cable?

Go to top


Re: Tequila 1.1
Just can't stay away
Just can't stay away


@walkero

Thanks.

1. Tequila is primitive: it checks which task is running (default frequency 5000 Hz). Most tasks are just waiting for some signal so they don't appear on the list. It was mentioned that internally kernel is tracking the CPU per task but this information is not publicly available so I cannot use it.

2. Function profiling doesn't work. Luckily, there has been an updated version of Hieronymus tool and a new tool called Profyler which should help developers who need to profile their programs.

3. Forbid state means that task switching (multitasking) is disabled. High forbid % might mean something is wrong in the system, maybe something is calling Forbid() too much. So, if Tequila finds that task switching is disabled 50 times out of 5000, this equals to "Forbid 1%".

4. I think there are no public APIs to do that, so it would be hard. I don't want to patch system functions (Alloc*).

Go to top


Tequila 1.1
Just can't stay away
Just can't stay away


I'm creating a new thread for Tequila so it's easier to keep all related information in one place if there will be future updates.

Version 1.1 is the latest version. Download links: Github and Kapsi mirror.

Previous discussion: here.

Change history:

1.1:
- Add custom rendering.
- Add locale support.
- Add Finnish and Italian (by samo79) catalogs.
- Display task switches / second.
- Display Forbid percentage.
- Display "(task)" instead of PID 0 for pure tasks.
- Fix occasional issue with unfreed signals at exit.
- Fix occasional freeze during listbrowser.gadget update.
- Reduce heap memory usage.
- Optimize string handling.
- Use Forbid() instead of Disable() when reading task lists.

With special thanks to joerg: some v1.1 features are based on his "top" tool.

1.0:
- First release.

Go to top


Re: 2023 - June - Super Methane Bros.
Just can't stay away
Just can't stay away


@328gts

Both AmigaOS 4 versions use SDL, the old version uses SDL1 while the newer uses SDL2.

Do you have a crashlog?

Go to top


Re: 2023 - June - Super Methane Bros.
Just can't stay away
Just can't stay away


@Maijestro

Your system is missing an older version of the shared object, but you probably don't even want it on QEMU. Newer should be compatible, but better, so try to make a link like this:

makelink from=SObjs:libSDL2-2.0.so to=SObjs:libSDL2-2.26.so soft

Go to top


Re: 2023 - June - Super Methane Bros.
Just can't stay away
Just can't stay away



Go to top


Re: The OpenGL ES 2.0 thread
Just can't stay away
Just can't stay away


@Raziel

Great news.

@Daytona675x

Regarding A1222 and C union, I wonder if this affects also C++17 std::variant ( https://en.cppreference.com/w/cpp/utility/variant )?

Go to top


Re: The OpenGL ES 2.0 thread
Just can't stay away
Just can't stay away


@Raziel

I'm not actually a beta tester for this stuff, but since I sometimes report issues, I get test libs from Daniel. This is already an old lib, some January version IIRC. Things might have changed meanwhile.

Go to top


Re: SDL2 gamecontroller database Needs You!!
Just can't stay away
Just can't stay away


@rjd324

Please use the controllermap tool from the latest SDL2 archive, otherwise I need to manually convert this. GUIDs should look more like these (starts with 03): https://github.com/AmigaPorts/SDL-2.0/ ... ck/SDL_gamepad_db.h#L1005

Go to top


Re: The OpenGL ES 2.0 thread
Just can't stay away
Just can't stay away


@Raziel

It might be easier if you share your config file for reference. Did you mean "Normal" scaler and 1x mode? After some quick tests using ogles2.library v3.4 it seems to work for me.

Go to top


Re: The OpenGL ES 2.0 thread
Just can't stay away
Just can't stay away


@Raziel

Ok. I can say there was some FBO-related change that fixed ScummVM "first frame glitch" at least.

I hope we get a public update soon.

Go to top


Re: The OpenGL ES 2.0 thread
Just can't stay away
Just can't stay away


@Raziel

Okay, but did you receive beta version from Daniel earlier this year?

Go to top


Re: SuperMario64 port to OS4 anyone?
Just can't stay away
Just can't stay away


@rjd324

They are different APIs, in other words game has to implement one of them.

If you want, you may be able add SDL_Joystick support by referring to SDL1 code: https://github.com/sm64pc/sm64ex/blob/ ... troller/controller_sdl1.c

Just a guess, I have no clue about this project.

Go to top



TopTop
« 1 2 3 (4) 5 6 7 ... 83 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project