first own wine-build-process, no sound , no mouse in games

Questions about Wine on Linux
Locked
silelmot
Level 2
Level 2
Posts: 13
Joined: Tue Apr 03, 2018 4:23 am

first own wine-build-process, no sound , no mouse in games

Post by silelmot »

Hello there,
i now have my first own wine (3.5) compiled thanks to the manuals here https://appdb.winehq.org/objectManager. ... &iId=32863 and here https://wiki.winehq.org/Building_Biarch_Wine_On_Ubuntu
but i have some problems now.
i wanted to build wine 3.5 with a custom patch because of fallout 4 (first link) but now there is the following situation:
Fallout 4 runs, and i hear the intro-sequenze, but i have no voices in the bathroom, in the first scene, and also codsworth isn't hearable.
I then tried to compile wine 3.5 again, to see if some libraries (maybe pulse 32bit) were missing, (indeed, it was) but now i have no mouse pointer in fallout 4 (and fallout las vegas) anymore.
in fallout 3 mouse works without a problem.
i tried to build wine 5-6times till then, also tried it with an own 32bit-container for building a 32bit-wine but now i cant get it to work with a working mouse anymore.

has anyone an idea what could be the problem, where i have to look?

thanks in advance!
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: first own wine-build-process, no sound , no mouse in gam

Post by Bob Wya »

@silelmot

Is this the hack patch attached to: Bug 41271 - Fallout 4 - Audio issues (no sounds, hangs when playing intro video) ?

You build is probably OK... But if you can't supply a full build log - then I wouldn't like to say for certain! :shock:

Fallout 4 requires some game settings to be customised, refer to: Lutris: Fallout 4 installer script.
Obviously ignore the wined3d-csmt.dll Dll Redirect. Everything else, listed there, still applies...

Bob
silelmot
Level 2
Level 2
Posts: 13
Joined: Tue Apr 03, 2018 4:23 am

Re: first own wine-build-process, no sound , no mouse in gam

Post by silelmot »

I will provude a log when i am back home.
right now i can say that i applied the patch and fallout starts and has sound as proof.
With my first build it works without voices but with sound
When i start it using the same wine-prefix and the second build it has no mouse
So i asume the build is wrong and i messed up the dependencies.
silelmot
Level 2
Level 2
Posts: 13
Joined: Tue Apr 03, 2018 4:23 am

Re: first own wine-build-process, no sound , no mouse in gam

Post by silelmot »

So, here is the log now.
But it just logs Steam, not Fallout4 sadly.

Code: Select all

Unhandled exception: page fault on write access to 0x7c002fd4 in 32-bit code (0x7d9e99fa).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7d9e99fa ESP:0033f2a0 EBP:00000014 EFLAGS:00010202(  R- --  I   - - - )
 EAX:7dc8dd70 EBX:7c002fd4 ECX:7dc8dd70 EDX:00000000
 ESI:7da58450 EDI:7c0005f9
