Commit graph

25 commits

Author SHA1 Message Date
maround95
03677f8561
core: GPU hotplug support (#130) 2025-01-10 18:39:08 +00:00
Vaxry
8b728612a9
Session: only dispatch udev in dispatchPendingEventsAsync if on linux (#86) 2024-09-24 00:48:00 +01:00
Tom Englund
7cc3d3179c
misc: make for loops const reference (#66)
we all like the dreams and prayers that compilers can optimize things
further with const.
2024-08-27 20:04:26 +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
Vaxry
07eb70afb1
gbm: Nvidia fixes for scanout gbm allocation (#27)
* nv fixes

* fix
2024-07-24 18:41:13 +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
05219d5287 drm: reopen DRM node to avoid KMS refcounting issues 2024-07-12 20:53:11 +02:00
c4a5fafe76 drm: properly blit multigpu surfaces 2024-07-11 20:41:57 +02:00
e3f2c0d5cc drm: split allocators per drm device 2024-07-09 14:10:52 +02:00
874183997f backend: idle fd improvements 2024-07-02 14:32:41 +02:00
51cd6f4374 Headless: Add backend 2024-07-01 14:33:05 +02:00
c19bf35c02 drm/backend: idle improvements and drm fixes 2024-06-30 19:04:14 +02:00
0ffcb7fa74 backend: avoid out_of_range on iterating options 2024-06-28 17:35:43 +02:00
40f6fa5173 drm: very initial work on multigpu 2024-06-28 17:13:03 +02:00
511600133c backend: rework event loop api 2024-06-27 00:07:59 +02:00
25ee42673f backend: allow iterating impls 2024-06-26 22:35:14 +02:00
6cfa0652c8 backend: avoid crashing on session-less 2024-06-25 19:59:34 +02:00
2e0052a21d DRM: Steady progress on getting a usable session
modesetting, rendering, etc. Hyprland now renders properly, although input devices are yet to be implemented.
2024-06-24 23:22:02 +02:00
f888bfb6e4 DRM: Init DRM/Libinput session code
Adds the bare basic of DRM code, which only initializes the environment atm. We cannot render yet.
2024-06-23 19:40:40 +02:00
d175f21619 wayland: various fixes and improvements
also added devices
2024-06-21 15:49:28 +02:00
a7a8840400 Core: More work to get Hyprland working 2024-06-20 19:24:43 +02:00
790ce7dfbf Wayland: primitive but working backend
This implements enough for wayland to be a functioning backend.
2024-06-19 22:40:23 +02:00
01766c0956 Wayland: Initial progress 2024-06-18 18:45:05 +02:00
6ccfdd74df core: Initial stuff 2024-06-18 11:38:26 +02:00