GeorgeMcMullen / rp-box86wine

Box86 and Wine on RetroPie
GNU General Public License v3.0
14 stars 7 forks source link

Installing on Raspbian bookworm failed #4

Open actraiser30 opened 10 months ago

actraiser30 commented 10 months ago

Hello

I'm trying to install rp-box86wine on Raspbian bookworm but installation fails on mesa I attached a photo with the error messages if you can help and update/fix the installer

Thanks IMG_20231109_131155_090_LL

GeorgeMcMullen commented 8 months ago

Hello,

I've been struggling with the more recent versions of Mesa as well, but mostly on older operating systems. Considering Bookwork seems to be a new OS version, it might be better to not even compile Mesa yourself and just use the OS supplied versions. I'm considering removing the requirement for an entirely separate Mesa install anyway because of the difficulty in compiling for older OSes (especially 32-bit OSes) as well as the existence of precompiled binaries (from https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers and https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa).

What you could possibly do is edit the box86.sh file to remove the Mesa requirement. You could also take a look at the Arm64 branch, where I am experimenting with getting Box86 running on Arm64 OSes for RetroPie. This is a work in progress - the Box86 script has some lines in it which need to be uncommented out.

Let me know how things turn out.

actraiser30 commented 8 months ago

Hi, don't remove the requirements if possible,just add a switch that detects the os version and install it with apt or build it as in buster it requires to be build,also uncommenting the src in apt.list file it looks like the installer takes more required packages than before,and the building after goes more further than before but still stops after a while.

On Sat, Dec 23, 2023, 11:11 AM George McMullen @.***> wrote:

Hello,

I've been struggling with the more recent versions of Mesa as well, but mostly on older operating systems. Considering Bookwork seems to be a new OS version, it might be better to not even compile Mesa yourself and just use the OS supplied versions. I'm considering removing the requirement for an entirely separate Mesa install anyway because of the difficulty in compiling for older OSes (especially 32-bit OSes) as well as the existence of precompiled binaries (from https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers and https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa).

What you could possibly do is edit the box86.sh file to remove the Mesa requirement. You could also take a look at the Arm64 branch, where I am experimenting with getting Box86 running on Arm64 OSes for RetroPie. This is a work in progress - the Box86 script has some lines in it which need to be uncommented out.

Let me know how things turn out.

  • George

— Reply to this email directly, view it on GitHub https://github.com/GeorgeMcMullen/rp-box86wine/issues/4#issuecomment-1868248639, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONNUNRLWFWVDWZY53STYK2N3NAVCNFSM6AAAAAA7EMHBAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGI2DQNRTHE . You are receiving this because you authored the thread.Message ID: @.***>

GeorgeMcMullen commented 8 months ago

@actraiser30 a switch for the OS version might work, especially since I don't yet know what version of Mesa Bookworm is running, I also don't think that the repos I've mentioned support 32-bit OSs (though I will double check this when I have time).

Having a separate version of Mesa prevents Box86/Wine from being added to the official RetroPie installation. That makes sense, because it's yet another thing they would need to support outside of the standard operating system.

When you mention uncommenting the src in apt.list, which src are you talking about?

Also can you run the following command and post the output:

dpkg -l | grep -i mesa

Thanks!

actraiser30 commented 8 months ago

Hello

I mean this file /etc/apt/sources.list It has an src source inside commented if you uncomment it,it get more files required for mesa building but still the installer stops.

Box86 and wine are installed fine the only issue is mesa,I also managed to play some games, specific, age of mythology and age of empires 3 that they play with issues in buster and bullseye (the main menu is wrong displayed or not displayed at all) it's a font issue.

Do you know how to fix that issue in this two games in buster or bullseye?

but in bookworm everything is fine. Did some tests changing the mesa and wine versions in buster it worked but did not noticed anything different probably my idea.

I will try the command this days and let you know

GeorgeMcMullen commented 7 months ago

If it's a font issue, have you installed the required fonts? I've seen games that have use TTF fonts that needed to be installed in Wine. Also there is the possibility that other libraries are required by the games themselves. You might be able to find out more information on that from the Wine website.

actraiser30 commented 7 months ago

Yes I installed the fonts inside wine, all the package did not work,have you encounter this issue and fix it??

On Thu, Jan 25, 2024, 2:33 PM George McMullen @.***> wrote:

If it's a font issue, have you installed the required fonts? I've seen games that have use TTF fonts that needed to be installed in Wine. Also there is the possibility that other libraries are required by the games themselves. You might be able to find out more information on that from the Wine website.

— Reply to this email directly, view it on GitHub https://github.com/GeorgeMcMullen/rp-box86wine/issues/4#issuecomment-1910113040, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONOVWP5FSE2KWIZESUTYQJGKXAVCNFSM6AAAAAA7EMHBAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGEYTGMBUGA . You are receiving this because you were mentioned.Message ID: @.***>

actraiser30 commented 7 months ago

Also ask for help in the box86wine GitHub could not help me.

On Thu, Jan 25, 2024, 5:19 PM G D @.***> wrote:

