Code Monkey home page Code Monkey logo

Comments (19)

simfu avatar simfu commented on June 14, 2024 1

I've rebuilded your wine docker image by changing bullseye to bookworm in the Dockerfile (two changes)

@@ -1,4 +1,4 @@
-FROM debian:bullseye-slim
+FROM debian:bookworm-slim

 ENV NVIDIA_VISIBLE_DEVICES \
         ${NVIDIA_VISIBLE_DEVICES:-all}
@@ -32,7 +32,7 @@
        libgl1-mesa-glx libgl1-mesa-glx:i386 \
        libgl1-mesa-dri libgl1-mesa-dri:i386 && \
        wget -qO - http://dl.winehq.org/wine-builds/winehq.key | apt-key add - && \
-       echo "deb https://dl.winehq.org/wine-builds/debian/ bullseye main" > \
+       echo "deb https://dl.winehq.org/wine-builds/debian/ bookworm main" > \
        /etc/apt/sources.list.d/winehq.list && \
        apt-get update && \
        apt-get -y install --install-recommends winehq-stable && \

from zwift.

netbrain avatar netbrain commented on June 14, 2024 1

from zwift.

netbrain avatar netbrain commented on June 14, 2024

it's based on this: https://github.com/netbrain/dockerfiles/tree/master/wine

Feel free to base it on your own image.

What do you mean by that bullseye don't have drivers for your ryzen card? I was not aware that this was even something to take into consideration.

from zwift.

julian-klode avatar julian-klode commented on June 14, 2024

The 3D drivers are userspace components shipped by mesa; the ones in bullseye (libgl1-mesa-dri) are far too old to support modern GPUs, after all bullseye is almost EOL by now.

from zwift.

quietvoid avatar quietvoid commented on June 14, 2024

The container is supposed to be using your host drivers, though.
I run a 6900 XT which is recent and have no problem.

You can easily setup your local image, there are helper scripts as well.

from zwift.

simfu avatar simfu commented on June 14, 2024

Hello,

I confirm it does not work with my recent GPU (AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics). Mesa version included in netbrain/wine is indeed too old.

I managed to get Zwift running by rebuilding an image based on a modified version of netbrain/wine in which bullseye is replaced by bookworm.

from zwift.

netbrain avatar netbrain commented on June 14, 2024

https://hub.docker.com/layers/netbrain/wine/7.0.0-bookworm/images/sha256-93716a9ea11be31f596a1cf53b0637f3e0eeacf2d32fddbf00d072abdb8a2f31?context=explore

from zwift.

netbrain avatar netbrain commented on June 14, 2024

Taking your word for it and upgrading to bookworm :)

from zwift.

netbrain avatar netbrain commented on June 14, 2024

@simfu im having issues upgrading to bookworm, can you please detail what changes you had to do in order to get the zwift image building?

https://github.com/netbrain/zwift/actions/runs/7099516289/job/19359828242

from zwift.

netbrain avatar netbrain commented on June 14, 2024

Ah right, missed that wine apt source

from zwift.

quietvoid avatar quietvoid commented on June 14, 2024

The image build fails at winetricks --unattended dotnet20 win10 when building from scratch now.

from zwift.

julian-klode avatar julian-klode commented on June 14, 2024

Sorry for starting this. I also spent 4 hours or so trying to produce an image, but from scratch using a Ubuntu container and Ubuntu's wine package and gave up over similar issues at like 11pm and bought an Apple TV later.

I mean graphics is a lot better on PC in wine but the effort of getting it running and keeping it running is a bit mad.

I think a problem is that the image was past built with wine 7 but now it's wine 8.0.2 or something in the winehq and it may have different bugs causing different winetricks to not work, because you can't pin a specific wine repository state.

Good luck though.

from zwift.

netbrain avatar netbrain commented on June 14, 2024

from zwift.

netbrain avatar netbrain commented on June 14, 2024

trying a matrix build now to check which combinations of versions that work with the bookworm distro

https://github.com/netbrain/zwift/actions/runs/7133908520/job/19427595768

from zwift.

netbrain avatar netbrain commented on June 14, 2024

Also my latest Dockerfile with the same versions as used in bullseye build seems to work on bookworm (locally atleast). Let's see if the github action get's a successfull build! 🤞

from zwift.

netbrain avatar netbrain commented on June 14, 2024

I mean graphics is a lot better on PC in wine but the effort of getting it running and keeping it running is a bit mad.

Yeah, that is exactly why i started this project, so it should be a single build to rule them all kind of thing.

I don't blame you for purchasing a Apple TV ;) but your always welcome to try this again in the future 👍

from zwift.

netbrain avatar netbrain commented on June 14, 2024

https://github.com/netbrain/zwift/actions/runs/7134247593

new run started as the other "failed fast".

Seems that we have a couple that is in the green.

How should we proceed with upgrading? just simply use the latest version combination and cross our fingers that it works? or stay on something we know is stable? (i.e wine 7.0, winetricks 2021, wine-mono 7.0) ?

from zwift.

netbrain avatar netbrain commented on June 14, 2024

Build from scratch have now replaced the latest container version

from zwift.

netbrain avatar netbrain commented on June 14, 2024

Documenting working versions here #47

from zwift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.