FedoraPrime
FedoraPrime copied to clipboard
changes to make it work without services
No need to have a running service. With the proposed modifications, you can just select a gpu and keep your option after reboots. Or just logout and login in the new session.
Update xorg.conf.template Add gdm_display_setup.desktop file, needed to make this work without services Modify xinitrc with "modesetting" option Update, to glue all together, Makefile and fedora-prime-select
I have tested this some time ago with rpmfusion drivers. It should work, although atm I have tested it with nvidia drivers installed from the binaray installer. I'd like to contribute later too, some recipes about how to install the nvidia drivers from the binary (propper installer options to avoid overwritting mesa opengl files, etc), so that FedoraPrime works both with rpmfusion and nvidia binary install.
@mvoropaiev Could you review and merge?
@paltas have a little free time right now, but will try to do my best!)
@euoar do we actually need both xinitrc and desktop files? they are basically doing the same, and according to arch wiki you need either one - If it is not working, you must add a script to /etc/X11/xinit/xinitrc.d directory, as below:
And by the way, maybe it might be a good idea to add some display manager detection and tweak system according to it, since having those scripts on LightDM will actually do nothing (as far as I understand).
Hi!
both files are needed, at least on my system. If I use just one of them I end in a black screen. The display detection would, indeed, be a good idea - although I don't have currently time to work on it - . The code proposed in this pull request works only with the default display manager (gdm).Some time ago I tried the instructions in the same arch wiki for lightdm and they worked too. Kdm untested...