ublue-os / bluefin

The next generation Linux workstation, designed for reliability, performance, and sustainability.
https://projectbluefin.io
Apache License 2.0
1.25k stars 163 forks source link

Wine Broken on my Machine #1880

Open Malix-Labs opened 2 weeks ago

Malix-Labs commented 2 weeks ago

Problem

Since I downloaded Bluefin, I was never able to make Wine (through Bottles) work

Today, I am really dependent on a Windows app which I would like to use through Wine (preferably through Bottles)

I tried many different bottles configurations and many different .exe for at least 2 hours, the same (or almost the same) error appears (see "Wine Error Logs" bellow)

Expected Outcome

A working Wine (preferably through Bottles)

Logs

Wine Error Logs

When launching an .exe, the same error log appear :

wineserver: using server-side synchronization.
00d8:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00d8:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
00d8:err:systray:initialize_systray Could not create tray window
0114:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0114:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
0114:err:tabtip:wWinMain Failed to create hwnd!
00d0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00d0:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."

rpm-ostree status

malix@malix-pc ~> rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: last run 56s ago
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx-nvidia:stable
                   Digest: sha256:3649ba4bc24a5304641c71b9e4e055bf749cedaec5a49ed2beaa39820c85cfc2
                  Version: 40.20241102.0 (2024-11-03T17:56:54Z)
          LayeredPackages: google-chrome-beta

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx-nvidia:stable
                   Digest: sha256:40306dc6dd3b4a7031bf3558f055196bff20f68e06e58ebee82a26b7558ca3ec
                  Version: 40.20241102.0 (2024-11-03T05:46:49Z)
          LayeredPackages: google-chrome-beta

groups

malix@malix-pc ~> groups
malix wheel docker incus-admin lxd libvirt

flatpak info com.usebottles.bottles

malix@malix-pc ~> flatpak info com.usebottles.bottles 

Bottles - Run Windows Software

          ID: com.usebottles.bottles
         Ref: app/com.usebottles.bottles/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 51.15
     License: GPL-3.0-only
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 472.6 MB
     Runtime: org.gnome.Platform/x86_64/47
         Sdk: org.gnome.Sdk/x86_64/47

      Commit: ba8aaeebfa31af3b3bcd01376f583d630c015d5cb09678b691a545d794972927
      Parent: c37b32c62235531078b1241bb97af43d7b85292f35364c693f655df2a8bd0dcc
     Subject: com.usebottles.bottles.src: Update Bottles to 51.15 (8645515e)
        Date: 2024-10-15 09:01:59 +0000

Display Server

malix@malix-pc ~> echo $DISPLAY
:0
malix@malix-pc ~> echo $XDG_SESSION_TYPE
wayland

Fetch

Legion 5-15ACH6H Laptop (Lenovo) - Type 82JU

malix@malix-pc ~> fastfetch
                       ▅▃▂▄▅▃▄            malix@malix-pc
                ▂▃▃▄▅▆▆▇▗▆▅▄▃▂▝▝    
               ┏▅▆▆┈▅▇▇▁▚▅▆▍▇▆▇▝▖       󱋩  bluefin-dx-nvidia:stable 🔐
               ▅╸▄▃━━▆▁▗▘▝▘▇━╻▗┽▝▖      󰣛  Bluefin-dx 40 (FROM Fedora Silverblue)
                ▅▄▄▖▆━▃╸▖╶▄▂▄▖╲▆▃▖▖       Linux 6.11.3-200.fc40.x86_64
            ▁▃▂     ▝▖┏▗▄┊▅▄▇▘╹▘┒▉▋     󰅐  5 hours, 26 mins
      ▂▃▂▂▃▄▄▆▆▇▅▄▄▂▂▃▘▖▎╲┑▃▎╶▖▁▝▎╻     󰔠  Forged on May 19 2024
