Re: GM45 gpu hung error

2013-11-18 Thread Wade, Daniel
GM45 works fine playing html5 videos in firefox for me


OpenBSD 5.4-current (GENERIC.MP) #150: Thu Nov 14 00:30:57 MST 2013
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4161064960 (3968MB)
avail mem = 4042162176 (3854MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf6520 (57 entries)
bios0: vendor Dell Inc. version A19 date 10/30/2009
bios0: Dell Inc. Latitude E6400
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET DMAR APIC ASF! MCFG TCPA SLIC SSDT
acpi0: wakeup devices PCI0(S4) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) USB4(S0) 
USB5(S0) USB6(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S4) RP02(S4) RP03(S4) 
RP04(S3) RP05(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz, 2394.32 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,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 265MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz, 2394.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,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF
cpu1: 3MB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 3 (PCIE)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 11 (RP01)
acpiprt3 at acpi0: bus 12 (RP02)
acpiprt4 at acpi0: bus 13 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus 0 (PCI0)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature is 107 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model DELL FU27481 serial 65534 type LION oem Sanyo
acpibat1 at acpi0: BAT1 not present
acpivideo0 at acpi0: VID_
acpivideo1 at acpi0: VID_
acpivout0 at acpivideo1: LCD_
acpivideo2 at acpi0: VID2
cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2535, 2534, 1600, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1440x900
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 Intel GM45 PT IDER rev 0x07: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using apic 2 int 18 for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
puc0 at pci0 dev 3 function 3 Intel GM45 KT rev 0x07: ports: 1 com
com4 at puc0 port 0 apic 2 int 17: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: msi, address 
00:26:b9:97:c6:58
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2 int 20
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2 int 21
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2 int 22
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2 int 22
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: msi
azalia0: codecs: IDT 92HD71B7, Intel/0x2802, using IDT 92HD71B7
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: msi
pci1 at ppb0 bus 11
ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: msi
pci2 at ppb1 bus 12
iwn0 at pci2 dev 0 function 0 Intel WiFi Link 5300 rev 0x00: msi, MIMO 3T3R, 
MoW, address 00:21:6a:9c:53:36
ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: msi
pci3 at ppb2 bus 13
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2 int 20
uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 2 int 21
uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 2 int 22
ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 2 int 20
usb1 at ehci1: USB revision 2.0

Re: GM45 gpu hung error

2013-11-17 Thread Alexey Suslikov
On Sat, Nov 16, 2013 at 5:03 PM, Claudio claudiozu...@gmail.com wrote:
 Unfortunately today I was able to reproduce the issue by simply going to 
 youtube with chromium and browsing around (not even reproducing any video)

To find exact problematic code path, have you considered using
google octane or other browser testing/bencmarking suite?

3D/WebGL benchmarking if you thinking of 3D related issue.


 dmesg:

 OpenBSD 5.4-current (GENERIC.MP) #150: Thu Nov 14 00:30:57 MST 2013
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 4166717440 (3973MB)
 avail mem = 4047663104 (3860MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (80 entries)
 bios0: vendor LENOVO version 7UET94WW (3.24 ) date 10/17/2012
 bios0: LENOVO 2768HJ2
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA 
 DMAR SSDT SSDT SSDT
 acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
 EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) 
 EHC1(S3) HDEF(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpiec0 at acpi0
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Core(TM)2 Duo CPU P9500 @ 2.53GHz, 2527.39 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,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF
 cpu0: 6MB 64b/line 16-way L2 cache
 cpu0: smt 0, core 0, package 0
 cpu0: apic clock running at 266MHz
 cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM)2 Duo CPU P9500 @ 2.53GHz, 2527.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,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF
 cpu1: 6MB 64b/line 16-way L2 cache
 cpu1: smt 0, core 1, package 0
 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 2, remapped to apid 1
 acpimcfg0 at acpi0 addr 0xe000, bus 0-63
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (AGP_)
 acpiprt2 at acpi0: bus 2 (EXP0)
 acpiprt3 at acpi0: bus 3 (EXP1)
 acpiprt4 at acpi0: bus -1 (EXP2)
 acpiprt5 at acpi0: bus 5 (EXP3)
 acpiprt6 at acpi0: bus 13 (EXP4)
 acpiprt7 at acpi0: bus 21 (PCI1)
 acpicpu0 at acpi0: C3, C2, C1, PSS
 acpicpu1 at acpi0: C3, C2, C1, PSS
 acpipwrres0 at acpi0: PUBS: resource for USB0, USB3, USB5, EHC0, EHC1
 acpitz0 at acpi0: critical temperature is 127 degC
 acpitz1 at acpi0: critical temperature is 100 degC
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibat0 at acpi0: BAT0 model 92P1137 serial25 type LION oem SANYO
 acpibat1 at acpi0: BAT1 not present
 acpiac0 at acpi0: AC unit online
 acpithinkpad0 at acpi0
 acpidock0 at acpi0: GDCK not docked (0)
 cpu0: Enhanced SpeedStep 2527 MHz: speeds: 2534, 2533, 1600, 800 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xd000, size 0x1000
 inteldrm0 at vga1
 drm0 at inteldrm0
 inteldrm0: 1440x900
 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
 wsdisplay0: screen 1-5 added (std, vt100 emulation)
 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
 Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured
 puc0 at pci0 dev 3 function 3 Intel GM45 KT rev 0x07: ports: 1 com
 com4 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo
 com4: probed fifo depth: 15 bytes
 em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: msi, address 
 00:22:68:12:2d:ef
 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 1 int 20
 uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 1 int 21
 uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 1 int 22
 ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 1 int 23
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: msi
 azalia0: codecs: Conexant CX20561, Conexant/0x2c06, using Conexant CX20561
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: msi
 pci1 at ppb0 bus 2
 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: msi
 pci2 at ppb1 bus 3
 iwn0 at pci2 dev 0 function 0 Intel WiFi Link 5300 rev 0x00: msi, MIMO 
 3T3R, MoW, address 00:21:6a:63:9e:ca
 ppb2 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: msi
 pci3 at ppb2 bus 5
 ppb3 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: msi
 pci4 at ppb3 bus 13
 uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 1 int 16
 

Re: GM45 gpu hung error

2013-11-13 Thread janis

Hello dear OpenBSD people,

does anyone of the developers have time to look at this issue? It is the 
same problem I reported here: 
http://marc.info/?l=openbsd-bugsm=137388801502300w=2 but unfortunately 
it was not fixed.


After Mesa 9.x it got worse, now additionaly there are visual artifacts 
in mplayer -vo gl,
in Firefox images are corrupted, in chromium everything (scroll bars, 
images) becomes corrupted, openarena now runs, but, for example, 
neverball does not. GL output in mplayer has become much slower, the 
computer is not able to play 1080p videos in native resolution anymore. 
All of this is very sad.


I waited for 5.4 to be released so more people report this. Personally I 
can reproduce this on 2 computers with GM45 as I reported earlier.




Re: GM45 gpu hung error

2013-11-13 Thread Peter Hessler
Please try a most recent snapshot.  There have been massive fixes added
since 5.4, and some especially important fixes added very recently.


On 2013 Nov 13 (Wed) at 10:51:45 +0200 (+0200), ja...@cieti.lv wrote:
:Hello dear OpenBSD people,
:
:does anyone of the developers have time to look at this issue? It is
:the same problem I reported here:
:http://marc.info/?l=openbsd-bugsm=137388801502300w=2 but
:unfortunately it was not fixed.
:
:After Mesa 9.x it got worse, now additionaly there are visual
:artifacts in mplayer -vo gl,
:in Firefox images are corrupted, in chromium everything (scroll bars,
:images) becomes corrupted, openarena now runs, but, for example,
:neverball does not. GL output in mplayer has become much slower, the
:computer is not able to play 1080p videos in native resolution
:anymore. All of this is very sad.
:
:I waited for 5.4 to be released so more people report this.
:Personally I can reproduce this on 2 computers with GM45 as I
:reported earlier.
:

-- 
All syllogisms have three parts; therefore this is not a syllogism.



Re: GM45 gpu hung error

2013-11-13 Thread janis

Please try a most recent snapshot.  There have been massive fixes added
since 5.4, and some especially important fixes added very recently.


On 2013 Nov 13 (Wed) at 10:51:45 +0200 (+0200), ja...@cieti.lv wrote:
:Hello dear OpenBSD people,
:
:does anyone of the developers have time to look at this issue? It is
:the same problem I reported here:
:http://marc.info/?l=openbsd-bugsm=137388801502300w=2 but
:unfortunately it was not fixed.
:
:After Mesa 9.x it got worse, now additionaly there are visual
:artifacts in mplayer -vo gl,
:in Firefox images are corrupted, in chromium everything (scroll bars,
:images) becomes corrupted, openarena now runs, but, for example,
:neverball does not. GL output in mplayer has become much slower, the
:computer is not able to play 1080p videos in native resolution
:anymore. All of this is very sad.
:
:I waited for 5.4 to be released so more people report this.
:Personally I can reproduce this on 2 computers with GM45 as I
:reported earlier.
:
I am talking about recent snapshot. I use -current from 7/30/13 and I 
try out snapshots often to see if the problem is gone but it is not. It 
got worse. I have seen brutal turn-offs while booting too. It is a very 
old issue, I suspect it came up after 
http://freshbsd.org/commit/openbsd/304417ea27d0874895cc4e65c30324b7bd14ac22 but I cannot test it, because noone could explain to me how to build a source from that date as you can see it this thread: http://marc.info/?l=openbsd-bugsm=137388801502300w=2




Re: GM45 gpu hung error

2013-11-13 Thread Peter Hessler
On 2013 Nov 13 (Wed) at 12:33:00 +0200 (+0200), ja...@cieti.lv wrote:
:I am talking about recent snapshot. I use -current from 7/30/13 and I

Recent as in the last 4 days.  The recent fixes are *very* *very*
recent.


-- 
I often quote myself; it adds spice to my conversation.
-- G. B. Shaw



Re: GM45 gpu hung error

2013-11-13 Thread janis

:I am talking about recent snapshot. I use -current from 7/30/13 and I

Recent as in the last 4 days.  The recent fixes are *very* *very*
recent.
OK, thanks for now. I'll test it and report the results as soon as I get 
to my notebook.




Re: GM45 gpu hung error

2013-11-13 Thread Tomas Bodzar
On Wed, Nov 13, 2013 at 11:47 AM, ja...@cieti.lv wrote:

 :I am talking about recent snapshot. I use -current from 7/30/13 and I

 Recent as in the last 4 days.  The recent fixes are *very* *very*
 recent.

 OK, thanks for now. I'll test it and report the results as soon as I get
 to my notebook.



Because eg. Claudio has snapshot from 10.11.2013, but here are visible at
least two patches for Intel DRM from 11.11.2013 related to hangs and locks
of GPU http://marc.info/?l=openbsd-cvsw=2r=1s=drmq=b , as well Mesa
9.2.2 imported 9.11.2013 (but that's supposed to be in 10.10.2013 snapshot)



Re: GM45 gpu hung error

2013-11-13 Thread janis

On Wed, Nov 13, 2013 at 11:47 AM, ja...@cieti.lv wrote:


:I am talking about recent snapshot. I use -current from 7/30/13
and I

Recent as in the last 4 days.  The recent fixes are *very*
*very*
recent.

OK, thanks for now. I'll test it and report the results as soon as
I get to my notebook.


Because eg. Claudio has snapshot from 10.11.2013, but here are visible
at least two patches for Intel DRM from 11.11.2013 related to hangs
and locks of GPU http://marc.info/?l=openbsd-cvsw=2r=1s=drmq=b [1]
, as well Mesa 9.2.2 imported 9.11.2013 (but that's supposed to be in
10.10.2013 snapshot)

Aren't those fixes related to Haswell? I watch CVS commits closely to 
see if anything goes in that looks like a fix. Jonathan Gray once said 
that there may be fixes in newer versions of xf86-video-intel, but some 
gcc extension is required that OpenBSD does not have.




Re: GM45 gpu hung error

2013-11-13 Thread Tomas Bodzar
On Wed, Nov 13, 2013 at 12:07 PM, ja...@cieti.lv wrote:

 On Wed, Nov 13, 2013 at 11:47 AM, ja...@cieti.lv wrote:

  :I am talking about recent snapshot. I use -current from 7/30/13
 and I

 Recent as in the last 4 days.  The recent fixes are *very*
 *very*
 recent.

 OK, thanks for now. I'll test it and report the results as soon as
 I get to my notebook.


 Because eg. Claudio has snapshot from 10.11.2013, but here are visible
 at least two patches for Intel DRM from 11.11.2013 related to hangs
 and locks of GPU http://marc.info/?l=openbsd-cvsw=2r=1s=drmq=b [1]

 , as well Mesa 9.2.2 imported 9.11.2013 (but that's supposed to be in
 10.10.2013 snapshot)

  Aren't those fixes related to Haswell? I watch CVS commits closely to
 see if anything goes in that looks like a fix. Jonathan Gray once said that
 there may be fixes in newer versions of xf86-video-intel, but some gcc
 extension is required that OpenBSD does not have.


Right, my fault. Missed complete path in output. Those are for Haswell



Re: GM45 gpu hung error

2013-11-13 Thread Alexey E. Suslikov
Tomas Bodzar tomas.bodzar at gmail.com writes:

 Right, my fault. Missed complete path in output. Those are for Haswell

Looking at mentioned commits, at least cursor update diffs aren't
strictly Haswell related. So Mesa update.



Re: GM45 gpu hung error

2013-11-13 Thread Alexey Suslikov
On Wed, Nov 13, 2013 at 2:30 PM, Claudio claudiozu...@gmail.com wrote:
 On Wed, Nov 13, 2013 at 12:12:47PM +, Alexey E. Suslikov wrote:
 Tomas Bodzar tomas.bodzar at gmail.com writes:

  Right, my fault. Missed complete path in output. Those are for Haswell

 Looking at mentioned commits, at least cursor update diffs aren't
 strictly Haswell related. So Mesa update.

 I've tried with the latst snapshot but there are still issues:

 dmesg:

 OpenBSD 5.4-current (GENERIC) #126: Tue Nov 12 16:30:10 MST 2013
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
 real mem = 4166717440 (3973MB)
 avail mem = 4047704064 (3860MB)

snip

 cpu0: Enhanced SpeedStep 798 MHz: speeds: 2534, 2533, 1600, 800 MHz

(maybe) not related to GPU hangs, but having CPU run at 798 MHz is strange.

have you tried to put

hw.setperf=100

to /etc/sysctl.conf

?



Re: GM45 gpu hung error

2013-11-13 Thread Claudio
On Wed, Nov 13, 2013 at 03:06:08PM +0200, Alexey Suslikov wrote:
 On Wed, Nov 13, 2013 at 2:30 PM, Claudio claudiozu...@gmail.com wrote:
  On Wed, Nov 13, 2013 at 12:12:47PM +, Alexey E. Suslikov wrote:
  Tomas Bodzar tomas.bodzar at gmail.com writes:
 
   Right, my fault. Missed complete path in output. Those are for Haswell
 
  Looking at mentioned commits, at least cursor update diffs aren't
  strictly Haswell related. So Mesa update.
 
  I've tried with the latst snapshot but there are still issues:
 
  dmesg:
 
  OpenBSD 5.4-current (GENERIC) #126: Tue Nov 12 16:30:10 MST 2013
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
  real mem = 4166717440 (3973MB)
  avail mem = 4047704064 (3860MB)
 
 snip
 
  cpu0: Enhanced SpeedStep 798 MHz: speeds: 2534, 2533, 1600, 800 MHz
 
 (maybe) not related to GPU hangs, but having CPU run at 798 MHz is strange.
 
 have you tried to put
 
 hw.setperf=100
 
 to /etc/sysctl.conf
 
 ?

I've tried but there was no change, the reason it was running that low I think 
was apmd. 



Re: GM45 gpu hung error

2013-11-13 Thread Alexey Suslikov
On Wed, Nov 13, 2013 at 3:18 PM, Claudio claudiozu...@gmail.com wrote:
 On Wed, Nov 13, 2013 at 03:06:08PM +0200, Alexey Suslikov wrote:
 On Wed, Nov 13, 2013 at 2:30 PM, Claudio claudiozu...@gmail.com wrote:
  On Wed, Nov 13, 2013 at 12:12:47PM +, Alexey E. Suslikov wrote:
  Tomas Bodzar tomas.bodzar at gmail.com writes:
 
   Right, my fault. Missed complete path in output. Those are for Haswell
 
  Looking at mentioned commits, at least cursor update diffs aren't
  strictly Haswell related. So Mesa update.
 
  I've tried with the latst snapshot but there are still issues:
 
  dmesg:
 
  OpenBSD 5.4-current (GENERIC) #126: Tue Nov 12 16:30:10 MST 2013
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
  real mem = 4166717440 (3973MB)
  avail mem = 4047704064 (3860MB)

 snip

  cpu0: Enhanced SpeedStep 798 MHz: speeds: 2534, 2533, 1600, 800 MHz

 (maybe) not related to GPU hangs, but having CPU run at 798 MHz is strange.

 have you tried to put

 hw.setperf=100

 to /etc/sysctl.conf

 ?

 I've tried but there was no change, the reason it was running that low I 
 think was apmd.

I think you should disable apmd, cold boot and retest.



Re: GM45 gpu hung error

2013-11-13 Thread Claudio
On Wed, Nov 13, 2013 at 03:20:58PM +0200, Alexey Suslikov wrote:
 On Wed, Nov 13, 2013 at 3:18 PM, Claudio claudiozu...@gmail.com wrote:
  On Wed, Nov 13, 2013 at 03:06:08PM +0200, Alexey Suslikov wrote:
  On Wed, Nov 13, 2013 at 2:30 PM, Claudio claudiozu...@gmail.com wrote:
   On Wed, Nov 13, 2013 at 12:12:47PM +, Alexey E. Suslikov wrote:
   Tomas Bodzar tomas.bodzar at gmail.com writes:
  
Right, my fault. Missed complete path in output. Those are for Haswell
  
   Looking at mentioned commits, at least cursor update diffs aren't
   strictly Haswell related. So Mesa update.
  
   I've tried with the latst snapshot but there are still issues:
  
   dmesg:
  
   OpenBSD 5.4-current (GENERIC) #126: Tue Nov 12 16:30:10 MST 2013
   dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
   real mem = 4166717440 (3973MB)
   avail mem = 4047704064 (3860MB)
 
  snip
 
   cpu0: Enhanced SpeedStep 798 MHz: speeds: 2534, 2533, 1600, 800 MHz
 
  (maybe) not related to GPU hangs, but having CPU run at 798 MHz is strange.
 
  have you tried to put
 
  hw.setperf=100
 
  to /etc/sysctl.conf
 
  ?
 
  I've tried but there was no change, the reason it was running that low I 
  think was apmd.
 
 I think you should disable apmd, cold boot and retest.

Still no luck and the cpu still seems to run at a super low frequency?

dmesg:

OpenBSD 5.4-current (GENERIC) #126: Tue Nov 12 16:30:10 MST 2013
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 4166717440 (3973MB)
avail mem = 4047704064 (3860MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (74 entries)
bios0: vendor LENOVO version 7UET66WW (2.16 ) date 04/22/2009
bios0: LENOVO 2768HJ2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA DMAR 
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) 
EHC1(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P9500 @ 2.53GHz, 798.14 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,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF
cpu0: 6MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 266MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiprt6 at acpi0: bus 13 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS: resource for USB0, USB3, USB5, EHC0, EHC1
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 92P1137 serial25 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 798 MHz: speeds: 2534, 2533, 1600, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1440x900
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 Intel GM45 PT IDER rev 0x07: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using apic 1 int 18 for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
puc0 at pci0 dev 3 function 3 Intel GM45 KT rev 0x07: ports: 1 com
com4 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo
com4: probed fifo depth: 15 bytes
em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: msi, address 
00:22:68:12:2d:ef
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 1 int 21
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 1 int 22
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at 

Re: GM45 gpu hung error

2013-11-13 Thread Alexey Suslikov
On Wed, Nov 13, 2013 at 4:18 PM, Claudio claudiozu...@gmail.com wrote:
 After updating the bios and setting setperf I can no longer reproduce the 
 issue :), I'll try enabling apmd again later and check how it runs.

 (On an unrelated note Firefox uses incredibly high amounts of cpu compared to 
 chromium and is very sluggish, I thought it was because of the low frequency 
 but it still does.)

Unless you run firewall on this box, why not GENERIC.MP? P9500 is dual core.



Re: GM45 gpu hung error

2013-11-13 Thread Theo de Raadt
 On Wed, Nov 13, 2013 at 11:47 AM, ja...@cieti.lv wrote:
 
  :I am talking about recent snapshot. I use -current from 7/30/13 and I
 
  Recent as in the last 4 days.  The recent fixes are *very* *very*
  recent.
 
  OK, thanks for now. I'll test it and report the results as soon as I get
  to my notebook.
 
 
 
 Because eg. Claudio has snapshot from 10.11.2013, but here are visible at
 least two patches for Intel DRM from 11.11.2013 related to hangs and locks
 of GPU http://marc.info/?l=openbsd-cvsw=2r=1s=drmq=b , as well Mesa
 9.2.2 imported 9.11.2013 (but that's supposed to be in 10.10.2013 snapshot)

And until 9 hours ago, that code was not built into a snapshot.



Re: GM45 gpu hung error

2013-11-13 Thread Alexey E. Suslikov
 janis at cieti.lv writes:

 
 Hello dear OpenBSD people,
 
 does anyone of the developers have time to look at this issue? It is the 
 same problem I reported here: 
 http://marc.info/?l=openbsd-bugsm=137388801502300w=2 but unfortunately 

bios0: vendor Dell Inc. version A24 date 12/06/2011
bios0: Dell Inc. Latitude E4300

This model has Latitude E4300 System BIOS A26 available.



Re: GM45 gpu hung error

2013-11-13 Thread Alexey Suslikov
On Wed, Nov 13, 2013 at 4:54 PM, Tomas Bodzar tomas.bod...@gmail.com wrote:
 Yeah, however Firefox is running pretty badly after introduction of KMS on
 my Dell E6320 (tried like 3 weeks ago or so), Chromium was simply just
 crashing all the time.

could you provide dmesg with most recent -current?



Re: GM45 gpu hung error

2013-11-13 Thread Fred

On 11/13/13 14:54, Tomas Bodzar wrote:

my Dell E6320 (tried like 3 weeks ago or so), Chromium was simply just
crashing all the time.



A fix for chromium went in to ports around the 4 November:

http://marc.info/?l=openbsd-portsm=138353073228230

port:fred ~ chrome --version
Chromium 30.0.1599.101

solved the crashing issues I was having with chrome.

hth

Fred



Re: GM45 gpu hung error

2013-11-13 Thread janis

bios0: vendor Dell Inc. version A24 date 12/06/2011
bios0: Dell Inc. Latitude E4300



This model has Latitude E4300 System BIOS A26 available.


I have updated the BIOS already to A26. The story is that everything was 
great after KMS was introduced, but then at some point a diff was 
reduced to Linux or something else, which caused aforementioned 
problems.


Just installed a fresh snapshot -- didn't work. Rebuilt kernel from 
source -- nothing improves. Here is a fresh dmesg:


OpenBSD 5.4-current (GENERIC.MP) #0: Wed Nov 13 20:06:09 EET 2013
ja...@test.apollo.lv:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8523141120 (8128MB)
avail mem = 8288120832 (7904MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf64f0 (54 entries)
bios0: vendor Dell Inc. version A26 date 06/04/2013
bios0: Dell Inc. Latitude E4300
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET DMAR APIC ASF! MCFG TCPA SLIC BOOT SSDT
acpi0: wakeup devices PCI0(S4) PCIE(S4) USB1(S0) USB2(S0) USB3(S0) 
USB4(S0) USB5(S0) USB6(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S4) RP02(S4) 
RP03(S3) RP04(S3) RP05(S3) [...]

acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P9400 @ 2.40GHz, 2394.40 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,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF

cpu0: 6MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 265MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P9400 @ 2.40GHz, 2394.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,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF

cpu1: 6MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 2 (PCIE)
acpiprt1 at acpi0: bus 11 (RP01)
acpiprt2 at acpi0: bus 12 (RP02)
acpiprt3 at acpi0: bus -1 (RP03)
acpiprt4 at acpi0: bus 13 (RP04)
acpiprt5 at acpi0: bus -1 (RP05)
acpiprt6 at acpi0: bus -1 (RP06)
acpiprt7 at acpi0: bus 0 (PCI0)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature is 107 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model DELL KG87596 serial 5951 type LION oem 
Samsung SDI

acpibat1 at acpi0: BAT1 not present
acpivideo0 at acpi0: VID_
acpivout0 at acpivideo0: LCD_
acpivideo1 at acpi0: VID2
cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1024x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: msi, 
address 00:21:70:e6:04:f3
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2 int 
20
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2 int 
21
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2 int 
22
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2 int 
22

usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: msi
azalia0: codecs: IDT 92HD71B7, Intel/0x2802, using IDT 92HD71B7
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: msi
pci1 at ppb0 bus 11
ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: msi
pci2 at ppb1 bus 12
iwn0 at pci2 dev 0 function 0 Intel WiFi Link 5100 rev 0x00: msi, MIMO 
1T2R, MoW, address 00:22:fb:0e:8b:c4

ppb2 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: msi
pci3 at ppb2 bus 13
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2 int 
20
uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 2 int 
21
uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 2 int 
22
ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 2 int 
20

usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x93
pci4 at ppb3 bus 2
Ricoh 5C832 Firewire rev 0x05 at 

Re: GM45 gpu hung error

2013-11-13 Thread Theo de Raadt
 I have updated the BIOS already to A26. The story is that everything was 
 great after KMS was introduced, but then at some point a diff was 
 reduced to Linux or something else, which caused aforementioned 
 problems.

Awesome!  So since you know it was a diff, can you isolate it specifically?

That's the process.

Thanks.



Re: GM45 gpu hung error

2013-11-13 Thread janis

On 13.11.2013 20:24, Theo de Raadt wrote:
I have updated the BIOS already to A26. The story is that everything 
was

great after KMS was introduced, but then at some point a diff was
reduced to Linux or something else, which caused aforementioned
problems.


Awesome!  So since you know it was a diff, can you isolate it 
specifically?


That's the process.

Thanks.
Sure. Please teach me how to get the source from a specific date to 
build and I'm on it. Last time I tried, it did not work. See here: 
http://marc.info/?l=openbsd-bugsm=137447697607912w=2


What am I doing wrong?



Re: GM45 gpu hung error

2013-11-13 Thread Alexey E. Suslikov
janis at cieti.lv writes:

  bios0: vendor Dell Inc. version A24 date 12/06/2011
  bios0: Dell Inc. Latitude E4300
 
  This model has Latitude E4300 System BIOS A26 available.
 
 I have updated the BIOS already to A26. The story is that everything was 
 great after KMS was introduced, but then at some point a diff was 
 reduced to Linux or something else, which caused aforementioned 
 problems.

there are not *too* much drm related diffs with reduce+linux
in commit message. I've found about 10.

if you experience above mentioned ... hung message, I think,
you could start by reverting

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/drm/i915/i915_irq.c.diff?r1=1.3;r2=1.4;f=h



Re: GM45 gpu hung error

2013-11-13 Thread Ville Valkonen
On 13 November 2013 20:31,  ja...@cieti.lv wrote:
 On 13.11.2013 20:24, Theo de Raadt wrote:

 I have updated the BIOS already to A26. The story is that everything was
 great after KMS was introduced, but then at some point a diff was
 reduced to Linux or something else, which caused aforementioned
 problems.


 Awesome!  So since you know it was a diff, can you isolate it
 specifically?

 That's the process.

 Thanks.

 Sure. Please teach me how to get the source from a specific date to build
 and I'm on it. Last time I tried, it did not work. See here:
 http://marc.info/?l=openbsd-bugsm=137447697607912w=2

 What am I doing wrong?

Hello,

ahem.. you are not revealing all the needed information Tried to
compile, but got an error. Please specify all the commands you used
in compiling, thanks. Wild guess, you forgot to make depend?

--
Regards,
Ville Valkonen



Re: GM45 gpu hung error

2013-11-13 Thread janis

On 13 November 2013 20:31,  ja...@cieti.lv wrote:

On 13.11.2013 20:24, Theo de Raadt wrote:


I have updated the BIOS already to A26. The story is that everything 
was

great after KMS was introduced, but then at some point a diff was
reduced to Linux or something else, which caused aforementioned
problems.



Awesome!  So since you know it was a diff, can you isolate it
specifically?

That's the process.

Thanks.


Sure. Please teach me how to get the source from a specific date to 
build

and I'm on it. Last time I tried, it did not work. See here:
http://marc.info/?l=openbsd-bugsm=137447697607912w=2

What am I doing wrong?


Hello,

ahem.. you are not revealing all the needed information Tried to
compile, but got an error. Please specify all the commands you used
in compiling, thanks. Wild guess, you forgot to make depend?

--
Regards,
Ville Valkonen
Hello, back then I did like this: 
http://marc.info/?l=openbsd-bugsm=137448659410735w=2


When is the make depend needed? I can't see it here: 
http://openbsd.org/faq/faq5.html#Bld




Re: GM45 gpu hung error

2013-11-13 Thread Stefan Sperling
On Wed, Nov 13, 2013 at 09:07:48PM +0200, Ville Valkonen wrote:
 ahem.. you are not revealing all the needed information Tried to
 compile, but got an error. Please specify all the commands you used
 in compiling, thanks. Wild guess, you forgot to make depend?

No he didn't. 'make depend' is the failing build target.

   *** Error 1 in lib (bsd.subdir.mk:48 'depend')
  (from http://marc.info/?l=openbsd-bugsm=137447893908485w=2)

The info is spread across several posts so it takes some time to
hunt it down. Janis later provided the build commands he used:
http://marc.info/?l=openbsd-bugsm=137448659410735w=2

I can reproduce the problem on a 5.3 sparc64 system.
Janis, if you'd like, contact me off-list, and I'll try to
help you with the bisection process.



Re: GM45 gpu hung error

2013-11-13 Thread Stefan Sperling
On Wed, Nov 13, 2013 at 08:28:14PM +0100, Stefan Sperling wrote:
 On Wed, Nov 13, 2013 at 09:07:48PM +0200, Ville Valkonen wrote:
  ahem.. you are not revealing all the needed information Tried to
  compile, but got an error. Please specify all the commands you used
  in compiling, thanks. Wild guess, you forgot to make depend?
 
 No he didn't. 'make depend' is the failing build target.
 
*** Error 1 in lib (bsd.subdir.mk:48 'depend')
   (from http://marc.info/?l=openbsd-bugsm=137447893908485w=2)
 
 The info is spread across several posts so it takes some time to
 hunt it down. Janis later provided the build commands he used:
 http://marc.info/?l=openbsd-bugsm=137448659410735w=2
 
 I can reproduce the problem on a 5.3 sparc64 system.
 Janis, if you'd like, contact me off-list, and I'll try to
 help you with the bisection process.

The problem is caused by CVS.

A date-based checkout gets wrong file versions in kerberosV.
See the diff between a tag-based and a date-based checkout below.
This is probably due to of bugs^Wfeatures in CVS's vendor branch handling.

Janis, this will fix it:

  cd /usr/src/kerberosV
  make clean
  cvs -R up -rOPENBSD_5_3 -dP
  make obj
  make depend


--- kerberosV-5.3-base/src/lib/hdb/libasn1.hWed Feb  6 09:55:12 2002
+++ kerberosV-2013-06-05/src/lib/hdb/libasn1.h  Fri May 25 09:50:17 2001
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997 - 2001 Kungliga Tekniska HF6gskolan
+ * Copyright (c) 1997 Kungliga Tekniska HF6gskolan
  * (Royal Institute of Technology, Stockholm, Sweden). 
  * All rights reserved. 
  *
@@ -31,7 +31,7 @@
  * SUCH DAMAGE. 
  */
 
-/* $KTH: libasn1.h,v 1.7 2001/06/23 23:18:50 assar Exp $ */
+/* $KTH: libasn1.h,v 1.4 1999/12/02 17:05:05 joda Exp $ */
 
 #ifndef __LIBASN1_H__
 #define __LIBASN1_H__
@@ -41,9 +41,8 @@
 #endif
 
 #include stdlib.h
-#include string.h
 #include errno.h
-#include krb5_asn1.h
+#include asn1.h
 #include der.h
 #include hdb_asn1.h
 #include asn1_err.h



GM45 gpu hung error

2013-11-12 Thread Claudio
Hello,

I'm running the latest snapshot on a thinkpad T400 witha an intel GM45 intel 
video card.

After some use I get errors in dmesg and sometimes it glxinfo reports switching 
to sw rendering, it can always be triggered simply by trying to use youtube in 
chromium.

Even when glxinfo reports still using the hw renderer the performance is 
severely degraded. 

Here's my dmesg: 

OpenBSD 5.4-current (GENERIC) #124: Sun Nov 10 22:49:21 MST 2013
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 4166717440 (3973MB)
avail mem = 4047708160 (3860MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (74 entries)
bios0: vendor LENOVO version 7UET66WW (2.16 ) date 04/22/2009
bios0: LENOVO 2768HJ2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT TCPA DMAR 
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) 
EHC1(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P9500 @ 2.53GHz, 2527.34 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,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF
cpu0: 6MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: apic clock running at 265MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiprt6 at acpi0: bus 13 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS: resource for USB0, USB3, USB5, EHC0, EHC1
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 92P1137 serial25 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 2527 MHz: speeds: 2534, 2533, 1600, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1440x900
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured
pciide0 at pci0 dev 3 function 2 Intel GM45 PT IDER rev 0x07: DMA 
(unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using apic 1 int 18 for native-PCI interrupt
pciide0: channel 0 ignored (not responding; disabled or no drives?)
pciide0: channel 1 ignored (not responding; disabled or no drives?)
puc0 at pci0 dev 3 function 3 Intel GM45 KT rev 0x07: ports: 1 com
com4 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo
com4: probed fifo depth: 15 bytes
em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: msi, address 
00:22:68:12:2d:ef
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 1 int 21
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 1 int 22
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: msi
azalia0: codecs: Conexant CX20561, Conexant/0x2c06, using Conexant CX20561
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 Intel WiFi Link 5300 rev 0x00: msi, MIMO 3T3R, 
MoW, address 00:21:6a:63:9e:ca
ppb2 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: msi
pci3 at ppb2 bus 5
ppb3 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x03: msi
pci4 at ppb3 bus 13
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 1 int 16
uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x03: apic 1 int 17
uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x03: apic 1 int 18
ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x03: apic 1 int 19
usb1 at ehci1: USB revision 2.0