Commit Graph

170 Commits

Author SHA1 Message Date
Samuel Cobb 473bee3259 revert debugging 2024-07-25 23:23:09 +01:00
Samuel Cobb a8a13eb88a add includes 2024-07-25 22:37:26 +01:00
Samuel Cobb 58012329de resolve to canonical path 2024-07-25 22:24:59 +01:00
Samuel Cobb b30e382af9 remove newFd Reference 2024-07-25 16:27:18 +01:00
Samuel Cobb 22edec447b undo that 2024-07-25 16:24:47 +01:00
Samuel Cobb 018b493c76 update overlapping name 2024-07-25 16:10:49 +01:00
Samuel Cobb 2c991d03a5 massive hacky reopening of DRM nodes 2024-07-25 15:04:09 +01:00
Samuel Cobb cd309778a9 Revert "apply patch"
This reverts commit 828d07a4c1a80813fbc40eb3e95674240933cc80.
2024-07-25 14:57:00 +01:00
Samuel Cobb 51722ed593
Merge branch 'hyprwm:main' into main 2024-07-24 19:22:39 +01:00
Khiet Tam Nguyen e569340c6b
drm: ignore primary argument when using evdi drivers (#25)
* fix: ignore primary if using evdi drivers for displaylink

* style: removed curly braces from evdi if-check
2024-07-24 20:14:29 +02:00
Vaxry 4a1424e85b gbm: use flags in create_with_modifiers
amdeeznuts
2024-07-24 20:11:55 +02:00
Vaxry 07eb70afb1
gbm: Nvidia fixes for scanout gbm allocation (#27)
* nv fixes

* fix
2024-07-24 18:41:13 +02:00
Samuel Cobb 7cf2710dd4 Revert "also add seatd"
This reverts commit 69106015ec.
2024-07-24 15:20:13 +01:00
Samuel Cobb d6692f4ece Revert "update deps"
This reverts commit 7aa9e4eb21.
2024-07-24 15:19:59 +01:00
Samuel Cobb 0926808763 Reapply "apply patch 2"
This reverts commit c9f4b7cf9e.
2024-07-24 15:19:25 +01:00
Samuel Cobb c9f4b7cf9e Revert "apply patch 2"
This reverts commit 43e46cb0c4.
2024-07-24 15:17:19 +01:00
Samuel Cobb 69106015ec also add seatd 2024-07-24 15:14:32 +01:00
Samuel Cobb 7aa9e4eb21 update deps 2024-07-24 15:02:53 +01:00
Samuel Cobb 43e46cb0c4 apply patch 2 2024-07-24 01:57:08 +01:00
Samuel Cobb 95c2de5dda Revert "Apply patch"
This reverts commit 3c007df657.
2024-07-24 00:58:46 +01:00
Samuel Cobb 3c007df657 Apply patch 2024-07-23 23:09:53 +01:00
Vaxry 4c72cd4d0b session/input: add missing pos to touch down events 2024-07-23 19:18:57 +02:00
Vaxry 601f6cf95c wayland: drop required zwp_linux_dmabuf_v1 version to 4
compatibility reasons, we don't really need 5
2024-07-21 16:22:23 +02:00
UjinT34 7a84686b4a
output: remove redundant needsFrame, allow skip on mouse event (#21) 2024-07-20 20:56:18 +02:00
Vaxry acfea3bd1d drm: reject modeless commits 2024-07-20 16:58:42 +02:00
Vaxry af219a0a2c drm: avoid a crash when no cursor plane is present 2024-07-20 15:55:18 +02:00
Vaxry 35e00a4a9d buffer: add backendLock 2024-07-19 11:29:50 +02:00
Vaxry 9d7c69cde2 drm: minor improvements to crtc rechecks 2024-07-18 22:53:05 +02:00
Mihai Fufezan c97e83ece1
flake.lock: update 2024-07-18 21:04:10 +03:00
Mihai Fufezan 00d6f0f820
CMake: fmt 2024-07-18 21:03:58 +03:00
Mihai Fufezan 949f105f53
CMake, Nix: add VERSION file 2024-07-18 21:03:42 +03:00
Vaxry a6f1ad1560 drm: fixup cursor fb rotation cases 2024-07-18 12:30:49 +02:00
JManch dcac376308
drm: fix crash for connectors without a fallback mode (#20) 2024-07-18 11:09:17 +02:00
Vaxry 5b34d0df1f drm: attempt to re-modeset if commit fails
however, keep track of this so we don't attempt to modeset all the time on an invalid state
2024-07-18 00:06:04 +02:00
Vaxry 2dc8ba961c drm: accept mgpu tests early to avoid a blit 2024-07-17 23:13:39 +02:00
Vaxry bf651128cf drm/atomic: log crtc and mode blobs in commit 2024-07-17 22:35:41 +02:00
phonetic112 cebcba4e10
wayland: Add title/class to wayland window (#19) 2024-07-17 11:40:45 +02:00
Ikalco 1e385d02b3
session: use deviceID instead of fd for libseat_close_device (#18) 2024-07-16 18:29:09 +02:00
Jan Beich d6791cc5ce
drm: properly check master node after 05219d5287 (#17)
[LOG] [AQ] reopenDRMNode: drmModeCreateLease failed, falling back to open
[LOG] [AQ] reopenDRMNode: opening node /dev/dri/renderD128
[ERR] [AQ] reopenDRMNode: drmGetMagic failed: Permission denied
2024-07-16 11:53:50 +02:00
Jan Beich 1dd44c85e7
drm: add missing include to fix BSD (#15)
src/backend/Backend.cpp:317:13: error: use of undeclared identifier 'close'
  317 |             close(newFD);
      |             ^
src/backend/Backend.cpp:323:13: error: use of undeclared identifier 'close'
  323 |             close(newFD);
      |             ^
2024-07-16 11:53:20 +02:00
Ikalco db417a49e8
drm: handle monitor hotplugs and fix a few bugs that it revealed (#14)
* handle monitor hotplugs and fix a few bugs that it revealed

* fix cursorFB uaf and other stuf
2024-07-15 20:03:00 +02:00
Ikalco ad8261ba99
api: add getting monitor render formats (#13) 2024-07-14 11:06:13 +02:00
Vaxry 2efe4296f8 drm: fix build on 32b archs
fixes #5
2024-07-13 22:56:46 +02:00
Vaxry 8d73016db8 drm/renderer: use the duped fd for gl 2024-07-12 23:23:39 +02:00
Vaxry 5199868794 drm: reopen allocator node for mgpu 2024-07-12 21:25:53 +02:00
Vaxry 05219d5287 drm: reopen DRM node to avoid KMS refcounting issues 2024-07-12 20:53:11 +02:00
vaxerski 59fc21940d drm/renderer: properly save texture data in attachment 2024-07-12 17:31:28 +02:00
vaxerski 45bea6dab2 drm/renderer: support external rendering 2024-07-12 17:20:08 +02:00
vaxerski f3c6b673f9 drm: return render formats properly on mgpu 2024-07-12 16:46:26 +02:00
vaxerski 27008ef767 drm: avoid using unsupported modifiers for mgpu 2024-07-12 16:32:08 +02:00