Yes I installed the fonts inside wine, all the package did not work,have you encounter this issue and fix it??

On Thu, Jan 25, 2024, 2:33 PM George McMullen @.***> wrote:

If it's a font issue, have you installed the required fonts? I've seen games that have use TTF fonts that needed to be installed in Wine. Also there is the possibility that other libraries are required by the games themselves. You might be able to find out more information on that from the Wine website.

— Reply to this email directly, view it on GitHub https://github.com/GeorgeMcMullen/rp-box86wine/issues/4#issuecomment-1910113040, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONOVWP5FSE2KWIZESUTYQJGKXAVCNFSM6AAAAAA7EMHBAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGEYTGMBUGA . You are receiving this because you were mentioned.Message ID: @.***>

actraiser30 commented 7 months ago

I run the game in software mode without OpenGL and the font was displayed correct but the game was very slow and unplayable.

On Thu, Jan 25, 2024, 5:20 PM G D @.***> wrote:

Also ask for help in the box86wine GitHub could not help me.

On Thu, Jan 25, 2024, 5:19 PM G D @.***> wrote:

Yes I installed the fonts inside wine, all the package did not work,have you encounter this issue and fix it??

On Thu, Jan 25, 2024, 2:33 PM George McMullen @.***> wrote:

If it's a font issue, have you installed the required fonts? I've seen games that have use TTF fonts that needed to be installed in Wine. Also there is the possibility that other libraries are required by the games themselves. You might be able to find out more information on that from the Wine website.

— Reply to this email directly, view it on GitHub https://github.com/GeorgeMcMullen/rp-box86wine/issues/4#issuecomment-1910113040, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONOVWP5FSE2KWIZESUTYQJGKXAVCNFSM6AAAAAA7EMHBAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGEYTGMBUGA . You are receiving this because you were mentioned.Message ID: @.***>

GeorgeMcMullen commented 7 months ago

Yes I installed the fonts inside wine, all the package did not work,have you encounter this issue and fix it??

I've experienced some issues with fonts, but they were resolved by copying the TTF files to ~/.wine/drive_c/windows/Fonts/, which seems to be what you've already tried.

I checked out the Wine compatibility list for Age of Empires III (https://appdb.winehq.org/objectManager.php?sClass=version&iId=3795) and there are several instructions there, but the one that really resonated with your comment about running it in software mode was "Turn off 'allow pixel shader' in winecfg under Graphics". Have you tried that yet? There's another few notes about VSYNC there, but I'm not sure what that means.

actraiser30 commented 7 months ago

Thanks I try that,were I can get the ttf fonts files?? In case I missed something

On Thu, Jan 25, 2024, 10:14 PM George McMullen @.***> wrote:

Yes I installed the fonts inside wine, all the package did not work,have you encounter this issue and fix it??

I've experienced some issues with fonts, but they were resolved by copying the TTF files to ~/.wine/drive_c/windows/Fonts/, which seems to be what you've already tried.

I checked out the Wine compatibility list for Age of Empires III ( https://appdb.winehq.org/objectManager.php?sClass=version&iId=3795) and there are several instructions there, but the one that really resonated with your comment about running it in software mode was "Turn off 'allow pixel shader' in winecfg under Graphics". Have you tried that yet? There's another few notes about VSYNC there, but I'm not sure what that means.

— Reply to this email directly, view it on GitHub https://github.com/GeorgeMcMullen/rp-box86wine/issues/4#issuecomment-1910919469, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONIZ6RX7V3OE2QGWYTLYQK4KFAVCNFSM6AAAAAA7EMHBAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQHEYTSNBWHE . You are receiving this because you were mentioned.Message ID: @.***>

GeorgeMcMullen commented 7 months ago

I'm not fully sure, but I saw in an old (really old) Wine bug that it was suggested to use Winetricks to install corefonts. Here's the bug, which also references Age of Empires.

https://bugs.winehq.org/show_bug.cgi?id=20456

actraiser30 commented 7 months ago

There is not such an option "pixel shader" in winecfg under Graphics

there is not really an installer for corefonts I found a Linux deb package with corefonts and extracted the fonts manual in the location you specified,but nothing changed, also installed age of mythology under wine.the same issue as age of empires 3 strange must use the same engine.

actraiser30 commented 7 months ago

I tried everything they describe in the issues nothing worked, still I don't have understand how it works on bookworm correct,maybe an extra package it installs??

On Thu, Jan 25, 2024, 11:56 PM George McMullen @.***> wrote:

I'm not fully sure, but I saw in an old (really old) Wine bug that it was suggested to use Winetricks to install corefonts. Here's the bug, which also references Age of Empires.

https://bugs.winehq.org/show_bug.cgi?id=20456

— Reply to this email directly, view it on GitHub https://github.com/GeorgeMcMullen/rp-box86wine/issues/4#issuecomment-1911062604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCXONM64Q2WJYXZOEPBRATYQLII7AVCNFSM6AAAAAA7EMHBAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJRGA3DENRQGQ . You are receiving this because you were mentioned.Message ID: @.***>