Amulet-Map-Editor
Amulet-Map-Editor copied to clipboard
[linux/macOS] Flickering UI on canvas
Having potentially solved the renderer loading issue in #84 there is now a flicker from the canvas being redrawn.
This may solve the issue http://wxpython-users.1045709.n5.nabble.com/wxPython-glcanvas-flickers-on-linux-td2275735.html
It may not. I hadn't noticed how old is was. I couldn't find anything else about it
I found this. Think you can make use of some of it?
Another Linux user here, having the same issue on Ubuntu 20.04. The 3D view is rendered correctly, but all buttons and other overlays are flickering, making it basically impossible to use the editor. To give some idea about the used library versions:
$ python3 -m pip install amulet-map-editor
Requirement already satisfied: amulet-map-editor in ./lib/python3.8/site-packages (0.7.2.8)
Requirement already satisfied: pymctranslate~=1.0.0 in ./lib/python3.8/site-packages (from amulet-map-editor) (1.0.0.1)
Requirement already satisfied: amulet-nbt~=1.0.3 in ./lib/python3.8/site-packages (from amulet-map-editor) (1.0.3.4)
Requirement already satisfied: pyopengl==3.1.5 in ./lib/python3.8/site-packages (from amulet-map-editor) (3.1.5)
Requirement already satisfied: minecraft-resource-pack~=1.0.0 in ./lib/python3.8/site-packages (from amulet-map-editor) (1.0.2)
Requirement already satisfied: amulet-core~=1.0.0 in ./lib/python3.8/site-packages (from amulet-map-editor) (1.0.0.2)
Requirement already satisfied: numpy==1.17.4 in ./lib/python3.8/site-packages (from amulet-map-editor) (1.17.4)
Requirement already satisfied: wxPython==4.1.0 in ./lib/python3.8/site-packages (from amulet-map-editor) (4.1.0)
Requirement already satisfied: cython>=0.29.13 in ./lib/python3.8/site-packages (from amulet-nbt~=1.0.3->amulet-map-editor) (0.29.21)
Requirement already satisfied: Pillow>=7.1.0 in ./lib/python3.8/site-packages (from minecraft-resource-pack~=1.0.0->amulet-map-editor) (8.1.0)
Requirement already satisfied: six in ./lib/python3.8/site-packages (from wxPython==4.1.0->amulet-map-editor) (1.15.0)
Since I am already posting here: I also had some difficulties getting everything to compile, as there were some dependencies missing that were not resolved by pip. Installing python3-dev
, libgtk-3-dev
, libwxbase3.0-dev
, libwxgtk3.0-gtk3-dev
and python-sip-dev
solved the issue. Might be handy to mention those on the setup guide as well ;-)
I still get this bug. It makes Amulet very hard to use when you can’t see the toolbars.
OS: Manjaro Cinnamon Amulet: 0.8.7
Having this on Ubuntu 18.04, Python 3.8, amulet 0.8.7
I think I have a similar issue but on macOS 10.13 High Sierra. The toolbars are only visible during the flickering that happens only when resizing the window.
https://user-images.githubusercontent.com/19847464/123715404-85f47e00-d878-11eb-968c-014f52406b6c.mp4
Having this on Arch Linux, Python 3.9.6, Amulet 0.8.11
Is there somebody who do not have this issue on linux?
NixOS with mesa. python 3.8-3.9. invisible toolbox unless I am shaking cursor.
Ubuntu 21.04 Python 3.9.5 Amulet 0.8.12 Menu items constantly flicker, tried both with and without virtual environment.
I am looking to make the switch to Qt which will hopefully solve this issue and remove some other restrictions. Before I do I want to make sure that it is actually going to solve the issue. Please can all of you try running this demo that adds a button on top of the Qt opengl demo and let me know if it works or not.
Before running you will need to install PySide6, PyOpenGL and numpy
https://gist.github.com/gentlegiantJGC/3681c8eaa5e9707bf60d4c5ab0613595
@gentlegiantJGC The demo renders fine for me.
What OS are you using?
@gentlegiantJGC The demo renders fine for me.
What OS are you using?
I'm curious as well. I'm using Cinnamon 5.0.5 with muffin and LightDM on Linux Mint 20.2, which is based on Ubuntu 20.04 focal and I'm running Kernel 5.13-051300-generic (x64). My GPU is an NVIDIA GeForce GTX 1660 and I'm running the official driver: nvidia 470.57.02
@gentlegiantJGC Arch Linux, linux-ck 5.12.19, GTX 970 with nvidia 470.63.01, Qt 6.1.2.
Runs fine for me in a virtual env with those prereqs.
Manjaro + Cinnamon desktop 5.0.5 Kernel 5.10.60-1 (LTS) NVIDIA GeForce GTX 1070 + driver 470.63.01
I had the problem on Amulet, but the demo you gave works fine in env.
PopOs (=> Ubuntu) + Kde : Qt : 5.15.2 Kernel Linux 5.11.0-7620-generic x86_64 NVIDIA GTX 1050 + driver 470.57.02 from PopOs
As you can see in my dual-monitor screenshot below, the demo runs fine on my Manjaro KDE VM, but not my Mint Gnome host, and I suspect my problem lies in there somewhere, as KDE is built using QT while my host is GTK+. I haven't had the time to really dig in to it to find out what's going on.
Tested it on Ubuntu 20.4 and it works fine with both, Ubuntu's native Gnome desktop as well as Cinnamon. Hardware info below.
arne@T420:~$ neofetch
.-/+oossssoo+/-. arne@T420
`:+ssssssssssssssssss+:` ---------
-+ssssssssssssssssssyyssss+- OS: Ubuntu 20.04.3 LTS x86_64
.ossssssssssssssssssdMMMNysssso. Host: 4180PH3 ThinkPad T420
/ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 5.11.0-27-generic
+ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 3 days, 7 hours, 54 mins
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 3613 (dpkg), 11 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.0.17
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Resolution: 2560x1440
ossyNMMMNyMMhsssssssssssssshmmmhssssssso DE: Cinnamon
ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM: Mutter (Muffin)
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ WM Theme: (Default)
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Theme: Adwaita-dark [GTK2/3]
/sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ Icons: Faenza-Darker [GTK2/3]
+sssssssssdmydMMMMMMMMddddyssssssss+ Terminal: gnome-terminal
/ssssssssssshdmNNNNmyNMMMMhssssss/ CPU: Intel i7-2720QM (8) @ 3.300GHz
.ossssssssssssssssssdMMMNysssso. GPU: NVIDIA Quadro NVS 4200M
-+sssssssssssssssssyyyssss+- Memory: 2528MiB / 15963MiB
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.
Overlays are all wrong on my Manjaro installation, the demo works fine. Specs:
██████████████████ ████████
██████████████████ ████████ ----------
██████████████████ ████████ OS: Manjaro Linux x86_64
██████████████████ ████████ Host: MS-7C56 1.0
████████ ████████ Kernel: 5.10.61-1-MANJARO
████████ ████████ ████████ Uptime: 1 day, 13 hours, 55 mins
████████ ████████ ████████ Packages: 1588 (pacman), 19 (flatpak), 9 (snap)
████████ ████████ ████████ Shell: zsh 5.8
████████ ████████ ████████ Resolution: 3840x2160
████████ ████████ ████████ DE: GNOME 40.4
████████ ████████ ████████ WM: Mutter
████████ ████████ ████████ WM Theme: Adwaita-maia-compact-dark
████████ ████████ ████████ Theme: Adwaita-maia-compact [GTK2/3]
████████ ████████ ████████ Icons: Papirus-Dark-Maia [GTK2/3]
Terminal: gnome-terminal
CPU: AMD Ryzen 5 3600X (12) @ 3.800GHz
GPU: AMD ATI Radeon R9 285/380
Memory: 4506MiB / 32094MiB
Still an unresolved issue.
- Arch Linux x86_64
- Kernel 5.14.6
- X11
- NVidia
I suffered a catastrophic drive failure, and I'm waiting for my replacement to arrive. Once it's here, and I've reinstalled my core OS, I'll take this for another spin while the system is clean.
I have the same issue on Mint OS, no menu in the 3D editor and its flickering like crazy.
I am looking to make the switch to Qt which will hopefully solve this issue and remove some other restrictions. Before I do I want to make sure that it is actually going to solve the issue. Please can all of you try running this demo that adds a button on top of the Qt opengl demo and let me know if it works or not. Before running you will need to install PySide6, PyOpenGL and numpy https://gist.github.com/gentlegiantJGC/3681c8eaa5e9707bf60d4c5ab0613595
Demo works without an issue.
DE: KDE Plasma 5.23.4
QT version: 5.15.2
Kernel: 5.15
OS: Arch
Manjaro, KDE Plasma 5.23.4, Qt 5.15.2. Works as expected.
Works perfectly
DE: Gnome 40.0
Kernel: 5.15.5
OS: Pop 21.10
Demo works perfectly
DE: Xfce 4.16
Kernel: 5.10.131-1-MANJARO
OS: Manjaro Linux x86_64
Hello same issue with amulet running Arch Linux, has there been any success with arch-based distro so far / are there working workarounds for anyone?
Kind regards