Re: mplayer restarting openbsd

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: mplayer restarting openbsd

frantisek holop
hmm, on Mon, Nov 30, 2009 at 08:12:49PM +0000, Jacob Meuser said that
> you should have done this right away, before you sent any emails
> that wasted anyone's time.  you have a problem with weeks old -current,
> the first thing to do always is see if it still happens in real -current.

yes, hello.  i am back.  i am sorry i am not always on the latest
snapshot but in this case there were some other reasons as well.
for example, we are just past a hackaton...  i wanted to wait
a bit for the "dust to settle".

also, on this baby it's not 5 minutes to run an upgrade,
but more like an 1.5h...

but enough of the excuses.  i have upgraded to the latest
snapshot.  when trying to watch a certain movie downloaded
by yt (http://www.youtube.com/watch?v=0QRO3gKj3qw)
mplayer kills the X server, sometimes also resulting in
crash and/or restarting the whole system.

please find the dmesg and X.org.log attached.
i am also cc'ing [hidden email]

i am open to any suggestions as to what to report, what to try.
i am out of ideas.


OpenBSD 4.6-current (GENERIC) #436: Sat Nov 28 18:50:43 MST 2009
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 900MHz ("GenuineIntel" 686-class) 631 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
real mem  = 527527936 (503MB)
avail mem = 502505472 (479MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/16/08, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.5 @ 0xf06e0 (37 entries)
bios0: vendor American Megatrends Inc. version "1101" date 05/16/2008
bios0: ASUSTeK Computer INC. 701
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC OEMB MCFG
acpi0: wakeup devices P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) MC97(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EUSB(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 70MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P0P3)
acpiprt2 at acpi0: bus -1 (P0P5)
acpiprt3 at acpi0: bus 1 (P0P6)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 90 degC
acpibat0 at acpi0: BAT0 model "701" serial   type LION oem "ASUS"
acpiac0 at acpi0: AC unit online
acpiasus0 at acpi0
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: CRTD
acpivout1 at acpivideo0: TVOD
acpivout2 at acpivideo0: LCDD
bios0: ROM list: 0xc0000/0xf800!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x04
vga1 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x04
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
"Intel 82915GM Video" rev 0x04 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x04: apic 1 int 16 (irq 11)
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04: apic 1 int 16 (irq 11)
pci1 at ppb0 bus 3
ppb1 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x04: apic 1 int 18 (irq 10)
pci2 at ppb1 bus 1
iwn0 at pci2 dev 0 function 0 "Intel Wireless WiFi Link 4965" rev 0x61: apic 1 int 18 (irq 10), MIMO 2T3R, MoW2, address 00:21:5c:04:9e:19
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: apic 1 int 23 (irq 5)
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: apic 1 int 19 (irq 3)
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: apic 1 int 18 (irq 10)
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: apic 1 int 16 (irq 11)
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: apic 1 int 23 (irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd4
pci3 at ppb2 bus 4
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x04: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 1 drive 0: <SILICONMOTION SM223AC>
wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x04: apic 1 int 19 (irq 0)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b



(--) checkDevMem: using aperture driver /dev/xf86
(--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32)

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 4.6 i386
Current Operating System: OpenBSD amaaq 4.6 GENERIC#436 i386
Build Date: 29 November 2009  01:02:09AM
 
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec  1 01:44:16 2009
(II) Loader magic: 0x1dc0
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 5.0
        X.Org XInput driver : 4.0
        X.Org Server Extension : 2.0
(II) Loader running on openbsd
(--) PCI:*(0:0:2:0) 8086:2592:1043:82d9 Intel 82915GM Video rev 4, Mem @ 0xf7f00000/524288, 0xd0000000/268435456, 0xf7ec0000/262144, I/O @ 0x0000ec00/8
(--) PCI: (0:0:2:1) 8086:2792:1043:82d9 Intel 82915GM Video rev 4, Mem @ 0xf7f80000/524288
(==) Using default built-in configuration (21 lines)
(==) --- Start of built-in configuration ---
        Section "Device"
                Identifier "Builtin Default intel Device 0"
                Driver "intel"
        EndSection
        Section "Screen"
                Identifier "Builtin Default intel Screen 0"
                Device "Builtin Default intel Device 0"
        EndSection
        Section "Device"
                Identifier "Builtin Default vesa Device 0"
                Driver "vesa"
        EndSection
        Section "Screen"
                Identifier "Builtin Default vesa Screen 0"
                Device "Builtin Default vesa Device 0"
        EndSection
        Section "ServerLayout"
                Identifier "Builtin Default Layout"
                Screen "Builtin Default intel Screen 0"
                Screen "Builtin Default vesa Screen 0"
        EndSection
(==) --- End of built-in configuration ---
(==) ServerLayout "Builtin Default Layout"
(**) |-->Screen "Builtin Default intel Screen 0" (0)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "Builtin Default intel Device 0"
(==) No monitor specified for screen "Builtin Default intel Screen 0".
        Using a default monitor configuration.
(**) |-->Screen "Builtin Default vesa Screen 0" (1)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "Builtin Default vesa Device 0"
(==) No monitor specified for screen "Builtin Default vesa Screen 0".
        Using a default monitor configuration.
(==) Not automatically adding devices
(==) Not automatically enabling devices
(==) FontPath set to:
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/
(==) ModulePath set to "/usr/X11R6/lib/modules"
(==) |-->Input Device "<default pointer>"
(==) |-->Input Device "<default keyboard>"
(==) The core pointer device wasn't specified explicitly in the layout.
        Using the default mouse configuration.
(==) The core keyboard device wasn't specified explicitly in the layout.
        Using the default keyboard configuration.
(II) System resource ranges:
        [0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
        [1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
        [2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/X11R6/lib/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.1.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "intel"
(II) Loading /usr/X11R6/lib/modules/drivers//intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 2.7.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: "vesa"
(II) Loading /usr/X11R6/lib/modules/drivers//vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 2.2.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.4.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 4.0
(II) LoadModule: "kbd"
(II) Loading /usr/X11R6/lib/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.3.2
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 4.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, IGD_GM, IGD_G, 965G, G35,
        965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        Mobile IntelCE= GM45 Express Chipset,
        Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41
(II) VESA: driver for VESA chipsets: vesa
(II) Primary Device is: PCI 00@00:02:0
(II) resource ranges after xf86ClaimFixedResources() call:
        [0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
        [1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
        [2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(WW) Falling back to old probe method for vesa
(II) resource ranges after probing:
        [0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
        [1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
        [2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [3] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
        [4] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [5] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
        [6] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [7] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
        [8] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
        [9] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 0.1.0
        ABI class: X.Org Video Driver, version 5.0
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) intel(0): Creating default Display subsection in Screen section
        "Builtin Default intel Screen 0" for depth/fbbpp 24/32
(==) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(II) intel(0): Integrated Graphics Chipset: Intel(R) 915GM
(--) intel(0): Chipset: "915GM"
(--) intel(0): Linear framebuffer at 0xD0000000
(--) intel(0): IO registers at addr 0xF7F00000
(WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
(==) intel(0): Using EXA for acceleration
(II) intel(0): 2 display pipes available.
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Module "i2c" already built-in
(II) intel(0): Output VGA has no monitor section
(II) intel(0): Output LVDS has no monitor section
(II) intel(0): I2C bus "LVDSDDC_C" initialized.
(II) intel(0): Attempting to determine panel fixed mode.
(II) intel(0): I2C device "LVDSDDC_C:E-EDID segment register" registered at address 0x60.
(II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0.
(II) intel(0): Output TV has no monitor section
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) intel(0): Resizable framebuffer: not available (1 3)
(II) intel(0): I2C bus "CRTDDC_A" initialized.
(II) intel(0): I2C bus "CRTDDC_A" removed.
(II) intel(0): Output VGA disconnected
(II) intel(0): Output LVDS connected
(II) intel(0): Output TV disconnected
(II) intel(0): Using exact sizes for initial modes
(II) intel(0): Output LVDS using initial mode 800x480
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) intel(0): detected 256 kB GTT.
(II) intel(0): detected 7932 kB stolen memory.
(==) intel(0): video overlay key set to 0x101fe
(==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
(==) intel(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "exa"
(II) LoadModule: "exa"
(II) Loading /usr/X11R6/lib/modules//libexa.so
(II) Module exa: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 2.4.0
        ABI class: X.Org Video Driver, version 5.0
(II) intel(0): Comparing regs from server start up to After PreInit
(WW) intel(0): Register 0x61200 (PP_STATUS) changed from 0xc0000008 to 0xd0000009
(WW) intel(0): PP_STATUS before: on, ready, sequencing idle
(WW) intel(0): PP_STATUS after: on, ready, sequencing on
(WW) intel(0): Register 0x71024 (PIPEBSTAT) changed from 0x00000202 to 0x80000202
(WW) intel(0): PIPEBSTAT before: status: VSYNC_INT_STATUS VBLANK_INT_STATUS
(WW) intel(0): PIPEBSTAT after: status: FIFO_UNDERRUN VSYNC_INT_STATUS VBLANK_INT_STATUS
(WW) intel(0): Register 0x68000 (TV_CTL) changed from 0x10000030 to 0x000c0c30
(WW) intel(0): Register 0x68010 (TV_CSC_Y) changed from 0x00000000 to 0x0332012d
(WW) intel(0): Register 0x68014 (TV_CSC_Y2) changed from 0x00000000 to 0x07d30104
(WW) intel(0): Register 0x68018 (TV_CSC_U) changed from 0x00000000 to 0x0733052d
(WW) intel(0): Register 0x6801c (TV_CSC_U2) changed from 0x00000000 to 0x05c70200
(WW) intel(0): Register 0x68020 (TV_CSC_V) changed from 0x00000000 to 0x0340030c
(WW) intel(0): Register 0x68024 (TV_CSC_V2) changed from 0x00000000 to 0x06d00200
(WW) intel(0): Register 0x6802c (TV_CLR_LEVEL) changed from 0x00000000 to 0x010b00e1
(WW) intel(0): Register 0x68030 (TV_H_CTL_1) changed from 0x00000000 to 0x00400359
(WW) intel(0): Register 0x68034 (TV_H_CTL_2) changed from 0x00000000 to 0x80480022
(WW) intel(0): Register 0x68038 (TV_H_CTL_3) changed from 0x00000000 to 0x007c0344
(WW) intel(0): Register 0x6803c (TV_V_CTL_1) changed from 0x00000000 to 0x00f01415
(WW) intel(0): Register 0x68040 (TV_V_CTL_2) changed from 0x00000000 to 0x00060607
(WW) intel(0): Register 0x68044 (TV_V_CTL_3) changed from 0x00000000 to 0x80120001
(WW) intel(0): Register 0x68048 (TV_V_CTL_4) changed from 0x00000000 to 0x000900f0
(WW) intel(0): Register 0x6804c (TV_V_CTL_5) changed from 0x00000000 to 0x000a00f0
(WW) intel(0): Register 0x68050 (TV_V_CTL_6) changed from 0x00000000 to 0x000900f0
(WW) intel(0): Register 0x68054 (TV_V_CTL_7) changed from 0x00000000 to 0x000a00f0
(WW) intel(0): Register 0x68060 (TV_SC_CTL_1) changed from 0x00000000 to 0xc1710087
(WW) intel(0): Register 0x68064 (TV_SC_CTL_2) changed from 0x00000000 to 0x6b405140
(WW) intel(0): Register 0x68070 (TV_WIN_POS) changed from 0x00000000 to 0x00360024
(WW) intel(0): Register 0x68074 (TV_WIN_SIZE) changed from 0x00000000 to 0x02640198
(WW) intel(0): Register 0x68080 (TV_FILTER_CTL_1) changed from 0x00000000 to 0x80003ffc
(WW) intel(0): Register 0x68084 (TV_FILTER_CTL_2) changed from 0x00000000 to 0x00007fff
(WW) intel(0): Register 0x68088 (TV_FILTER_CTL_3) changed from 0x00000000 to 0x00003fff
(WW) intel(0): Register 0x68100 (TV_H_LUMA_0) changed from 0x00000000 to 0xb1403000
(WW) intel(0): Register 0x681ec (TV_H_LUMA_59) changed from 0x00000000 to 0x0000b060
(WW) intel(0): Register 0x68200 (TV_H_CHROMA_0) changed from 0x00000000 to 0xb1403000
(WW) intel(0): Register 0x682ec (TV_H_CHROMA_59) changed from 0x00000000 to 0x0000b060
(II) UnloadModule: "vesa"
(II) Unloading /usr/X11R6/lib/modules/drivers//vesa_drv.so
(==) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
        [0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
        [1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
        [2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [3] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
        [4] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
        [5] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
        [6] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [7] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
        [8] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
        [9] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(II) intel(0): Kernel reported 112640 total, 0 used
(II) intel(0): I830CheckAvailableMemory: 450560 kB available
(WW) intel(0): DRI2 requires UXA
drmOpenDevice: node name is /dev/drm0
drmOpenDevice: open result is 11, (OK)
drmOpenDevice: node name is /dev/drm0
drmOpenDevice: open result is 11, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/drm0
drmOpenDevice: open result is 11, (OK)
drmOpenByBusid: drmOpenMinor returns 11
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) [drm] DRM interface version 1.2
(II) [drm] DRM open master succeeded.
(II) intel(0): [drm] Using the DRM lock SAREA also for drawables.
(II) intel(0): [drm] framebuffer mapped by ddx driver
(II) intel(0): [drm] added 1 reserved context for kernel
(II) intel(0): X context handle = 0x1
(II) intel(0): [drm] installed DRM signal handler
(**) intel(0): Framebuffer compression enabled
(**) intel(0): Tiling enabled
(==) intel(0): VideoRam: 262144 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(II) intel(0): Tiled allocation successful.
(II) intel(0): [drm] Registers = 0x40002000
(II) intel(0): [drm] ring buffer = 0x40082000
(II) intel(0): [drm] mapped front buffer at 0xd1000000, handle = 0x400a2000
(II) intel(0): [drm] mapped back buffer at 0xd2000000, handle = 0x403c2000
(II) intel(0): [drm] mapped depth buffer at 0xd2400000, handle = 0x407c2000
(II) intel(0): [drm] mapped classic textures at 0xd2800000, handle = 0x40bc2000
(II) intel(0): [drm] Initialized kernel agp heap manager, 33554432
(II) intel(0): [dri] visual configs initialized
(II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) EXA(0): Offscreen pixmap area of 9830400 bytes
(II) EXA(0): Driver registered support for the following operations:
(II)         Solid
(II)         Copy
(II)         Composite (RENDER acceleration)
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(II) intel(0): Initializing HW Cursor
(II) intel(0): [DRI] installation complete
(II) intel(0): xf86BindGARTMemory: bind key 0 at 0x007bf000 (pgoffset 1983)
(II) intel(0): xf86BindGARTMemory: bind key 1 at 0x00e2b000 (pgoffset 3627)
(II) intel(0): xf86BindGARTMemory: bind key 2 at 0x01000000 (pgoffset 4096)
(II) intel(0): xf86BindGARTMemory: bind key 3 at 0x01400000 (pgoffset 5120)
(II) intel(0): xf86BindGARTMemory: bind key 4 at 0x02000000 (pgoffset 8192)
(II) intel(0): xf86BindGARTMemory: bind key 5 at 0x02400000 (pgoffset 9216)
(II) intel(0): xf86BindGARTMemory: bind key 6 at 0x02800000 (pgoffset 10240)
(II) intel(0): Fixed memory allocation layout:
(II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB)
(II) intel(0): 0x00020000-0x0061ffff: compressed frame buffer (6144 kB, 0x000000001f820000 physical
)
(II) intel(0): 0x00620000-0x00620fff: compressed ll buffer (4 kB, 0x000000001fe20000 physical
)
(II) intel(0): 0x00621000-0x0062afff: HW cursors (40 kB, 0x000000001fe21000 physical
)
(II) intel(0): 0x0062b000-0x00e2afff: fake bufmgr (8192 kB)
(II) intel(0): 0x007bf000:            end of stolen memory
(II) intel(0): 0x00e2b000-0x00e2bfff: overlay registers (4 kB, 0x000000000233a000 physical
)
(II) intel(0): 0x01000000-0x013fffff: front buffer (4096 kB) X tiled
(II) intel(0): 0x01400000-0x01d5ffff: exa offscreen (9600 kB)
(II) intel(0): 0x02000000-0x023fffff: back buffer (4096 kB) X tiled
(II) intel(0): 0x02400000-0x027fffff: depth buffer (4096 kB) X tiled
(II) intel(0): 0x02800000-0x047fffff: classic textures (32768 kB)
(II) intel(0): 0x10000000:            end of aperture
(II) intel(0): Selecting standard 18 bit TMDS pixel format.
(II) intel(0): Output configuration:
(II) intel(0):   Pipe A is off
(II) intel(0):   Display plane A is now disabled and connected to pipe A.
(II) intel(0):   Pipe B is on
(II) intel(0):   Display plane B is now enabled and connected to pipe B.
(II) intel(0):   Output VGA is connected to pipe none
(II) intel(0):   Output LVDS is connected to pipe B
(II) intel(0):   Output TV is connected to pipe none
(II) intel(0): [drm] dma control initialized, using IRQ 11
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(II) intel(0): DPMS enabled
(==) intel(0): Intel XvMC decoder disabled
(II) intel(0): Set up textured video
(II) intel(0): Set up overlay video
(II) intel(0): direct rendering: XF86DRI Enabled
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) AIGLX: Screen 0 is not DRI2 capable
drmOpenDevice: node name is /dev/drm0
drmOpenDevice: open result is 12, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/drm0
drmOpenDevice: open result is 12, (OK)
drmOpenByBusid: drmOpenMinor returns 12
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) AIGLX: enabled GLX_SGI_make_current_read
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
(II) AIGLX: enabled GLX_texture_from_pixmap with driver support
(II) AIGLX: Loaded and initialized /usr/X11R6/lib/modules/dri/i915_dri.so
(II) GLX: Initialized DRI GL provider for screen 0
(II) intel(0): Setting screen physical size to 211 x 126
(WW) <default pointer>: No Device specified, looking for one...
(II) <default pointer>: found Device "/dev/wsmouse"
(**) <default pointer>: Protocol: WSMouse
(**) Option "CorePointer"
(**) <default pointer>: always reports core events
(**) Option "Device" "/dev/wsmouse"
(==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
(**) <default pointer>: ZAxisMapping: buttons 4 and 5
(**) <default pointer>: Buttons: 9
(II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE)
(**) <default pointer>: (accel) keeping acceleration scheme 1
(**) <default pointer>: (accel) filter chain progression: 2.00
(**) <default pointer>: (accel) filter stage 0: 20.00 ms
(**) <default pointer>: (accel) set acceleration profile 0
(**) Option "CoreKeyboard"
(**) <default keyboard>: always reports core events
(**) Option "Protocol" "standard"
(**) <default keyboard>: Protocol: standard
(--) <default keyboard>: using wscons layout us
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) <default keyboard>: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) <default keyboard>: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) <default keyboard>: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) <default keyboard>: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "<default keyboard>" (type: KEYBOARD)

Fatal server error:
Caught signal 11.  Server aborting


Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

(II) UnloadModule: "mouse"
(II) UnloadModule: "kbd"
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) intel(0): xf86UnbindGARTMemory: unbind key 0
(II) intel(0): xf86UnbindGARTMemory: unbind key 1
(II) intel(0): xf86UnbindGARTMemory: unbind key 2
(II) intel(0): xf86UnbindGARTMemory: unbind key 3
(II) intel(0): xf86UnbindGARTMemory: unbind key 4
(II) intel(0): xf86UnbindGARTMemory: unbind key 5
(II) intel(0): xf86UnbindGARTMemory: unbind key 6

-f
--
live long and prosper.  -- spock

Reply | Threaded
Open this post in threaded view
|

Re: mplayer restarting openbsd

STeve Andre'
On Monday 30 November 2009 20:01:32 frantisek holop wrote:

> hmm, on Mon, Nov 30, 2009 at 08:12:49PM +0000, Jacob Meuser said that
> > you should have done this right away, before you sent any emails
> > that wasted anyone's time.  you have a problem with weeks old -current,
> > the first thing to do always is see if it still happens in real -current.
>
> yes, hello.  i am back.  i am sorry i am not always on the latest
> snapshot but in this case there were some other reasons as well.
> for example, we are just past a hackaton...  i wanted to wait
> a bit for the "dust to settle".
>
> also, on this baby it's not 5 minutes to run an upgrade,
> but more like an 1.5h...
>
> but enough of the excuses.  i have upgraded to the latest
> snapshot.  when trying to watch a certain movie downloaded
> by yt (http://www.youtube.com/watch?v=0QRO3gKj3qw)
> mplayer kills the X server, sometimes also resulting in
> crash and/or restarting the whole system.

Frantisek,  I think you are having weird hardware problems.
I did what you have done on my -current system (A W500 thinkpad)
and watched the video without incident.

I'd start testing memory, or get other parts to see what that
does.

--STeve Andre'

Reply | Threaded
Open this post in threaded view
|

Re: mplayer restarting openbsd

frantisek holop
hmm, on Mon, Nov 30, 2009 at 09:06:11PM -0500, STeve Andre' said that
> Frantisek,  I think you are having weird hardware problems.
> I did what you have done on my -current system (A W500 thinkpad)
> and watched the video without incident.

yes, this could very well be hw related.  although i think
it is rather systematic for a memory related error, those
problems tend to be more random and a bit more difficult
to reproduce; this is systematic.

the other reason i don't know where to look is simply that
i have used this notebook for almost 2 years now, and there
were no problems like this before.  it is only the last couple
of snapshots, last mplayer update.  it's all too easy to blame
the hw all the time...

-f
--
good words cost no more than bad.

Reply | Threaded
Open this post in threaded view
|

Re: mplayer restarting openbsd

patrick keshishian
On Mon, Nov 30, 2009 at 7:21 PM, frantisek holop <[hidden email]> wrote:

> hmm, on Mon, Nov 30, 2009 at 09:06:11PM -0500, STeve Andre' said that
>> Frantisek,  I think you are having weird hardware problems.
>> I did what you have done on my -current system (A W500 thinkpad)
>> and watched the video without incident.
>
> yes, this could very well be hw related.  although i think
> it is rather systematic for a memory related error, those
> problems tend to be more random and a bit more difficult
> to reproduce; this is systematic.
>
> the other reason i don't know where to look is simply that
> i have used this notebook for almost 2 years now, and there
> were no problems like this before.  it is only the last couple
> of snapshots, last mplayer update.  it's all too easy to blame
> the hw all the time...

if you have an older OpenBSD CD, you can easily verify.

--patrick

Reply | Threaded
Open this post in threaded view
|

Re: mplayer restarting openbsd

frantisek holop
In reply to this post by frantisek holop
hmm, on Tue, Dec 01, 2009 at 04:29:43AM +0000, Jacob Meuser said that
> > the other reason i don't know where to look is simply that
> > i have used this notebook for almost 2 years now, and there
> > were no problems like this before.  it is only the last couple
> > of snapshots, last mplayer update.  it's all too easy to blame
> > the hw all the time...
>
> mplayer has many knobs.  try different video output.  try disabling
> video.  try disabling audio.  maybe malloc.conf could be useful.

i am using the standard sound and video output.
i have a single filter: vf = pp=ac

$ mplayer -nosound # kill X
$ mplayer -vo xv # same
$ mplayer -vo x11 # plays the file
$ mplayer -vo xover # file playing, no video output
$ mplayer -vo gl # file playing, no fullscreen
$ mplayer -vo gl # file playing, no fullscreen, stuttering

but you said it yourself, mplayer has no business
killing X no matter what it does.

when i log back on:

$ pgrep mplayer
14392
5755

here is the trace: obiit.org/f/mplayer.trace.bz2

ps. vlc plays the file

-f
--
enter any 12-digit prime number to continue:

Reply | Threaded
Open this post in threaded view
|

Re: mplayer restarting openbsd

Greg Holloway
>i am using the standard sound and video output.
>i have a single filter: vf = pp=ac

>$ mplayer -nosound # kill X
>$ mplayer -vo xv # same
>$ mplayer -vo x11 # plays the file
>$ mplayer -vo xover # file playing, no video output
>$ mplayer -vo gl # file playing, no fullscreen
>$ mplayer -vo gl # file playing, no fullscreen, stuttering

I had similar problems with mplayer a few years ago.  It turned out to be related to the X driver I was using for video (openchrome).  I'm thinking the same thing might have happened to you, as the -vo xv screws up, but the -vo x11 does not.

Greg

Reply | Threaded
Open this post in threaded view
|

Re: mplayer restarting openbsd

frantisek holop
hmm, on Tue, Dec 01, 2009 at 06:31:34AM -0800, Greg Holloway said that

>
> >i am using the standard sound and video output.
> >i have a single filter: vf = pp=ac
>
> >$ mplayer -nosound # kill X
> >$ mplayer -vo xv # same
> >$ mplayer -vo x11 # plays the file
> >$ mplayer -vo xover # file playing, no video output
> >$ mplayer -vo gl # file playing, no fullscreen
> >$ mplayer -vo gl # file playing, no fullscreen, stuttering
>
> I had similar problems with mplayer a few years ago.  It turned out to
> be related to the X driver I was using for video (openchrome).  I'm
> thinking the same thing might have happened to you, as the -vo xv
> screws up, but the -vo x11 does not.

the intel driver has been my primary suspect from the start.

-f
--
drinking kills brain cells, but just the weak ones...

Reply | Threaded
Open this post in threaded view
|

Re: mplayer restarting openbsd

frantisek holop
hmm, on Mon, Dec 07, 2009 at 06:27:46PM +0000, Owain Ainsworth said that

> On Sun, Dec 06, 2009 at 05:06:25PM +0000, Edd Barrett wrote:
> > On Sun, Dec 06, 2009 at 04:58:00AM +0100, frantisek holop wrote:
> > > > -vo xv:adaptor=0 X crashes
> > > > -vo xv:adaptor=1 plays the movie
> >
> > This is clearly no fault of mplayer at this stage. I suggest you take it up with
> > one of the X11 developers.
>
> or indeed look at the "how the get a trace out of the xserver" section
> of /usr/xenocara/README and send me a backtrace. Obviously there's a bug
> in the xvideo code in the intel driver. With debug symbols, please.
>
> I refuse to do your legwork for you (Frantisek, not edd).

is asking for some pointers so bad these days?
i am trying to report as many useful info as i can.

could you be please more specific about the debug symbols?
does this mean that i have to rebuild all of xenocara
with "env CFLAGS=-g make -f Makefile.bsd-wrapper build"
or is it enough just to rebuild the intel driver and/or
the X server?

-f
--
from the land "down under": do we look <umop apisdn> from up over?

Reply | Threaded
Open this post in threaded view
|

Re: mplayer restarting openbsd

Owain Ainsworth-2
On Tue, Dec 08, 2009 at 03:42:07AM +0100, frantisek holop wrote:

> hmm, on Mon, Dec 07, 2009 at 06:27:46PM +0000, Owain Ainsworth said that
> > On Sun, Dec 06, 2009 at 05:06:25PM +0000, Edd Barrett wrote:
> > > On Sun, Dec 06, 2009 at 04:58:00AM +0100, frantisek holop wrote:
> > > > > -vo xv:adaptor=0 X crashes
> > > > > -vo xv:adaptor=1 plays the movie
> > >
> > > This is clearly no fault of mplayer at this stage. I suggest you take it up with
> > > one of the X11 developers.
> >
> > or indeed look at the "how the get a trace out of the xserver" section
> > of /usr/xenocara/README and send me a backtrace. Obviously there's a bug
> > in the xvideo code in the intel driver. With debug symbols, please.
> >
> > I refuse to do your legwork for you (Frantisek, not edd).
>
> is asking for some pointers so bad these days?

X crashes -> So X knowing where it crashes would be useful.

> i am trying to report as many useful info as i can.
>
> could you be please more specific about the debug symbols?
> does this mean that i have to rebuild all of xenocara
> with "env CFLAGS=-g make -f Makefile.bsd-wrapper build"
> or is it enough just to rebuild the intel driver and/or
> the X server?

intel driver, X server, pixman, libdrm would probably cover all the
bases you're likely to hit.

the ones without autohell goop (libdrm i think is the only one) should
be done almost as for base (make DEBUG=-g build)

then read:
"o How to get a core file out of the X server?" in xenocara/README and
follow the instructions.

-0-
--
Have an adequate day.

Reply | Threaded
Open this post in threaded view
|

Re: mplayer restarting openbsd

frantisek holop
hmm, on Tue, Dec 08, 2009 at 04:53:45PM +0000, Owain Ainsworth said that
> intel driver, X server, pixman, libdrm would probably cover all the
> bases you're likely to hit.

here is what i did:

# cd xserver
# env CFLAGS=-g make -f Makefile.bsd-wrapper build
# cd ../driver/xf86-video-intel
# env CFLAGS=-g make -f Makefile.bsd-wrapper build
# cd ../../lib/pixman
# env CFLAGS=-g make -f Makefile.bsd-wrapper build
# cd ../lib/libdrm
# make DEBUG=-g build

restarted the machine and generated the following

http://obiit.org/f/Xorg.core.bz2

according to the xenocera README.

i hope it contains all the symbols needed for the post mortem.

-f
--
we take drugs very seriously at my house...

Reply | Threaded
Open this post in threaded view
|

Re: mplayer restarting openbsd

Owain Ainsworth-2
On Wed, Dec 09, 2009 at 01:25:09AM +0100, frantisek holop wrote:

> hmm, on Tue, Dec 08, 2009 at 04:53:45PM +0000, Owain Ainsworth said that
> > intel driver, X server, pixman, libdrm would probably cover all the
> > bases you're likely to hit.
>
> here is what i did:
>
> # cd xserver
> # env CFLAGS=-g make -f Makefile.bsd-wrapper build
> # cd ../driver/xf86-video-intel
> # env CFLAGS=-g make -f Makefile.bsd-wrapper build
> # cd ../../lib/pixman
> # env CFLAGS=-g make -f Makefile.bsd-wrapper build
> # cd ../lib/libdrm
> # make DEBUG=-g build
>
> restarted the machine and generated the following
>
> http://obiit.org/f/Xorg.core.bz2
>
> according to the xenocera README.
>
> i hope it contains all the symbols needed for the post mortem.

A core file is of no use without the binaries in question.

gdb Xorg Xorg.core
<at prompt>
bt full
quit

should help.

-0-
--
An elephant is a mouse with an operating system.

Reply | Threaded
Open this post in threaded view
|

intel driver crash (was: Re: mplayer restarting openbsd)

frantisek holop
hi,

please reply to this thread on x11@ only
after this message, i'd like to move it off ports@

thanks for everyone's suggestions.
this should be it..

$ gdb /usr/X11R6/bin/Xorg /var/crash/Xorg.core

GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd4.6"...
Core was generated by `Xorg'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libpciaccess.so.0.10...done.
Loaded symbols for /usr/X11R6/lib/libpciaccess.so.0.10
Reading symbols from /usr/X11R6/lib/libXfont.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXfont.so.9.0
Reading symbols from /usr/X11R6/lib/libfreetype.so.17.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.17.0
Reading symbols from /usr/X11R6/lib/libXau.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.9.0
Reading symbols from /usr/X11R6/lib/libfontenc.so.3.0...done.
Loaded symbols for /usr/X11R6/lib/libfontenc.so.3.0
Reading symbols from /usr/lib/libz.so.4.1...done.
Loaded symbols for /usr/lib/libz.so.4.1
Reading symbols from /usr/X11R6/lib/libpixman-1.so.15.8...done.
Loaded symbols for /usr/X11R6/lib/libpixman-1.so.15.8
Reading symbols from /usr/X11R6/lib/libXdmcp.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.10.0
Reading symbols from /usr/lib/libm.so.5.2...done.
Loaded symbols for /usr/lib/libm.so.5.2
Reading symbols from /usr/lib/libc.so.53.0...done.
Loaded symbols for /usr/lib/libc.so.53.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/X11R6/lib/modules/extensions/libdbe.so...done.
Loaded symbols for /usr/X11R6/lib/modules/extensions/libdbe.so
Reading symbols from /usr/X11R6/lib/modules/extensions/libdri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/extensions/libdri.so
Reading symbols from /usr/X11R6/lib/libdrm.so.2.4...done.
Loaded symbols for /usr/X11R6/lib/libdrm.so.2.4
Reading symbols from /usr/X11R6/lib/modules/extensions/libextmod.so...done.
Loaded symbols for /usr/X11R6/lib/modules/extensions/libextmod.so
Reading symbols from /usr/X11R6/lib/modules/extensions/libglx.so...done.
Loaded symbols for /usr/X11R6/lib/modules/extensions/libglx.so
Reading symbols from /usr/X11R6/lib/modules/extensions/libdri2.so...done.
Loaded symbols for /usr/X11R6/lib/modules/extensions/libdri2.so
Reading symbols from /usr/X11R6/lib/modules/drivers/intel_drv.so...done.
Loaded symbols for /usr/X11R6/lib/modules/drivers/intel_drv.so
Reading symbols from /usr/X11R6/lib/libdrm_intel.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libdrm_intel.so.1.1
Reading symbols from /usr/X11R6/lib/libX11.so.12.0...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.12.0
Reading symbols from /usr/X11R6/lib/libxcb.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.2.0
Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.0.0...done.
Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.0.0
Reading symbols from /usr/X11R6/lib/modules/input/mouse_drv.so...done.
Loaded symbols for /usr/X11R6/lib/modules/input/mouse_drv.so
Reading symbols from /usr/X11R6/lib/modules/input/kbd_drv.so...done.
Loaded symbols for /usr/X11R6/lib/modules/input/kbd_drv.so
Reading symbols from /usr/X11R6/lib/modules/libvgahw.so...done.
Loaded symbols for /usr/X11R6/lib/modules/libvgahw.so
Reading symbols from /usr/X11R6/lib/modules/libfb.so...done.
Loaded symbols for /usr/X11R6/lib/modules/libfb.so
Reading symbols from /usr/X11R6/lib/modules/libexa.so...done.
Loaded symbols for /usr/X11R6/lib/modules/libexa.so
Reading symbols from /usr/X11R6/lib/modules/dri/i915_dri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/dri/i915_dri.so
Reading symbols from /usr/lib/libexpat.so.9.0...done.
Loaded symbols for /usr/lib/libexpat.so.9.0
#0  0x010951b2 in memcpy () from /usr/lib/libc.so.53.0
(gdb) bt full
#0  0x010951b2 in memcpy () from /usr/lib/libc.so.53.0
No symbol table info available.
#1  0x09ea3572 in I830CopyPlanarData (pScrn=0x8a555800, pPriv=0x7f8677c0,
    buf=0x87b51000 '\001' <repeats 40 times>, srcPitch=852, srcPitch2=428, dstPitch=428,
    srcH=480, top=0, left=26, h=480, w=800, id=842094169)
    at /littleboy/usr/xenocara/driver/xf86-video-intel/src/i830_video.c:1516
        pI830 = 0x8b38b2e0
        i = 480
        j = 0
        src1 = (
    unsigned char *) 0x87bb4d9a '\215' <repeats 14 times>, '\216' <repeats 23 times>, '\217' <repeats 34 times>, '\216' <repeats 16 times>, '\217' <repeats 21 times>, "\216\216\216\215\215\215\215\215\216\216\216\217\217\217\217\217\220\220\220\221\221\221\220\220\220\220\220\220\220\220\220\220\221\221\221\222\222\222\222\222\223\223\223\224\224\224\224\223\223\223", '\222' <repeats 13 times>, "\221\220\220\216\216\217\217\217\217\217\217\216\216\216", '\215' <repeats 15 times>...
        src2 = (
    unsigned char *) 0x87bb4d8d "~~~~\177\177\177\205\213\214\213\214", '\215' <repeats 15 times>, '\216' <repeats 23 times>, '\217' <repeats 34 times>, '\216' <repeats 16 times>, '\217' <repeats 21 times>, "\216\216\216\215\215\215\215\215\216\216\216\217\217\217\217\217\220\220\220\221\221\221\220\220\220\220\220\220\220\220\220\220\221\221\221\222\222\222\222\222\223\223\223\224\224\224\224\223\223\223", '\222' <repeats 13 times>, "\221\220\220\216\216\217\217\217\217\217\217\216\216\216\215\215"...
        src3 = (
    unsigned char *) 0x87bcdecd "~~~~~~}xsrrqpppppppoooooooo", 'p' <repeats 78 times>, "ooonnnnnnmm---Type <return> to continue, or q <return> to quit---
mmmmmnnnooooonnmmllllmmmnnnnnnn", 'm' <repeats 30 times>, "llllllmnnnooonnooopppqq"...
        dst_base = (unsigned char *) 0x86e18000 '\001' <repeats 14 times>, "\002"
        dst1 = (
    unsigned char *) 0x86e7c500 "~~~\177\201\201}vrrsq", 'p' <repeats 93 times>, "oonnmmmmmmnnnnnnnnmmmmmmmmllllllmmmnnnnnnn", 'm' <repeats 24 times>, 'l' <repeats 11 times>, "mnoooppppppppooooo"...
        dst2 = (
    unsigned char *) 0x86e95640 "~~~~|}\201\207\213\213\212\214", '\215' <repeats 23 times>, '\216' <repeats 24 times>, '\217' <repeats 14 times>, "\216\216\215\215\215\215\216\216\217\216\216\216\215\215\215\215\216\216\216", '\217' <repeats 15 times>, '\216' <repeats 15 times>, "\215\215\215\214\214\214\215\216\216\220\221\221\222\222\222\222\222", '\221' <repeats 16 times>, "\222\222\222\222\222\222\223\223\223\224\224\224\224\224\224\224\223\223\223\223\223\223\223\223\222\222\222\222\222\222\222\221\221\221\220\220\220\220\220\217\217\217\216\216\216"...
        dst3 = (
    unsigned char *) 0x86e7c500 "~~~\177\201\201}vrrsq", 'p' <repeats 93 times>, "oonnmmmmmmnnnnnnnnmmmmmmmmllllllmmmnnnnnnn", 'm' <repeats 24 times>, 'l' <repeats 11 times>, "mnoooppppppppooooo"...
        s = (unsigned char *) 0xcfbe8a58 "h\213E>DmbD\t"
        dstPitch2 = 856
#2  0x09ea626d in I830PutImage (pScrn=0x8a555800, src_x=0, src_y=0, drw_x=-26, drw_y=0,
    src_w=852, src_h=480, drw_w=852, drw_h=480, id=842094169,
    buf=0x87b51000 '\001' <repeats 40 times>, width=852, height=480, sync=0,
    clipBoxes=0xcfbe8c20, data=0x7f8677c0, pDraw=0x82b84000)
    at /littleboy/usr/xenocara/driver/xf86-video-intel/src/i830_video.c:2454
        pI830 = 0x8b38b2e0
        pPriv = 0x7f8677c0
        pScreen = 0x7ebc6e00
        overlay = 0x0
        pPixmap = 0xc
        x1 = 1703936
        x2 = 54132736
        y1 = 0
        y2 = 31457280
        srcPitch = 852
        srcPitch2 = 428
        dstPitch = 428
        destId = 842094169
        dstPitch2 = 0
        top = 0
        left = 26
        npixels = 800
        nlines = 480
        size = 616320
        dstBox = {x1 = 0, y1 = 0, x2 = 800, y2 = 480}
        pitchAlignMask = 3
        alloc_size = 616320
        crtc = 0x8b38c800
#3  0x1c0a1607 in xf86XVPutImage (client=0x8a02ab00, pDraw=0x82b84000, pPort=0x7d930400,
    pGC=0x89e66e00, src_x=0, src_y=0, src_w=852, src_h=480, drw_x=0, drw_y=0, drw_w=852,
    drw_h=480, format=0x8b38ac80, data=0x87b51000 '\001' <repeats 40 times>, sync=0, width=852,
    height=480) at /littleboy/usr/xenocara/xserver/hw/xfree86/common/xf86xv.c:1768
        portPriv = 0x7dc8d480
        pScreen = 0x7ebc6e00
        WinRegion = {extents = {x1 = -26, y1 = 0, x2 = 826, y2 = 480}, data = 0x0}
        ClipRegion = {extents = {x1 = 0, y1 = 0, x2 = 800, y2 = 480}, data = 0x0}
        WinBox = {x1 = -26, y1 = 0, x2 = 826, y2 = 480}
        ret = 0
        clippedAway = 0
#4  0x046614f2 in XvdiPutImage (client=0x8a02ab00, pDraw=0x82b84000, pPort=0x7d930400,
    pGC=0x89e66e00, src_x=0, src_y=0, src_w=852, src_h=480, drw_x=0, drw_y=0, drw_w=852,
    drw_h=480, image=0x8b38ac80, data=0x87b51000 '\001' <repeats 40 times>, sync=0, width=852,
    height=480) at /littleboy/usr/xenocara/xserver/Xext/xvmain.c:719
No locals.
#5  0x04665287 in ProcXvShmPutImage (client=0x8a02ab00)
    at /littleboy/usr/xenocara/xserver/Xext/xvdisp.c:1171
        shmdesc = 0x8ade13a0
        pDraw = 0x82b84000
        pPort = 0x7d930400
        pImage = 0x8b38ac80
        pGC = 0x89e66e00
        status = 0
        size_needed = 614400
        i = 1
        width = 852
        height = 480
        stuff = (xvShmPutImageReq *) 0x827a8000
#6  0x046658bb in ProcXvDispatch (client=0x8a02ab00)
    at /littleboy/usr/xenocara/xserver/Xext/xvdisp.c:1364
        stuff = (xReq *) 0x827a8000
#7  0x1c03b32d in Dispatch () at /littleboy/usr/xenocara/xserver/dix/dispatch.c:456
        clientReady = (int *) 0x7d726800
        result = 0
        client = 0x8a02ab00
        nready = 0
        icheck = (HWEventQueuePtr *) 0x3c036108
        start_tick = 380
#8  0x1c02200d in main (argc=8, argv=0xcfbe8ef8, envp=0xcfbe8f1c)
    at /littleboy/usr/xenocara/xserver/dix/main.c:397
        i = 1
        alwaysCheckForInput = {0, 1}

-f
--
selfishness is a vice we see only in others.

Reply | Threaded
Open this post in threaded view
|

Re: intel driver crash (was: Re: mplayer restarting openbsd)

Owain Ainsworth-2
On Thu, Dec 10, 2009 at 02:38:02AM +0100, frantisek holop wrote:
>
> hi,
>
> please reply to this thread on x11@ only
> after this message, i'd like to move it off ports@
>
> thanks for everyone's suggestions.
> this should be it..

ok, i think i've seen a fix for this upstream.

expect a diff in a few hours.

-0-
--
Nothing cures insomnia like the realization that it's time to get up.

Reply | Threaded
Open this post in threaded view
|

Re: intel driver crash (was: Re: mplayer restarting openbsd)

Owain Ainsworth-2
On Thu, Dec 10, 2009 at 03:29:04PM +0000, Owain Ainsworth wrote:

> On Thu, Dec 10, 2009 at 02:38:02AM +0100, frantisek holop wrote:
> >
> > hi,
> >
> > please reply to this thread on x11@ only
> > after this message, i'd like to move it off ports@
> >
> > thanks for everyone's suggestions.
> > this should be it..
>
> ok, i think i've seen a fix for this upstream.
>
> expect a diff in a few hours.

from upstream:

Author: Barry Scott <[hidden email]>
Date:   Tue Jun 23 14:14:50 2009 +0100

    Fix segv for clipped movie window
   
    When playing a movie that is clipped on its left and right edges the
    Xorg server will SEGV sometimes. This is because the intel driver
    ignores the clipping info when it copies the planes out of the XV
    data.  The check for the optimised copy was wrong to ignore the
    width required.  Which leads to too much data being copied by the
    memcpy. It the source buffe happens to end exactly on a page
    boundary the server will SEGV.
   
    As we reviewed the code we checked the calculation of src1, src2 and
    src3.  The patch includes additional comments to make it clear what
    the elements of the calculation are.
   
    This bug exists in git head and we also see it in 2.4.1.

-0-

diff follows:

Index: src/i830_video.c
===================================================================
RCS file: /cvs/xenocara/driver/xf86-video-intel/src/i830_video.c,v
retrieving revision 1.9
diff -u -p -r1.9 i830_video.c
--- src/i830_video.c 25 Jun 2009 20:16:43 -0000 1.9
+++ src/i830_video.c 10 Dec 2009 15:35:33 -0000
@@ -1395,7 +1395,8 @@ I830CopyPlanarData(ScrnInfoPtr pScrn, I8
 
     switch (pPriv->rotation) {
     case RR_Rotate_0:
- if (srcPitch == dstPitch2)
+       /* optimise for the case of no clipping */
+ if (srcPitch == dstPitch2 && srcPitch == w)
     memcpy (dst1, src1, srcPitch * h);
  else
     for (i = 0; i < h; i++) {
@@ -1434,7 +1435,11 @@ I830CopyPlanarData(ScrnInfoPtr pScrn, I8
     }
 
     /* Copy V data for YV12, or U data for I420 */
-    src2 = buf + (srcH * srcPitch) + ((top * srcPitch) >> 2) + (left >> 1);
+    src2 = buf +                            /* start of YUV data */
+                (srcH * srcPitch) +         /* move over Luma plane */
+                ((top * srcPitch) >> 2) +   /* move down from by top lines */
+                    (left >> 1);            /* move left by left pixels */
+
 #if 0
     ErrorF("src2 is %p, offset is %ld\n", src2,
    (unsigned long)src2 - (unsigned long)buf);
@@ -1453,7 +1458,8 @@ I830CopyPlanarData(ScrnInfoPtr pScrn, I8
 
     switch (pPriv->rotation) {
     case RR_Rotate_0:
- if (srcPitch2 == dstPitch)
+       /* optimise for the case of no clipping */
+ if (srcPitch2 == dstPitch && srcPitch2 == (w/2))
     memcpy (dst2, src2, h/2 * srcPitch2);
  else
     for (i = 0; i < h / 2; i++) {
@@ -1492,8 +1498,11 @@ I830CopyPlanarData(ScrnInfoPtr pScrn, I8
     }
 
     /* Copy U data for YV12, or V data for I420 */
-    src3 = buf + (srcH * srcPitch) + ((srcH >> 1) * srcPitch2) +
-    ((top * srcPitch) >> 2) + (left >> 1);
+    src3 = buf +                            /* start of YUV data */
+                (srcH * srcPitch) +         /* move over Luma plane */
+                ((srcH >> 1) * srcPitch2) + /* move over Chroma plane */
+                ((top * srcPitch) >> 2) +   /* move down from by top lines */
+                    (left >> 1);            /* move left by left pixels */
 #if 0
     ErrorF("src3 is %p, offset is %ld\n", src3,
    (unsigned long)src3 - (unsigned long)buf);
@@ -1512,7 +1521,8 @@ I830CopyPlanarData(ScrnInfoPtr pScrn, I8
 
     switch (pPriv->rotation) {
     case RR_Rotate_0:
- if (srcPitch2 == dstPitch)
+       /* optimise for the case of no clipping */
+ if (srcPitch2 == dstPitch && srcPitch2 == (w/2))
     memcpy (dst3, src3, srcPitch2 * h/2);
  else
     for (i = 0; i < h / 2; i++) {

--
I have learned
To spell hors d'oeuvres
Which still grates on
Some people's n'oeuvres.
                -- Warren Knox

Reply | Threaded
Open this post in threaded view
|

Re: intel driver crash (was: Re: mplayer restarting openbsd)

frantisek holop
hmm, on Thu, Dec 10, 2009 at 03:36:57PM +0000, Owain Ainsworth said that

> from upstream:
>
> Author: Barry Scott <[hidden email]>
> Date:   Tue Jun 23 14:14:50 2009 +0100
>
>     Fix segv for clipped movie window
>    
>     When playing a movie that is clipped on its left and right edges the
>     Xorg server will SEGV sometimes. This is because the intel driver
>     ignores the clipping info when it copies the planes out of the XV
>     data.  The check for the optimised copy was wrong to ignore the
>     width required.  Which leads to too much data being copied by the
>     memcpy. It the source buffe happens to end exactly on a page
>     boundary the server will SEGV.
>    
>     As we reviewed the code we checked the calculation of src1, src2 and
>     src3.  The patch includes additional comments to make it clear what
>     the elements of the calculation are.
>    
>     This bug exists in git head and we also see it in 2.4.1.

this seems to fix the issue, and so far some other weird
X lockup issues as well.

thank you for the assistance.

-f
--
god?  i'm no god.  god has mercy.