Bug#731265:

Beren Minor beren.minor at gmail.com
Sun Aug 31 15:05:16 UTC 2014


Dear Maintainer,

I had the same problem on a Debian Sid, with Nvidia drivers version 340.32,
ie: xrandr reporting "cap: 0x0" and being unable to set the source output
provider.

I have found that the issue came from the drm feature that was not enabled
during the dkms build of the driver. It looks like that with previous
versions of the driver, the compilation of the drm support was
conditionally enabled in conftest_nvidia.sh, but with 340.32, it looks like
the configuration tests have been converted to a simple conftest.h using
kbuild feature test macros.

In this new conftest.h, the drm feature is not tested anymore, and is
disabled by a #if 0.

After enabling the drm support, dmesg correctly reports:

[    4.526558] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0
on minor 1

Two dri cards show up in Xorg.0.log instead of one:

[    59.114] (II) xfree86: Adding drm device (/dev/dri/card1)
[    59.114] (II) xfree86: Adding drm device (/dev/dri/card0)

Xorg detects the nvidia-drm driver:

[    59.271] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)

And xrandr correctly reports Source Output capability for the NVIDIA card:

xrandr -d :0 --listproviders
Providers: number : 2
Provider 0: id: 0x2e4 cap: 0x1, Source Output crtcs: 0 outputs: 0
associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x46 cap: 0x2, Sink Output crtcs: 3 outputs: 4 associated
providers: 1 name:modesetting

Cheers,
--
Beren Minor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20140831/07c2277f/attachment.html>


More information about the pkg-nvidia-devel mailing list