mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
fix: use better patch on asahi for hyprland
This commit is contained in:
parent
7fb6171dcf
commit
0b902b95e4
3 changed files with 16 additions and 5063 deletions
|
@ -0,0 +1,15 @@
|
|||
diff --git a/src/protocols/LinuxDMABUF.cpp b/src/protocols/LinuxDMABUF.cpp
|
||||
index 0fbf832e..c6077114 100644
|
||||
--- a/src/protocols/LinuxDMABUF.cpp
|
||||
+++ b/src/protocols/LinuxDMABUF.cpp
|
||||
@@ -492,9 +492,8 @@ CLinuxDMABufV1Protocol::CLinuxDMABufV1Protocol(const wl_interface* iface, const
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
- protoLog(ERR, "DRM device {} has no render node, disabling linux dmabuf", device->nodes[DRM_NODE_PRIMARY] ? device->nodes[DRM_NODE_PRIMARY] : "null");
|
||||
+ protoLog(ERR, "DRM device {} has no render node, disabling linux dmabuf checks", device->nodes[DRM_NODE_PRIMARY] ? device->nodes[DRM_NODE_PRIMARY] : "null");
|
||||
drmFreeDevice(&device);
|
||||
- removeGlobal();
|
||||
}
|
||||
});
|
||||
}
|
File diff suppressed because it is too large
Load diff
|
@ -45,7 +45,7 @@
|
|||
oldAttrs.patches
|
||||
or []
|
||||
++ [
|
||||
./asahi-fix.patch
|
||||
./0001-linux-dmabuf-allow-on-split-node-systems.patch
|
||||
];
|
||||
});
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue