Scrolling the terminal is slow on -current

2013-04-06 Thread Michal Mazurek
I upgraded my system to the latest snapshot with bsd.rd yesterday. I
noticed the terminal (ctrl+alt+F1) font has changed. It also became very
slow, but only when Xenocara is running. By slow I mean cating a file to
stdout produces very jumpy output, the music playback is jumpy as well.
Killing Xenocara returns it to normal.

Here is the dmesg of the affected system (an old laptop):


OpenBSD 5.3-current (GENERIC) #109: Thu Apr  4 09:59:15 MDT 2013
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) M processor 1.40GHz (GenuineIntel 686-class) 1.40 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,NXE,PERF
real mem  = 527822848 (503MB)
avail mem = 50024 (484MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/21/05, BIOS32 rev. 0 @ 0xf, SMBIOS 
rev. 2.3 @ 0xfc68f (23 entries)
bios0: vendor Hewlett-Packard version 68DTD Ver. F.0C date 11/21/2005
bios0: Hewlett-Packard HP Compaq nx6110 (PY536ES#AKD)
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG
acpi0: wakeup devices C068(S5) C0BB(S3) C0C2(S3) C0C3(S3) C0C4(S3) C0C5(S3) 
C0CC(S5) C1CD(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfec01000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 2 (C068)
acpiprt1 at acpi0: bus 0 (C002)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1
acpipwrres0 at acpi0: C1A6
acpipwrres1 at acpi0: C1AE
acpipwrres2 at acpi0: C1B5
acpipwrres3 at acpi0: C1C5
acpipwrres4 at acpi0: C244
acpipwrres5 at acpi0: C245
acpipwrres6 at acpi0: C246
acpipwrres7 at acpi0: C247
acpitz0 at acpi0: critical temperature is 102 degC
acpitz1 at acpi0: critical temperature is 103 degC
acpitz2 at acpi0: critical temperature is 102 degC
acpitz3 at acpi0: critical temperature is 110 degC
acpibat0 at acpi0: C174 model Primary serial 03121 2005/12/21 type LIon oem 
Hewlett-Packard
acpibat1 at acpi0: C173 not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: C1E8
acpibtn1 at acpi0: C1E9
acpivideo0 at acpi0: C055
bios0: ROM list: 0xc/0x1!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x03
intagp0 at vga1
agp0 at intagp0: aperture at 0xc000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: apic 1 int 16
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel 82915GM Video rev 0x03 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: apic 1 int 23
uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: apic 1 int 17
uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: apic 1 int 18
uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: apic 1 int 19
ehci0 at pci0 dev 29 function 7 Intel 82801FB 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
ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd3
pci1 at ppb0 bus 2
iwi0 at pci1 dev 4 function 0 Intel PRO/Wireless 2200BG rev 0x05: apic 1 int 
21, address 00:0e:35:41:65:91
cbb0 at pci1 dev 6 function 0 TI PCI7XX1 CardBus rev 0x00: apic 1 int 18
TI PCI7XX1 FireWire rev 0x00 at pci1 dev 6 function 2 not configured
bce0 at pci1 dev 14 function 0 Broadcom BCM4401B1 rev 0x02: apic 1 int 16, 
address 00:14:c2:e5:4a:64
bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x10, lattimer 0x20
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2 Intel 82801FB AC97 rev 0x03: apic 1 int 21, 
ICH6 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
Intel 82801FB Modem rev 0x03 at pci0 dev 30 function 3 not configured
ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 Intel 82801FB IDE rev 0x03: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: TOSHIBA MK4025GAS
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: TSSTcorp, CD/DVDW TS-L532M, HR08 ATAPI 5/cdrom 
removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:0:1): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
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: 

Re: Scrolling the terminal is slow on -current

2013-04-06 Thread Otto Moerbeek
On Sat, Apr 06, 2013 at 03:18:55PM +0200, Michal Mazurek wrote:

 I upgraded my system to the latest snapshot with bsd.rd yesterday. I
 noticed the terminal (ctrl+alt+F1) font has changed. It also became very
 slow, but only when Xenocara is running. By slow I mean cating a file to
 stdout produces very jumpy output, the music playback is jumpy as well.
 Killing Xenocara returns it to normal.

What you are seeing is work to get accelarted X on intel graphics
hardware. This has the side effect that the console switched from VGA
text mode to framebuffer style and also that the console only is
accelerated if X is not running.

-Otto

 
 Here is the dmesg of the affected system (an old laptop):
 
 
 OpenBSD 5.3-current (GENERIC) #109: Thu Apr  4 09:59:15 MDT 2013
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Celeron(R) M processor 1.40GHz (GenuineIntel 686-class) 1.40 
 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,NXE,PERF
 real mem  = 527822848 (503MB)
 avail mem = 50024 (484MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 11/21/05, BIOS32 rev. 0 @ 0xf, 
 SMBIOS rev. 2.3 @ 0xfc68f (23 entries)
 bios0: vendor Hewlett-Packard version 68DTD Ver. F.0C date 11/21/2005
 bios0: Hewlett-Packard HP Compaq nx6110 (PY536ES#AKD)
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP APIC MCFG
 acpi0: wakeup devices C068(S5) C0BB(S3) C0C2(S3) C0C3(S3) C0C4(S3) C0C5(S3) 
 C0CC(S5) C1CD(S5)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfec01000: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 99MHz
 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 1
 acpimcfg0 at acpi0 addr 0xe000, bus 0-255
 acpiprt0 at acpi0: bus 2 (C068)
 acpiprt1 at acpi0: bus 0 (C002)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C3, C2, C1
 acpipwrres0 at acpi0: C1A6
 acpipwrres1 at acpi0: C1AE
 acpipwrres2 at acpi0: C1B5
 acpipwrres3 at acpi0: C1C5
 acpipwrres4 at acpi0: C244
 acpipwrres5 at acpi0: C245
 acpipwrres6 at acpi0: C246
 acpipwrres7 at acpi0: C247
 acpitz0 at acpi0: critical temperature is 102 degC
 acpitz1 at acpi0: critical temperature is 103 degC
 acpitz2 at acpi0: critical temperature is 102 degC
 acpitz3 at acpi0: critical temperature is 110 degC
 acpibat0 at acpi0: C174 model Primary serial 03121 2005/12/21 type LIon oem 
 Hewlett-Packard
 acpibat1 at acpi0: C173 not present
 acpiac0 at acpi0: AC unit online
 acpibtn0 at acpi0: C1E8
 acpibtn1 at acpi0: C1E9
 acpivideo0 at acpi0: C055
 bios0: ROM list: 0xc/0x1!
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 82915GM Host rev 0x03
 vga1 at pci0 dev 2 function 0 Intel 82915GM Video rev 0x03
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xc000, size 0x1000
 inteldrm0 at vga1
 drm0 at inteldrm0
 inteldrm0: apic 1 int 16
 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
 wsdisplay0: screen 1-5 added (std, vt100 emulation)
 Intel 82915GM Video rev 0x03 at pci0 dev 2 function 1 not configured
 uhci0 at pci0 dev 29 function 0 Intel 82801FB USB rev 0x03: apic 1 int 23
 uhci1 at pci0 dev 29 function 1 Intel 82801FB USB rev 0x03: apic 1 int 17
 uhci2 at pci0 dev 29 function 2 Intel 82801FB USB rev 0x03: apic 1 int 18
 uhci3 at pci0 dev 29 function 3 Intel 82801FB USB rev 0x03: apic 1 int 19
 ehci0 at pci0 dev 29 function 7 Intel 82801FB 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
 ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xd3
 pci1 at ppb0 bus 2
 iwi0 at pci1 dev 4 function 0 Intel PRO/Wireless 2200BG rev 0x05: apic 1 
 int 21, address 00:0e:35:41:65:91
 cbb0 at pci1 dev 6 function 0 TI PCI7XX1 CardBus rev 0x00: apic 1 int 18
 TI PCI7XX1 FireWire rev 0x00 at pci1 dev 6 function 2 not configured
 bce0 at pci1 dev 14 function 0 Broadcom BCM4401B1 rev 0x02: apic 1 int 16, 
 address 00:14:c2:e5:4a:64
 bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0
 cardslot0 at cbb0 slot 0 flags 0
 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x10, lattimer 0x20
 pcmcia0 at cardslot0
 auich0 at pci0 dev 30 function 2 Intel 82801FB AC97 rev 0x03: apic 1 int 
 21, ICH6 AC97
 ac97: codec id 0x41445374 (Analog Devices AD1981B)
 ac97: codec features headphone, 20 bit DAC, No 3D Stereo
 audio0 at auich0
 Intel 82801FB Modem rev 0x03 at pci0 dev 30 function 3 not configured
 ichpcib0 at pci0 dev 31 function 0 Intel 82801FBM LPC rev 0x03: PM disabled
 pciide0 at pci0 dev 31 function 1 Intel 82801FB IDE rev 0x03: DMA, channel 
 0 configured to compatibility, channel 1 configured to compatibility
 wd0 at pciide0 channel 0 drive 0: TOSHIBA MK4025GAS
 wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
 atapiscsi0 at pciide0 channel 0 drive 1
 scsibus0 at atapiscsi0: 

Re: Scrolling the terminal is slow on -current

2013-04-06 Thread Ted Unangst
On Sat, Apr 06, 2013 at 15:18, Michal Mazurek wrote:
 I upgraded my system to the latest snapshot with bsd.rd yesterday. I
 noticed the terminal (ctrl+alt+F1) font has changed. It also became very
 slow, but only when Xenocara is running. By slow I mean cating a file to
 stdout produces very jumpy output, the music playback is jumpy as well.
 Killing Xenocara returns it to normal.

This is known. Acceleration is turned off while X is running.