| 19 Oct 2022 |
Charles ⚡️ | you'll need to add other things for that | 18:32:19 |
aktaboot | okay will try thanks | 18:35:26 |
Charles ⚡️ | for graphics, maybe something like this will be a good start: https://or.computer.surgery/charles/maxels/-/blob/main/flake.nix#L38-55 | 18:35:50 |
aktaboot | what do you mean by graphics ? | 18:36:58 |
Charles ⚡️ | well, it looks like the thing you're building depends on winit and such | 18:37:20 |
Charles ⚡️ | so it's probably a graphical application | 18:37:35 |
aktaboot | it is | 18:37:42 |
Charles ⚡️ | and so you need to give it x11 libs so it can do graphics | 18:37:52 |
Charles ⚡️ | and vulkan or whatever so it can bother the gpu to do stuff | 18:38:02 |
aktaboot | I'm on wayland but Ig it doesn't matter | 18:38:18 |
Charles ⚡️ | then you'll probably need to add wayland things | 18:38:31 |
aktaboot | oh | 18:38:41 |
Charles ⚡️ | unfortunately i have an nvidia gpu so i'm not allowed to run wayland and thus i won't be of much help there | 18:39:29 |
aktaboot | no problemo, I'll figure it out :D | 18:40:03 |
Charles ⚡️ | the linker errors should be pretty clear on what libraries you need | 18:40:17 |
aktaboot | does the flake have to be named flake.nix ? | 18:42:58 |
Charles ⚡️ | i believe so | 18:43:07 |
benjamin ⚡️ | In reply to @charles:computer.surgery unfortunately i have an nvidia gpu so i'm not allowed to run wayland and thus i won't be of much help there don't the proprietary drivers support dmabuf now? | 19:04:57 |
Charles ⚡️ | all i know is i still get sassy error messages from sway | 19:05:20 |
benjamin ⚡️ | hmm | 19:05:54 |
Charles ⚡️ | i'll go try again in case anything has changed recently i guess | 19:06:07 |
benjamin ⚡️ | I thought sway actually removed the sassy error messages relatively recently | 19:06:17 |
benjamin ⚡️ | since dmabuf is now supported | 19:06:22 |
Charles ⚡️ | actually yeah i remember the error being less sassy most recently but there was still an error | 19:06:55 |
Charles ⚡️ | 00:00:00.003 [sway/main.c:65] Proprietary Nvidia drivers are NOT supported. Use Nouveau. To launch sway anyway, launch with --unsupported-gpu and DO NOT report issues.
| 19:08:56 |
Charles ⚡️ | and yes i transcribed that all manually | 19:09:08 |
Charles ⚡️ | trying again with the suggested argument says
00:00:00.003 [sway/main.c:62] !!! Proprietary Nvidia drivers are in use !!!
00:00:00.009 [wlr] [backend/backend.c:217] Found 0 GPUs, cannot create backend
00:00:00.009 [wlr] [backend/backend.c:386] Failed to open any DRM device
00:00:00.010 [sway/server.c:56] Unable to create backend
| 19:11:19 |
Charles ⚡️ | i do miss the --my-next-gpu-wont-be-nvidia argument though | 19:11:53 |
Charles ⚡️ | weston also fails to launch | 19:12:27 |
benjamin ⚡️ | hmm, oof | 19:12:42 |