TurboWarp/desktop

TurboWarp not working on Debian Bullseye (ARM64) Mali T720 GPU

abirabedinkhan opened this issue · 13 comments

When I try to open turbowarp it says "process crash: gpu crashed (11)".
when I run with turbowarp-desktop --no-sandbox it shows ->
WIN_20240526_22_18_43_Pro
WIN_20240526_22_17_45_Pro
https://github.com/TurboWarp/desktop/assets/67215274/cffeca2f-0fa9-4be6-85b7-f51ea1606c09

What do you see in the file ~/.config/turbowarp-desktop/tw_config.json and what hardware are you running this on?

$ cat ~/.config/turbowarp-desktop/tw_config.json
{
  "v2": {
    "dataVersion": 3,
    "desktopVersion": "1.11.1",
    "electronVersion": "29.3.0"
  }
}
$ sudo lshw
Network interfaces
bongopc
    description: Computer
    product: Tanix TX6
    serial: 82c000032765ae5b
    width: 64 bits
    capabilities: smp cp15_barrier setend swp tagged_addr_disabled
  *-core
       description: Motherboard
       physical id: 0
     *-cpu:0
          description: CPU
          product: cpu
          physical id: 0
          bus info: cpu@0
          size: 1704MHz
          capacity: 1704MHz
          capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid cpufreq
     *-cpu:1
          description: CPU
          product: cpu
          physical id: 1
          bus info: cpu@1
          size: 1704MHz
          capacity: 1704MHz
          capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid cpufreq
     *-cpu:2
          description: CPU
          product: cpu
          physical id: 2
          bus info: cpu@2
          size: 1704MHz
          capacity: 1704MHz
          capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid cpufreq
     *-cpu:3
          description: CPU
          product: cpu
          physical id: 3
          bus info: cpu@3
          size: 1704MHz
          capacity: 1704MHz
          capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid cpufreq
     *-memory
          description: System memory
          physical id: 4
          size: 1984MiB
  *-usbhost:0
       product: xHCI Host Controller
       vendor: Linux 5.15.27-station xhci-hcd
       physical id: 2
       bus info: usb@1
       logical name: usb1
       version: 5.15
       capabilities: usb-2.00
       configuration: driver=hub slots=1 speed=480Mbit/s
  *-usbhost:1
       product: xHCI Host Controller
       vendor: Linux 5.15.27-station xhci-hcd
       physical id: 3
       bus info: usb@2
       logical name: usb2
       version: 5.15
       capabilities: usb-3.00
       configuration: driver=hub slots=1 speed=5000Mbit/s
  *-usbhost:2
       product: EHCI Host Controller
       vendor: Linux 5.15.27-station ehci_hcd
       physical id: 4
       bus info: usb@3
       logical name: usb3
       version: 5.15
       capabilities: usb-2.00
       configuration: driver=hub slots=1 speed=480Mbit/s
  *-usbhost:3
       product: EHCI Host Controller
       vendor: Linux 5.15.27-station ehci_hcd
       physical id: 5
       bus info: usb@4
       logical name: usb4
       version: 5.15
       capabilities: usb-2.00
       configuration: driver=hub slots=1 speed=480Mbit/s
  *-usbhost:4
       product: Generic Platform OHCI controller
       vendor: Linux 5.15.27-station ohci_hcd
       physical id: 6
       bus info: usb@5
       logical name: usb5
       version: 5.15
       capabilities: usb-1.10
       configuration: driver=hub slots=1 speed=12Mbit/s
  *-usbhost:5
       product: Generic Platform OHCI controller
       vendor: Linux 5.15.27-station ohci_hcd
       physical id: 7
       bus info: usb@6
       logical name: usb6
       version: 5.15
       capabilities: usb-1.10
       configuration: driver=hub slots=1 speed=12Mbit/s
     *-usb
          description: Mouse
          product: Rapoo 2.4G Wireless Device
          vendor: RAPOO
          physical id: 1
          bus info: usb@6:1
          version: 1.10
          capabilities: usb-2.00
          configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
  *-usbhost:6
       product: MUSB HDRC host driver
       vendor: Linux 5.15.27-station musb-hcd
       physical id: 1
       bus info: usb@7
       logical name: usb7
       version: 5.15
       capabilities: usb-2.00
       configuration: driver=hub slots=1 speed=480Mbit/s
  *-network:0
       description: Ethernet interface
       physical id: 8
       logical name: eth0
       serial: 02:03:27:65:ae:5b
       capacity: 100Mbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=st_mac100 driverversion=Jan_2016 link=no multicast=yes port=twisted pair
  *-network:1
       description: Wireless interface
       physical id: 9
       logical name: wlan0
       serial: 12:03:27:65:ae:5b
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=xradio_wlan driverversion=5.15.27-station firmware=N/A ip=10.0.1.109 link=yes multicast=yes wireless=IEEE 802.11

Processor: Allwinner H6
Grapics : Mali T720 GPU

I assume you've read https://wiki.debian.org/MaliGraphics. Does it work without --no-sandbox or in Chromium if you visit https://turbowarp.org/editor ?

You could try replacing ~/.config/turbowarp-desktop/tw_config.json with

{
  "v2": {
    "dataVersion": 3,
    "desktopVersion": "1.11.1",
    "electronVersion": "29.3.0",
    "hardwareAcceleration": false
  }
}

but I'm not too hopeful

It works for me in a fresh Debian 11 VM so it's definitely something about those GPU drivers. That's all a lot of code that we don't control so not a whole further I can help

Its not woring on chromium but its working on firefox
WIN_20240527_16_32_48_Pro
WIN_20240527_16_34_28_Pro

after that I checked the GPU on the chromium the WebGL is not working
WIN_20240527_16_38_13_Pro

But on the firefox webGL is working perfectly fine.
WIN_20240527_16_40_11_Pro

If it doesn't work in Chromium then there's not much I can do since this is an Electron app :(

is there any alternative to Electron that is based on Firefox??

No :(