Description of problem: When installing mageia-prime and executing /usr/sbin/mageia-prime-install it pulls all packages for the nvidia drivers to work. But when you reboot the screen stays black when trying to start X. You need to install xrandr to make the switching process work properly. How reproducible: Install the package and switch to the nvidia card. Then try to login. Solution: 1: urpmi xrandr 2: reboot 3: everything is working as expected 4: switching back to intel graphics also works fine now.
CC: (none) => rverscheldeAssignee: bugsquad => ghibomgx
CC: (none) => fri
Thanks for the report, fixed in Cauldron and pushing an update candidate for Mageia 6. I've also added systemd-units as dependency since the tool uses /bin/systemctl. @joeghi: mageia-prime really needs a man page/--help output, I always need to check the readme in the GitHub repo to use it so I imagine it's far from user-friendly for other Mageia users. @QA: The only change is the addition of two dependencies (Requires) on xrandr and systemd-units, so testing that the package pulls in xrandr/systemd-units if not installed is enough (and if xrandr is installed, `urpme --test xrandr` should tell you that it wants to remove mageia-prime). Note: I messed up the subrel/rel, it's 2.1.mga6 when it should have been 1.2.mga6, but it should be OK as is (Mageia 7 has 3.mga7 so it's safe). Advisory: ========= Updated mageia-prime package fixes missing dependency The mageia-prime utility requires the xrandr and systemctl commands, but they were not explicitly listed as dependencies. This update fixes it. SRPM in core/updates_testing: ============================= mageia-prime-0.4-2.1.mga6 RPM in core/updates_testing: ============================ mageia-prime-0.4-2.1.mga6
CC: (none) => ghibomgxAssignee: ghibomgx => qa-bugs
Tested successfully on Mageia 6 x86_64: $ urpmq --requires mageia-prime --searchmedia release --requires behaviour changed, use --requires-recursive to get the old behaviour dnf dnf-command(config-manager) dnf-command(install) drakxtools-backend grub2-common kmod libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) pciutils urpmi $ urpmq --requires mageia-prime --searchmedia testing --requires behaviour changed, use --requires-recursive to get the old behaviour dnf dnf-command(config-manager) dnf-command(install) drakxtools-backend grub2-common kmod libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) pciutils systemd-units urpmi xrandr # urpme --test xrandr To satisfy dependencies, the following 3 packages will be removed (6.1MB): lutris-0.4.16-1.mga6.noarch (due to missing xrandr) mageia-prime-0.4-2.1.mga6.x86_64 (due to missing xrandr) xrandr-1.5.0-1.mga6.x86_64 Remove 3 packages? (y/N) N
Whiteboard: (none) => MGA6-64-OK
Advisory uploaded, validating.
Keywords: (none) => advisory, validated_updateCC: (none) => sysadmin-bugs
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2018-0116.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED