Skip to content

Commit

Permalink
Merge pull request #17 from mariux64/add-drm-modprobe
Browse files Browse the repository at this point in the history
nvidiactl: Load drm modules
  • Loading branch information
pmenzel authored Dec 15, 2017
2 parents c849508 + 1905400 commit c6d1964
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nvidiactl/nvidiactl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ nvver=$(readlink ${leglink})

rm -f /node/usr_share_mxgfx
ln -sf /usr/share/nvidia/${nvver} /node/usr_share_mxgfx

test -e /lib/modules/$kver/kernel/drivers/gpu/drm/drm.ko && modprobe drm
test -e /lib/modules/$kver/kernel/drivers/gpu/drm/drm_kms_helper.ko && modprobe drm_kms_helper

insmod ${leglink}/nvidia.ko

# Count the number of NVIDIA controllers found.
Expand Down

0 comments on commit c6d1964

Please sign in to comment.