Ikalco
abb3c81c59
drm: recheck crtcs before connecting on udev event ( #65 )
2024-08-26 20:36:16 +02:00
3989aa9b2f
wayland: fix possible out-of-range crash in setCursor
2024-08-26 10:30:29 +02:00
Tom Englund
ddf6987b53
backend: dont overflow on 32bit builds ( #64 )
...
make the definition long long as its used as long long later, only the
value was being calculated TIMESPEC_NSEC_PER_SEC * 240 and rolls over
before assigning to the variable.
2024-08-25 17:48:53 +02:00
romanstingler
9a3161ad4c
drm: fix typo in schedule ( #62 )
...
Co-authored-by: Roman Stingler <roman.stingler@waterdrop.com>
2024-08-21 21:59:51 +01:00
Colt-M16A1
41d842669b
drm: request page flip events after commit ( #60 )
...
Apparently fixes stuff.
2024-08-21 20:36:34 +01:00
1c3256287c
drm: verify output format in commit
2024-08-21 12:17:50 +02:00
Tom Englund
b02d4f4d72
output: avoid crashing on no crtc ( #58 )
...
dual gpus can init with no crtc and later rescan for them, however
getRenderFormats might be called before that happends and null ptr
deref, guard against it.
2024-08-20 20:10:13 +01:00
b474796cdb
drm: reconfigure swapchain props after creating
2024-08-20 20:58:07 +02:00
8079098326
drm: fix crash on null crtc setCursor
...
ref #54
2024-08-20 18:44:18 +02:00
696a5ad4ec
gbm: guard for drm renderer being present before clearing
...
ref #56
2024-08-19 18:26:38 +02:00
Vaxry
2bff4a4521
drm: don't schedule new frame events on disabled outputs ( #52 )
...
* drm: don't schedule new frame events on disabled outputs
* e
* test
2024-08-18 19:24:52 +01:00
2d29c86d69
drm: use modelines in vt restore
2024-08-18 20:15:46 +02:00
Vaxry
71d49670fe
drm: clear buffer on creation for scanout DRM buffers ( #51 )
2024-08-17 19:42:51 +01:00
cd152140fd
drm: don't report pointer capability when no HW cursor plane is present
...
ref https://github.com/hyprwm/Hyprland/issues/7364
2024-08-17 19:18:46 +02:00
4f6642808b
drm: avoid crashes on connecting a null crtc
2024-08-16 09:06:27 +02:00
e947af7894
drm/atomic: clip damage to pixel size
...
ref https://github.com/hyprwm/Hyprland/issues/7356
2024-08-15 22:34:45 +02:00
Vaxry
589346162f
DRM: Allow checking no-crtc connectors ( #49 )
2024-08-15 18:01:37 +02:00
daf96f0da7
drm: fixup modeline calculations
2024-08-09 19:20:25 +02:00
c94060b22c
drm: log calculated modeline for custom modes
2024-08-09 19:06:34 +02:00
1a7ca38fa3
drm: fix custom mode check
2024-08-09 18:02:03 +02:00
Jan Beich
131ed05f99
drm: add missing include to fix BSD ( #42 )
...
src/backend/drm/Renderer.cpp:504:13: error: use of undeclared identifier 'close'
504 | close(dupFd);
| ^
src/backend/drm/Renderer.cpp:532:13: error: use of undeclared identifier 'close'
532 | close(egl.lastBlitSyncFD);
| ^
2024-08-06 22:06:30 +02:00
21f9c44789
drm: don't use explicit in blit without explicit requested from user
2024-08-06 13:19:53 +02:00
8a8afd3896
drm: add AQ_MGPU_NO_EXPLICIT
2024-08-05 16:42:03 +02:00
6f5adc0568
drm: s
...
upport explicit sync with multi-gpu destinations
will break o
n mgpu nvidia before 560 driver
2024-08-05 00:27:09 +02:00
a70fc6a2fd
drm: avoid testing with a pf event
2024-08-03 19:10:09 +02:00
18c6a8ccaf
drm: immediately send presentation events for tearing
2024-08-03 18:23:24 +02:00
toamz
339337cc7b
libinput: Update switch state in libinput event ( #38 )
2024-08-03 12:57:30 +01:00
7c3565f9be
drm: don't rollback cursors on test
2024-07-30 15:55:39 +02:00
Samuel Cobb
f95d150937
drm: Follow symlinks for AQ_DRM_DEVICES ( #34 )
2024-07-26 12:17:06 +01:00
Ikalco
0ab8ffa67d
output: fix destroying wl and headless outputs ( #32 )
2024-07-25 22:14:05 +01:00
353dc1b729
drm: conform to both renderable and scanoutable formats in scanout buffers
...
fixes #28
2024-07-24 22:41:58 +02: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
07eb70afb1
gbm: Nvidia fixes for scanout gbm allocation ( #27 )
...
* nv fixes
* fix
2024-07-24 18:41:13 +02:00
4c72cd4d0b
session/input: add missing pos to touch down events
2024-07-23 19:18:57 +02:00
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
acfea3bd1d
drm: reject modeless commits
2024-07-20 16:58:42 +02:00
af219a0a2c
drm: avoid a crash when no cursor plane is present
2024-07-20 15:55:18 +02:00
35e00a4a9d
buffer: add backendLock
2024-07-19 11:29:50 +02:00
9d7c69cde2
drm: minor improvements to crtc rechecks
2024-07-18 22:53:05 +02:00
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
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
2dc8ba961c
drm: accept mgpu tests early to avoid a blit
2024-07-17 23:13:39 +02:00
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