Re: [Nouveau] GP106M+Intel Skylake, Kernel 4.10-rc3 : No display on HDMI or DP

2017-01-20 Thread Sylvain Fabre
Le vendredi 13 janvier 2017, 10:35:49 CET Ilia Mirkin a écrit :
> 
> OK. So it sees the monitor, and detects its modes. Can you confirm
> that these are *not* listed in xrandr? In your original xrandr paste,
> the DP-1/HDMI-1 connectors were listed as disconnected. Perhaps you
> ran that xrandr command when the second monitor was not connected?
> 
> Thanks,
> 
>   -ilia
> 
I re-post my email, as the previous one contained some HTML tags. I am still 
facing the same issue, with the latest head kernel (4.10 rc4.1).

Sorry for the misunderstanding on my side : when a monitor is connected, xrandr 
shows also the modes availables (example below). Note that from time to time, 
after connecting a monitor to DP-1 or HDMI-1, the "xrand" command is completely 
freezing my computer and i am obliged to perform a bruteforce ON/OFF with the 
power button.

Example of xrandr with a a monitor connected to HDMI- 1: 

sigmar@TALABHEIM:/media/encfs/PIXKIT> xrandr  
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y 
axis) 344mm x 194mm 
  1920x1080 60.02*+  47.99  

  
  1400x1050 59.98   

  
  1280x1024 60.02   

  
  1280x960  60.00   

  
  1024x768  60.0460.00  

  
  960x720   60.00   

  
  928x696   60.05   

  
  896x672   60.01   

  
  800x600   60.0060.3256.25 

  
  700x525   59.98   

  
  640x512   60.02   

  
  640x480   60.0059.94  

  
  512x384   60.00   

  
  400x300   60.3256.34  

  
  320x240   60.05   

  
HDMI-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm 
x 299mm 
   
  1920x1080 60.00*+  50.0059.9459.99   
  1920x1080i60.0050.0059.94   
  1600x1200 65.0060.00   
  1680x1050 59.88   
  1400x1050 74.7659.98   
  1280x1024 75.0260.02   
  1440x900  59.90   
  1280x960  60.00   
  1366x768  59.79   
  1152x864  75.00   
  1280x720  60.0050.0059.94   
  1024x768  75.0560.0475.0370.0760.00   
  960x720   75.0060.00   
  928x696   75.0060.05   
  896x672   75.0560.01   
  832x624   74.55   
  800x600   75.0070.0065.0060.0072.1975.0060.32
56.25   
  720x576   50.00   
  700x525   74.7659.98   
  720x480   60.0059.94   
  640x512   75.0260.02   
  640x480   

Re: [Nouveau] GP106M+Intel Skylake, Kernel 4.10-rc3 : No display on HDMI or DP

2017-01-13 Thread Sylvain Fabre
Le vendredi 13 janvier 2017 16:11:59 CET, vous avez écrit :

In addition, i noticed the following  : 

xrand --output HDMI-1 --auto

show the following messages in the dmesg : 

24957.310638] nouveau :01:00.0: DRM: resuming kernel object tree... 
[24957.310873] nouveau :01:00.0: priv: HUB0: 00d054 0007 (18408216) 
[24957.369494] nouveau :01:00.0: DRM: resuming client object trees...   


 
[24957.369497] nouveau :01:00.0: DRM: resuming display... 
[24957.369558] nouveau :01:00.0: DRM: resuming console...


___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] GP106M+Intel Skylake, Kernel 4.10-rc3 : No display on HDMI or DP

2017-01-13 Thread Sylvain Fabre
Le vendredi 13 janvier 2017, 10:35:49 CET Ilia Mirkin a écrit :
> 
> OK. So it sees the monitor, and detects its modes. Can you confirm
> that these are *not* listed in xrandr? In your original xrandr paste,
> the DP-1/HDMI-1 connectors were listed as disconnected. Perhaps you
> ran that xrandr command when the second monitor was not connected?
> 
> Thanks,
> 
>   -ilia
> 
Sorry for the misunderstanding on my side : when a monitor is connected, xrandr 
shaow also the modes availables (example below). Note that from time to time, 
after connecting a monitor to DP-1 or HDMI-1, the "xrand" command is completely 
freezing my computer and i am obliged to perform a bruteforce ON/OFF with the 
power button.

Example of xrandr with a a monitor connected to HDMI- 1: 

sigmar@TALABHEIM:/media/encfs/PIXKIT> xrandr  


