Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 563126 - [SOLVED] x11-drivers/nvidia-drivers-358.09 USE=-kms - (WW) NVIDIA(1): Unable to get display device for DPI computation.
Summary: [SOLVED] x11-drivers/nvidia-drivers-358.09 USE=-kms - (WW) NVIDIA(1): Unable ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-15 11:54 UTC by Manfred Knick
Modified: 2015-10-15 14:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info nvidia-drivers > ei_nv (ei_nv,5.64 KB, text/plain)
2015-10-15 11:55 UTC, Manfred Knick
Details
Xorg.0.log from WORKING :0/355 (Xorg.0.log__WORKING__0-355,36.71 KB, text/plain)
2015-10-15 12:00 UTC, Manfred Knick
Details
Xorg.0.log__ERROR__0-358 (Xorg.0.log__ERROR__0-358,30.50 KB, text/plain)
2015-10-15 12:03 UTC, Manfred Knick
Details
etc_X11_xorg.conf.d.tar (etc_X11_xorg.conf.d.tar,20.00 KB, application/x-tar)
2015-10-15 12:08 UTC, Manfred Knick
Details
Xorg.0.log WORKING :0/358 with use-flag kms enabled (Xorg.0.log__WORKING__0-358__with-use-kms,36.83 KB, text/plain)
2015-10-15 13:10 UTC, Manfred Knick
Details
emerge --info nvidia-drivers for WORKING :0/358 with use-flag kms enabled (ei_nv__WORKING__0-358__with-use-kms,5.64 KB, text/plain)
2015-10-15 13:12 UTC, Manfred Knick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred Knick 2015-10-15 11:54:32 UTC
The latest driver update broke my hithero stable X11 setup
with multiple { adapters | (separate) screens } .


Reproducible: Always

Steps to Reproduce:
1. upgrade from nvidia-drivers-355.11-r2:0/355 to -358.09:0/358
2. reboot
3. start X with {twm|fluxbox|xfce4}


Actual Results:  
:: Only the first screen (attached to Intel Xeon) gets available,
:: The other three (attached to NVidia ) stay blank.



Expected Results:  
4. mask latest :0/358 driver
5. re-emerge -355.11-r2:0/355
6. reboot
7. start X with { twm | fluxbox | xfce4 }

:: All four screens are available again.

Switch to :0/358 ==> FAILURE again.

Switch to :0/355 ==> WORKING again.




 lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3 Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 660 Ti] (rev a1)

Xeon (integrated) :
   Intel HD Graphics P4600, 350-1250MHz

NVidia ( pci ) :
   PNY GTX 660 Ti OC2

