Description of problem: When you run mageia-prime-install, a config file is generating and stored in the /etc/X11 folder for later use. That file is also used if you execute mageia-prime-install -p even if the content should be different. Version-Release number of selected component (if applicable): 0.4 64 bits How reproducible: Execute mageia-prime-install reboot to nvidia config #nvidia card used Execute mageia-prime-uninstall reboot to intel config #intel card used execute mageia-prime-install -p #the wrong file is used. reboot #nvidia card used execute mageia-prime-uninstall reboot to intel mode #intel card used remove the file xorg.conf.nvidiaprime.preserve execute mageia-prime-install -p #intel card used with nvidia offloading it's working as expected.
Hi, as far as I read, if /etc/X11/xorg.conf was previously set by mageia-prime, the offloading doesn't work, you need to remove "xorg.conf.nvidiaprime.preserve" even after do 'mageia-prime-uninstall'... Assigning to Giuseppe.
Assignee: bugsquad => ghibomgxCC: (none) => ouaurelienSource RPM: Mageia-prime => mageia-prime-0.4-12.mga8.nonfree.src.rpmSummary: Offloading mode don't regenerate the config file => Setting Offloading mode does not regenerate the xorg.conf file, even if mageia-prime-uninstall was done before
After having unconfigured try the offload configuration adding the -f option (so mageia-prime-install -f -p). By default mageia-prime-uninstall preserves the working xorg.conf file after unconfiguring. In this way a subsequent call to mageia-prime-install can re-use such file without having to regenerate one. The '-f' option permits to override this behaviour and thus create always a fresh xorg.conf, without having to re-use the preserved one.
Hello, Thank you for your quick feedback. I still think it would be nice for the tool to detect that the saved configuration is not accurate. It's quite difficult to know what the system is doing, and it took me 3 days to figure out that issue. I'm going to update the mageia wiki with your answer. Also, if I might, it would be nice when starting the tool with a command line to start by a comment line that explain in plain English what will be done. Ex : mageia-prime-install -p -f #Installing Discret card in offloading mode. #Forcing generation of configuration file ...