___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] GP106M+Intel Skylake, Kernel 4.10-rc3 : No display on HDMI or DP

2017-01-13 Thread Ilia Mirkin
On Fri, Jan 13, 2017 at 10:11 AM, Sylvain Fabre  wrote:
> xrandr --setprovideroutputsource 1 0 seems to do nothing, either with a
> monitor connected to HDMI-1 or not. The second monitor is detected and
> available in the screen configuration tool of KDE, but it remains black, no
> window, nothing.
>
> With a monitor conected in HDMI-1, here are the results of the commands :
>
> sigmar@TALABHEIM:~> grep . /sys/class/drm/card*-*/status
> /sys/class/drm/card0-eDP-1/status:connected
> /sys/class/drm/card1-DP-1/status:disconnected
> /sys/class/drm/card1-HDMI-A-1/status:connected

OK. So it sees the monitor, and detects its modes. Can you confirm
that these are *not* listed in xrandr? In your original xrandr paste,
the DP-1/HDMI-1 connectors were listed as disconnected. Perhaps you
ran that xrandr command when the second monitor was not connected?

Thanks,

  -ilia
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] GP106M+Intel Skylake, Kernel 4.10-rc3 : No display on HDMI or DP

2017-01-13 Thread Sylvain Fabre
> 
> OK, so I think that these are not the HDMI/DP outputs connected to
> your secondary device. They are the ones connected to your primary
> device (might not be pinned out, or might only be available via an
> optional dock). Normally there'd be an extra -1- in the name of such
> outputs. But who knows with modesetting - perhaps it doesn't stick
> that in and sticks 100% to the kernel names.
> 
> Have a look at https://nouveau.freedesktop.org/wiki/Optimus/ for some
> details on how to set up output offloading. The short version is that
> you want to do something like
> 
> xrandr --setprovideroutputsource 1 0
> 
> If that doesn't help, grab the output of
> 
> grep . /sys/class/drm/card*-*/status
> grep . /sys/class/drm/card*-*/modes
> 
> preferably while something is plugged into one of your NVIDIA-attached
> connectors. When X first starts, it appears to get an EDID just fine
> for your secondary GPU's DP-1 output...
> 
> Cheers,
> 
>   -ilia
> 

Thanks Ilia; 

I already checked the wiki page, with no success so far.

xrandr --setprovideroutputsource 1 0 seems to do nothing, either with a monitor 
connected to HDMI-1 or not. The second monitor is detected and available in the 
screen configuration tool of KDE, but it remains black, no window, nothing.

With a monitor conected in HDMI-1, here are the results of the commands : 
sigmar@TALABHEIM:~> grep . /sys/class/drm/card*-*/status 
/sys/class/drm/card0-eDP-1/status:*connected* 
/sys/class/drm/card1-DP-1/status:*disconnected* 
/sys/class/drm/card1-HDMI-A-1/status:*connected* 

