Failure on GTX 1050 laptop

Hi, trying to use the driver on an optimus enabled laptop (GTX 1050).
At first the display server could not start (no screens found), but it seams there might be something wrong with the driver?

NVRM: loading NVIDIA Kernel Module 378.13
NVRM: RmInitAdapter failed! (0x26:0xffff:1097)
NVRM: rm_init_adapter failed for device bearing minor number 0

Is it the driver or am I perhaps missing some configuration?

Doesn’t look good, try downgrading driver to 375
Still, you will have to setup PRIME:
Script by nospam_:
Other than that, what distro?
Always run and attach output.

I have been trying Fedora 25 and then Arch Linux.
The bug report is taken from Arch Linux.
nvidia-bug-report.log (178 KB)