Stack dump:
0x0033f2a0:  f7fcd920 7c0008bc 00000149 7d54dd38
0x0033f2b0:  7d54d440 00000000 f7fcd920 00000012
0x0033f2c0:  00000016 7d53c5b0 7c000834 7d9eac3c
0x0033f2d0:  7c0008bc 00000014 7da58340 7d53c5b0
0x0033f2e0:  00000000 80000001 f7fcd920 0000016e
0x0033f2f0:  f7bd5000 7d4bb3b0 f7bd1e20 00002c6b
Backtrace:
=>0 0x7d9e99fa in libgl.so.1 (+0xa99fa) (0x00000014)
  1 0x7d9eac3c in libgl.so.1 (+0xaac3b) (0x7c000834)
  2 0x7d9f57f1 in libgl.so.1 (+0xb57f0) (0x7d9f1b00)
  3 0x7d98e6c3 in libgl.so.1 (+0x4e6c2) (0x7d530a30)
  4 0xf7fb69d1 in ld-linux.so.2 (+0xf9d0) (0x7d530a30)
  5 0xf7fb6b3e in ld-linux.so.2 (+0xfb3d) (0xff8bc544)
  6 0xf7fbacda in ld-linux.so.2 (+0x13cd9) (0x0033f628)
  7 0xf7d08e4b _dl_catch_error+0x9a() in libc.so.6 (0x0033f798)
  8 0xf7fba559 in ld-linux.so.2 (+0x13558) (0x0033f798)
  9 0xf7bd1cc7 GLIBC_2+0xcc6() in libdl.so.2 (0xff8bc544)
  10 0xf7d08e4b _dl_catch_error+0x9a() in libc.so.6 (0x0033f92c)
  11 0xf7bd2422 in libdl.so.2 (+0x1421) (0x0033f92c)
  12 0xf7bd1d6e GLIBC_2+0xd6d() in libdl.so.2 (0x0033f988)
  13 0xf7df572f wine_dlopen+0x2e(filename="libGL.so.1", flag=0x102, error="", errorsize=0xc8) [/home/markus/wine-git/libs/wine/loader.c:1039] in libwine.so.1 (0x0033f988)
  14 0x7dce6938 init_opengl+0x57() in winex11 (0x0033fb98)
  15 0x7bc8756e RtlRunOnceExecuteOnce+0x4d(once=<couldn't compute location>, func=<couldn't compute location>, param=<couldn't compute location>, context=<couldn't compute location>) [/home/markus/wine-git/dlls/ntdll/sync.c:1541] in ntdll (0x0033fbe8)
  16 0x7b479e01 InitOnceExecuteOnce+0x20(once=<couldn't compute location>, func=<couldn't compute location>, param=<couldn't compute location>, context=<couldn't compute location>) [/home/markus/wine-git/dlls/kernel32/sync.c:2441] in kernel32 (0x0033fc18)
  17 0x7dcea1f7 get_glx_driver+0x76(version=0x12) [/home/markus/wine-git/dlls/winex11.drv/opengl.c:756] in winex11 (0x0033fc48)
  18 0x7dcd92d4 X11DRV_wine_get_wgl_driver+0x13() in winex11 (0x0033fc68)
  19 0x7e824fae __wine_get_wgl_driver+0x4d(hdc=<couldn't compute location>, version=<couldn't compute location>) [/home/markus/wine-git/dlls/gdi32/opengl.c:58] in gdi32 (0x0033fc98)
  20 0x7a8aaa88 wglDescribePixelFormat+0x37(hdc=<couldn't compute location>, format=<couldn't compute location>, size=<couldn't compute location>, descr=<couldn't compute location>) [/home/markus/wine-git/dlls/opengl32/opengl_ext.h:40] in opengl32 (0x0033fce8)
  21 0x7a8aab2d wglChoosePixelFormat+0x4c(hdc=<couldn't compute location>, ppfd=<couldn't compute location>) [/home/markus/wine-git/dlls/opengl32/wgl.c:452] in opengl32 (0x0033fd98)
  22 0x7e825005 ChoosePixelFormat+0x34(hdc=<couldn't compute location>, pfd=<couldn't compute location>) [/home/markus/wine-git/dlls/gdi32/opengl.c:75] in gdi32 (0x0033fdd8)
  23 0x100896d8 in sdl2 (+0x896d7) (0x0033fe2c)
  24 0x100899dc in sdl2 (+0x899db) (0x0033fe40)
  25 0x1007bb34 in sdl2 (+0x7bb33) (0x0033fe54)
  26 0x00403c09 in gldriverquery (+0x3c08) (0x0033fe6c)
  27 0x00403d42 in gldriverquery (+0x3d41) (0x0033fec0)
  28 0x7b46262c call_process_entry+0xb() in kernel32 (0x0033fed8)
  29 0x7b46405e start_process+0x1bd(entry=<couldn't compute location>, peb=<couldn't compute location>) [/home/markus/wine-git/dlls/kernel32/process.c:1099] in kernel32 (0x0033ffd8)
  30 0x7b46263a start_process_wrapper+0x9() in kernel32 (0x0033ffec)
0x7d9e99fa: movl	%eax,0x0(%ebx)
Modules:
Module	Address			Debug info	Name (87 modules)
PE	  400000-  40e000	Export          gldriverquery
PE	10000000-100c3000	Export          sdl2
ELF	787fe000-7a800000	Deferred        libnvidia-glcore.so.384.130
ELF	7a800000-7a93c000	Dwarf           opengl32<elf>
  \-PE	7a820000-7a93c000	\               opengl32
ELF	7b400000-7b7eb000	Dwarf           kernel32<elf>
  \-PE	7b420000-7b7eb000	\               kernel32
ELF	7bc00000-7bcfa000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcfa000	\               ntdll
ELF	7c000000-7c004000	Deferred        <wine-loader>
ELF	7d940000-7da59000	Dwarf           libgl.so.1
ELF	7da7d000-7da84000	Deferred        libxfixes.so.3
ELF	7da84000-7da90000	Deferred        libxcursor.so.1
ELF	7da90000-7daa3000	Deferred        libxi.so.6
ELF	7daa3000-7daa7000	Deferred        libxcomposite.so.1
ELF	7daa7000-7dab4000	Deferred        libxrandr.so.2
ELF	7dab4000-7dac0000	Deferred        libxrender.so.1
ELF	7dac0000-7dac7000	Deferred        libxxf86vm.so.1
ELF	7dac7000-7dacb000	Deferred        libxinerama.so.1
ELF	7dacb000-7dad5000	Deferred        librt.so.1
ELF	7dad5000-7daf0000	Deferred        libbsd.so.0
ELF	7daf0000-7daf7000	Deferred        libxdmcp.so.6
ELF	7daf7000-7dafb000	Deferred        libxau.so.6
ELF	7dafb000-7db27000	Deferred        libxcb.so.1
ELF	7db27000-7dc72000	Deferred        libx11.so.6
ELF	7dc72000-7dc87000	Deferred        libxext.so.6
ELF	7dc8c000-7dc91000	Deferred        libnvidia-tls.so.384.130
ELF	7dc91000-7dca9000	Deferred        shcore<elf>
  \-PE	7dca0000-7dca9000	\               shcore
ELF	7dcab000-7dd3b000	Dwarf           winex11<elf>
  \-PE	7dcc0000-7dd3b000	\               winex11
ELF	7ddb2000-7dddd000	Deferred        libexpat.so.1
ELF	7dddd000-7de26000	Deferred        libfontconfig.so.1
ELF	7de26000-7de60000	Deferred        libpng16.so.16
ELF	7de60000-7de7f000	Deferred        libz.so.1
ELF	7de7f000-7df3b000	Deferred        libfreetype.so.6
ELF	7df5f000-7df73000	Deferred        api-ms-win-crt-locale-l1-1-0<elf>
  \-PE	7df60000-7df73000	\               api-ms-win-crt-locale-l1-1-0
ELF	7df73000-7df8c000	Deferred        api-ms-win-crt-math-l1-1-0<elf>
  \-PE	7df80000-7df8c000	\               api-ms-win-crt-math-l1-1-0
ELF	7df8c000-7dfa2000	Deferred        api-ms-win-crt-runtime-l1-1-0<elf>
  \-PE	7df90000-7dfa2000	\               api-ms-win-crt-runtime-l1-1-0
ELF	7dfa2000-7dfb8000	Deferred        api-ms-win-crt-string-l1-1-0<elf>
  \-PE	7dfb0000-7dfb8000	\               api-ms-win-crt-string-l1-1-0
ELF	7dfb8000-7dfcc000	Deferred        api-ms-win-crt-heap-l1-1-0<elf>
  \-PE	7dfc0000-7dfcc000	\               api-ms-win-crt-heap-l1-1-0
ELF	7dfcc000-7dfe2000	Deferred        api-ms-win-crt-stdio-l1-1-0<elf>
  \-PE	7dfd0000-7dfe2000	\               api-ms-win-crt-stdio-l1-1-0
ELF	7dfe2000-7e0da000	Deferred        ucrtbase<elf>
  \-PE	7e000000-7e0da000	\               ucrtbase
ELF	7e0da000-7e0f0000	Deferred        vcruntime140<elf>
  \-PE	7e0e0000-7e0f0000	\               vcruntime140
ELF	7e0f0000-7e222000	Deferred        oleaut32<elf>
  \-PE	7e110000-7e222000	\               oleaut32
ELF	7e222000-7e298000	Deferred        shlwapi<elf>
  \-PE	7e230000-7e298000	\               shlwapi
ELF	7e298000-7e4eb000	Deferred        shell32<elf>
  \-PE	7e2b0000-7e4eb000	\               shell32
ELF	7e4eb000-7e50f000	Deferred        imm32<elf>
  \-PE	7e4f0000-7e50f000	\               imm32
ELF	7e50f000-7e53a000	Deferred        msacm32<elf>
  \-PE	7e510000-7e53a000	\               msacm32
ELF	7e53a000-7e5bb000	Deferred        rpcrt4<elf>
  \-PE	7e550000-7e5bb000	\               rpcrt4
ELF	7e5bb000-7e715000	Deferred        ole32<elf>
  \-PE	7e5d0000-7e715000	\               ole32
ELF	7e715000-7e78d000	Deferred        advapi32<elf>
  \-PE	7e720000-7e78d000	\               advapi32
ELF	7e78d000-7e8bb000	Dwarf           gdi32<elf>
  \-PE	7e7a0000-7e8bb000	\               gdi32
ELF	7e8bb000-7ea9e000	Deferred        user32<elf>
  \-PE	7e8d0000-7ea9e000	\               user32
ELF	7ea9e000-7eb57000	Deferred        winmm<elf>
  \-PE	7eab0000-7eb57000	\               winmm
ELF	7eb7d000-7eb90000	Deferred        libnss_files.so.2
ELF	7eb90000-7ebab000	Deferred        libnsl.so.1
ELF	7eedd000-7efdc000	Deferred        libm.so.6
ELF	7efdf000-7eff9000	Deferred        version<elf>
  \-PE	7efe0000-7eff9000	\               version
ELF	f7bc1000-f7bcf000	Deferred        libnss_nis.so.2
ELF	f7bd1000-f7bd6000	Dwarf           libdl.so.2
ELF	f7bd6000-f7dac000	Dwarf           libc.so.6
ELF	f7dac000-f7dcb000	Deferred        libpthread.so.0
ELF	f7de5000-f7def000	Deferred        libnss_compat.so.2
ELF	f7def000-f7fa5000	Dwarf           libwine.so.1
ELF	f7fa7000-f7fce000	Dwarf           ld-linux.so.2
ELF	f7fd1000-f7fd2000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	0000002d    0
	00000022    0
	0000001d    0
	00000013    0
	00000010    0
	0000000f    0
00000011 winedevice.exe
	0000001a    0
	00000017    0
	00000016    0
	00000012    0
0000001b plugplay.exe
	0000001f    0
	0000001e    0
	0000001c    0
00000020 winedevice.exe
	0000002f    0
	0000002e    0
	00000029    0
	00000024    0
	00000023    0
	00000021    0
00000030 Steam.exe
	00000085    0
	00000084    0
	00000083    0
	00000082    0
	00000081    0
	00000080    0
	0000007f    0
	0000007e    0
	00000077    0
	00000076    0
	00000075    0
	00000074    0
	00000073    0
	00000072    0
	00000071    0
	0000006f    1
	0000006c    0
	0000006a    0
	00000069    0
	0000003f    0
	0000003d    0
	0000003c    0
	00000039    0
	00000038    0
	00000037    0
	00000031    0
00000032 explorer.exe
	00000036    0
	00000035    0
	00000034    0
	00000033    0
0000003a steamwebhelper.exe
	00000068    0
	00000067    0
	00000066    0
	00000065    0
	00000064    0
	00000063    0
	00000062    0
	00000061   -2
	00000060    0
	0000005f    0
	0000005e    0
	0000005d   -2
	0000005c    0
	0000005b    0
	0000005a    0
	00000059    0
	00000058    0
	00000057    0
	00000056    0
	00000055    0
	00000054   -2
	00000053   -2
	00000052    0
	00000051    0
	00000050    0
	0000004f    0
	0000004e    0
	0000004d    0
	0000004c    0
	0000004b    0
	0000003b    0
00000040 steamwebhelper.exe
	0000004a    0
	00000049    0
	00000048    0
	00000047    0
	00000046    0
	00000045    0
	00000044    0
	00000043    0
	00000042    0
	00000041    0
0000007a (D) C:\Program Files (x86)\Steam\bin\gldriverquery.exe
	0000007b    0 <==
System information:
    Wine build: wine-3.5-70-g2986e89501
    Platform: i386 (WOW64)
    Version: Windows 10
    Host system: Linux
    Host version: 4.13.0-38-generic
Refresh rate: 0
Refresh rate: 0
Refresh rate: 0
Refresh rate: 0
Refresh rate: 0
Refresh rate: 0
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
IPC client is in my process, could/should be using an in-process pipe.IPC client is in my process, could/should be using an in-process pipe.IPC client is in my process, could/should be using an in-process pipe.ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
ILocalize::AddFile() failed to load file "public/steambootstrapper_german.txt".
[2018-04-04 10:58:33] Startup - updater built Mar 26 2018 14:26:06
[2018-04-04 10:58:33] Verifying installation...
[2018-04-04 10:58:33] Verification complete
[2018-04-04 10:58:36] Background update loop checking for update. . .
[2018-04-04 10:58:36] Checking for available update...
[2018-04-04 10:58:36] Download skipped: /client/steam_client_win32 version 1522101301, installed version 1522101301
[2018-04-04 10:58:36] Nothing to do
[2018-04-04 10:59:42] Shutdown
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: first own wine-build-process, no sound , no mouse in gam

Post by Bob Wya »

silelmot wrote:...
So i assume the build is wrong and i messed up the dependencies.
It's best not to assume anything about your self-built Wine...
Fallout 4 is pretty flaky - when run under Wine...
I've tried it out myself...

Without seeing the Wine build log I can not really advise much further - as to whether your self-built Wine has any missing dependencies (that are necessary) , etc...

Bob
silelmot
Level 2
Level 2
Posts: 13
Joined: Tue Apr 03, 2018 4:23 am

Re: first own wine-build-process, no sound , no mouse in gam

Post by silelmot »

i am a bit lost here. do you mean the config-log in my build wine? Another one i dont find, can you tell me how to get it?
silelmot
Level 2
Level 2
Posts: 13
Joined: Tue Apr 03, 2018 4:23 am

Re: first own wine-build-process, no sound , no mouse in gam

Post by silelmot »

ok. i found out, how to get a build log. here is the build log from the 64 bit: https://ufile.io/iydm4
and here the 32 build: https://ufile.io/1nzk2

the config files also:
64 bit: https://ufile.io/gza6x
and the 32 bit: https://ufile.io/k4cp6

// uploaded on https://uploadfiles.io/
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: first own wine-build-process, no sound , no mouse in gam

Post by Bob Wya »

silelmot wrote:ok. i found out, how to get a build log. here is the build log from the 64 bit: https://ufile.io/iydm4
and here the 32 build: https://ufile.io/1nzk2

the config files also:
64 bit: https://ufile.io/gza6x
and the 32 bit: https://ufile.io/k4cp6

// uploaded on https://uploadfiles.io/
Those configure logs are clean... No errors there!

However you shouldn't use different optional support flags for the 32-bit and 64-bit builds... E.g.

Code: Select all

... --prefix=/usr --libdir=/usr/lib --with-gstreamer --enable-win64
... --with-wine64=/home/markus/wine64 --with-wine-tools=/home/markus/wine32-tools --prefix=/usr --libdir=/usr/lib --with-x
Be consistent between the architectures... So put:

Code: Select all

--with-x --with-gstreamer
options to both.
Just a suggestion - however TBH your configuration log doesn't indicate anything is missing.

I presume you applied the Fallout 4 patch(es) before configuring?
Dumb question - but I've gotta ask!

Have you applied the Fallout 4 fixes from the Lutris Fallout 4 installer I linked to previously?
These are necessary to fix mouse issues, etc. - you won't have a good Fallout 4 experience without them!

Bob
silelmot
Level 2
Level 2
Posts: 13
Joined: Tue Apr 03, 2018 4:23 am

Re: first own wine-build-process, no sound , no mouse in gam

Post by silelmot »

I added the fallout 4-patch and come beyond the black screen with it.
and i added all the fixes (they are stored in the prefix, right?)
what drives me nuts is, that i somehow with all my trying i managed to get one winebuild working with mouse and the game started, but there was no speech.
when i used the same prefix with the next winebuild i had no mouse anymore.

thanks for your advice and your help. maybe someone got a working wine-build and can upload it for ppl like me that dont get it working.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: first own wine-build-process, no sound , no mouse in gam

Post by Bob Wya »

silelmot wrote:I added the fallout 4-patch and come beyond the black screen with it.
and i added all the fixes (they are stored in the prefix, right?)
what drives me nuts is, that i somehow with all my trying i managed to get one winebuild working with mouse and the game started, but there was no speech.
when i used the same prefix with the next winebuild i had no mouse anymore.

thanks for your advice and your help. maybe someone got a working wine-build and can upload it for ppl like me that dont get it working.
I've updated my Github Ubuntu Debian Multi-lib Wine Build script to support the new Wine Staging fork.
It also supports building Wine with Vulkan and SDL-2 controller support now.

I've tested the updated build script and it cleanly builds Wine Staging 3.5 + FO4 dsound hack + PBA patchset.
This combination on Gentoo gives me almost playable framerates, for outdoor areas in Fallout 4, which was previously unheard of with Wine!

The script also provides full logging for the entire build process (source fetch to install). Makes it much easier to diagnose problems!

Why not see if you can get any further with this? 8)

Bob
silelmot
Level 2
Level 2
Posts: 13
Joined: Tue Apr 03, 2018 4:23 am

Re: first own wine-build-process, no sound , no mouse in gam

Post by silelmot »

hi
i tried, but have still several errors.
what is best? to build from this tutorial: https://wiki.winehq.org/Building_Biarch_Wine_On_Ubuntu
or to do it like under INstall-GUide here: https://appdb.winehq.org/objectManager. ... &iId=32863
??
silelmot
Level 2
Level 2
Posts: 13
Joined: Tue Apr 03, 2018 4:23 am

Re: first own wine-build-process, no sound , no mouse in gam

Post by silelmot »

and again i have no mouse support in the start-menu. can you upload your compiled wine for testing please?
silelmot
Level 2
Level 2
Posts: 13
Joined: Tue Apr 03, 2018 4:23 am

Re: first own wine-build-process, no sound , no mouse in gam

Post by silelmot »

Apologies that i spam here.
i got it now working using the Building_Biarch-Tutorial and following extra dependencies:

Code: Select all

sudo apt-get install -y git gcc-multilib make autoconf flex bison xserver-xorg-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libxcursor-dev libxi-dev libxxf86vm-dev libxrandr-dev libxfixes-dev libxinerama-dev libxcomposite-dev libglu1-mesa-dev libosmesa6-dev opencl-headers libpcap-dev libdbus-1-dev libncurses5-dev libsane-dev libv4l-dev libgphoto2-dev libpulse-dev libudev-dev libcups2-dev libfontconfig1-dev libgsm1-dev libmpg123-dev libopenal-dev libldap2-dev libxrender-dev libxslt1-dev libgnutls28-dev libjpeg-dev libva-dev xorg-dev libx11-dev libx11-dev:i386 libfreetype6-dev:i386 winbind
still slight problems with the mouse (can turn left, but right just like a quarter of a whole circle ((sorry for bad english, not my mothers tounge)) )

Thanks a very lot to your help!
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: first own wine-build-process, no sound , no mouse in gam

Post by Bob Wya »

silelmot wrote:...
still slight problems with the mouse (can turn left, but right just like a quarter of a whole circle ((sorry for bad english, not my mothers tounge)) )

Thanks a very lot to your help!
Have you followed the Lutris: Fallout 4 workarounds (that I linked to in my first post)?

Bob
silelmot
Level 2
Level 2
Posts: 13
Joined: Tue Apr 03, 2018 4:23 am

Re: first own wine-build-process, no sound , no mouse in gam

Post by silelmot »

jeah i did. this didnt work, but i changed winecfg to use desktop emulator and this worked!
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: first own wine-build-process, no sound , no mouse in gam

Post by Bob Wya »

silelmot wrote:jeah i did. this didnt work, but i changed winecfg to use desktop emulator and this worked!
FYI I've added a screenshot of Fallout 4 - run with Wine Staging 3.5+PBA patchset.
I've got the glxosd HUD enabled - for some GPU stat porn...
See: WineHQ AppDB: Fallout 4 Screenshots

I'm getting an average of 30 FPS (outdoors) with Godrays on low.
Still it's way better than with stock Wine Staging 3.5!

Audio can be improved with:

Code: Select all

wine reg add 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Fallout4.exe\DllOverrides' /v 'xaudio2_0' /t 'REG_SZ' /d 'native,builtin' /f
wine reg add 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Fallout4.exe\DllOverrides' /v 'xaudio2_1' /t 'REG_SZ' /d 'native,builtin' /f
wine reg add 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Fallout4.exe\DllOverrides' /v 'xaudio2_2' /t 'REG_SZ' /d 'native,builtin' /f
wine reg add 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Fallout4.exe\DllOverrides' /v 'xaudio2_3' /t 'REG_SZ' /d 'native,builtin' /f
wine reg add 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Fallout4.exe\DllOverrides' /v 'xaudio2_4' /t 'REG_SZ' /d 'native,builtin' /f
wine reg add 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Fallout4.exe\DllOverrides' /v 'xaudio2_5' /t 'REG_SZ' /d 'native,builtin' /f
wine reg add 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Fallout4.exe\DllOverrides' /v 'xaudio2_6' /t 'REG_SZ' /d 'native,builtin' /f
wine reg add 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Fallout4.exe\DllOverrides' /v 'xaudio2_7' /t 'REG_SZ' /d 'native,builtin' /f
wine reg add 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Fallout4.exe\DllOverrides' /v 'xaudio2_8' /t 'REG_SZ' /d 'native,builtin' /f
wine reg add 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Fallout4.exe\DllOverrides' /v 'xaudio2_9' /t 'REG_SZ' /d 'native,builtin' /f
The in-game audio still has a lot of "popping"... But it appears that no channels drop now... 8)

Bob
silelmot
Level 2
Level 2
Posts: 13
Joined: Tue Apr 03, 2018 4:23 am

Re: first own wine-build-process, no sound , no mouse in gam

Post by silelmot »

i tried it again with 3.6 an PBA and Wine-staging, and have the same problem with no mouse again.
i narrowed it down a bit, that this problem only exists, when i install "xact" with winetricks
does this help for further suggestions, what i could try?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: first own wine-build-process, no sound , no mouse in gam

Post by Bob Wya »

silelmot wrote:i tried it again with 3.6 an PBA and Wine-staging, and have the same problem with no mouse again.
i narrowed it down a bit, that this problem only exists, when i install "xact" with winetricks
does this help for further suggestions, what i could try?
Well the obvious question is... Do you need the xact override? :lol:
I'm not using this override for Fallout 4 on my Steam WINEPREFIX...

It can also make a difference if you have an override like:

Code: Select all

xact builtin,native
Then Wine will only fallback to use the native Windows dll - for functionality not implemented in the builtin Wine library...

Bob
silelmot
Level 2
Level 2
Posts: 13
Joined: Tue Apr 03, 2018 4:23 am

Re: first own wine-build-process, no sound , no mouse in gam

Post by silelmot »

I feel really dumb now, but i finally found the mouse-problem and fixed it.
It seemed so strange, that the mouse worked great as long as i didn't changed anything through winetricks or winecfg. After every initial change of the settings the mouse never worked in Fallout 4 AND in Fallout 3 New Vegas.
Somehow, when changing smth. through winecfg (or winetricks), wine recognized my gamepad and Fallout 4 (and Fallout 3 NV) set this as primary input.
After disabling the gamepad mouse input now works great!
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: first own wine-build-process, no sound , no mouse in gam

Post by Bob Wya »

silelmot wrote:...
After disabling the gamepad mouse input now works great!
Ahhh, interesting problem. I don't use gamepads myself - so I never think of this issue. :oops:
It might be useful to have a chat with Aric Stewart about this...
Perhaps a new winecfg tab could be populated with the active device(s)??

Bob
Locked