sigmar@TALABHEIM:~>  grep . /sys/class/drm/card*-*/modes
/sys/class/drm/card0-eDP-1/modes:*1920x1080* 
/sys/class/drm/card0-eDP-1/modes:*1920x1080* 
/sys/class/drm/card1-HDMI-A-1/modes:*1920x1080* 
/sys/class/drm/card1-HDMI-A-1/modes:*1920x1080* 
/sys/class/drm/card1-HDMI-A-1/modes:*1920x1080* 
/sys/class/drm/card1-HDMI-A-1/modes:*1920x1080i* 
/sys/class/drm/card1-HDMI-A-1/modes:*1920x1080i* 
/sys/class/drm/card1-HDMI-A-1/modes:*1920x1080* 
/sys/class/drm/card1-HDMI-A-1/modes:*1920x1080i* 
/sys/class/drm/card1-HDMI-A-1/modes:*1600x1200* 
/sys/class/drm/card1-HDMI-A-1/modes:*1680x1050* 
/sys/class/drm/card1-HDMI-A-1/modes:*1280x1024* 
/sys/class/drm/card1-HDMI-A-1/modes:*1280x1024* 
/sys/class/drm/card1-HDMI-A-1/modes:*1440x900* 
/sys/class/drm/card1-HDMI-A-1/modes:*1280x960* 
/sys/class/drm/card1-HDMI-A-1/modes:*1366x768* 
/sys/class/drm/card1-HDMI-A-1/modes:*1152x864* 
/sys/class/drm/card1-HDMI-A-1/modes:*1280x720* 
/sys/class/drm/card1-HDMI-A-1/modes:*1280x720* 
/sys/class/drm/card1-HDMI-A-1/modes:*1280x720* 
/sys/class/drm/card1-HDMI-A-1/modes:*1024x768* 
/sys/class/drm/card1-HDMI-A-1/modes:*1024x768* 
/sys/class/drm/card1-HDMI-A-1/modes:*1024x768* 
/sys/class/drm/card1-HDMI-A-1/modes:*832x624* 
/sys/class/drm/card1-HDMI-A-1/modes:*800x600* 
/sys/class/drm/card1-HDMI-A-1/modes:*800x600* 
/sys/class/drm/card1-HDMI-A-1/modes:*800x600* 
/sys/class/drm/card1-HDMI-A-1/modes:*800x600* 
/sys/class/drm/card1-HDMI-A-1/modes:*720x576* 
/sys/class/drm/card1-HDMI-A-1/modes:*720x480* 
/sys/class/drm/card1-HDMI-A-1/modes:*720x480* 
/sys/class/drm/card1-HDMI-A-1/modes:*640x480* 
/sys/class/drm/card1-HDMI-A-1/modes:*640x480* 
/sys/class/drm/card1-HDMI-A-1/modes:*640x480* 
/sys/class/drm/card1-HDMI-A-1/modes:*640x480* 
/sys/class/drm/card1-HDMI-A-1/modes:*640x480* 
/sys/class/drm/card1-HDMI-A-1/modes:*720x400*

Any hints really appreciated, 

Regards, Sylvain


___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] GP106M+Intel Skylake, Kernel 4.10-rc3 : No display on HDMI or DP

2017-01-13 Thread Ilia Mirkin
On Thu, Jan 12, 2017 at 3:51 AM, Sylvain Fabre  wrote:
> xrand
>
> Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
> eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y
> axis) 344mm x 194mm
>   1920x1080 60.02*+  47.99
>   1400x1050 59.98
>   1280x1024 60.02
>   1280x960  60.00
>   1024x768  60.0460.00
>   960x720   60.00
>   928x696   60.05
>   896x672   60.01
>   800x600   60.0060.3256.25
>   700x525   59.98
>   640x512   60.02
>   640x480   60.0059.94
>   512x384   60.00
>   400x300   60.3256.34
>   320x240   60.05
> HDMI-1 disconnected (normal left inverted right x axis y axis)
> DP-1 disconnected (normal left inverted right x axis y axis)

OK, so I think that these are not the HDMI/DP outputs connected to
your secondary device. They are the ones connected to your primary
device (might not be pinned out, or might only be available via an
optional dock). Normally there'd be an extra -1- in the name of such
outputs. But who knows with modesetting - perhaps it doesn't stick
that in and sticks 100% to the kernel names.

Have a look at https://nouveau.freedesktop.org/wiki/Optimus/ for some
details on how to set up output offloading. The short version is that
you want to do something like

xrandr --setprovideroutputsource 1 0

If that doesn't help, grab the output of

grep . /sys/class/drm/card*-*/status
grep . /sys/class/drm/card*-*/modes

preferably while something is plugged into one of your NVIDIA-attached
connectors. When X first starts, it appears to get an EDID just fine
for your secondary GPU's DP-1 output...

Cheers,

  -ilia
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] GP106M+Intel Skylake, Kernel 4.10-rc3 : No display on HDMI or DP

2017-01-12 Thread Sylvain Fabre
> 
> No, that line is actually expected (just means accel won't work, since
> NVIDIA hw now requires signed firmware, but they won't release the
> ctxsw fw). Are you absolutely sure that you're seeing the outputs in
> xrandr? Could you provide the output of xrandr as well as an Xorg log?
> 
> Thanks,
> 
>   -ilia

Many thanks for you help.
 All data below :


xrand
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 
xrandr --listproviders 
Providers: number : 2 


Xorg.0.log : 
X.Org X Server 1.18.4 

___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] GP106M+Intel Skylake, Kernel 4.10-rc3 : No display on HDMI or DP

2017-01-12 Thread Sylvain Fabre
> 
> No, that line is actually expected (just means accel won't work, since
> NVIDIA hw now requires signed firmware, but they won't release the
> ctxsw fw). Are you absolutely sure that you're seeing the outputs in
> xrandr? Could you provide the output of xrandr as well as an Xorg log?
> 
> Thanks,
> 
>   -ilia

