Hi,
I've started using FreeBSD again and I'm mostly happy with it, almost everything I need works.
I have a problem with Wine and my GPU, I've narrowed it down to a specific line of code in wine source.
I've tried installing a game (Terraria on Steam in Wine), and I can install it, but I can't start it.
On the same hardware it works on Linux.
I'm using 64bit system and tried using i386-wine, i386-wine-devel and i386-wine-staging with mostly the same effects, only the newer version is more helpful with explaining the problem.
I'm using open source radeon driver, and my gpu is recognized as Gallium 0.4 on AMD ARUBA.
The problem is that (i found out after some digging in wine source code) that AMD ARUBA is set for 7660D and when my GPU which is 7560D which is the wine can not detect (from the hardware standpoint they are almost identical).
I've decided to fill in the enum for device type and compile the wine on my own, but I couldn't use the ports tree easily for that.
If I understand correctly all these wine versions are binary packages and don't get really compiled on my machine. I wanted to do
and to modify the source to install the patched wine.
How should I try to do that ?
Is my way of modifying the source of a port correct ?
I also tried installing 32bit libraries in /compat/i386 and all dependencies, I also compiled "my" modified wine in it, but it's not working, I think that my system (64bit side) is not seeing those compiled wine 32 libraries, although I did do this
and followed the building instructions on this page:
I've started using FreeBSD again and I'm mostly happy with it, almost everything I need works.
I have a problem with Wine and my GPU, I've narrowed it down to a specific line of code in wine source.
I've tried installing a game (Terraria on Steam in Wine), and I can install it, but I can't start it.
On the same hardware it works on Linux.
I'm using 64bit system and tried using i386-wine, i386-wine-devel and i386-wine-staging with mostly the same effects, only the newer version is more helpful with explaining the problem.
I'm using open source radeon driver, and my gpu is recognized as Gallium 0.4 on AMD ARUBA.
The problem is that (i found out after some digging in wine source code) that AMD ARUBA is set for 7660D and when my GPU which is 7560D which is the wine can not detect (from the hardware standpoint they are almost identical).
I've decided to fill in the enum for device type and compile the wine on my own, but I couldn't use the ports tree easily for that.
If I understand correctly all these wine versions are binary packages and don't get really compiled on my machine. I wanted to do
Code:
# cd /usr/ports/emulators/i386-wine-devel
# make depends
How should I try to do that ?
Is my way of modifying the source of a port correct ?
I also tried installing 32bit libraries in /compat/i386 and all dependencies, I also compiled "my" modified wine in it, but it's not working, I think that my system (64bit side) is not seeing those compiled wine 32 libraries, although I did do this
Code:
$ more wine
#!/bin/sh
export LD_32_LIBRARY_PATH=/compat/i386/usr/local/lib
export PATH=/compat/i386/usr/local/bin:$PATH
exec /compat/i386/usr/local/bin/wine "$@"
Code:
https://wiki.freebsd.org/i386-Wine