(solved) Can you start kwin on NixOS without the drm component?

It appears the H11DSi mainboard from super micro doesn't have resizable BAR support and therefore the xe and xedrmfb driver get unhappy.

> [drm] Failed to resize BAR2 to 16384M (-ENOSPC). Consider enabling 'Resizable BAR' support in your BIOS

When I "systemctl stop display-manager.service" I get the blinking curser in the top right. But as soon as it starts the monitor looses signal and the logs show:

#NixOS #KDE #kwin #SDDM

The answer is:

> services.displayManager.sddm.wayland.compositor="weston";

Or not, that apparently just partially fixes the greeter. The usb mouse and keyboard are not working on it for some reason too (the KVM one however does?!?).

And it still crashes after I enter the password and try to login.

switching to gnome with gdm kind fixes it but for whatever reason the curser is just a white square.

Note, by fixing it I mean I get a desktop not that it is fully working.

Gnome also logs a lot of drm related errors into the journald.

However compared to kde with kwin it is at least showing something.

Also for some reason 4k@60Hz doesn't work, but I'm not sure if that is related to the drm issue here or the fact that I'm using a HDMI over fibre bridge in between (which technically should support 4k@60Hz)

I wrote an email to the #Supermicro support asking if it would be possible to get resizable BAR support for the H11DSi motherboard as that appears to be the only way to actually fix this hardware issue here at its root.

#Linux #KDE #kWin

@agowa338 I've used this in the past to get resizable BAR to work on an X11SPL-F: https://github.com/xCuri0/ReBarUEFI

And it seems someone used it to get it to work on an H11DSi-NT, so it might be worth a try?

GitHub - xCuri0/ReBarUEFI: Resizable BAR for (almost) any UEFI system

Resizable BAR for (almost) any UEFI system. Contribute to xCuri0/ReBarUEFI development by creating an account on GitHub.

GitHub

@qwertviop Will look more into this modding part after I've exhausted the supermicro support option.

I think this is the same as I linked in the forum thread, no?

Also H11DSi is not the same as H11DSi-NT and in one of the latest version they added more validation and rollback prevention. So I'm not sure I'm even able to flash a self-modified firmware on my board as easily as it used to be.