On 03/09/17 04:30 AM, Andrei Borzenkov wrote:
03.09.2017 11:18, Mykola Krachkovsky пишет:
субота, 2 вересня 2017 р. 23:57:49 EEST Knurpht - Gertjan Lettink написано:
Reinstall the Mesa packages.
I've reinstalled Mesa packages, nothing changed. Reinstalled nvidia packages, glvnd — also nothing. But while reinstalling nvidia I've noticed message about alternatives. So I've checked them and found libglx.so alternative was set into manual mode to libglx_xorg,
Apparently this is done intentionally on optimus systems:
# On Optimus systems disable NVIDIA driver/libs completely by default (bnc#902667) if lspci -n | grep -e '^..:..\.. 0300: ' | cut -d " " -f3 | cut -d ":" -f1 | grep -q 8086; then /usr/sbin/update-alternatives \ --set libglx.so /usr/lib64/xorg/modules/extensions/xorg/xorg-libglx.so sed -i 's/\(^\/.*\)/#\1/g' /etc/ld.so.conf.d/nvidia-gfxG04.conf fi
Ubuntu provides nvidia-prime package with tools to switch configuration between iGPU and dGPU that effectively does just change library links and adds xrandr call to X server setup.
reset it to auto mode (libglx_nvidia by priority) and there is no errors in Xorg.0.log, but screen is still blank and black.
We have opensuse-prime which was ported from Ubuntu. You just have to search for the package. -- Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org