equery list  x11-base/*    
[IP-] [  ] x11-base/xorg-drivers-1.17:0
[IP-] [  ] x11-base/xorg-server-1.17.2-r2:0/1.17.2
[IP-] [  ] x11-base/xorg-x11-7.4-r2:0

# equery list -p nvidia-drivers
...
[IP-] [  ] x11-drivers/nvidia-drivers-355.11-r2:0/355
[-P-] [M ] x11-drivers/nvidia-drivers-358.09:0/358
Comment 1 Manfred Knick 2015-10-15 11:55:51 UTC
Created attachment 414612 [details]
emerge --info nvidia-drivers > ei_nv
Comment 2 Manfred Knick 2015-10-15 12:00:44 UTC
Created attachment 414614 [details]
Xorg.0.log from WORKING :0/355

Notabene:
In my case,
... (EE) NVIDIA(1): Failed to initialize the GLX module
is no problem at all but accepted and o.k. 
because my primary screen is attached to the Intel HD Graphics.
Comment 3 Manfred Knick 2015-10-15 12:03:53 UTC
Created attachment 414616 [details]
Xorg.0.log__ERROR__0-358

$  grep WW Xorg.0.log*

... (WW) NVIDIA(1): Unable to get display device for DPI computation.

... (WW) NVIDIA(2): Unable to get display device for DPI computation.

... (WW) NVIDIA(3): Unable to get display device for DPI computation.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-10-15 12:07:11 UTC
Comment on attachment 414612 [details]
emerge --info nvidia-drivers > ei_nv

That info is for the wrong version
Comment 5 Manfred Knick 2015-10-15 12:08:03 UTC
Created attachment 414618 [details]
etc_X11_xorg.conf.d.tar

Multiple HW  &&  Multiple separate X Screens

( intel | nvidia | (nouveau) )
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2015-10-15 12:09:32 UTC
1) This is a public beta of Nvidia's proprietary code. Unless it's Gentoo's
   configuration that is causing issues, reporting problems here makes
   little sense.
2) You should report bugs upstream.
3) Is USE=kms?
Comment 7 Manfred Knick 2015-10-15 12:13:36 UTC
(In reply to Jeroen Roovers from comment #4)
> Comment on attachment 414612 [details]
> emerge --info nvidia-drivers > ei_nv
> 
> That info is for the wrong version

Jeroen,

The only diff is drivers version -
I would have to re-do the whole hazzle again;
If you _really_ _need_ it , 
give me a note and I will supply it later.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2015-10-15 12:18:34 UTC
(In reply to Manfred Knick from comment #7)
> (In reply to Jeroen Roovers from comment #4)
> > Comment on attachment 414612 [details]
> > emerge --info nvidia-drivers > ei_nv
> > 
> > That info is for the wrong version
> 
> Jeroen,
> 
> The only diff is drivers version -
> I would have to re-do the whole hazzle again;
> If you _really_ _need_ it , 
> give me a note and I will supply it later.

emerge -vp =x11-drivers/nvidia-drivers-358.09

If you find properly reporting bugs is a hassle, then why do you bother at all? :)
Comment 9 Manfred Knick 2015-10-15 12:24:16 UTC
(In reply to Jeroen Roovers from comment #6)

> 1) This is a public beta of Nvidia's proprietary code.

>    Unless it's Gentoo's configuration that is causing issues, 

I have to apologize:
Overlooked a typo in my package.keywords 
which unintendely unmasked (~) -358.09 .

>    reporting problems here makes little sense.

? Saving other colleagues's time ?

> 2) You should report bugs upstream.

Yes - planned for later.

> 3) Is USE=kms?

No.
Comment 10 Manfred Knick 2015-10-15 12:26:50 UTC
(In reply to Jeroen Roovers from comment #8)

> emerge -vp =x11-drivers/nvidia-drivers-358.09

[ebuild     U ~] 
x11-drivers/nvidia-drivers-358.09:0/358::gentoo 
[355.11-r2:0/355::gentoo] 
USE="X acpi -gtk2 -gtk3 -kms% -multilib -pax_kernel -tools -uvm" 0 KiB
Comment 11 Manfred Knick 2015-10-15 12:27:51 UTC
(In reply to Jeroen Roovers from comment #8)

> If you find properly reporting bugs is a hassle, then why do you bother at
> all? :)

Beg your pardon ?!
Comment 12 Manfred Knick 2015-10-15 12:32:17 UTC
Comment on attachment 414616 [details]
Xorg.0.log__ERROR__0-358

TYPO: corfrection:

... "Xorg.0.log from ERROR :0/358"
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2015-10-15 12:44:52 UTC
Could you try with USE=kms. I'm still in two minds about the modesetting driver being optional at all here.
Comment 14 Manfred Knick 2015-10-15 12:57:25 UTC
Preliminary *Cross-Reference* to upstream :

http://nvidia-submit.custhelp.com/app/account/questions/detail/i_id/861541
Comment 15 Manfred Knick 2015-10-15 13:10:54 UTC
Created attachment 414632 [details]
Xorg.0.log  WORKING :0/358 with use-flag kms enabled
Comment 16 Manfred Knick 2015-10-15 13:12:28 UTC
Created attachment 414634 [details]
emerge --info nvidia-drivers  for WORKING :0/358 with use-flag kms enabled
Comment 17 Manfred Knick 2015-10-15 13:30:08 UTC
(In reply to Jeroen Roovers from comment #13)
> Could you try with USE=kms. I'm still in two minds about the modesetting
> driver being optional at all here.

With USE=kms enabled, I get all four screens again.

At first sight, loading applications seems to work on all of them.

I'm using XFCE4 4.12 right how.


# emerge -p -v x11-drivers/nvidia-drivers
...
[ebuild   R   ~] 
x11-drivers/nvidia-drivers-358.09:0/358::gentoo  
USE="X acpi kms -gtk2 -gtk3 -multilib -pax_kernel -tools -uvm"


# equery list x11-drivers/nvidia-drivers
...
[IP-] [  ] x11-drivers/nvidia-drivers-358.09:0/358
Comment 18 Manfred Knick 2015-10-15 13:32:53 UTC
(In reply to Jeroen Roovers from comment #13)

> ... I'm still in two minds about the modesetting
> driver being optional at all here.

@ Jeroen :

Another observation from the erroneous situation before
which might further substantiate the need for +kms :

The mouse was (visible and) blocked correctly (no way out LEFT | DOWN)
on the first monitor connected to the Intel,

but seemingly could move out to the three black monitors ( RIGHT | ABOVE )
connected to the NVidia devices,

naturally giving no visible cursor icon there.
Comment 19 Manfred Knick 2015-10-15 13:37:12 UTC
@ Jeroen :
I would not mind marking this Bug as "RESOLVED : WORKSFORME".
But perhaps we wait some days in order to avoid DUPLICATEs ?
It's up to you.
Thanks.
Manfred
Comment 20 Manfred Knick 2015-10-15 13:45:54 UTC
/usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-358.09.ebuild :

IUSE="acpi multilib kernel_FreeBSD kernel_linux kms pax_kernel +tools gtk2 gtk3 +X uvm"

*Proposal* : Change "kms" to "+kms" for -358.09-r1 .


My current settings: (quite minimalistic)

# equery uses nvidia-drivers
...
 + + X          : Install the X.org driver, OpenGL libraries, XvMC libraries, and VDPAU libraries
 + + acpi       : Add support for Advanced Configuration and Power Interface
 - - gtk2       : Install nvidia-settings with support for GTK+ 2
 - - gtk3       : Install nvidia-settings with support for GTK+ 3
 + + kms        : Enable support for kernel mode setting (KMS)
 - - multilib   : On 64bit systems, if you want to be able to compile 32bit and 64bit binaries
 - - pax_kernel : PaX patches from the PaX project
 - - tools      : Install additional tools such as nvidia-settings
 - - uvm        : Install the Unified Memory kernel module (nvidia-uvm) for sharing memory between CPU and GPU in CUDA programs
Comment 21 Jeroen Roovers (RETIRED) gentoo-dev 2015-10-15 14:00:15 UTC
That's good news. Thanks for looking into this. I guess I'll switch to IUSE=+kms next and then watch the fallout from that change.
Comment 22 Jeroen Roovers (RETIRED) gentoo-dev 2015-10-15 14:05:51 UTC
If somebody now finds a bug with USE=kms, then that should go to a new bug report.
Comment 23 Manfred Knick 2015-10-15 14:08:47 UTC
(In reply to Jeroen Roovers from comment #21)

> ... I guess I'll switch to
> IUSE=+kms next and then watch the fallout from that change.

(In reply to Jeroen Roovers from comment #22)

> If somebody now finds a bug with USE=kms, 
> then that should go to a new bug report.


Perfect.

Thanks for your suggestion in #c13.

Updated *upstream* :
... http://nvidia-submit.custhelp.com/app/account/questions/detail/i_id/861541