Commit graph

101 commits

Author SHA1 Message Date
Ian Douglas Scott
0f5d654535 Use cosmic-config for input configuration; allow dynamic changes 2023-08-31 13:59:49 -07:00
Victoria Brekenfeld
2bc9f94255 kms: Make sure to re-render after finished animation 2023-08-31 13:53:30 +02:00
Ian Douglas Scott
6b34edb077 Send SCANOUT flag in dmabuf feedback when target_node != render_node
The Intel driver (at least) pads the stride to meet the requirements for
scanout on AMD or Nvidia cards, when this flag is set.

This works around the bug I've seen in the Nvidia driver with corruption
importing an unaligned dmabuf. This presumably is an issue in the Nvidia
driver, but presumably it the fix would be for the import to fail, so
using a stride that allows it to succeed is better anyway.
2023-08-11 08:34:08 -07:00
Victoria Brekenfeld
185e2fe3c8 chore: Update smithay 2023-07-31 19:12:33 +02:00
Victoria Brekenfeld
a9489b50c5 kms: Don't panic, if mode can't be updated 2023-07-13 17:22:57 +02:00
Victoria Brekenfeld
a308997fd4 chore: Update smithay 2023-07-12 18:57:38 +02:00
Victoria Brekenfeld
235248d445 kms: Add key repetition for shortcuts 2023-07-07 17:46:10 +02:00
Victoria Brekenfeld
bdcb803efa chore: Update smithay 2023-06-30 15:15:21 +02:00
Victoria Brekenfeld
7b3ac7fa77 render: Implement workspace transitions 2023-05-25 00:15:42 +02:00
Victoria Brekenfeld
9be6c85459 clippy fixes 2023-05-25 00:15:42 +02:00
Victoria Brekenfeld
331b884f1e tiling: Animate tree changes 2023-05-12 20:01:37 +02:00
Victoria Brekenfeld
18bac3e5ba kms: screencopy decouple 2023-05-03 19:40:30 +02:00
Victoria Brekenfeld
1a8432395c kms: Handle max bpc property 2023-04-18 19:14:31 +02:00
Victoria Brekenfeld
2fde693cce kms: Don't enable VRR by default 2023-04-18 19:14:04 +02:00
Victoria Brekenfeld
352a3e2beb kms: Use texture for offscreen cursor rendering 2023-04-18 19:12:50 +02:00
Victoria Brekenfeld
b98ca9c493 Update smithay for 10-bit color support 2023-04-18 17:10:37 +02:00
Victoria Brekenfeld
bc49507353 kms: Dmabuf feedback support 2023-04-05 20:06:24 +02:00
Victoria Brekenfeld
636d38921a chore: Update smithay 2023-04-05 20:06:24 +02:00
Victoria Brekenfeld
7ad37946d3 Revert "kms: Dmabuf Feedback support"
This reverts commit c8bb417d9b.
2023-03-23 14:58:29 +01:00
Victoria Brekenfeld
c8bb417d9b kms: Dmabuf Feedback support 2023-03-23 13:51:33 +01:00
Victoria Brekenfeld
486266f7bb kms: Don't reschedule for high input rates 2023-03-23 11:29:51 +01:00
Victoria Brekenfeld
9ae225f7f7 kms: Fix restoring surfaces on vt switch 2023-03-16 18:48:18 +01:00
Victoria Brekenfeld
d01148f0ee kms: Rely more on offscreen rendering than memory copies 2023-03-09 14:50:57 +01:00
Victoria Brekenfeld
5d173a46a6 shell: Fix missing titlebars 2023-03-09 14:50:57 +01:00
Victoria Brekenfeld
659933b039 xwm: Don't do multiple 2023-03-09 14:50:57 +01:00
Victoria Brekenfeld
7caae686fe kms: Use DrmCompositor 2023-03-07 16:37:19 +01:00
Victoria Brekenfeld
3f462e3eb7 tracing: Use don't log on hot paths without trace-level 2023-03-06 19:38:12 +01:00
Victoria Brekenfeld
9b416b5779 render: Add focus indicator 2023-03-06 19:37:11 +01:00
Victoria Brekenfeld
d16b752030 chore: Update smithay 2023-03-06 19:37:11 +01:00
Victoria Brekenfeld
c787cbdbbd
Merge pull request #80 from pop-os/relative-pointer_jammy
Expose relative pointer global on the kms backend
2023-03-06 12:53:56 +01:00
Ian Douglas Scott
5b950a9be7 kms: Use primary node if no render node is found
It seems this is all that's needed to make cosmic-comp run in a VM
without graphics acceleration.

Fixes https://github.com/pop-os/cosmic-comp/issues/62.
2023-03-03 12:22:14 -08:00
Ian Douglas Scott
313bdd91b8 Expose relative pointer global on the kms backend 2023-02-27 13:54:49 -08:00
Victoria Brekenfeld
35de500c00 chore: update smithay + switch to tracing 2023-02-24 17:43:07 +01:00
Victoria Brekenfeld
844ed552b9 smithay fixes 2023-02-24 17:42:20 +01:00
Victoria Brekenfeld
10c23e17f9 kms: Don't mark surface as pending, if rendering failed 2023-02-24 17:42:20 +01:00
Ian Douglas Scott
26a652f039 Exclude "cosmic-workspace-overview" from workspace screencopy 2023-02-21 15:16:10 -08:00
Victoria Brekenfeld
5ba068ec82 kms: Fixup new backend initializtion 2023-02-14 23:15:58 +01:00
Victoria Brekenfeld
4a9dfcead0 deps: Update smithay
Integrate new multigpu allocator code for gpu->gpu copies using the vulkan allocator.

Also integrates Xwayland clipboard sync.
2023-02-14 15:47:39 +01:00
Victoria Brekenfeld
7d4aabae6d kms: Fix tty-switching 2023-01-25 18:43:35 +01:00
Victoria Brekenfeld
7704f65d02 kms: Don't remove outputs from shell, before reading config 2023-01-24 21:13:55 +01:00
Victoria Brekenfeld
e7be9d6abf xwayland: kms fixes 2023-01-24 19:35:37 +01:00
Victoria Brekenfeld
1d28574088 xwayland: Add initial support 2023-01-18 20:25:32 +01:00
Victoria Brekenfeld
7992ad67f6 update smithay, iced; reworked window for xwayland 2023-01-16 15:37:54 +01:00
Victoria Brekenfeld
8a2e1e5c89 deps: Update smithay 2023-01-16 15:22:34 +01:00
Victoria Brekenfeld
bce88d2514 deps: Update smithay 2022-12-27 18:27:29 +01:00
Victoria Brekenfeld
74cec7bdd6 kms: Don't loose screencopy sessions 2022-12-03 00:06:20 +01:00
Victoria Brekenfeld
b5ef2c5bde kms: Use recent average frame_time for delay 2022-11-23 16:10:37 +01:00
Victoria Brekenfeld
b2686424ea seat: Workaround old active outputs on hotplug 2022-11-23 16:10:37 +01:00
Victoria Brekenfeld
1de4b97bca debug: Add image support and gpu vendor logos 2022-11-23 16:10:37 +01:00
Victoria Brekenfeld
36cb2ac719 debug: Better frame graph 2022-11-23 16:10:37 +01:00