Latte dock stuck in panel mode

My latte dock is stuck in panel mode. I can't change it back with the dock/panel button in the edit menu either, the option is greyed out. I can only fix it with reset configs in the Garuda Assistant but this is very annoying, I have to replace my launchers on the dock every single time. On top of it, when this issue occurs it takes a long time to get from logging in at sddm to getting to my desktop. This issue happens sometimes when I close a game or long in. I have tried reinstalling latte dock via pacman my terminal but it does not help. Can someone help me?

inxi -Faz System:    Kernel: 5.13.13-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0 
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=39ef41aa-7170-4e45-928b-20e167ab35e6 
rw rootflags=subvol=@ rd.udev.log_priority=3 vt.global_cursor_default=0 
systemd.unified_cgroup_hierarchy=1 resume=UUID=6168f51b-00de-48e1-ab08-0eedb3c6380c loglevel=3 
Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM 
Distro: Garuda Linux base: Arch Linux 
Machine:   Type: Desktop Mobo: Micro-Star model: B550M PRO-VDH WIFI (MS-7C95) v: 1.0 serial: <filter> 
UEFI: American Megatrends LLC. v: 2.71 date: 02/26/2021 
CPU:       Info: 6-Core model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3 family: 19 (25) 
model-id: 21 (33) stepping: 0 microcode: A201009 cache: L2: 3 MiB 
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 88793 
Speed: 3594 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz): 1: 3594 2: 3682 
3: 3633 4: 3596 5: 3789 6: 3594 7: 3596 8: 3587 9: 3596 10: 3723 11: 3613 12: 3694 
Vulnerabilities: Type: itlb_multihit status: Not affected 
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: usercopy/swapgs barriers and __user pointer sanitization 
Type: spectre_v2 
mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: always-on, RSB filling 
Type: srbds status: Not affected 
Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: Micro-Star MSI 
driver: amdgpu v: kernel bus-ID: 2b:00.0 chip-ID: 1002:67df class-ID: 0300 
Device-2: WaveRider USB Live camera type: USB driver: snd-usb-audio,uvcvideo bus-ID: 3-3:2 
chip-ID: 0c46:64ab class-ID: 0102 serial: <filter> 
Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: amdgpu,ati 
unloaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1 
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 507x285mm (20.0x11.2") s-diag: 582mm (22.9") 
Monitor-1: HDMI-A-0 res: 1920x1080 dpi: 30 size: 1600x900mm (63.0x35.4") diag: 1836mm (72.3") 
OpenGL: 
renderer: AMD Radeon RX 480 Graphics (POLARIS10 DRM 3.41.0 5.13.13-zen1-1-zen LLVM 12.0.1) 
v: 4.6 Mesa 21.2.1 direct render: Yes 
Audio:     Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: Micro-Star MSI 
driver: snd_hda_intel v: kernel bus-ID: 2b:00.1 chip-ID: 1002:aaf0 class-ID: 0403 
Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel 
bus-ID: 2d:00.4 chip-ID: 1022:1487 class-ID: 0403 
Device-3: WaveRider USB Live camera type: USB driver: snd-usb-audio,uvcvideo bus-ID: 3-3:2 
chip-ID: 0c46:64ab class-ID: 0102 serial: <filter> 
Sound Server-1: ALSA v: k5.13.13-zen1-1-zen running: yes 
Sound Server-2: JACK v: 1.9.19 running: no 
Sound Server-3: PulseAudio v: 15.0 running: no 
Sound Server-4: PipeWire v: 0.3.34 running: yes 
Network:   Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi v: kernel 
bus-ID: 29:00.0 chip-ID: 8086:24fb class-ID: 0280 
IF: wlo1 state: down mac: <filter> 
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI 
driver: r8169 v: kernel port: f000 bus-ID: 2a:00.0 chip-ID: 10ec:8168 class-ID: 0200 
IF: enp42s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
IF-ID-1: virbr0 state: down mac: <filter> 
Bluetooth: Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-9:6 
chip-ID: 8087:0aa7 class-ID: e001 
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:    Local Storage: total: 1.82 TiB used: 267.05 GiB (14.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000DM008-2FR102 size: 1.82 TiB
block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200
serial: <filter> rev: 0001 scheme: GPT
Partition: ID-1: / raw-size: 1.8 TiB size: 1.8 TiB (100.00%) used: 267.05 GiB (14.5%) fs: btrfs
dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.45%) used: 562 KiB (0.2%) fs: vfat
dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 1.8 TiB size: 1.8 TiB (100.00%) used: 267.05 GiB (14.5%) fs: btrfs
dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 1.8 TiB size: 1.8 TiB (100.00%) used: 267.05 GiB (14.5%) fs: btrfs
dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 1.8 TiB size: 1.8 TiB (100.00%) used: 267.05 GiB (14.5%) fs: btrfs
dev: /dev/sda2 maj-min: 8:2
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.55 GiB used: 1.73 GiB (11.1%) priority: 100 dev: /dev/zram0
ID-2: swap-2 type: partition size: 17.11 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3
maj-min: 8:3
Sensors:   System Temperatures: cpu: 52.1 C mobo: N/A gpu: amdgpu temp: 71.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 715
Info:      Processes: 353 Uptime: 2h 14m wakeups: 0 Memory: 15.55 GiB used: 7.54 GiB (48.5%) Init: systemd
v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1388 lib: 384
Shell: fish v: 3.3.1 default: Bash v: 5.1.8 running-in: konsole inxi: 3.3.06

Sometimes is difficult to solve.
Which game(s)?
You mean after boot and log in, or log in, in some game?

and
:slight_smile:

1 Like

It happens after boot and login, but not all the time. I've also had it happen after playing a game with the dolphin emulator and GTA5 via lutris.

Another thing I would like to add is that all of the visual effects of my desktop environment are gone even with their options turned on (no wobbly windows, blurring, etc.)

So maybe you could check if the compositor crashed in those moments, and if so restart it?

3 Likes

I am checking the compositor via settings >> display and monitor >> compositor and I see a message saying "OpenGL compositing (the default) has crashed KWin in the past.

This was most likely due to a driver bug.

If you think that you have meanwhile upgraded to a stable driver,

you can reset this protection but be aware that this might result in an immediate crash!

Alternatively, you might want to use the XRender backend instead"

I switched over to XRender and progress was made. My dock now appears as it should, albeit there is a small thin black line under the icons however the visual effects are still absent and I am more worried about that. I will double check my settings for those and report back.

I think you should reset.
Drivers can be updated somehow if necessary

1 Like

I'll check my drivers. I switched back over to opengl and everything works fine.

Perhaps introducing a short 1-3 second startup delay to latte dock may help if your crash issue continues.

3 Likes

The issue does seem to be my compositor. It very well may be my drivers. I am using the open source amd drivers, how would I switch over to the proprietary ones?

You can use the Garuda Settings Manager

I am only getting the option to install the open source drivers

So, I assume (I'm no expert) that the free driver amdgpu is the right choice for your card...
I guess it is difficult to find the root cause of those kwin crashes.
For sure, I think you should try the suggested delay (check e.g. this post).
At a quick look at the KDE bug tracker, it seems to me that there are several issues open for kwin but none of them appeared applicable to your case, although some reports generically described those crashes to be quite frequent.
Now that you've narrowed down the issue, maybe next time you can pay more attention and e.g. check the logs to discover something more.

1 Like

I'll try that

The eliver lara sddm theme started giving me a white background no matter what I set it to but then I reinstalled video-linux and changed my sddm theme

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.