вівторок, 29 січня 2019 р. 14:02:46 EET Peter Suetterlin написано:
Mykola Krachkovsky wrote:
понеділок, 28 січня 2019 р. 12:47:22 EET Peter Suetterlin написано:
At least for me this doesn't work properly (I'm using bumblebee, so it's nvidia-bumblebee). Installing a new kernel does unfortunately not trigger the dkms compile of the modules for it :(
It's not supposed to work with bumblebee driver installation. If you want to check this, you have to uninstall bumblebee-nvidia(-32bit) and install drivers from nvidia repository for Tumblweed [1] or Leap [2]. And yes, optirun/ primusrun wouldn't work (at least without tweaks).
[1] https://download.nvidia.com/opensuse/tumbleweed/ [2] https://download.nvidia.com/opensuse/leap/15.0/
Thanks Mykola. I know it works with the plain nvidia package (I have a desktop with a 1060 card). On the laptop I intentionally chose bumblebee. It's only a minor nuissance - the package does set up dkms properly, so all I need to do is manually trigger a build after a kernel update. And even if I forget it, nothing breaks - the system itself always only runs on intel. Maybe it's only some definitions/triggers missing in the package scripts, I never investigated it further. Maybe I should....
Cheers,
Pit
prime-select/better-prime-select expects installed alternative for libglx.so: ``` libglx_nvidia=`update-alternatives --list libglx.so|grep nvidia-libglx.so` update-alternatives --set libglx.so $libglx_nvidia > /dev/null ``` and it doesn't setup LD_LIBRARY_PATH which is mandatory for bumblebee driver installation. So I'm not sure it's possible to "fix" this script for such case. In fact nvidia-xrun is what designed to work with bumblebee driver installation. I've used it before [1]. It works, though there are some problems: 1. Vulkan is present but it has zero format count, starting just `optirun sleep 1` fixes that problem, but still it strange. 2. After nvidia-xrun I had strange visual artifact in left corner in every tty. 3. Can't return to inter driver (without restart), system just hangs. Maybe it's possible to "fix" bumblebee optirun (or primusrun) to work with official nvidia driver installation. [1] https://build.opensuse.org/package/show/home:NickLion:nv4:1/nvidia-xrun OFFTOPIC: For some reason KMail is replying privately on your email, even when I use `L` to address list. Sorry, I haven't checked. -- Kind regards, Mykola Krachkovsky -- Найкращі побажання, Микола Крачковський