Commit graph

5043 commits

Author SHA1 Message Date
1c5c905c25 fix crash 2024-07-20 17:58:55 +02:00
diniamo
8dbaef2982 flake: update aquamarine 2024-07-20 17:16:08 +03:00
1d933293b0 fix 2024-07-20 14:45:22 +02:00
8aff97135b fix crashas 2024-07-20 12:42:58 +02:00
70e4670185 oopsie daisy 2024-07-20 12:42:58 +02:00
85cf0972bf flake.lock: update aq 2024-07-20 12:42:58 +02:00
Ikalco
1f844610d1 [aquamarine] try to fix direct scanout (#6875)
* make linux-dmabuf use monitor primary plane formats for ds

* add support for monitor connects/disconnects in linux-dmabuf

* the weird bug was because ds was global, and disabled on one monitor but enabled on the other

* forgot to remove attemptDirectScanout from hyprRenderer

* add renderer fallback tranche on ds and a few other improvements

* use set when making format table

* mitigate ds artifacting and update linux-dmabuf comments
with this commit artifacting now only occurs when the
client's fps is above the refresh rate of the monitor

* use new backend release infra

* revert earlier artifacting mitigation that broke stuff ;)

* ... i should test before push ;-;

---------

Co-authored-by: Vaxry <vaxry@vaxry.net>
2024-07-20 12:42:58 +02:00
0de9568da5 eee 2024-07-20 12:42:58 +02:00
a3770ab8b2 use output state format 2024-07-20 12:42:58 +02:00
a0ec926122 logs 2024-07-20 12:42:58 +02:00
ed8b4b73d2 shm drm woo 2024-07-20 12:42:58 +02:00
557d2ab3ed ci: add aq 2024-07-20 12:42:58 +02:00
f059851ce5 flake.lock: update 2024-07-20 12:42:58 +02:00
65b041ddc6 format 2024-07-20 12:42:58 +02:00
Tom Englund
c4913662e1 Aquamarine headers for no pch build and a heap use after free (#6892)
* build: add includes for no precompiled headers

missing includes for no precompiled headers/lto usage.

* math: avoid heap use after free

on destruction of hyprland transforms gets double freed in aquamarine
and hyprland, instead of a global use a function-local static variable
which avoids any issues related to initialization order across
different translation units.
2024-07-20 12:42:58 +02:00
648b7b3b6d CI/Arch: add libxcursor 2024-07-20 12:42:58 +02:00
b8192420ba flake.lock: update 2024-07-20 12:42:58 +02:00
b59c159d57 thanks virt 2024-07-20 12:42:58 +02:00
UjinT34
e444d2a1a6 Hw cursors fix for nvidia (#6847)
* logging

* fallback to dump cursor copy

* unmap gbm buffer when done

Signed-off-by: Vaxry <vaxry@vaxry.net>
2024-07-20 12:42:58 +02:00
af4a13452b thanks ikalco 2024-07-20 12:42:58 +02:00
955ee5f1bb thanks ikalco 2024-07-20 12:42:58 +02:00
fe2fe1f359 viewporter stuff 2024-07-20 12:42:58 +02:00
UjinT34
8ea06338f9 add scheduleFrame reasons (#6799) 2024-07-20 12:42:58 +02:00
aa6ae13845 make explicit sync setting actually disable it 2024-07-20 12:42:58 +02:00
d786094fb9 stuff 2024-07-20 12:42:58 +02:00
UjinT34
6289612958 reset explicit fences before commit (#6841) 2024-07-20 12:42:58 +02:00
0f09940c32 fix xwayland crash
thanks ikalco
2024-07-20 12:42:58 +02:00
38867021d8 better 2024-07-20 12:42:58 +02:00
1fcb8cc162 swapchain test stuff 2024-07-20 12:42:58 +02:00
UjinT34
805a054389 Explicit sync fixes (#6829)
* explicit sync fixes

* more logging

* reremove wlroots

* close explicit fds on rollback

* limit presentFeedback explicit sync to direct scanout mode only

* explicit sync for texture render

* cursor explicit sync initial

* common wait for explicit sync point code

* code style fixes
2024-07-20 12:42:58 +02:00
4c905b1a8b ok gulafaran 2024-07-20 12:42:58 +02:00
cdd037ec64 initialize arrays 2024-07-20 12:42:58 +02:00
8ae38c1e1e stuff 2024-07-20 12:42:58 +02:00
13af7fb2fb explicit sync stuff 2024-07-20 12:42:58 +02:00
vaxerski
37a96c6110 [gha] Nix: update inputs 2024-07-20 12:42:58 +02:00
95ddf9e7eb stuff for aq alloc split 2024-07-20 12:42:58 +02:00
959e83fd4d stuf 2024-07-20 12:42:58 +02:00
d13189d8f6 no leakeroni 2024-07-20 12:42:58 +02:00
1d4e51876d e 2024-07-20 12:42:58 +02:00
45f726c6bd dmabufff 2024-07-20 12:42:58 +02:00
be4051e923 send flag on main tranche 2024-07-20 12:42:58 +02:00
f472dcd67b ds fixes 2024-07-20 12:42:58 +02:00
76b8be2349 some fixes to dmabuf 2024-07-20 12:42:58 +02:00
4aa77b26e8 fixeroni crasheroni 2024-07-20 12:42:58 +02:00
29598f2c50 flake.lock: update
nix/overlays: remove xwayland overlay (merged upstream)
2024-07-20 12:42:58 +02:00
bd25149daf Nix: add xcursor dep 2024-07-20 12:42:58 +02:00
Jan Beich
05f7a239c0 nix: drop unused script after 589f758d94 2024-07-20 12:42:57 +02:00
Jan Beich
d7aded851b cmake: drop unused include after 758c0b3253 2024-07-20 12:42:57 +02:00
Jan Beich
8cf770b7be meson: unbreak build with aquamarine
In file included from ../src/protocols/DRMLease.cpp:1:
../src/protocols/DRMLease.hpp:7:10: fatal error: 'drm-lease-v1.hpp' file not found
    7 | #include "drm-lease-v1.hpp"
      |          ^~~~~~~~~~~~~~~~~~
In file included from ../src/render/Renderer.cpp:17:
../src/render/../protocols/DRMSyncobj.hpp:6:10: fatal error: 'linux-drm-syncobj-v1.hpp' file not found
    6 | #include "linux-drm-syncobj-v1.hpp"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
ld: error: undefined symbol: Aquamarine::CBackend::hasSession()
>>> referenced by Renderer.cpp
>>>               src/Hyprland.p/render_Renderer.cpp.o:(CHyprRenderer::CHyprRenderer())
>>> referenced by KeybindManager.cpp
>>>               src/Hyprland.p/managers_KeybindManager.cpp.o:(CKeybindManager::handleVT(unsigned int))
>>> referenced by Monitors.cpp
>>>               src/Hyprland.p/events_Monitors.cpp.o:(Events::listener_monitorFrame(void*, void*))
>>> referenced 8 more times

ld: error: undefined symbol: gbm_create_device
>>> referenced by OpenGL.cpp
>>>               src/Hyprland.p/render_OpenGL.cpp.o:(CHyprOpenGLImpl::CHyprOpenGLImpl())

ld: error: undefined symbol: XcursorShapeLoadImage
>>> referenced by CursorManager.cpp
>>>               src/Hyprland.p/managers_CursorManager.cpp.o:(CCursorManager::SXCursorManager::loadTheme(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int))
>>> referenced by CursorManager.cpp
>>>               src/Hyprland.p/managers_CursorManager.cpp.o:(CCursorManager::SXCursorManager::loadTheme(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int))
>>> referenced by CursorManager.cpp
>>>               src/Hyprland.p/managers_CursorManager.cpp.o:(CCursorManager::SXCursorManager::loadTheme(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int))
2024-07-20 12:42:57 +02:00
1a1cc59c5f flake.lock: update aquamarine 2024-07-20 12:42:57 +02:00