did some more digging, found a blacklist for nouveau on my system, which is necessary to load the switcharoo stuff. removed that, rebooted, now nouveau loads at boot and nvidia-prime claims it runs correctly, but it's still working incorrectly. I've narrowed it down though.
when nvidia-prime cats "OFF" to the switch on my system, it turns off my integrated graphics, *not* the nvidia card: 0:IGD: :Off:0000:00:02.0 1:DIS-Audio: :Pwr:0000:01:00.1 2:DIS:+:Pwr:0000:01:00.0 what I need is the following: echo IGD > /sys/kernel/debug/vgaswitcheroo/switch which then works correctly in enabling the integrated graphics and disabling the nvidia: 0:IGD:+:Pwr:0000:00:02.0 1:DIS-Audio: :Off:0000:01:00.1 2:DIS: :Off:0000:01:00.0 however, doing this post-boot doesn't seem to work either. I can start lightdm, but it just hangs, and looking at /var/log/Xorg.0.log, it's still trying to load the nouveau driver instead of the intel driver. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-prime in Ubuntu. https://bugs.launchpad.net/bugs/1776462 Title: nvidia-prime fails in "intel" mode on 18.04 Status in nvidia-prime package in Ubuntu: New Bug description: in 18.04, nvidia-prime's "intel" mode doesn't work. it's attempting to disable the card at boot using the following command: /bin/sh -c echo OFF > /sys/kernel/debug/vgaswitcheroo/switch however, that command doesn't work on 18.04, the whole vgaswitcheroo subdirector is missing. is this a kernel feature that's been removed? or something else? regardless, I don't see any way for prime to work correctly with this error. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: nvidia-prime 0.8.8 ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18 Uname: Linux 4.15.0-23-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.9-0ubuntu7.2 Architecture: amd64 Date: Tue Jun 12 03:48:33 2018 Dependencies: InstallationDate: Installed on 2018-03-05 (98 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1) PackageArchitecture: all ProcEnviron: TERM=xterm-256color PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: nvidia-prime UpgradeStatus: Upgraded to bionic on 2018-04-27 (45 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1776462/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

