Open shinobiultra opened 6 months ago
cool, it doesn't happen on my end.
Are they running in xwayland? Have you tried launching them from the terminal with WAYLAND_DEBUG=1?
Saying "it no work :(" wont help much here
cool, it doesn't happen on my end.
Are they running in xwayland? Have you tried launching them from the terminal with WAYLAND_DEBUG=1?
Saying "it no work :(" wont help much here
I knooow, I'm sorry, just not sure where to get relevant info. WAYLAND_DEBUG=1 with code did nothing for me, with STM32CubeMX the last few prints before crash are:
2024-05-18 21:07:23,926 [INFO] ThirdParty:841 - exiting critical section [change project]
2024-05-18 21:07:24,021 [INFO] PinOutPanel:1561 - setPackage(No Configuration,No Configuration)
2024-05-18 21:07:24,021 [INFO] PinOutPanel:1561 - setPackage(STM32F100RBTx,LQFP64)
2024-05-18 21:07:24,156 [INFO] UtilMem:75 - Before build in PCC Used Memory: 282563264 Bytes (373293056)
2024-05-18 21:07:24,426 [INFO] UtilMem:75 - After build in PCC Used Memory: 222110560 Bytes (373293056)
2024-05-18 21:07:24,438 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,438 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,439 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,439 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,439 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,439 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,439 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,439 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,439 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,439 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,439 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,439 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,439 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,439 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,439 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,440 [INFO] IPUIPlugin:80 - create IPUIPlugin
2024-05-18 21:07:24,444 [WARN] IP:2120 - I2C_Coeff_DF not found: check if there is a RefParameter without a condition.
2024-05-18 21:07:24,444 [WARN] IP:2120 - Analog_Filter not found: check if there is a RefParameter without a condition.
2024-05-18 21:07:24,532 [INFO] CADModel:165 - CPN selected for project levelSTM32F100RBT6B
2024-05-18 21:07:24,532 [INFO] CADModel:114 - Register for checkConnection events
2024-05-18 21:07:24,583 [WARN] IP:2120 - I2C_Coeff_DF not found: check if there is a RefParameter without a condition.
2024-05-18 21:07:24,584 [WARN] IP:2120 - Analog_Filter not found: check if there is a RefParameter without a condition.
2024-05-18 21:07:24,584 [WARN] IP:2120 - I2C_Coeff_DF not found: check if there is a RefParameter without a condition.
2024-05-18 21:07:24,584 [WARN] IP:2120 - Analog_Filter not found: check if there is a RefParameter without a condition.
2024-05-18 21:07:24,772 [INFO] OpenFileManager:343 - Restore cursor
2024-05-18 21:07:24,856 [WARN] IP:2120 - I2C_Coeff_DF not found: check if there is a RefParameter without a condition.
2024-05-18 21:07:24,856 [WARN] IP:2120 - Analog_Filter not found: check if there is a RefParameter without a condition.
2024-05-18 21:07:24,856 [WARN] IP:2120 - I2C_Coeff_DF not found: check if there is a RefParameter without a condition.
2024-05-18 21:07:24,856 [WARN] IP:2120 - Analog_Filter not found: check if there is a RefParameter without a condition.
And upon trying to launch it again (which fails):
log4j user configuration file not found: /home/bitwise/.stm32cubemx/log4j2.xml
Configure log4j with default settings from jar:file:/opt/stm32cubemx/STM32CubeMX!/log4j/log4j2.stm32cubemx.xml
2024-05-18 21:07:43,187 [INFO] MicroXplorer:98 - [MX] MX Start == 217118135279
2024-05-18 21:07:43,188 [INFO] MicroXplorer:653 - Detected Java Version = 22
Where it just hangs.
EDIT: And yes, both VSCode and STM32CubeMX run in XWayland. I'll try running code under wayland, but STM32CubeMX still manages to reliably crash my entire PC to the point where even other TTYs aren't available, like just happened few moments ago...
EDIT 2: Running VSCode under wayland didn't save it from disappearing (crashing completely) with CubeMX. Verified Wayland with xwininfo
EDIT 3: Upon trying to rerun VSCode, it hangs after this debug output:
EDIT 4: Now this might come in handy. Upon STM32 crash, no output is given (even with WAYLAND_DEBUG=1). But! VSCode outputs this:
[2110857.232] wl_display@1.delete_id(50)
[2110857.238] wp_presentation_feedback@53.sync_output(wl_output@33)
[2110857.245] wp_presentation_feedback@53.presented(0, 819, 855522000, 16666666, 0, 3138, 7)
[2110857.272] wl_callback@50.done(819862)
[main 2024-05-18T19:29:50.723Z] resolveShellEnv(): skipped (VSCODE_CLI is set)
[68217:0518/212954.813543:INFO:CONSOLE(656)] "%cTRACE color: #888 RunAutomaticTasks: waited some extra time, but no update of tasks configuration", source: vscode-file://vscode-app/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.desktop.main.js (656)
X connection to :1 broken (explicit kill or server shutdown).
sounds like some xwayland shenanigans tbh. IIRC vscode crashing is a vscode issue, there is an open bug report for that over there
sounds like some xwayland shenanigans tbh. IIRC vscode crashing is a vscode issue, there is an open bug report for that over there
Perhaps, but still am more concerned about the STM32CubeMX crashing. It makes it highly unusable due to the fact that I can set just a few pins before it crashes and I need to restart hyprland to be able to finish setting the pins.
This is not just an electron OR xwayland issue. The same thing is happening to me with Looking Glass (running under Wayland), though the repro steps are a little different. If I swap to another workspace for a while and swap back it will sometimes blink out of existence, but is still shown to be running in htop. I haven't experienced it with any other applications so far though. If I can find a more consistent repro I'll bisect, it's definitely a very recent issue.
I suppose it could be a separate bug, but it's strikingly similar.
@Ghosthree3 Just commenting to confirm exact same issue, when I have looking-glass-client instance in another workspace which is not focused on one of my monitor it randomly dissapers. Also having random input latency on the same exact vm. Some times I run the vm and its working as intended inside looking glass with high fps but sometimes fps is not going above 50-70. Glad I am not the only one, gotta try older versions of hyprland to finally confirm the bug is from latest versions
This bug is pretty annoying :c Can confirm same behavior on my Arch.
Update on my last comment, which very possibly has nothing to do with the original issue.
It's a hack, but you can use the new renderunfocused rule to stop the LG window crashing out of existence. windowrulev2 = renderunfocused,class:^(looking-glass-client)$
The no rule behavior is still definitely a bug that hopefully gets fixed one day (window disappears but process is still running, entire system frame rate drops to around 30), but this should prevent it happening for now.
I should probably open a new issue for this at some point, still to this day no other application I use day to day exhibits this behavior.
@VPavliashvili ping to test workaround.
Hello @Ghosthree3 Thanks for your suggestion, I will definitely test this as far as I will be able to. Also I want to add that from my first comment only window crash is hyprland related, low fps and jittering was on looking-glass's side
I tried renderunderfocused
hack as you suggested but I was not able to test this properly. For some reason looking-glass-client window dies instantly after launch but the process itself remains alive, its like same bug but now instantly without unfocused stuff. I have triple monitor setup and maybe that might be a case, i dont know...
the version is latest:
Hyprland, built from branch main at commit 6934e7aa2b300bc4565855a4092fb34de8a9a8d2 (textinput: don't deactivate ime if another ti is focused (7617)).
Date: Sun Sep 1 23:33:31 2024
Tag: v0.42.0-109-g6934e7aa, commits: 5178
Just commenting in case anyone sees this. I used Ghosthree's suggestion:
windowrulev2 = renderunfocused,class:^(looking-glass-client)$
and this fixed all my issues with Looking Glass disappearing and slowing my system down to a crawl on Hyprland. Tested and working on hyprlang-git 0.5.3.r0.gf054f2e4-1
.
Facing the same issue here... sin e yesterday, no chromium app is launching, no electron app is launching,
Except firefox...
Any suggestions
same here, chromium, vscodium, discord β all are refusing to launch
please the solution is here, ππππππππ
β€ sudo rm ~/.icons/default/index.theme
this seems to be caused by nwglook(GTK Settings) , so just remove that default dir
@Ghosthree3 @lvctr @shinobiultra @DrShadow34 @VPavliashvili
Hyprland Version
System/Version info
```sh Hyprland, built from branch main at commit 2ead1fd22103ce065661555513bace5897083ded (virtual-keyboard: emit event before finishing keyboard). Date: Fri May 17 21:07:33 2024 Tag: v0.40.0-111-g2ead1fd2, commits: 4717 flags: (if any) System Information: System name: Linux Node name: Archee Release: 6.9.1-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Fri, 17 May 2024 16:56:38 +0000 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S GT1 [UHD Graphics 770] [8086:a780] (rev 04) (prog-if 00 [VGA controller]) 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU106 [GeForce RTX 2060 SUPER] [10de:1f06] (rev a1) (prog-if 00 [VGA controller]) os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo plugins: ```Bug or Regression?
Bug
Description
VSCode and STM32CubeMX disappear and code is unable to be restarted (even with various flags), no logs anywhere, Cube stays running but isn't visible anywhere and can't also be restarted. I have to log out and restart Hyprland session.
Even though I currently use
nvidia-dkms
, it's totally reproducible both on my laptop & desktop and on Nouveau ornvidia-open-dkms
and I can trigger it with 100% success rate.How to reproduce
Start VSCode, start STM32CubeMX. Hover over pins in the chip view of Cube (when opened a project) and withing few "hovers" (just mouse over the pins) it will disappear and take VSCode for some reason with it.
Crash reports, logs, images, videos
No relevant logs I could find in
journalctl -b
. Also, for some reason, my$XDG_RUNTIME_DIR
is set to/run/user/1000
. Not sure why or what that means.