Building 364.12 from svn

Luca Boccassi luca.boccassi at gmail.com
Thu Mar 31 19:42:47 UTC 2016


On Thu, 2016-03-31 at 21:23 +0200, Floris wrote:
> Op Thu, 31 Mar 2016 15:56:09 +0200 schreef Luca Boccassi  
> <luca.boccassi at gmail.com>:
> 
> > On 31 March 2016 at 14:48, Floris <jkfloris at dds.nl> wrote:
> >> Op Thu, 31 Mar 2016 15:38:38 +0200 schreef Luca Boccassi
> >> <luca.boccassi at gmail.com>:
> >>
> >>
> >>> On 31 March 2016 at 14:22, Floris <jkfloris at dds.nl> wrote:
> >>>>
> >>>> I like to try the beta version so I tried to make the .deb packages  
> >>>> out
> >>>> of
> >>>> the .run packages
> >>>>
> >>>> Steps I tried so far with trial and error:
> >>>> Download from svn
> >>>> $ svn co
> >>>>
> >>>> svn://anonscm.debian.org/pkg-nvidia/packages/nvidia-graphics-drivers/trunk
> >>>> nvidia-graphics-driver
> >>>
> >>>
> >>> Hi Floris,
> >>>
> >>> The code in trunk is not compatible with the 364 version, it's for the
> >>> 352 release.
> >>> I've already done all the work to support it, so you can check out the
> >>> 364 branch instead:
> >>>
> >>> svn co
> >>> svn://anonscm.debian.org/pkg-nvidia/packages/nvidia-graphics-drivers/branches/364
> >>>
> >>> And then the package build should work fine.
> >>>
> >>> Kind regards,
> >>> Luca Boccassi
> >>
> >>
> >> Thanks. The packages are build successfully.
> >
> > Great!
> >
> > Please keep in mind that it's still work in progress, and you might
> > encounter issues (please report them in this thread if so) and more
> > importantly you might not be able to downgrade/upgrade cleanly, and
> > you might have to manually add/remove packages to do so.
> >
> > Kind regards,
> > Luca Boccassi
> 
> So far everything is up-and-running with the beta drivers. If I find a  
> problem I will report it.

Thanks! I've been running it myself on my machines for a few days and
haven't found issues.

> The first question is how can I set nvidia-drm modeset=1 at boot time. I  
> tried /etc/modules-load.d/nvidia.conf but systemd-modules-load reports on  
> boot:
> kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  364.12  Wed Mar 16  
> 21:11:26 PDT 2016
> systemd-modules-load[183]: Failed to find module 'nvidia_drm modeset=1'
> 
> Thanks

Change /etc/modprobe.d/nvidia.conf as such:

-install nvidia-drm modprobe nvidia-current-modeset ; modprobe -i nvidia-current-drm $CMDLINE_OPTS
+install nvidia-drm modprobe nvidia-current-modeset ; modprobe -i nvidia-current-drm modeset=1 $CMDLINE_OPTS

But note that it seems broken at the moment, as far as I can see. See my
message here:
http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/2016-March/012811.html

Anyway

> PS. Is the name of the module nvidia-drm or nvidia_drm?
> modprobe nvidia-drm modeset=1
> lsmod | grep drm
> nvidia_drm             45056  1
> drm_kms_helper        135168  1 nvidia_drm
> nvidia_modeset        753664  8 nvidia_drm
> drm                   356352  4 drm_kms_helper,nvidia_drm

nvidia_drm is the internal name. The modprobe alias is nvidia-drm, which
aliases the file name nvidia-current-drm.

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20160331/38dab7da/attachment-0001.sig>


More information about the pkg-nvidia-devel mailing list