[SOLVED] Re: HDMI can't be used as primary monitor

2018-02-28 Thread Jiri Navratil
Hi Jirko,

Thank you for quick response and the URL.

I used the machine on other HDMI device and there xrandr worked fine. So
xrandr worked and I was able to use the HDMI.

Thanks Mark to pointing me to current version. The upgrade via snapshot
was smooth.

Thank you,
Jiří

On Wed, Feb 28, 2018 at 02:49:35AM -0500, Jiri B wrote:
> On Wed, Feb 28, 2018 at 07:25:03AM +0100, Jiri Navratil wrote:
> > Thank you Mark for reply.
> > 
> > I upraded to snapshot. Now the xrandr command shows properly HDMI
> > connected and possible modes, but the command
> > 
> > xrandr --output eDP-1 --auto --rotate normal --pos 0x0 --output HDMI-1 
> > --auto --rotate normal --right-of eDP-1
> > 
> > it did not make HDMI TV to wakeup and I was not able to use it
> > 
> > I see in dmesg this:
> > 
> > uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 
> > 3.00/1.00 addr 1
> > error: [drm:pid86113:i915_gem_init_hw] *ERROR* Failed to initialize GuC, 
> > error -8 (ignored)
> > uhub1 at uhub0 port 2 configuration 1 interface 0 "Generic 4-Port USB 2.0 
> > Hub" rev 2.10/1.17 addr 2
> > WARNING !wm_changed failed at /usr/src/sys/dev/pci/drm/i915/intel_pm.c:3609
> 
> tl;dr but have you checked https://marc.info/?t=15169561314&r=1&w=2 ?
> 
> Jiri


smime.p7s
Description: S/MIME cryptographic signature


Re: HDMI can't be used as primary monitor

2018-02-27 Thread Jiri B
On Wed, Feb 28, 2018 at 07:25:03AM +0100, Jiri Navratil wrote:
> Thank you Mark for reply.
> 
> I upraded to snapshot. Now the xrandr command shows properly HDMI
> connected and possible modes, but the command
> 
> xrandr --output eDP-1 --auto --rotate normal --pos 0x0 --output HDMI-1 --auto 
> --rotate normal --right-of eDP-1
> 
> it did not make HDMI TV to wakeup and I was not able to use it
> 
> I see in dmesg this:
> 
> uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
> addr 1
> error: [drm:pid86113:i915_gem_init_hw] *ERROR* Failed to initialize GuC, 
> error -8 (ignored)
> uhub1 at uhub0 port 2 configuration 1 interface 0 "Generic 4-Port USB 2.0 
> Hub" rev 2.10/1.17 addr 2
> WARNING !wm_changed failed at /usr/src/sys/dev/pci/drm/i915/intel_pm.c:3609

tl;dr but have you checked https://marc.info/?t=15169561314&r=1&w=2 ?

Jiri



Re: HDMI can't be used as primary monitor

2018-02-27 Thread Jiri Navratil
Thank you Mark for reply.

I upraded to snapshot. Now the xrandr command shows properly HDMI
connected and possible modes, but the command

xrandr --output eDP-1 --auto --rotate normal --pos 0x0 --output HDMI-1 --auto 
--rotate normal --right-of eDP-1

it did not make HDMI TV to wakeup and I was not able to use it

I see in dmesg this:

uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
addr 1
error: [drm:pid86113:i915_gem_init_hw] *ERROR* Failed to initialize GuC, error 
-8 (ignored)
uhub1 at uhub0 port 2 configuration 1 interface 0 "Generic 4-Port USB 2.0 Hub" 
rev 2.10/1.17 addr 2
WARNING !wm_changed failed at /usr/src/sys/dev/pci/drm/i915/intel_pm.c:3609

full dmesg is attached

On Thu, Feb 22, 2018 at 11:03:44AM +0100, Mark Kettenis wrote:
> > Date: Thu, 22 Feb 2018 07:50:57 +0100 (CET)
> > From: j...@navratil.cz
> 
> Please try a -current snapshot.

-- 
Jiri Navratil, https://kouc.navratil.cz, +420 222 767 131

OpenBSD 6.2 (GENERIC.MP) #5: Fri Feb  2 23:02:19 CET 2018

r...@syspatch-62-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8466038784 (8073MB)
avail mem = 8202440704 (7822MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xe0880 (61 entries)
bios0: vendor LENOVO version "R0CET24W (1.12 )" date 05/06/2016
bios0: LENOVO 20GJ003QMC
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP TCPA SSDT UEFI SSDT SSDT HPET LPIT APIC MCFG SSDT SSDT 
SSDT SSDT SSDT DBGP DBG2 SSDT BOOT BATB SLIC SSDT SSDT MSDM DMAR ASF! FPDT UEFI
acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) 
GLAN(S4) XHC_(S4) XDCI(S4) HDAS(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) 
PXSX(S4) RP03(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 2399 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2400.00 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: TSC frequency 24 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2400.00 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2400.00 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz, 2400.00 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 120 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus 1 (RP01)
acpiprt5 at acpi0: bus -1 (RP02)
acpiprt6 at acpi0: bus -1 (RP03)
acpiprt7 at acpi0: bus 3 (RP04)
acpiprt8 at acpi0: bus -1 (RP05)
acpiprt9 at acpi0: bus -1 (RP06)
acpiprt10 at acpi0: bus -1 (RP07)
acpiprt11 at acpi0: bus -1 (RP08)
acpiprt12 at acpi0: bus -1 (RP09)
acpiprt13 at acpi0: 

Re: HDMI can't be used as primary monitor

2018-02-22 Thread Mark Kettenis
> Date: Thu, 22 Feb 2018 07:50:57 +0100 (CET)
> From: j...@navratil.cz

Please try a -current snapshot.