GithubHelp home page GithubHelp logo

Comments (27)

dhewg avatar dhewg commented on July 28, 2024 1

Sounds like you mixed mesa packages from the ubuntu repos and that ppa which conflict with each other. You need to install all mesa related packages from only one source.

It may be easier to just grab the release binaries, which I specifically provide to avoid all those problems with outdated packages ;)

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

By the way, I think Padoka Stable PPA has d3dadapter9.so, because:
ls /usr/lib/x86_64-linux-gnu/d3d/d3dadapter9.so.1.0.0
/usr/lib/x86_64-linux-gnu/d3d/d3dadapter9.so.1.0.0

from wine-nine-standalone.

dhewg avatar dhewg commented on July 28, 2024

That's output from nine-install.sh.
Did you use release.sh to build it? Did that succeed?

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

@dhewg Thanks, but I get a new error, still related to d3dadapter9:
default

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

@dhewg when I locate dadadapter9, I do have it:
default

from wine-nine-standalone.

dhewg avatar dhewg commented on July 28, 2024

That's the runtime package, you need its headers and pkgconfig/d3d.pc.
Which are in mesa-common-dev for this PPA, see https://github.com/iXit/wine-nine-standalone/wiki/Debian-and-Ubuntu

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

@dhewg Thanks, but I can't install mesa-common-dev, because it relies on libd3dadapter9-mesa (= 18.2.2-0ubuntu1~18.04.1), its version is still 18.2.2, but the mesa version in Padoka Stable PPA is already 18.3.3-1~c~padoka0, which makes it can't be installed.

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

@dhewg You're right, I just misunderstood your meaning of with Debian buster and **Ubuntu cosmic** the required development packages are:, now I know that's for users not using Padoka Stable PPA :)
Now I can install mesa-common-dev, but I still get this error:
default

from wine-nine-standalone.

dhewg avatar dhewg commented on July 28, 2024

pkgconfig/d3d.pc is still missing I guess? Try dpkg -S d3d.pc
It is in mesa-common-dev for oibaf's ppa, I thought it's the same for padoka?
Anyway, that file from a -dev package is required

As a side note, just c&p shell output here, there's no need to post screenshots

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

@dhewg Thanks, here is the result:
wushichao@family:~/wine-nine-standalone$ dpkg -S d3d.pc
mesa-common-dev:amd64: /usr/lib/x86_64-linux-gnu/pkgconfig/d3d.pc
But when I compiling it, it can find d3d, but I get new error:
/usr/include/d3dadapter/present.h:26:10: fatal error: d3d9.h: no such file or directory

from wine-nine-standalone.

dhewg avatar dhewg commented on July 28, 2024

Well, it tells you what's missing...
Just grab a binary release. Even if you fixed that error, I suspect you run into the next issue with a buggy winegcc afterwards.

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

@dhewg I'm using Linux Mint 19.1 using Padoka PPA from very beginning, you mean I need grab wine-nine-standalone's binary release?

from wine-nine-standalone.

dhewg avatar dhewg commented on July 28, 2024

Yeah, gallium-nine-standalone-v0.2.tar.gz from https://github.com/iXit/wine-nine-standalone/releases/tag/v0.2 should just work, including on Mint

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

@dhewg I grab the binary release, and just run ./nine-install.sh, still get the same error:
installing 32bit binaries to /home/wushichao/.wine/dosdevices/c:/windows/syswow64
installing 64bit binaries to /home/wushichao/.wine/dosdevices/c:/windows/system32
enabling gallium nine
0034:err:ninecfg:nine_set d3d9-nine.dll not found.
done
But I can find d3d9-nine.dll.so in binary release's folder.

from wine-nine-standalone.

dhewg avatar dhewg commented on July 28, 2024

Ok, well that's weird.
Please paste the output of find /home/wushichao/.wine/drive_c/ -name \*nine\* | xargs ls -la

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

@dhewg That's on my desktop PC (AMD RX480), I also install it on my old laptop (AMD HD8670M card), not has this problem, but when I run wine ninewinecfg, I can see the GUI, get some new errors:
default
In the terminal, it says:
nightwing@halo:~$ wine ninewinecfg
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32e4e4,0x00000000), stub!
0009:err:d3d9nine:present_create_adapter9 Unable to create ID3DAdapter9 (fd=13)
0009:fixme:win:EnumDisplayDevicesW ((null),1,0x32e4e4,0x00000000), stub!
0009:err:d3d9nine:d3dadapter9_new No available native adapters in system.

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

