Re: r296548 breaks external DP and HDMI on HD4000

2016-04-26 Thread Ian FREISLICH
Hi

Replying to myself...

The monitor works with in 1920x1080.  Any higher resolution and the
monitor displays rapidly changing random colours filled over the entire
screen.  I'm currently using r298115 with no improvement on the situation.

Ian

On 03/14/16 13:59, Ian FREISLICH wrote:
> Hi
>
> With r296548 on the following hardware:
>
> vgapci0@pci0:0:2:0: class=0x03 card=0x15171043 chip=0x01668086
> rev=0x09 hdr=0x00
> vendor = 'Intel Corporation'
> device = '3rd Gen Core processor Graphics Controller'
> class  = display
> subclass   = VGA
> cap 05[90] = MSI supports 1 message enabled with 1 message
> cap 01[d0] = powerspec 2  supports D0 D3  current D0
> cap 13[a4] = PCI Advanced Features: FLR TP
>
> I get the following console messages when X starts and my external
> monitor (Samsung U28E590) goes into epileptic fit attack mode.
>
> [drm] Initialized i915 1.6.0 20080730 for drmn0 on minor 0
> [drm:pid0:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
> [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
> [drm:pid0:intel_cpt_verify_modeset] *ERROR* mode set failed: pipe 0 stuck
> [drm:pid1100:ironlake_check_fdi_lanes] *ERROR* WARN ON:
> I915_READ(SOUTH_CHICKEN1) & FDI_BC_BIFURCATION_SELECT
> [drm:pid1100:ivb_manual_fdi_link_train] *ERROR* FDI train 1 fail!
> [drm:pid1100:ivb_manual_fdi_link_train] *ERROR* FDI train 2 fail!
>
> The good news is that I no longer need the following hack to turn on the
> back light this laptop's LVDS display:
>
> Index: sys/dev/drm2/i915/intel_display.c
> ===
> --- sys/dev/drm2/i915/intel_display.c   (revision 296547)
> +++ sys/dev/drm2/i915/intel_display.c   (working copy)
> @@ -6960,7 +6960,7 @@
>  */
> I915_WRITE(BLC_PWM_CPU_CTL2, PWM_ENABLE);
> I915_WRITE(BLC_PWM_CPU_CTL, 0);
> -   I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE);
> +   I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE | (1<<30));
>  }
>  
>  void intel_modeset_init_hw(struct drm_device *dev)
>

-- 
Ian Freislich
(M) +1 404 574 0228


-- 
 

Cape Augusta Digital Properties, LLC a Cape Augusta Company

*Breach of confidentiality & accidental breach of confidentiality *

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify the system manager. 
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system. If you are not the intended recipient 
you are notified that disclosing, copying, distributing or taking any 
action in reliance on the contents of this information is strictly 
prohibited.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: r296548 breaks external DP and HDMI on HD4000

2016-03-19 Thread Ian FREISLICH

Hi,

It was running 2560x1440. I'm not sure if the chip can do 4k although tho 
Xorg probe suggests it might. Maybe the rest of the interface electronics 
can't support the higher clock rate.  r296547 does correctly run the 
external monitor at 2560x1440.


Sadly the monitor is an international flight away from me for the 1.5 
months so I can't test anything else until I'm back.


Ian


On 19 March 2016 01:10:54 Jean-Sébastien Pédron  wrote:


On 14/03/2016 18:59, Ian FREISLICH wrote:

Hi


Hi!


With r296548 on the following hardware:

vgapci0@pci0:0:2:0: class=0x03 card=0x15171043 chip=0x01668086

I get the following console messages when X starts and my external
monitor (Samsung U28E590) goes into epileptic fit attack mode.

[drm] Initialized i915 1.6.0 20080730 for drmn0 on minor 0
[drm:pid0:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
[drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
[drm:pid0:intel_cpt_verify_modeset] *ERROR* mode set failed: pipe 0 stuck
[drm:pid1100:ironlake_check_fdi_lanes] *ERROR* WARN ON:
I915_READ(SOUTH_CHICKEN1) & FDI_BC_BIFURCATION_SELECT
[drm:pid1100:ivb_manual_fdi_link_train] *ERROR* FDI train 1 fail!
[drm:pid1100:ivb_manual_fdi_link_train] *ERROR* FDI train 2 fail!


On my Haswell laptop, the external DisplayPort doesn't work either. When
using Ultra HD, I get garbage. When using Full HD, the image is correct
for a few seconds, then the output connector is disabled (talking about
Panel status timeout in dmesg).

What resolution do you use with your monitor? If you're using Ultra HD,
could you please try Full HD?

--
Jean-Sébastien Pédron





--


Cape Augusta Digital Properties, LLC a Cape Augusta Company

*Breach of confidentiality & accidental breach of confidentiality *

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify the system manager. 
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system. If you are not the intended recipient 
you are notified that disclosing, copying, distributing or taking any 
action in reliance on the contents of this information is strictly 
prohibited.

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: r296548 breaks external DP and HDMI on HD4000

2016-03-19 Thread Jean-Sébastien Pédron
On 14/03/2016 18:59, Ian FREISLICH wrote:
> Hi

Hi!

> With r296548 on the following hardware:
> 
> vgapci0@pci0:0:2:0: class=0x03 card=0x15171043 chip=0x01668086
> 
> I get the following console messages when X starts and my external
> monitor (Samsung U28E590) goes into epileptic fit attack mode.
> 
> [drm] Initialized i915 1.6.0 20080730 for drmn0 on minor 0
> [drm:pid0:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
> [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
> [drm:pid0:intel_cpt_verify_modeset] *ERROR* mode set failed: pipe 0 stuck
> [drm:pid1100:ironlake_check_fdi_lanes] *ERROR* WARN ON:
> I915_READ(SOUTH_CHICKEN1) & FDI_BC_BIFURCATION_SELECT
> [drm:pid1100:ivb_manual_fdi_link_train] *ERROR* FDI train 1 fail!
> [drm:pid1100:ivb_manual_fdi_link_train] *ERROR* FDI train 2 fail!

On my Haswell laptop, the external DisplayPort doesn't work either. When
using Ultra HD, I get garbage. When using Full HD, the image is correct
for a few seconds, then the output connector is disabled (talking about
Panel status timeout in dmesg).

What resolution do you use with your monitor? If you're using Ultra HD,
could you please try Full HD?

-- 
Jean-Sébastien Pédron



signature.asc
Description: OpenPGP digital signature


r296548 breaks external DP and HDMI on HD4000

2016-03-14 Thread Ian FREISLICH
Hi

With r296548 on the following hardware:

vgapci0@pci0:0:2:0: class=0x03 card=0x15171043 chip=0x01668086
rev=0x09 hdr=0x00
vendor = 'Intel Corporation'
device = '3rd Gen Core processor Graphics Controller'
class  = display
subclass   = VGA
cap 05[90] = MSI supports 1 message enabled with 1 message
cap 01[d0] = powerspec 2  supports D0 D3  current D0
cap 13[a4] = PCI Advanced Features: FLR TP

I get the following console messages when X starts and my external
monitor (Samsung U28E590) goes into epileptic fit attack mode.

[drm] Initialized i915 1.6.0 20080730 for drmn0 on minor 0
[drm:pid0:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
[drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off
[drm:pid0:intel_cpt_verify_modeset] *ERROR* mode set failed: pipe 0 stuck
[drm:pid1100:ironlake_check_fdi_lanes] *ERROR* WARN ON:
I915_READ(SOUTH_CHICKEN1) & FDI_BC_BIFURCATION_SELECT
[drm:pid1100:ivb_manual_fdi_link_train] *ERROR* FDI train 1 fail!
[drm:pid1100:ivb_manual_fdi_link_train] *ERROR* FDI train 2 fail!

The good news is that I no longer need the following hack to turn on the
back light this laptop's LVDS display:

Index: sys/dev/drm2/i915/intel_display.c
===
--- sys/dev/drm2/i915/intel_display.c   (revision 296547)
+++ sys/dev/drm2/i915/intel_display.c   (working copy)
@@ -6960,7 +6960,7 @@
 */
I915_WRITE(BLC_PWM_CPU_CTL2, PWM_ENABLE);
I915_WRITE(BLC_PWM_CPU_CTL, 0);
-   I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE);
+   I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE | (1<<30));
 }
 
 void intel_modeset_init_hw(struct drm_device *dev)

-- 
Ian Freislich


-- 
 

Cape Augusta Digital Properties, LLC a Cape Augusta Company

*Breach of confidentiality & accidental breach of confidentiality *

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify the system manager. 
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system. If you are not the intended recipient 
you are notified that disclosing, copying, distributing or taking any 
action in reliance on the contents of this information is strictly 
prohibited.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"