I noticed that the drm_kms_helper module is no longer loaded by the nvidia driver on 4.15, while it is on 4.14 (and earlier). Loading it manually does not create the /syc/class/drm entries.
If you have indeed
sudo cat /sys/module/nvidia_drm/parameters/modeset
Y
with kernel 4.15 then there’s more not working, I deducted the modeset=0 parameter indirectly from the missing lines in dmesg:
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
You are right that those two log lines are missing in 4.15. These generated in drivers/gpu/drm/drm_vblank.c, which saw one change between 4.14 and 4.15.
Yet I do have that “Y” in 4.15.1
There appears to be only one commit (e99e88a9d2b0) difference between 4.14 and 4.15 in drm_vblank.c. I will try to revert that and see what happens.
drm/atomic: Remove deprecated accessor macros
Now that the last users have been converted, we can finally get rid of
for_each_obj_in_state, we have better macros to replace them with.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: David Airlie <airlied@linux.ie>
Link: https://patchwork.freedesktop.org/patch/msgid/20170719143920.25685-8-maarten.lankhorst@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This might help finding what went wrong in the kernel - nvidia interaction.
I think that the check in conftest.h:2151 fails after kernel commit 77ac3b00b131. This check tests usability of the old iterator paradigm.
Commit 77ac3b00b131 has an extended commit log with instructions for converting to the new style of iterators. Not sure I can help here. Seems like a task for an actual developer…
I second this bug, no entries and only a single display detected.
This is causing a few issues with my Xorg having to be run twice in a row to get anywhere, as well as a black screen on all but one monitor after boot.
Just to clarify my situation, I am running 4.15 on a two screen setup (HDMI external monitor and laptop internal DP). After booting I see sddm on both screens. I can control both screens with nvidia-settings.