Many thanks for you help.
 All data below :


xrand
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 
xrandr --listproviders 
Providers: number : 2 


Xorg.0.log : 
X.Org X Server 1.18.4 

___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] GP106M+Intel Skylake, Kernel 4.10-rc3 : No display on HDMI or DP

2017-01-11 Thread Ilia Mirkin
On Wed, Jan 11, 2017 at 4:48 AM, Sylvain Fabre  wrote:
> Hi all,
>
>
>
> On my recent MSI Apache Pro laptop with Intel Skylake + GP106M Nvidia chip,
> i am unable to use the external HDMI and DP outputs. The outputs are
> available thru xrandr and can be activated, but the connected monitors
> always show a black screen.
>
>
>
> Note that the integrated LCD is connected to the Skylage GPU, while the HDMI
> and DP outputs are connected to the NVIDIA GP106M GPU.
>
>
>
> The nouveau drive outputs the following data in the dmesg log,
> kernel-4.10-rc3 on Opensuse Tumbleweed :
>
> [5.939763] nouveau: detected PR support, will not use DSM
> [5.939782] nouveau :01:00.0: enabling device (0006 -> 0007)
> [5.939978] nouveau :01:00.0: NVIDIA GP106 (136000a1)
> [6.532588] nouveau :01:00.0: bios: version 86.06.29.00.04
> [6.574859] nouveau :01:00.0: fb: 3072 MiB GDDR5
> [6.574868] nouveau :01:00.0: priv: HUB0: 00d054 0007 (1d408216)
> [6.576502] nouveau :01:00.0: DRM: VRAM: 3072 MiB
> [6.576503] nouveau :01:00.0: DRM: GART: 1048576 MiB
> [6.576522] nouveau :01:00.0: DRM: BIT table 'A' not found
> [6.576523] nouveau :01:00.0: DRM: BIT table 'L' not found
> [6.576523] nouveau :01:00.0: DRM: TMDS table version 2.0
> [6.576524] nouveau :01:00.0: DRM: DCB version 4.1
> [6.576525] nouveau :01:00.0: DRM: DCB outp 00: 02001f62 00020010
> [6.576526] nouveau :01:00.0: DRM: DCB outp 01: 04013f86 04600010
> [6.576527] nouveau :01:00.0: DRM: DCB outp 02: 04013f82 00020010
> [6.576527] nouveau :01:00.0: DRM: DCB conn 01: 00010161
> [6.576528] nouveau :01:00.0: DRM: DCB conn 03: 01000346
> [6.576529] nouveau :01:00.0: DRM: Pointer to flat panel table
> invalid
> [6.787082] nouveau :01:00.0: hwmon_device_register() is deprecated.
> Please convert the driver to use hwmon_device_register_with_info().
> [6.827434] nouveau :01:00.0: DRM: failed to create kernel channel,
> -22
> [7.069863] nouveau :01:00.0: DRM: allocated 1024x768 fb: 0x6, bo
> 92d669dd7000
> [9.432618] nouveau :01:00.0: fb0: nouveaufb frame buffer device
> [9.452356] nouveau :01:00.0: vgaarb: changed VGA decodes:
> olddecodes=io+mem,decodes=none:owns=none
> [9.456215] [drm] Initialized nouveau 1.3.1 20120801 for :01:00.0 on
> minor 1
> [   34.012709] nouveau :01:00.0: DRM: suspending console...
> [   34.012713] nouveau :01:00.0: DRM: suspending display...
> [   34.012729] nouveau :01:00.0: DRM: evicting buffers...
> [   34.279921] nouveau :01:00.0: DRM: waiting for kernel channels to go
> idle...
> [   34.279926] nouveau :01:00.0: DRM: suspending client object trees...
> [   34.279930] nouveau :01:00.0: DRM: suspending kernel object tree...
> [   43.725141] nouveau :01:00.0: DRM: resuming kernel object tree...
>
> I suspect the issue is due to this line :
>
> [6.827434] nouveau :01:00.0: DRM: failed to create kernel channel,
> -22
>

No, that line is actually expected (just means accel won't work, since
NVIDIA hw now requires signed firmware, but they won't release the
ctxsw fw). Are you absolutely sure that you're seeing the outputs in
xrandr? Could you provide the output of xrandr as well as an Xorg log?

Thanks,

  -ilia
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau