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

Wine Broken on my Machine #1880

Open
Malix-Labs opened this issue Nov 4, 2024 · 13 comments
Open

Wine Broken on my Machine #1880

Malix-Labs opened this issue Nov 4, 2024 · 13 comments
Labels
bug Something isn't working upstream Something that likely isn't us

Comments

@Malix-Labs
Copy link

Malix-Labs commented Nov 4, 2024

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)
     ▄▃▃▂▃▂▘▅▘                      
                                                                  
                                                                  
@dosubot dosubot bot added the bug Something isn't working label Nov 4, 2024
@Malix-Labs Malix-Labs changed the title Bottle (and Wine) doesn't work Wine Broken (for me) Nov 4, 2024
@tulilirockz
Copy link
Collaborator

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
Copy link
Author

Malix-Labs commented Nov 5, 2024

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 Malix-Labs changed the title Wine Broken (for me) Wine Broken on my Machine Nov 5, 2024
@Malix-Labs
Copy link
Author

Malix-Labs commented Nov 5, 2024

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
Copy link

petete1 commented Nov 6, 2024

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

@castrojo castrojo added the upstream Something that likely isn't us label Nov 6, 2024
@Malix-Labs
Copy link
Author

@petete1 does those exact reproduction steps succeed : #1880 (comment) ?

@petete1
Copy link

petete1 commented Nov 6, 2024

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
Copy link
Author

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
Copy link
Author

Malix-Labs commented Nov 6, 2024

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 ublue-os/main#95

@Juan-de-Costa-Rica
Copy link

@Malix-Labs

I could try a distrobox, maybe

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

@tulilirockz
Copy link
Collaborator

@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
Copy link
Author

Malix-Labs commented Nov 7, 2024

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
Copy link
Author

Malix-Labs commented Nov 8, 2024

hey again @tulilirockz !

do you know where it could come from ?

I still haven't found much after that

@tulilirockz
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream Something that likely isn't us
Projects
None yet
Development

No branches or pull requests

5 participants