@dhewg for my desktop PC:
wushichao@family:~/gallium-nine-standalone$ find /home/wushichao/.wine/drive_c/ -name *nine* | xargs ls -la
lrwxrwxrwx 1 wushichao wushichao 62 2月 4 16:09 /home/wushichao/.wine/drive_c/windows/system32/d3d9-nine.dll -> /home/wushichao/gallium-nine-standalone/lib64/d3d9-nine.dll.so
lrwxrwxrwx 1 wushichao wushichao 64 2月 4 16:09 /home/wushichao/.wine/drive_c/windows/system32/ninewinecfg.exe -> /home/wushichao/gallium-nine-standalone/bin64/ninewinecfg.exe.so
-rw-r--r-- 1 wushichao wushichao 106772 1月 26 16:51 /home/wushichao/.wine/drive_c/windows/system32/wininet.dll
lrwxrwxrwx 1 wushichao wushichao 62 2月 4 16:09 /home/wushichao/.wine/drive_c/windows/syswow64/d3d9-nine.dll -> /home/wushichao/gallium-nine-standalone/lib32/d3d9-nine.dll.so
lrwxrwxrwx 1 wushichao wushichao 64 2月 4 16:09 /home/wushichao/.wine/drive_c/windows/syswow64/ninewinecfg.exe -> /home/wushichao/gallium-nine-standalone/bin32/ninewinecfg.exe.so
-rw-r--r-- 1 wushichao wushichao 106772 1月 26 16:59 /home/wushichao/.wine/drive_c/windows/syswow64/wininet.dll

PS: I can run the GUI on my desktop PC, but it seems to lack more things, terminal says nothing:
image

from wine-nine-standalone.

dhewg avatar dhewg commented on July 28, 2024

0009:err:d3d9nine:d3dadapter9_new No available native adapters in system.
That means no gallium drivers, do you use AMD's binary drivers on that box?

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

@dhewg I also use Padoka Stable PPA on my laptop.

from wine-nine-standalone.

dhewg avatar dhewg commented on July 28, 2024

Hm, the error makes it sounds like you're not.
What does glxinfo | grep OpenGL say?

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

@dhewg It's Padoka PPA, I'm very sure :)
nightwing@halo:~$ glxinfo | grep OpenGL
ATTENTION: default value of option vblank_mode overridden by environment.
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.3 - padoka PPA
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.3.3 - padoka PPA
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.3.3 - padoka PPA
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

When I run neofetch, you can see my two GPUs:
GPU: Intel Haswell Mobile
GPU: AMD Radeon HD 8670A/8670M/8690M

from wine-nine-standalone.

dhewg avatar dhewg commented on July 28, 2024

Ok it is, but that's an Intel GPU, not a AMD one :P

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

@dhewg
When I run neofetch, you can see my two GPUs:
GPU: Intel Haswell Mobile
GPU: AMD Radeon HD 8670A/8670M/8690M

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

@dhewg
nightwing@halo:~$ DRI_PRIME=1 glxinfo | grep OpenGL
ATTENTION: default value of option vblank_mode overridden by environment.
OpenGL vendor string: X.Org
OpenGL renderer string: AMD HAINAN (DRM 2.50.0, 4.15.0-45-generic, LLVM 7.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.3 - padoka PPA
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 18.3.3 - padoka PPA
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.3 - padoka PPA
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

from wine-nine-standalone.

dhewg avatar dhewg commented on July 28, 2024

So try DRI_PRIME=1 with wine/nine?

from wine-nine-standalone.

WuShichao avatar WuShichao commented on July 28, 2024

@dhewg Thank you very much!
default
nightwing@halo:~$ DRI_PRIME=1 wine ninewinecfg
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x32e4e4,0x00000000), stub!
ATTENTION: default value of option vblank_mode overridden by environment.
0009:fixme:win:EnumDisplayDevicesW (L"\\.\DISPLAY1",0,0x32e4e4,0x00000000), stub!
0009:fixme:win:EnumDisplayDevicesW (L"\\.\DISPLAY1",1,0x32e4e4,0x00000000), stub!
0009:fixme:win:EnumDisplayDevicesW ((null),1,0x32e4e4,0x00000000), stub!
Native Direct3D 9 v0.2.0.166-release is active.
For more information visit https://github.com/iXit/wine-nine-standalone

from wine-nine-standalone.

dhewg avatar dhewg commented on July 28, 2024

yay

from wine-nine-standalone.

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.