mmtrt / leagueoflegends

Unofficial league of legends snap repo
https://snapcraft.io/leagueoflegends
GNU Lesser General Public License v2.1
220 stars 27 forks source link

DirectX error after character selection #89

Closed valotam closed 4 months ago

valotam commented 4 years ago

image

The error of wine occurs after selecting a champion.


$ leagueoflegends
LeagueClient.exe(00000009): ALWAYS| Application Version:9.20.292.8264 - CL:2928264 - Build Date:Oct 10 2019 - Build Time:19:09:30
LeagueClient.exe(00000009): ALWAYS| Direct Launch enabled for league_of_legends.live in environment 'live' for app path 'C:\Riot Games\League of Legends\LeagueClient.exe' and install dir 'C:\Riot Games\League of Legends'
LeagueClient.exe(00000009): ALWAYS| Found Riot Client live install (C:/Riot Games/Riot Client/RiotClientServices.exe)
LeagueClient.exe(00000009): ALWAYS| Riot Client started. Exiting with the expectation of being restarted (ExitForDirectLaunch).
wine: Unhandled exception 0x80000003 in thread 3e at address 004135C7 (thread 003e), starting debugger...
005a:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.

As you mentioned on the other thread. (issue: Game crashes after champ select #80)

Put my info below.

leagueoflegends          1.0              54    edge       mmtrt       devmode
wine-platform-4-staging  4.16             24    candidate  mmtrt       -
wine-platform-runtime    v1.0             44    candidate  mmtrt       -
$ lspci -k | grep -EA3 'VGA|3D|Display' 
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 15d8 (rev c8)
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 15d8
07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
$ glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
    Vendor: VMware, Inc. (0xffffffff)
OpenGL vendor string: VMware, Inc

Same error happened after changing wine-platform to snap refresh --beta wine-platform-runtime.

00a4:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
X Error:  BadWindow
  Request Major code 10 ()
  ResourceID 0x7400003
  Error Serial #184
  Current Serial #204
mmtrt commented 4 years ago

OpenGL vendor string: VMware, Inc

Are you testing in vm?

valotam commented 4 years ago

No. I had tried to run it on the MX linux though...

By the way, the onboard processor is Ryzen 5 3400G with Vega 11 (it is AMD APU) and no external VGA has been installed.


$ inxi -v8
System:    Host: MX Kernel: 4.19.0-5-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-4.19.0-5-amd64 
           root=UUID=f0eb59c3-f541-418a-b163-4b60ce97321c ro quiet splash 
           init=/lib/systemd/systemd 
           Desktop: Xfce 4.12.3 tk: Gtk 2.24.31 info: xfce4-panel wm: xfwm4 dm: LightDM 1.18.3 
           Distro: MX-18.3_x64 Continuum May 26  2019 base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Desktop Mobo: ASRock model: B450M Pro4 serial: <root required> 
           UEFI [Legacy]: American Megatrends v: P3.60 date: 07/31/2019 
Memory:    RAM: total: 13.62 GiB used: 1.07 GiB (7.9%) 
           RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
PCI Slots: Permissions: Unable to run dmidecode. Root privileges required. 
CPU:       Topology: Quad Core model: AMD Ryzen 5 3400G with Radeon Vega Graphics bits: 64 
           type: MT MCP arch: Zen+ family: 17 (23) model-id: 18 (24) stepping: 1 
           microcode: 8108109 L2 cache: 2048 KiB bogomips: 59090 
           Speed: 1402 MHz min/max: 1400/3700 MHz boost: enabled Core speeds (MHz): 1: 1396 
           2: 1396 3: 1397 4: 1397 5: 1396 6: 1395 7: 1390 8: 1396 
           Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 bmi2 bpext 
           clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid cr8_legacy cx16 cx8 
           de decodeassists extapic extd_apicid f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt 
           ht hw_pstate ibpb irperf lahf_lm lbrv lm mca mce misalignsse mmx mmxext monitor movbe 
           msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat 
           pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni 
           popcnt pse pse36 rdrand rdseed rdtscp rep_good sep sev sha_ni skinit smap smca sme 
           smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce topoext 
           tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt xgetbv1 xsave xsavec 
           xsaveerptr xsaveopt xsaves 
           Vulnerabilities: Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling 
Graphics:  Device-1: AMD driver: N/A bus ID: 07:00.0 chip ID: 1002:15d8 
           Display: x11 server: X.Org 1.19.2 driver: vesa resolution: 1920x1080~N/A 
           OpenGL: renderer: llvmpipe (LLVM 7.0 128 bits) v: 3.3 Mesa 18.2.6 compat-v: 3.1 
           direct render: Yes 
Audio:     Device-1: AMD driver: snd_hda_intel v: kernel bus ID: 07:00.1 chip ID: 1002:15de 
           Device-2: AMD vendor: ASRock driver: snd_hda_intel v: kernel bus ID: 07:00.6 
           chip ID: 1022:15e3 
           Sound Server: ALSA v: k4.19.0-5-amd64 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock 
           driver: r8169 v: kernel port: f000 bus ID: 04:00.0 chip ID: 10ec:8168 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 70:85:c2:f6:93:00 
           IP v4: 192.168.55.202/24 type: dynamic scope: global broadcast: 192.168.55.255 
           IP v6: fe80::d164:398:fe42:9618/64 scope: link 
           WAN IP: 1.248.180.116 
Drives:    Local Storage: total: 232.89 GiB used: 35.01 GiB (15.0%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS250G1B0C-00S6U0 size: 232.89 GiB 
           block size: physical: 512 B logical: 512 B speed: 15.8 Gb/s lanes: 2 
           serial: 19284F481602 rev: 201000WD scheme: MBR 
           Message: No Optical or Floppy data was found. 
RAID:      Message: No RAID data was found. 
Partition: ID-1: / raw size: 230.85 GiB size: 226.23 GiB (98.00%) used: 35.01 GiB (15.5%) 
           fs: ext4 dev: /dev/nvme0n1p1 label: rootMX18.3 
           uuid: f0eb59c3-f541-418a-b163-4b60ce97321c 
           ID-2: /snap/code/18 raw size: 136.2 MiB size: <root required> used: <root required> 
           fs: squashfs dev: /dev/loop3 label: N/A uuid: N/A 
           ID-3: /snap/core/7917 raw size: 89.1 MiB size: <root required> used: <root required> 
           fs: squashfs dev: /dev/loop4 label: N/A uuid: N/A 
           ID-4: /snap/core18/1223 raw size: 54.5 MiB size: <root required> 
           used: <root required> fs: squashfs dev: /dev/loop8 label: N/A uuid: N/A 
           ID-5: /snap/gtk-common-themes/1353 raw size: 44.2 MiB size: <root required> 
           used: <root required> fs: squashfs dev: /dev/loop0 label: N/A uuid: N/A 
           ID-6: /snap/leagueoflegends/54 raw size: 88 KiB size: <root required> 
           used: <root required> fs: squashfs dev: /dev/loop2 label: N/A uuid: N/A 
           ID-7: /snap/wine-platform-4-staging/16 raw size: 215.4 MiB size: <root required> 
           used: <root required> fs: squashfs dev: /dev/loop1 label: N/A uuid: N/A 
           ID-8: /snap/wine-platform-4-staging/24 raw size: 88.7 MiB size: <root required> 
           used: <root required> fs: squashfs dev: /dev/loop5 label: N/A uuid: N/A 
           ID-9: /snap/wine-platform-runtime/43 raw size: 223.9 MiB size: <root required> 
           used: <root required> fs: squashfs dev: /dev/loop7 label: N/A uuid: N/A 
           ID-10: /snap/wine-platform-runtime/44 raw size: 215.6 MiB size: <root required> 
           used: <root required> fs: squashfs dev: /dev/loop6 label: N/A uuid: N/A 
           ID-11: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap swappiness: 60 (default) 
           cache pressure: 100 (default) dev: /dev/nvme0n1p2 label: swapMX 
           uuid: e8a4491c-f499-4333-a38b-606c1ea7c54f 
Unmounted: Message: No unmounted partitions found. 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 10 rev: 2.0 speed: 480 Mb/s 
           chip ID: 1d6b:0002 
           Device-1: 1-6:2 info: LG USA type: <vendor specific> driver: usblp interfaces: 3 
           rev: 2.0 speed: 480 Mb/s chip ID: 043e:9e0e serial: CN61R1F2BX069T 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
           chip ID: 1d6b:0003 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
           chip ID: 1d6b:0002 
           Device-2: 3-4:2 info: Microsoft Wireless Receiver 1461C type: Keyboard,Mouse,HID 
           driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s chip ID: 045e:07a5 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
           chip ID: 1d6b:0003 
           Hub: 5-0:1 info: Full speed (or root) Hub ports: 1 rev: 2.0 speed: 480 Mb/s 
           chip ID: 1d6b:0002 
           Device-3: 5-1:2 info: STMicro type: Keyboard,HID driver: hid-generic,usbhid 
           interfaces: 3 rev: 2.0 speed: 12 Mb/s chip ID: 0483:5022 serial: CA2015010002 
           Hub: 6-0:1 info: Full speed (or root) Hub ports: 1 rev: 3.1 speed: 10 Gb/s 
           chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 44.1 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://mirror.navercorp.com/mxlinux/antix/stretch/ stretch non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.kr.debian.org/debian/ stretch-updates non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.kr.debian.org/debian/ stretch non-free contrib main
           2: deb http://security.debian.org/ stretch/updates non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirror.navercorp.com/mxlinux/mx/repo/ stretch contrib non-free main
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Processes: CPU top: 5 
           1: cpu: 4.0% command: firefox pid: 2075 mem: 417.4 MiB (2.9%) 
           2: cpu: 2.5% command: firefox-bin pid: 3494 mem: 241.3 MiB (1.7%) 
           3: cpu: 2.2% command: firefox-bin pid: 2136 mem: 197.7 MiB (1.4%) 
           4: cpu: 1.5% command: firefox-bin pid: 3385 mem: 172.5 MiB (1.2%) 
           5: cpu: 1.3% command: xorg pid: 1263 mem: 101.0 MiB (0.7%) 
           Memory top: 5 
           1: mem: 417.4 MiB (2.9%) command: firefox pid: 2075 cpu: 4.0% 
           2: mem: 241.3 MiB (1.7%) command: firefox-bin pid: 3494 cpu: 2.5% 
           3: mem: 197.7 MiB (1.4%) command: firefox-bin pid: 2136 cpu: 2.2% 
           4: mem: 172.5 MiB (1.2%) command: firefox-bin pid: 3385 cpu: 1.5% 
           5: mem: 101.0 MiB (0.7%) command: xorg pid: 1263 cpu: 1.3% 
Info:      Processes: 239 Uptime: 15m Init: systemd v: 232 runlevel: 5 default: 5 Compilers: 
           gcc: 6.3.0 alt: 6 Shell: bash v: 4.4.12 running in: xfce4-terminal inxi: 3.0.36 
mmtrt commented 4 years ago

Did you test any other snap beside this one if not then try this and check for similar issue.

sudo snap install bombsquad

Getta91 commented 4 years ago

Hi! I had the same problem yesterday but I found a fix. First, you will need winetricks (sudo apt install winetricks). Then in a terminal do: export WINEPREFIX=/path/to/your/wine/prefix && winetricks. Now, winetricks, will open --> Select the default wineprefix --> Change settings --> click on ddr = opengl. Now, confirm your changes and quit winetricks. Everything will be working fine now! Hope this helps

PS: Sorry for my english

valotam commented 4 years ago

Did you test any other snap beside this one if not then try this and check for similar issue.

sudo snap install bombsquad

@mmtrt, I intalled the package and played well.

Hi! I had the same problem yesterday but I found a fix. First, you will need winetricks (sudo apt install winetricks). Then in a terminal do: export WINEPREFIX=/path/to/your/wine/prefix && winetricks. Now, winetricks, will open --> Select the default wineprefix --> Change settings --> click on ddr = opengl. Now, confirm your changes and quit winetricks. Everything will be working fine now! Hope this helps

PS: Sorry for my english

@Getta91, it didn't work well to me... The directX error still appears