Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

too much freezes on manjaro linux #7408

Closed
Overloot opened this issue Feb 21, 2023 · 10 comments · Fixed by #7451
Closed

too much freezes on manjaro linux #7408

Overloot opened this issue Feb 21, 2023 · 10 comments · Fixed by #7451
Labels
bug Something is not working as expected editor Issues related to the Defold editor linux Issue related to the Linux platform

Comments

@Overloot
Copy link

Overloot commented Feb 21, 2023

defold 1.4.2
info about bug in attached video

UPDATED:
And when i click on Help->Report issue - nothing happens
If i try make html5 build - nothing happens

System:
  Host: togopc Kernel: 6.1.11-1-MANJARO arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.26.5 Distro: Manjaro Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME B450M-K II v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 3211
    date: 08/10/2021
CPU:
  Info: 6-core model: AMD Ryzen 5 5600G with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 3 MiB
  Speed (MHz): avg: 3041 min/max: 1400/4464 cores: 1: 2451 2: 3067 3: 3900
    4: 3900 5: 2411 6: 2957 7: 2472 8: 3900 9: 3308 10: 2521 11: 2558 12: 3050
Graphics:
  Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    driver: amdgpu v: kernel
  Display: x11 server: X.Org v: 21.1.7 driver: X: loaded: N/A
    unloaded: modesetting failed: amdgpu dri: radeonsi gpu: amdgpu
    note: X driver n/a resolution: 1: 1080x1920~60Hz 2: 2560x1440~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.5 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.7 DRM 3.49 6.1.11-1-MANJARO)
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
  Device-2: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  Sound API: ALSA v: k6.1.11-1-MANJARO running: yes
  Sound Server-1: PulseAudio v: 16.1 running: yes
  Sound Server-2: PipeWire v: 0.3.65 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: 50:eb:f6:20:1c:15
Drives:
  Local Storage: total: 7.97 TiB used: 2.74 TiB (34.4%)
  ID-1: /dev/nvme0n1 vendor: Silicon Power model: SPCC M.2 PCIe SSD
    size: 238.47 GiB
  ID-2: /dev/sda vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB
  ID-3: /dev/sdb vendor: Seagate model: ST2000DM008-2UB102 size: 1.82 TiB
  ID-4: /dev/sdc vendor: Western Digital model: WD40EZAZ-19SF3B0
    size: 3.64 TiB
  ID-5: /dev/sdd vendor: Seagate model: ST2000DM008-2UB102 size: 1.82 TiB
Partition:
  ID-1: / size: 223.77 GiB used: 34.23 GiB (15.3%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 312 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 457.38 GiB used: 93.2 GiB (20.4%) fs: ext4
    dev: /dev/sda1
Swap:
  ID-1: swap-1 type: partition size: 9.77 GiB used: 6.51 GiB (66.7%)
    dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 38.9 C mobo: N/A gpu: amdgpu temp: 30.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 421 Uptime: 4d 23h 14m Memory: 30.65 GiB used: 13.52 GiB (44.1%)
  Shell: Zsh inxi: 3.3.25

screencast-2023-02-21_17.11.33.mp4
@Overloot Overloot added the bug Something is not working as expected label Feb 21, 2023
@britzl britzl added editor Issues related to the Defold editor linux Issue related to the Linux platform labels Feb 22, 2023
@britzl
Copy link
Contributor

britzl commented Feb 22, 2023

And when i click on Help->Report issue - nothing happens
If i try make html5 build - nothing happens

Maybe a silly question, but do you have a browser installed?

@AGulev
Copy link
Contributor

AGulev commented Feb 22, 2023

And when i click on Help->Report issue - nothing happens
If i try make html5 build - nothing happens

Maybe a silly question, but do you have a browser installed?

also it should be specified as the default browser

@AGulev
Copy link
Contributor

AGulev commented Feb 22, 2023

@Overloot Could you pls try to put this bash script into Defold folder and run it as

sh defold.sh

instead of

./Defold

defold.zip

it is possible that before that you will need to run

chmod +x defold.sh

@Overloot
Copy link
Author

Overloot commented Feb 25, 2023

@Overloot Could you pls try to put this bash script into Defold folder and run it as

i got this:

MESA_GL_VERSION_OVERRIDE is 4.6 Defold requires libffi.so.6 or libffi.so.7 or libffi.so.8 Install using 'wget http://ftp.br.debian.org/debian/pool/main/libf/libffi/libffi7_3.3-5_amd64.deb && sudo dpkg -i libffi7_3.3-5_amd64.deb'

i have libffi libffi 3.4.4-1 provides libffi.so=8-64

interesting moment. I install Defold on my laptob with os Manjaro XFCE(on PC i use Manjaro KDE) and Defold work correctly. May be because on laptop vga intel hd

@Overloot Overloot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 25, 2023
@Overloot
Copy link
Author

Sorry, i accidentally closed issue

@AGulev AGulev reopened this Feb 25, 2023
@Overloot
Copy link
Author

i was surrender

i tried to switchs MESA_GL_VERSION_OVERRIDE 2.1/3.1/4.6
i tried to GDK_DISPLAY=1 ./Defold and wrote this in config file vmargs = -Djdk.gtk.version=2,-Dfile.encoding=UTF-8,...
and i tried this LIBGL_ALWAYS_SOFTWARE=1 ./Defold
and i downgrade libffi to 7

nothing happens

may be Defold cant work with AMD integrated GPU?

@Overloot
Copy link
Author

today i launch Ubuntu 22.04 on my PC...((((

lshw.log

Screencast.from.02-28-2023.10.12.37.AM.webm

Screenshot from 2023-02-28 10-09-28

editor2.2023-02-28.log

@Overloot
Copy link
Author

Now I, probably, have already accurately checked everything that could be checked on my side. The problem is clearly in Defold

But there is one point that I forgot to point out. In a small window, Defold works fine, if you stretch or expand to full screen, then friezes begin.

I have a dual monitor system
1 - 1080x1920
2 - 2560x1440

however, everything else I use works fine (unity, godot, construct, gimp ...)

and, by the way, in ubuntu, as in manjaro, if you do not write -Djdk.gtk.version=2 to the config, then Defold writes errors to the log

@britzl
Copy link
Contributor

britzl commented Feb 28, 2023

Thank you for sharing a detailed report of your investigation. We need to spend some time here on our end researching this as well. It is clearly graphics driver related, especially since you say that it works better in a small window and worse in a large one.

@AGulev
Copy link
Contributor

AGulev commented Mar 8, 2023

fixed #7451

@AGulev AGulev closed this as completed Mar 8, 2023
@AGulev AGulev linked a pull request Mar 8, 2023 that will close this issue
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working as expected editor Issues related to the Defold editor linux Issue related to the Linux platform
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants