GithubHelp home page GithubHelp logo

Comments (15)

soupglasses avatar soupglasses commented on May 13, 2024

My current nix-info -m for help with reproducibility:

  • system: "x86_64-linux"
  • host os: Linux 5.15.49, NixOS, 22.05 (Quokka), 22.05.20220701.915f5a5
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.9.1
  • nixpkgs: /nix/store/737x6b497aja65nr0f75nnxfzag1vl1v-source

from nix-gaming.

fufexan avatar fufexan commented on May 13, 2024

It works on my system, which leads me to believe:

  • Wine built on nixpkgs-unstable is incompatible with nixos-22.05. If it's the case, I'll add that as an input and create new wine packages that build on that.
  • There's some kernel specific functionality going on. I use xanmod_latest, but I notice you're using the default kernel. Could you maybe try any of the newer kernels to see if they fix the issue?

from nix-gaming.

soupglasses avatar soupglasses commented on May 13, 2024

So i tried setting inputs.nix-gaming.inputs.nixpkgs.follows = "nixpkgs" and compiled it against my nixos-22.05 target. This did not fix the issue.

Setting boot.kernelPackages = pkgs.linuxPackages_xanmod_latest did not help the issue either.

One of the new things i noticed is that wine seems to be repeatedly opening new explorer.exe and conhost.exe instances. Which explains the failed to create desktop window error. Its using up all available desktop windows i can run on x11, then sending those errors over and over when it keeps trying to launch explorer.exe and conhost.exe. Not sure why wine is stuck opening thousands and thousands of these however.

Image of gnome-control-center after running wine notepad.exe

image

from nix-gaming.

fufexan avatar fufexan commented on May 13, 2024

That's an interesting finding. Are you running GNOME X11 or Wayland? I've almost exclusively used Wayland in the last year, with Wine running in XWayland, but never encountered such problems.

from nix-gaming.

soupglasses avatar soupglasses commented on May 13, 2024

It is running GNOME X11 with nvidia proprietary drivers.

from nix-gaming.

fufexan avatar fufexan commented on May 13, 2024

I wonder if nvidia is to blame here, but since this is X11 the chances are slim. I'll try to replicate your system on my machine.

from nix-gaming.

soupglasses avatar soupglasses commented on May 13, 2024

If you want the exact build. It's on https://github.com/imsofi/coturnix
I'll get the latest update pushed when I get home.

from nix-gaming.

soupglasses avatar soupglasses commented on May 13, 2024

So i tested the wine-tkg package on my non-nixos based machine running Fedora, and it works flawlessly on both Wayland and X11 Gnome. That leads me to believe it may be a quirk in my NixOS setup, probably relating to nvidia with their proprietary drivers, which has lead me down odd issues in the past.

I will not get access to that machine again until next month, so i cant debug it further until then.

from nix-gaming.

fufexan avatar fufexan commented on May 13, 2024

I currently don't use nvidia on my systems so I can't test, but we can leave this issue open if you still care about wine-tkg.

from nix-gaming.

Kid0h avatar Kid0h commented on May 13, 2024

Was this solved? I'm having the exact same problem, though on Ubuntu, some of my friends also have the same problem and are using Manjaro.

from nix-gaming.

soupglasses avatar soupglasses commented on May 13, 2024

What kind of systems do you use? It may be a issue of hardware acceleration, something that may need nixGL to be used correctly?

from nix-gaming.

Kid0h avatar Kid0h commented on May 13, 2024

What kind of systems do you use? It may be a issue of hardware acceleration, something that may need nixGL to be used correctly?

I have an NVIDIA GPU and an Intel CPU.
I think this might not be the right place to talk about this issue as it doesn't have anything to do with nix specifically, but we're already here so why not 🤷🏽‍♂️

from nix-gaming.

soupglasses avatar soupglasses commented on May 13, 2024

This ended up being a upstream issue around a faulty patch and how it interacts with certain versions of (nvidia?) hardware. Frogging-Family/wine-tkg-git@96fcdb9

This issue can be closed when the next wine-tkg update comes with this patch included.

from nix-gaming.

SuperSamus avatar SuperSamus commented on May 13, 2024

This issue is still open.

from nix-gaming.

fufexan avatar fufexan commented on May 13, 2024

Sure, but it does not happen to me. If anyone has any clues why it might not be working, do share it with us.

from nix-gaming.

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.