Bug#886727: nouveau: no desktop on nvidia NVS 310 card on DELL precision 7810

2018-01-10 Thread Sven Joachim
Control: reassign -1 src:linux
Control: forwarded -1 https://bugs.freedesktop.org/show_bug.cgi?id=103421
Control: merge 880660 -1

Am 10.01.2018 um 09:15 schrieb Joachim Schmidt:

>>> VGA-compatible devices on PCI bus:
>>> --
>>> 03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119 [NVS 
>>> 310] [10de:107d] (rev a1)
>>
>> Probably that is https://bugs.freedesktop.org/show_bug.cgi?id=103421,
>> but a kernel log would be useful to be sure.  Can you find a backtrace
>> in /var/log/kern.log?
> I think you are right, I attach kernel.log

Thanks, that confirms my conjecture.  The upstream bug contains a patch
that works for at least two people, attached for your convenience.  If you
dare building your own kernel, you may want to try it out.

Cheers,
   Sven

diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c
index a2978a37b4f3..700fc754f28a 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c
@@ -174,6 +174,7 @@ gf119_sor = {
 		.links = gf119_sor_dp_links,
 		.power = g94_sor_dp_power,
 		.pattern = gf119_sor_dp_pattern,
+		.drive = gf119_sor_dp_drive,
 		.vcpi = gf119_sor_dp_vcpi,
 		.audio = gf119_sor_dp_audio,
 		.audio_sym = gf119_sor_dp_audio_sym,


Bug#886727: nouveau: no desktop on nvidia NVS 310 card on DELL precision 7810

2018-01-10 Thread Joachim Schmidt

Hi Sven,


Package: xserver-xorg-video-nouveau
Version: 1:1.0.15-2
Severity: important
File: nouveau

Dear Maintainer,

* installed testing version parallel (stable version runs well)
* no display will be shown - terminal goes into standby


Before or after X starts?  Does it work when you use the stretch kernel
on testing?
it's also if I start recovery mode - some lines are displayed and then 
terminal goes into standby.

stretch kernel into testing will take some time (I just don't know how)



VGA-compatible devices on PCI bus:
--
03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119 [NVS 310] 
[10de:107d] (rev a1)


Probably that is https://bugs.freedesktop.org/show_bug.cgi?id=103421,
but a kernel log would be useful to be sure.  Can you find a backtrace
in /var/log/kern.log?

I think you are right, I attach kernel.log

Thanks
Joachim



kern.7z
Description: application/7z-compressed


Bug#886727: nouveau: no desktop on nvidia NVS 310 card on DELL precision 7810

2018-01-09 Thread Sven Joachim
Am 09.01.2018 um 11:00 schrieb Joachim Schmidt:

> Package: xserver-xorg-video-nouveau
> Version: 1:1.0.15-2
> Severity: important
> File: nouveau
>
> Dear Maintainer,
>
> * installed testing version parallel (stable version runs well)
> * no display will be shown - terminal goes into standby

Before or after X starts?  Does it work when you use the stretch kernel
on testing?

> VGA-compatible devices on PCI bus:
> --
> 03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119 [NVS 310] 
> [10de:107d] (rev a1)

Probably that is https://bugs.freedesktop.org/show_bug.cgi?id=103421,
but a kernel log would be useful to be sure.  Can you find a backtrace
in /var/log/kern.log?

Cheers,
   Sven



Bug#886727: nouveau: no desktop on nvidia NVS 310 card on DELL precision 7810

2018-01-09 Thread Joachim Schmidt
Package: xserver-xorg-video-nouveau
Version: 1:1.0.15-2
Severity: important
File: nouveau

Dear Maintainer,

* installed testing version parallel (stable version runs well)
* no display will be shown - terminal goes into standby
* with blacklist=nouveau in modprobe.d I have a (bad looking) desktop

I hope I can help
Joachim



-- Package-specific info:
/etc/X11/X does not exist.
/etc/X11/X is not a symlink.
/etc/X11/X is not executable.

VGA-compatible devices on PCI bus:
--
03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119 [NVS 310] 
[10de:107d] (rev a1)

/etc/X11/xorg.conf does not exist.

/etc/X11/xorg.conf.d does not exist.

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 4.14.0-2-amd64 (debian-ker...@lists.debian.org) (gcc version 
7.2.0 (Debian 7.2.0-18)) #1 SMP Debian 4.14.7-1 (2017-12-22)

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 71896 Jan  9 09:13 /var/log/Xorg.0.log
-rw-r--r-- 1 root root 71411 Jan  9 09:13 /var/log/Xorg.1.log

Contents of most recent Xorg X server log file (/var/log/Xorg.1.log):
-
[25.205] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() 
failed
[25.205] _XSERVTransMakeAllCOTSServerListeners: server already running
[25.205] (--) Log file renamed from "/var/log/Xorg.pid-1482.log" to 
"/var/log/Xorg.1.log"
[25.206] 
X.Org X Server 1.19.5
Release Date: 2017-10-12
[25.206] X Protocol Version 11, Revision 0
[25.206] Build Operating System: Linux 4.9.0-4-amd64 x86_64 Debian
[25.206] Current Operating System: Linux PC-G17659 4.14.0-2-amd64 #1 SMP 
Debian 4.14.7-1 (2017-12-22) x86_64
[25.206] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.14.0-2-amd64 
root=UUID=ca97dc8f-a3b9-4608-94d7-ffc238229c91 ro quiet
[25.206] Build Date: 16 October 2017  12:28:38PM
[25.206] xorg-server 2:1.19.5-1 (https://www.debian.org/support) 
[25.206] Current version of pixman: 0.34.0
[25.206]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[25.206] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[25.206] (==) Log file: "/var/log/Xorg.1.log", Time: Tue Jan  9 09:13:55 
2018
[25.206] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[25.207] (==) No Layout section.  Using the first Screen section.
[25.207] (==) No screen section available. Using defaults.
[25.207] (**) |-->Screen "Default Screen Section" (0)
[25.207] (**) |   |-->Monitor ""
[25.207] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[25.207] (==) Automatically adding devices
[25.207] (==) Automatically enabling devices
[25.207] (==) Automatically adding GPU devices
[25.207] (==) Max clients allowed: 256, resource mask: 0x1f
[25.207] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[25.207]Entry deleted from font path.
[25.207] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[25.207] (==) ModulePath set to "/usr/lib/xorg/modules"
[25.207] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[25.207] (II) Loader magic: 0x5561e506fde0
[25.207] (II) Module ABI versions:
[25.207]X.Org ANSI C Emulation: 0.4
[25.207]X.Org Video Driver: 23.0
[25.207]X.Org XInput driver : 24.1
[25.207]X.Org Server Extension : 10.0
[25.208] (++) using VT number 2

[25.209] (II) systemd-logind: took control of session 
/org/freedesktop/login1/session/_33
[25.211] (--) PCI:*(0:3:0:0) 10de:107d:10de:094e rev 161, Mem @ 
0xf600/16777216, 0xe800/134217728, 0xf000/33554432, I/O @ 
0xe000/128, BIOS @ 0x/131072
[25.211] (II) LoadModule: "glx"
[25.212] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[25.212] (II) Module glx: vendor="X.Org Foundation"
[25.212]compiled for 1.19.5, module version = 1.0.0
[25.212]ABI class: X.Org Server Extension, version 10.0
[25.212] (==) Matched nouveau as autoconfigured driver 0
[25.212] (==) Matched nv as autoconfigured driver 1
[25.212] (==) Matched modesetting as autoconfigured driver 2
[25.212] (==) Matched fbdev as autoconfigured driver 3
[25.212] (==) Matched vesa as autoconfigured driver 4
[25.21