▄▆▂▄▆▇▇▂▇┮▆▁▃▂▂─▃▄┰┈▆▃╺▖▝▊▝▃▘▎┛┫▍▋▍ 
▇━━╸▋╺╁▝▅▄▄▄▂╼▇▂▃▄▅▆▘━▏▂┭▃▝▖▅▚▍╴▄▋▍     󰾰  82JU (LEGION 5 15ACH6H)
▄▆╼┰┅▃▘╻▁▃━╼▖┅▃┈━▅▅┘▁╹▇▎╳━▎▚╸╵▅▃▗▋      󰻠  AMD Ryzen 7 5800H (16) @ 4.46 GHz
╸┎╌▆▆┗╺▘▘▖╸▇┗▖▅▂▎┷▂━╴┒╴┞╏╵▖▚▃╴┍▚▗       󰍛  NVIDIA GeForce RTX 3060 Mobile / Max-Q
┇▗┉╀┴╌▚▗▏┘╶┴▉▖▖╺▅┏▄▂╴┈┅▗▗━▏▝╱╱▘▘        󰍛  AMD Radeon Vega Series / Radeon Vega Mobile Series [Integrated]
▁▊▍▍╶┊╱▝┅╶╼┲┕┨▌▅╱╴▗▘└▏╄▝▗▆▘▂▚▄          󰧑  5.45 GiB / 13.49 GiB (40%)
╸┛▖╿▍╎▊┼┏┉╇▇┓▗▊▋┢╶┱▍▘┯╴┈▚╲▃▆▗▃▃▁          68.90 GiB / 952.60 GiB (7%) - btrfs [Read-only]
▁▁┠▖▍▃▃▃▆▅▄▄▘▄▊┨╱╸╵▗╺▃┚┛┈┫▝╲▗▃┣▁╸       󰍹  2560x1440 @ 144 Hz (as 2048x1152) in 27" [External] *
▃▃▃╱▘▃┒▗┦▅▗▚╋▂▂▝╺╱▆▂╼┻┏▄┗▖┈▊▖▉┊▋        󰍹  1920x1080 @ 165 Hz (as 1536x864) in 15" [Built-in]
  ╵▅▃▃▃┎▗▘▉▌╺╹╸▗▘▅▅┍┛╱▖┃▄▄▗▋▌▋╍▏          100% [AC Connected]
  ▉▂▘▘▃▄▖▖▆▅┈┍▄▃▄▄▄▗▍▅▖▄▘▎▚╲▏▌┺     
  ▍▘▂▗▗  ▎▆▖▎▆▘    ▝▌▝╱▃▘▄▍▗▅           󰕮  GNOME 46.5
   ▖▁╏▌  ▘▄▝▎ ▅▅━┑▖ ▄▄▅▂▘▉▃               Mutter (Wayland)
   ▝▌╆▎ ╴▗▆▇▅╍▄▌  ▘                       fish 3.7.0
    ▍▏▝▁▆▌┃▏▁▆┆▋▅▇▅                       Ptyxis 46.7
    ▋▌▅┛┰▇━▁━▅▅▅▅▅▆                     󰏖  2300 (rpm), 62 (flatpak), 58 (brew)
     ▄▃▃▂▃▂▘▅▘                      
tulilirockz commented 2 weeks ago

What kind of error are you getting? Try running flatpak run com.usebottles.bottles and sending the logs here, otherwise we cant begin to debug this issue since theres no info about it

Malix-Labs commented 2 weeks ago

The error seems to come from Wine, not bottle

I updated the issue to make it clearer

theres no info about it

Are the logs I already added to "extra information or context" not enough ?
That's all the logs I got for now, and included some extra ones I thought relevant

Bottles as a GUI is running fine, Wine is not, so I guess Wine is the problem and not Bottles

Malix-Labs commented 2 weeks ago

Reproduction

  1. Image
  2. Image
  3. https://www.majorgeeks.com/mg/get/notepad,2.html (notepad++ Windows Exe v8.7.1 x86_64) Image
  4. Image
  5. Image
petete1 commented 2 weeks ago

I have your exact same laptop, with bazzite-nvidia instead. The installer starts just fine here.

Malix-Labs commented 2 weeks ago

@petete1 does those exact reproduction steps succeed : https://github.com/ublue-os/bluefin/issues/1880#issuecomment-2457904076 ?

petete1 commented 2 weeks ago

Yes, the steps i followed were: 1-Create a new prefix with default settings 2-download and launch the installer 3-notepad++ just works

For the record it seems to use the integrated AMD gpu, as there's nothing on nvidia-smi. Did you try using wine directly or any other wine launcher like steam, lutris or heroic?

Malix-Labs commented 2 weeks ago

Did you try using wine directly

The CLI doesn't seem to come in Bluefin and Wine linux also doesn't seem to be available in brew

I could try a distrobox, maybe

or any other wine launcher like steam, lutris or heroic?

I have none installed because I do not play video games anymore

I will try with Lutris, but I don't think it would change the outcome

Malix-Labs commented 2 weeks ago

Maybe the issue comes from a wrong state in my system config ?

No idea what it could be though, and searching on the internet wasn't fruitful

In which case I would have liked to have https://github.com/ublue-os/main/issues/95

Juan-de-Costa-Rica commented 2 weeks ago

@Malix-Labs

I could try a distrobox, maybe

Wine is working fine for me from an Ubuntu distrobox, just tested it now.

tulilirockz commented 2 weeks ago

@Malix-Labs Sorry, I didnt see the logs on the original post for some reason :p - This is a Xwayland issue, not a wine one. Do you mind checking if Bottles has access to X11 on Flatseal? - Is Steam or Lutris working on your system?

Malix-Labs commented 2 weeks ago

no worries @tulilirockz :)

This is a Xwayland issue, not a wine one

Okay, thanks for your analysis

It seems to work fine for other stuff in my system though, or at least I have not noticed

Do you mind checking if Bottles has access to X11 on Flatseal?

Ofc, here it is :

Default settings, nothing changed

  1. Image
  2. Image
  3. Image

Is Steam or Lutris working on your system?

Steam yes, I already tested it for a video game I tested but only for a few minutes/hours

Lutris idk, never really tested

Malix-Labs commented 1 week ago

hey again @tulilirockz !

do you know where it could come from ?

I still haven't found much after that

tulilirockz commented 1 week ago

Hello! @Malix-Labs Honestly, absolutely no idea. If I had that issue id just enable and disable random things in flatseal until it worked 😭 - For now id recommend you to use Lutris if it works, it should be similar enough to bottles to use