Replying to Avatar rustinmyeye

nostr:nprofile1qqsr9cvzwc652r4m83d86ykplrnm9dg5gwdvzzn8ameanlvut35wy3gpzpmhxue69uhkummnw3ezuamfdejszxrhwvaz7tmddahxzepwdf3r2dfwvdhk6w3cxqurqqgdwaehxw309ahx7uewd3hkc0v9nh0 I got #notedeck running on that 2011 MacBook pro, running Arch Linux. It seems like it is not falling back ti software rendering if opengl or vulkan are unavailable.

I ran - RUST_LOG=debug notedeck

and noticed it couldn't run because of opengl or vulkan not working on my machine.

I got it to work perdectly if I force software rendering with:

export LIBGL_ALWAYS_SOFTWARE=1

export MESA_LOADER_DRIVER_OVERRIDE=llvmpipe

notedeck

Here are the logs from when it wasn't opening for me:

2025-02-01T23:55:42.661143Z DEBUG wgpu_core::instance: Instance::new: failed to create Gl backend: InstanceError { message: "unable to create GLES 3.x context", source: Some(BadMatch) }

2025-02-01T23:55:42.663336Z ERROR wgpu_hal::vulkan::instance: enumerate_adapters: Initialization of an object has failed

2025-02-01T23:55:42.663395Z ERROR wgpu_hal::vulkan::instance: enumerate_adapters: Initialization of an object has failed

2025-02-01T23:55:42.663420Z INFO egui_wgpu: No wgpu adapters found

2025-02-01T23:55:42.664061Z ERROR eframe::native::run: Exiting because of error: WGPU error: Failed to create wgpu adapter, no suitable adapter found.

2025-02-01T23:55:42.664089Z DEBUG eframe::native::run: Asking to exit event loop…

2025-02-01T23:55:42.664194Z DEBUG eframe::native::run: Received Event::LoopExiting - saving app state…

2025-02-01T23:55:42.667020Z DEBUG eframe::native::run: eframe window closed

Looks good though! Nice work ♥️

Reply to this note

Please Login to reply.

Discussion

perf would be bad without hw accel though? What laptop is this?

MacBookPro8,1 with i5-2435M

It works well, havent tested it much yet. Seems like cpu usage spikes every 30 seconds or so and fans ramp up a bit. Nothing crazy yet.

I think vilkan is not supported on this computer, and opengl is not working for me. Will look into why now.

sent from notedeck ;)

actually my opengl works. tested just now. however, forcing opengl on otedeck isnt working. I get - DEBUG wgpu_core::instance: Instance::new: failed to create Gl backend: InstanceError { message: "unable to create GLES 3.x context", source: Some(BadMatch) }

linux on macbook is a weird setup. I don't see any issues on the wgpu repo...

Weird setup for a weird guy. I like how solid these old macbooks are, and they are cheap (this one was $40 CAD like new from a school) Linux makes it useable and up to date, software wise.

I dont expect anthing to "just work" on it, but its been pretty decent.

Anyway, I just installed notedeck on my Linux desktop. Works great!