!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

712 Members
Rust163 Servers

Load older messages


SenderMessageTime
19 Oct 2022
@charles:computer.surgeryCharles ⚡️you'll need to add other things for that18:32:19
@aktaboot:tchncs.deaktabootokay will try thanks18:35:26
@charles:computer.surgeryCharles ⚡️for graphics, maybe something like this will be a good start: https://or.computer.surgery/charles/maxels/-/blob/main/flake.nix#L38-5518:35:50
@aktaboot:tchncs.deaktabootwhat do you mean by graphics ?18:36:58
@charles:computer.surgeryCharles ⚡️well, it looks like the thing you're building depends on winit and such18:37:20
@charles:computer.surgeryCharles ⚡️so it's probably a graphical application18:37:35
@aktaboot:tchncs.deaktabootit is18:37:42
@charles:computer.surgeryCharles ⚡️and so you need to give it x11 libs so it can do graphics18:37:52
@charles:computer.surgeryCharles ⚡️and vulkan or whatever so it can bother the gpu to do stuff18:38:02
@aktaboot:tchncs.deaktabootI'm on wayland but Ig it doesn't matter18:38:18
@charles:computer.surgeryCharles ⚡️then you'll probably need to add wayland things18:38:31
@aktaboot:tchncs.deaktabootoh18:38:41
@charles:computer.surgeryCharles ⚡️unfortunately i have an nvidia gpu so i'm not allowed to run wayland and thus i won't be of much help there18:39:29
@aktaboot:tchncs.deaktabootno problemo, I'll figure it out :D18:40:03
@charles:computer.surgeryCharles ⚡️the linker errors should be pretty clear on what libraries you need18:40:17
@aktaboot:tchncs.deaktaboot does the flake have to be named flake.nix ? 18:42:58
@charles:computer.surgeryCharles ⚡️i believe so18:43:07
@benjamin:computer.surgerybenjamin ⚡️
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:computer.surgeryCharles ⚡️all i know is i still get sassy error messages from sway19:05:20
@benjamin:computer.surgerybenjamin ⚡️hmm19:05:54
@charles:computer.surgeryCharles ⚡️i'll go try again in case anything has changed recently i guess19:06:07
@benjamin:computer.surgerybenjamin ⚡️I thought sway actually removed the sassy error messages relatively recently19:06:17
@benjamin:computer.surgerybenjamin ⚡️since dmabuf is now supported19:06:22
@charles:computer.surgeryCharles ⚡️actually yeah i remember the error being less sassy most recently but there was still an error19:06:55
@charles:computer.surgeryCharles ⚡️
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:computer.surgeryCharles ⚡️and yes i transcribed that all manually19:09:08
@charles:computer.surgeryCharles ⚡️

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:computer.surgeryCharles ⚡️ i do miss the --my-next-gpu-wont-be-nvidia argument though 19:11:53
@charles:computer.surgeryCharles ⚡️weston also fails to launch19:12:27
@benjamin:computer.surgerybenjamin ⚡️hmm, oof19:12:42

Show newer messages


Back to Room ListRoom Version: 6