Comment 31 for bug 1768988

Revision history for this message
In , piratmac (piratmac-redhat-bugs) wrote :

Hello,

In case it can help, I can confirm the same issue on Fedora 30, with secure boot. It is a clean install (installed from the live CD, not through dnf). All packages were updated, and the system rebooted prior to the tests.
Secure Boot is enabled.
Restarting switcheroo-control doesn't work.

Some details / additional information:

# systemctl start switcheroo-control
switcheroo-cont[801]: switcheroo-control could not query vga_switcheroo status: Operation not permitted
systemd[1]: switcheroo-control.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: switcheroo-control.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Switcheroo Control Proxy service.

The switcheroo file is not readable by root:
# cat /sys/kernel/debug/vgaswitcheroo/switch
cat: /sys/kernel/debug/vgaswitcheroo/switch: Operation not permitted

Kernel lockdown is visible in dmesg:
Lockdown: switcheroo-cont: debugfs is restricted; see man kernel_lockdown.7

Installed packages:
switcheroo-control.x86_64 1.1-7.fc30
xorg-x11-drv-intel.x86_64 2.99.917-41.20180618.fc30
xorg-x11-drv-nouveau.x86_64 1:1.0.15-7.fc30