Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | WINE #3914

Open
savioruz opened this issue Nov 11, 2020 · 14 comments
Open

DietPi-Software | WINE #3914

savioruz opened this issue Nov 11, 2020 · 14 comments

Comments

@savioruz
Copy link

savioruz commented Nov 11, 2020

Creating a software request

Formal software information

Are there similar/alternative software titles available with DietPi-Software?

No

  • ...

What makes your requested software better than the above solutions, if available?

It is fully open source, alternative exagear (coz exagear paid) without any (feature) limitation to free users. It has a large feature range based on available apps and a large active community.

  • ...

How can DietPi make the installation easier or compatible, than following the install instructions or do APT installation, if available?

According to the official install instructions there are a lot of manual steps to do for arm. DietPi could automate those steps, which saves end users a lot of time and allows installation as well to less experienced Linux users.

  • ...

Can you provide the installation steps that you would suggest DietPi-Software to do?

  1. ... Im confused xD

Are you willing to help maintaining the software installation, e.g. in case of needed setup changes due to updates etc.? This is not needed, but could speed up our decision to implement it, as man power is always a topic 😉.

  • Sorry, Im confused when installing wine

Vote for this software on FeatHub: https://feathub.com/MichaIng/DietPi/

@Joulinar
Copy link
Collaborator

Hi,

many thanks for the request. According install page, WineHQ packages are for x86 architecture only; they cannot be installed on an ARM system. Means it limits the usage. It can't be used on SBC like Raspberry Pi.

@savioruz
Copy link
Author

but twister os support wine. hmmm

@Joulinar
Copy link
Collaborator

well that`s how it is stated on WineHQ web site

@ravenclaw900
Copy link
Collaborator

TwisterOS supports Wine by using Box86, an emulator that translates armhf calls to x86 calls.

@savioruz
Copy link
Author

TwisterOS supports Wine by using Box86, an emulator that translates armhf calls to x86 calls.

if remove box86 wine not work right ?

@ravenclaw900
Copy link
Collaborator

ravenclaw900 commented Nov 12, 2020

Yes. It does seem like you can compile wine for ARM (just aarch64 I think), but it will only run specific ported apps.

@MichaIng
Copy link
Owner

MichaIng commented Nov 12, 2020

Hmm, so you need to run an x86 emulator to run a Windows emulator to run a Windows program. Probably you should simply run a program that is available for Linux or can be compiled for Linux on ARM 😄.

Jokes aside, since Windows programs are usually x86 only anyway, there is no point to get this running on ARM natively, IMO. Windows ARM64 is on the way, but it will take a looooong time until Windows-only software developers start to provide compatible software I'm afraid 😉. If there is really a need to run an x86 Windows program on e.g. Raspberry Pi 4, then qemu static emulation or even a VM should be easier, isn't it?

@savioruz
Copy link
Author

Hmm, so you need to run an x86 emulator to run a Windows emulator to run a Windows program. Probably you should simply run a program that is available for Linux or can be compiled for Linux on ARM 😄.

Jokes aside, since Windows programs are usually x86 only anyway, there is no point to get this running on ARM, IMO. Windows ARM64 is on the way, but it will take a looooong time until Windows-only software developers start to provide compatible software I'm afraid 😉. If there is really a need to run an x86 Windows program on e.g. Raspberry Pi 4, then qemu static emulation or even a VM should be easier, isn't it?

yep

@CactiChameleon9
Copy link
Contributor

Just wanted to add, that box86 is translation (I think - check their github) instead of emulation. It tries to use native binaries making it faster than qemu.

@MichaIng
Copy link
Owner

MichaIng commented Dec 5, 2020

The combination SBC + Box64 + Wine x86 is shown here: https://www.cnx-software.com/2020/11/19/box86-is-an-x86-emulator-for-raspberry-pi-and-other-32-bit-arm-platforms/
Especially for OpenGL software/games support seems to be not (yet) perfect, but the combination in general seems to work. So looks like we might want to add both, Box64 and Wine x86 and make the second depend on the first on ARM boards.

@MichaIng MichaIng changed the title WINE DietPi-Software | WINE Dec 15, 2020
@MichaIng
Copy link
Owner

For Odroids, thanks to @meveric, there is a DEB package available for WINE via Box86: https://dietpi.com/meveric/pool/main/b/
So we can easily make it available there. For other SoCs, we need to either build and host packages or build Box86 on demand on install.

I'll just reference the Box86 request here, which IMO makes sense to implement it first: #3957

@savioruz
Copy link
Author

For Odroids, thanks to @meveric, there is a DEB package available for WINE via Box86: https://dietpi.com/meveric/pool/main/b/
So we can easily make it available there. For other SoCs, we need to either build and host packages or build Box86 on demand on install.

I'll just reference the Box86 request here, which IMO makes sense to implement it first: #3957

gud af

@meveric
Copy link

meveric commented Dec 15, 2020

my package comes with a wrapper box86_wine to run box86 in combination with wine, still a command line tool, but it helps alot.

For example:

export MESA=1 
export WINEPREFIX=/home/odroid/.PlayOnLinux/wineprefix/Anno1602 
cd /home/odroid/.PlayOnLinux/wineprefix/Anno1602/drive_c/GOG\ Games/Anno\ 1602/
box86_wine 1602.exe

or as a one-liner (assuming you're already in the correct folder)
MESA=1 WINEPREFIX=/home/odroid/.PlayOnLinux/wineprefix/Anno1602 box86_wine 1602.exe

once again, this is standard x86/armhf software and not ODROID specific

@MichaIng
Copy link
Owner

my package comes with a wrapper box86_wine to run box86 in combination with wine

Very nice. After upcoming DietPi release I'll play a bid with it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants