ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.63k stars 1.07k forks source link

undefined symbol: SDL_fabsf #3978

Closed CDAGaming closed 4 years ago

CDAGaming commented 4 years ago

This issue has only started recently, though SDL somehow isnt being located all of a sudden. Might have been a mishap on my end but not sure...

Proton Version: 5.0-9 Ubuntu Version: 20.04 LTS

SDL Command Output:

sudo apt install libsdl2-dev libsdl2-2.0-0 -y
[sudo] password for cdagaming: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libsdl2-2.0-0 is already the newest version (2.0.10+dfsg1-3).
libsdl2-2.0-0 set to manually installed.
libsdl2-dev is already the newest version (2.0.10+dfsg1-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Log on Game Launch: steam-976730.log

System Info:

Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Laptop
    No Touch Input Detected

Processor Information:
    CPU Vendor:  GenuineIntel
    CPU Brand:  Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    CPU Family:  0x6
    CPU Model:  0x9e
    CPU Stepping:  0xa
    CPU Type:  0x0
    Speed:  4100 Mhz
    12 logical processors
    6 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    AVX2:  Unsupported
    AVX512F:  Unsupported
    AVX512PF:  Unsupported
    AVX512ER:  Unsupported
    AVX512CD:  Unsupported
    AVX512VNNI:  Unsupported
    SHA:  Unsupported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported

Operating System Version:
    Ubuntu 20.04 LTS (64 bit)
    Kernel Name:  Linux
    Kernel Version:  5.4.0-37-generic
    X Server Vendor:  The X.Org Foundation
    X Server Release:  12008000
    X Window Manager:  GNOME Shell
    Steam Runtime Version:  steam-runtime_0.20200505.0

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 1060/PCIe/SSE2
    Driver Version:  4.6.0 NVIDIA 440.64
    OpenGL Version: 4.6
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 144 Hz
    VendorID:  0x10de
    DeviceID:  0x1c20
    Revision Not Detected
    Number of Monitors:  1
    Number of Logical Video Cards:  2
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 13.54" x 7.60" (15.51" diag)
                                            34.4cm x 19.3cm (39.4cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 6144 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Realtek ALC255

Memory:
    RAM:  31955 Mb

VR Hardware:
    VR Headset: None detected

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Total Hard Disk Space Available:  46677 Mb
    Largest Free Hard Disk Block:  3036 Mb
CDAGaming commented 4 years ago

Additional Output:

cdagaming@cdagaming-Predator-PH315-51:~$ dpkg -l | grep sdl
ii  libsdl1.2debian:amd64                                       1.2.15+dfsg2-5                                              amd64        Simple DirectMedia Layer
ii  libsdl2-2.0-0:amd64                                         2.0.10+dfsg1-3                                              amd64        Simple DirectMedia Layer
ii  libsdl2-2.0-0:i386                                          2.0.10+dfsg1-3                                              i386         Simple DirectMedia Layer
ii  libsdl2-dev:amd64                                           2.0.10+dfsg1-3                                              amd64        Simple DirectMedia Layer development files
kisak-valve commented 4 years ago

Hello @CDAGaming, looks like it's not that Proton can't find SDL2, instead its picking up an old SDL variant from somewhere: err:plugplay:sdl_driver_init SDL installation is old! Please upgrade to >=2.0.6 to get accurate joystick information.

Can you share the output of locate libSDL2-2.0.so.0?

CDAGaming commented 4 years ago

Output:

/home/cdagaming/.local/share/Steam/ubuntu12_32/libSDL2-2.0.so.0
/home/cdagaming/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0
/home/cdagaming/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.10.0
/home/cdagaming/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
/home/cdagaming/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.10.0
/home/cdagaming/.local/share/Steam/ubuntu12_32/steam-runtime.old/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0
/home/cdagaming/.local/share/Steam/ubuntu12_32/steam-runtime.old/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.10.0
/home/cdagaming/.local/share/Steam/ubuntu12_32/steam-runtime.old/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
/home/cdagaming/.local/share/Steam/ubuntu12_32/steam-runtime.old/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.10.0
/home/cdagaming/.local/share/Steam/ubuntu12_64/libSDL2-2.0.so.0
/home/cdagaming/.local/share/lutris/runners/wine/lutris-5.6-2-x86_64/lib/libSDL2-2.0.so.0
/home/cdagaming/.local/share/lutris/runners/wine/lutris-5.6-2-x86_64/lib/libSDL2-2.0.so.0.8.0
/home/cdagaming/.local/share/lutris/runners/wine/lutris-5.6-2-x86_64/lib/libSDL2-2.0.so.0.9.0
/home/cdagaming/.local/share/lutris/runners/wine/lutris-5.6-2-x86_64/lib64/libSDL2-2.0.so.0
/home/cdagaming/.local/share/lutris/runners/wine/lutris-5.6-2-x86_64/lib64/libSDL2-2.0.so.0.9.0
/home/cdagaming/.local/share/lutris/runtime/lib32/libSDL2-2.0.so.0
/home/cdagaming/.local/share/lutris/runtime/lib64/libSDL2-2.0.so.0
/home/cdagaming/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
/home/cdagaming/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.8.0
/home/cdagaming/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0
/home/cdagaming/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.8.0
/home/cdagaming/Documents/CompileData_TMP/SDL2-2.0.3/build/.libs/libSDL2-2.0.so.0
/home/cdagaming/Documents/CompileData_TMP/SDL2-2.0.3/build/.libs/libSDL2-2.0.so.0.2.1
/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0
/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.10.0
/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.10.0
/usr/local/lib/libSDL2-2.0.so.0
/usr/local/lib/libSDL2-2.0.so.0.2.1
/var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/19.08/9011ed46d93a986d66bf912812b652819d0d971d537d78a116191181172358ce/files/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
/var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/19.08/9011ed46d93a986d66bf912812b652819d0d971d537d78a116191181172358ce/files/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.12.0
/var/lib/flatpak/runtime/org.freedesktop.Platform.Compat.i386/x86_64/19.08/bc428148ec9f0a451f1b73e24e24140d1573fde672bbcd5845208deea613604e/files/libSDL2-2.0.so.0
/var/lib/flatpak/runtime/org.freedesktop.Platform.Compat.i386/x86_64/19.08/bc428148ec9f0a451f1b73e24e24140d1573fde672bbcd5845208deea613604e/files/libSDL2-2.0.so.0.12.0
/var/lib/flatpak/runtime/org.freedesktop.Sdk/x86_64/19.08/9e5d07718e6c7426a082789197edc532d5130951265349c1bc075b84309f154d/files/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
/var/lib/flatpak/runtime/org.freedesktop.Sdk/x86_64/19.08/9e5d07718e6c7426a082789197edc532d5130951265349c1bc075b84309f154d/files/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.12.0
kisak-valve commented 4 years ago

/usr/local/lib/libSDL2-2.0.so.0 looks like the terribly old outlier.

CDAGaming commented 4 years ago

Yea, and looking at the date, it lines up from when I tried to manually compile SDL for getting WWise working within Linux (Another story). Either way, I'll remove it from there and see if thatll do it (Also removed the CompileData_TMP bc that was actually the manual compile area

CDAGaming commented 4 years ago

Yup that was it, Thank you for your quick help once more :+1:

Closing as Resolved.