Xorg + wsudl(4) DL-165 consumes a lot of cpu

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

Xorg + wsudl(4) DL-165 consumes a lot of cpu

413x
Hi Everybody,

On OpenBSD 5.3/amd64 (full dmesg(8) at the end), while watching Youtube
videos through Minitube, Xorg(1) and Minitube consume a lot of CPU (see
top(1) below), and the video is lagging.

My below xorg.conf is a 3-screen configuration with 3 USB2DVI devices
(DisplayLink CONV-USB2DVI, with a DL-165 chip) and the wsudl(4) driver.

I have also tested with one DL-195 only and I had the same result.

All is working fine with the embedded graphic chip of the computer :
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09

Is it a hardware or driver limitation, or misconfiguration ?

Thanks a lot for your help.


# top
load averages:  3.34,  1.63,
0.71                                                                                        
test.temp.com 16:25:21
35 processes: 34 idle, 1 on processor
CPU0 states: 14.0% user,  0.0% nice, 13.6% system, 37.7% interrupt,
34.7% idle
CPU1 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,
100% idle
CPU2 states:  0.0% user,  0.0% nice,  2.2% system,  0.0% interrupt,
97.8% idle
CPU3 states:  0.4% user,  0.0% nice,  1.4% system,  0.0% interrupt,
98.2% idle
CPU4 states:  0.8% user,  0.0% nice,  5.8% system,  0.0% interrupt,
93.3% idle
CPU5 states:  3.6% user,  0.0% nice, 33.3% system,  0.0% interrupt,
63.1% idle
CPU6 states:  7.8% user,  0.0% nice, 35.1% system,  0.0% interrupt,
57.1% idle
CPU7 states: 14.5% user,  0.0% nice, 37.2% system,  0.0% interrupt,
48.3% idle
Memory: Real: 109M/327M act/tot Free: 7547M Cache: 130M Swap: 0K/8197M

  PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
29293 alexis     2    0  101M   78M sleep/3   poll      3:22 129.83%
minitube
12128 _x11       2    0   10M   31M sleep/3   select    1:13 52.88% Xorg
17482 _sndio     2  -20  480K  944K sleep/0   poll      0:13  3.32% sndiod
11665 alexis     2    0  544K 1556K idle      select    0:01  0.00%
dbus-launch
    1 root      10    0  660K  420K idle      wait      0:01  0.00% init
29037 _pflogd    4    0  716K  376K sleep/5   bpf       0:01  0.00% pflogd
22491 root      28    0 1188K 2556K onproc/6  -         0:01  0.00% top
 1717 root      18    0  760K 1756K idle      pause     0:01  0.00% xdm
31119 root       2    0 3640K 3356K sleep/4   select    0:01  0.00% sshd
 8338 alexis     2    0  976K 2892K idle      select    0:01  0.00% fvwm
21735 _syslogd   2    0  668K  840K sleep/4   poll      0:00  0.00% syslogd
12279 root       2    0 1776K 1816K sleep/4   select    0:00  0.00% sendmail
16253 root       2    0 2204K 1332K idle      netio     0:00  0.00% Xorg
 6310 alexis     2    0  776K 1380K idle      poll      0:00  0.00%
dbus-daemon
14644 root      10    0 1396K 5348K idle      wait      0:00  0.00% xdm
18751 root       2    0  752K 1420K idle      select    0:00  0.00% sshd
31544 root       2    0  652K  520K idle      netio     0:00  0.00% pflogd
 6195 _ntp       2    0  800K 1148K idle      poll      0:00  0.00% ntpd
14903 alexis     2    0  564K 1944K idle      select    0:00  0.00%
FvwmPager
 3900 root       2    0  744K  980K idle      poll      0:00  0.00% ntpd
16024 alexis     3    0 1200K 2332K idle      ttyin     0:00  0.00% bash
 9219 root       2    0  652K  848K idle      netio     0:00  0.00% syslogd
 3583 root       2    0  736K 1016K sleep/5   select    0:00  0.00% cron
10791 alexis     2    0 1888K 4468K idle      select    0:00  0.00% xterm
19389 root       2    0  504K  904K idle      netio     0:00  0.00% xconsole
 9006 _x11       2    0  632K 2804K idle      poll      0:00  0.00% xconsole
 7848 root       3    0  364K  972K idle      ttyin     0:00  0.00% getty
 7890 alexis    18    0  584K  528K idle      pause     0:00  0.00% sh
 4067 root      10    0 1352K 2392K idle      wait      0:00  0.00% bash
12627 _ntp       2    0  924K 1032K idle      poll      0:00  0.00% ntpd
23233 root       3    0  456K  976K idle      ttyin     0:00  0.00% getty
21623 root       3    0  508K  968K idle      ttyin     0:00  0.00% getty
19287 root       3    0  324K  960K idle      ttyin     0:00  0.00% getty
24107 root       3    0  488K  960K idle      ttyin     0:00  0.00% getty
 1580 root       2    0  460K  904K idle      select    0:00  0.00% inetd


# cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier      "3-screen"
        Screen  0       "1-Middle" 0 0
        Screen  1       "0-Left" LeftOf "1-Middle"
        Screen  2       "2-Right" RightOf "1-Middle"
        Option          "Xinerama" "On"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "unix/:7100"
EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
        #Load  "dri"
EndSection

Section "Monitor"
        Identifier "Monitor0"
EndSection

Section "Monitor"
        Identifier "Monitor1"
EndSection

Section "Monitor"
        Identifier "Monitor2"
EndSection

Section "Screen"
        Identifier      "0-Left"
        Device          "0-usb-dl165"
        Monitor         "Monitor0"
        SubSection      "Display"
                Depth   32
                Modes   "1600x1200"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "1-Middle"
        Device          "1-usb-dl165"
        Monitor         "Monitor1"
        SubSection      "Display"
                Depth   32
                Modes   "1600x1200"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "2-Right"
        Device          "2-usb-dl165"
        Monitor         "Monitor2"
        SubSection      "Display"
                Depth   32
                Modes   "1600x1200"
        EndSubSection
EndSection

Section "Device"
        Identifier  "0-usb-dl165"
        Driver      "wsudl"
        Option  "Device" "/dev/ttyF0"
EndSection

Section "Device"
        Identifier  "1-usb-dl165"
        Driver      "wsudl"
        Option  "Device" "/dev/ttyD0"
EndSection

Section "Device"
        Identifier  "2-usb-dl165"
        Driver      "wsudl"
        Option  "Device" "/dev/ttyE0"
EndSection


#dmesg
OpenBSD 5.3 (GENERIC.MP) #1: Wed Feb 27 19:22:00 CET 2013
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error
7e<ROM_cksum,config_unit,memory_size,fixed_disk,invalid_time>
real mem = 8495775744 (8102MB)
avail mem = 8247119872 (7865MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0000 (81 entries)
bios0: vendor Apple Inc. version "MM51.88Z.0077.B10.1201241549" date
01/24/2012
bios0: Apple Inc. Macmini5,3
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC SBST ECDT SSDT SSDT SSDT SSDT SSDT
SSDT SSDT SSDT SSDT MCFG SSDT SSDT SSDT
acpi0: wakeup devices P0P2(S4) GFX0(S4) PEG1(S4) EC__(S4) GMUX(S3)
HDEF(S4) GIGE(S4) SDXC(S3) RP01(S4) ARPT(S4) RP02(S4) RP03(S4) EHC1(S3)
EHC2(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.73 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.47 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.47 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.47 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.47 MHz
cpu4:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu4: 256KB 64b/line 8-way L2 cache
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.47 MHz
cpu5:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu5: 256KB 64b/line 8-way L2 cache
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.47 MHz
cpu6:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu6: 256KB 64b/line 8-way L2 cache
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.47 MHz
cpu7:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu7: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiec0 at acpi0
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-156
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P2)
acpiprt2 at acpi0: bus 6 (PEG1)
acpiprt3 at acpi0: bus 2 (RP01)
acpiprt4 at acpi0: bus 3 (RP02)
acpiprt5 at acpi0: bus 4 (RP03)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpicpu2 at acpi0: C3, C2, C1, PSS
acpicpu3 at acpi0: C3, C2, C1, PSS
acpicpu4 at acpi0: C3, C2, C1, PSS
acpicpu5 at acpi0: C3, C2, C1, PSS
acpicpu6 at acpi0: C3, C2, C1, PSS
acpicpu7 at acpi0: C3, C2, C1, PSS
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpivideo0 at acpi0: IGPU
cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1900, 1800, 1700,
1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
memory map conflict 0xe00f8000/0x1000
memory map conflict 0xfed1c000/0x4000
memory map conflict 0xffed0000/0x30000
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
ppb0 at pci0 dev 1 function 0 "Intel Core 2G PCIE" rev 0x09: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 1 function 1 "Intel Core 2G PCIE" rev 0x09: msi
pci2 at ppb1 bus 6
ppb2 at pci2 dev 0 function 0 vendor "Intel", unknown product 0x1513 rev
0x00
pci3 at ppb2 bus 7
ppb3 at pci3 dev 0 function 0 vendor "Intel", unknown product 0x1513 rev
0x00: msi
pci4 at ppb3 bus 8
vendor "Intel", unknown product 0x1513 (class system subclass
miscellaneous, rev 0x00) at pci4 dev 0 function 0 not configured
ppb4 at pci3 dev 3 function 0 vendor "Intel", unknown product 0x1513 rev
0x00: msi
pci5 at ppb4 bus 9
ppb5 at pci3 dev 4 function 0 vendor "Intel", unknown product 0x1513 rev
0x00: msi
pci6 at ppb5 bus 10
ppb6 at pci3 dev 5 function 0 vendor "Intel", unknown product 0x1513 rev
0x00: msi
pci7 at ppb6 bus 59
ppb7 at pci3 dev 6 function 0 vendor "Intel", unknown product 0x1513 rev
0x00: msi
pci8 at ppb7 bus 108
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
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 0x90000000, size 0x10000000
inteldrm0 at vga1: apic 2 int 16
drm0 at inteldrm0
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
uhci0 at pci0 dev 26 function 0 vendor "Intel", unknown product 0x1c2c
rev 0x05: apic 2 int 21
ehci0 at pci0 dev 26 function 7 "Intel 6 Series USB" rev 0x05: apic 2 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 6 Series HD Audio" rev 0x05: msi
azalia0: codecs: Cirrus Logic CS4206, Intel/0x2805, using Cirrus Logic
CS4206
audio0 at azalia0
ppb8 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: msi
pci9 at ppb8 bus 2
bge0 at pci9 dev 0 function 0 "Broadcom BCM57765" rev 0x10, BCM57765 B0
(0x57785100): apic 2 int 16, address 3c:07:54:72:3d:a7
brgphy0 at bge0 phy 1: BCM57765 10/100/1000baseT PHY, rev. 4
sdhc0 at pci9 dev 0 function 1 "Broadcom SD Host Controller" rev 0x10:
apic 2 int 17
sdhc0 at 0x10: can't map registers
ppb9 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb5: msi
pci10 at ppb9 bus 3
vendor "Broadcom", unknown product 0x4331 (class network subclass
miscellaneous, rev 0x02) at pci10 dev 0 function 0 not configured
ppb10 at pci0 dev 28 function 2 "Intel 6 Series PCIE" rev 0xb5: msi
pci11 at ppb10 bus 4
ppb11 at pci11 dev 0 function 0 "TI XIO2221 PCIE-PCI" rev 0x01
pci12 at ppb11 bus 5
"TI XIO2221 FireWire" rev 0x01 at pci12 dev 0 function 0 not configured
uhci1 at pci0 dev 29 function 0 vendor "Intel", unknown product 0x1c27
rev 0x05: apic 2 int 19
ehci1 at pci0 dev 29 function 7 "Intel 6 Series USB" rev 0x05: apic 2 int 22
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel HM65 LPC" rev 0x05
pciide0 at pci0 dev 31 function 2 "Intel 6 Series SATA" rev 0x05: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 2 int 19 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <APPLE HDD HTS727550A9E362>
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
wd1 at pciide0 channel 1 drive 0: <APPLE HDD HTS727550A9E362>
wd1: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6
ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: apic
2 int 18
iic0 at ichiic0
iic0: addr 0x4a 01=20 0a=08 10=0a 11=04 20=f2 21=01 23=88 words 00=0020
01=2000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 SO-DIMM
spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-10600 SO-DIMM
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
nvram: invalid checksum
mtrr: Pentium Pro MTRR support
uhub4 at uhub0 port 1 "Standard Microsystems product 0x2513" rev
2.00/b.b3 addr 2
uhub5 at uhub4 port 1 "Apple Inc. BRCM20702 Hub" rev 2.00/1.00 addr 3
uhidev0 at uhub5 port 1 configuration 1 interface 0 "Apple Computer
product 0x820a" rev 2.00/1.00 addr 4
uhidev0: iclass 3/1, 1 report id
ukbd0 at uhidev0 reportid 1: 8 variable keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhub5: device problem, disabling port 2
ugen0 at uhub5 port 3 "Apple Inc. Bluetooth USB Host Controller" rev
2.00/0.52 addr 5
udl0 at uhub4 port 2 "DisplayLink CONV-USB2DVI" rev 2.00/0.03 addr 6
no data for est. mode 832x768x74
no data for est. mode 640x480x67
no data for est. mode 720x400x70
max_dotclock according to supported modes: 162000
wsdisplay1 at udl0 mux 1
wsdisplay1: screen 0 added (std, vt100 emulation)
udl1 at uhub4 port 3 "DisplayLink CONV-USB2DVI" rev 2.00/0.03 addr 7
no data for est. mode 832x768x74
no data for est. mode 640x480x67
no data for est. mode 720x400x70
max_dotclock according to supported modes: 162000
wsdisplay2 at udl1 mux 1
wsdisplay2: screen 0 added (std, vt100 emulation)
uhub6 at uhub1 port 1 "Standard Microsystems product 0x2513" rev
2.00/b.b3 addr 2
uhidev1 at uhub6 port 1 configuration 1 interface 0 "Apple Computer,
Inc. IR Receiver" rev 2.00/0.16 addr 3
uhidev1: iclass 3/0, 38 report ids
uhid0 at uhidev1 reportid 36: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 37: input=4, output=0, feature=0
uhid2 at uhidev1 reportid 38: input=4, output=0, feature=0
udl2 at uhub6 port 2 "DisplayLink CONV-USB2DVI" rev 2.00/0.03 addr 4
no data for est. mode 832x768x74
no data for est. mode 640x480x67
no data for est. mode 720x400x70
max_dotclock according to supported modes: 162000
wsdisplay3 at udl2 mux 1
wsdisplay3: screen 0 added (std, vt100 emulation)
uhub7 at uhub6 port 3 "vendor 0x2109 USB2.0 Hub" rev 2.00/2.88 addr 5
uhidev2 at uhub7 port 3 configuration 1 interface 0 "Microsoft Microsoft
3-Button Mouse with IntelliEye?" rev 2.00/0.00 addr 6
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev3 at uhub7 port 4 configuration 1 interface 0 "Logitech USB
Keyboard" rev 1.10/66.00 addr 7
uhidev3: iclass 3/1
ukbd1 at uhidev3: 8 variable keys, 6 key codes
wskbd1 at ukbd1 mux 1
wskbd1: connecting to wsdisplay0
uhidev4 at uhub7 port 4 configuration 1 interface 1 "Logitech USB
Keyboard" rev 1.10/66.00 addr 7
uhidev4: iclass 3/0, 3 report ids
uhid3 at uhidev4 reportid 1: input=1, output=0, feature=0
uhid4 at uhidev4 reportid 2: input=1, output=0, feature=0
uhid5 at uhidev4 reportid 3: input=3, output=0, feature=0
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
sd0 at scsibus1 targ 1 lun 0: <OPENBSD, SR RAID 1, 005> SCSI2 0/direct fixed
sd0: 476937MB, 512 bytes/sector, 976767473 sectors
root on sd0a (e37ebc54ca3260d7.a) swap on sd0b dump on sd0b
clock: unknown CMOS layout
softraid0: sd1 was not shutdown properly
softraid0: sd1 was not shutdown properly
sd1 at scsibus1 targ 2 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
sd1: 475901MB, 512 bytes/sector, 974646960 sectors

--
Alexis de BRUYN

Reply | Threaded
Open this post in threaded view
|

Re: Xorg + wsudl(4) DL-165 consumes a lot of cpu

Shoufu Luo
It is better to attach Xorg.0.log

Shoufu

On Mar 2, 2013, at 12:05 PM, Alexis de BRUYN wrote:

hardware

Reply | Threaded
Open this post in threaded view
|

Re: Xorg + wsudl(4) DL-165 consumes a lot of cpu

413x
On 02.03.2013 18:24, Shoufu Luo wrote:
> It is better to attach Xorg.0.log

# cat /var/log/Xorg.0.log

[   155.269] (--) checkDevMem: using aperture driver /dev/xf86
[   155.286] (--) Using wscons driver on /dev/ttyC4 in pcvt
compatibility mode (version 3.32)
[   155.399]
X.Org X Server 1.12.3
Release Date: 2012-07-09
[   155.399] X Protocol Version 11, Revision 0
[   155.399] Build Operating System: OpenBSD 5.3 amd64
[   155.399] Current Operating System: OpenBSD test.temp.com 5.3
GENERIC.MP#1 amd64
[   155.399] Build Date: 27 February 2013  04:57:01PM
[   155.399]
[   155.399] Current version of pixman: 0.28.0
[   155.399]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   155.399] Markers: (--) probed, (**) from config file, (==) default
setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   155.399] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar  2
16:22:24 2013
[   155.413] (==) Using config file: "/etc/X11/xorg.conf"
[   155.413] (==) Using system config directory
"/usr/X11R6/share/X11/xorg.conf.d"
[   155.433] Parse error on line 10 of section Files in file
/etc/X11/xorg.conf
        Ignoring obsolete keyword "RgbPath".
[   155.433] (==) ServerLayout "3-screen"
[   155.440] (**) |-->Screen "1-Middle" (0)
[   155.440] (**) |   |-->Monitor "Monitor1"
[   155.447] (**) |   |-->Device "1-usb-dl165"
[   155.447] (**) |-->Screen "0-Left" (1)
[   155.447] (**) |   |-->Monitor "Monitor0"
[   155.447] (**) |   |-->Device "0-usb-dl165"
[   155.447] (**) |-->Screen "2-Right" (2)
[   155.447] (**) |   |-->Monitor "Monitor2"
[   155.448] (**) |   |-->Device "2-usb-dl165"
[   155.448] (**) Option "Xinerama" "On"
[   155.448] (==) Disabling SIGIO handlers for input devices
[   155.448] (==) Automatically adding devices
[   155.448] (==) Automatically enabling devices
[   155.450] (**) Xinerama: enabled
[   155.550] (**) FontPath set to:
        unix/:7100,
        /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/
[   155.550] (==) ModulePath set to "/usr/X11R6/lib/modules"
[   155.550] (II) The server relies on wscons to provide the list of
input devices.
        If no devices become available, reconfigure wscons or disable
AutoAddDevices.
[   155.555] (II) Loader magic: 0x1930565b53e0
[   155.555] (II) Module ABI versions:
[   155.555]    X.Org ANSI C Emulation: 0.4
[   155.555]    X.Org Video Driver: 12.0
[   155.555]    X.Org XInput driver : 16.0
[   155.555]    X.Org Server Extension : 6.0
[   155.558] (--) PCI:*(0:0:2:0) 8086:0116:106b:00e7 rev 9, Mem @
0xa0000000/4194304, 0x90000000/268435456, I/O @ 0x00002000/64
[   155.558] (II) "extmod" will be loaded. This was enabled by default
and also specified in the config file.
[   155.558] (II) "dbe" will be loaded. This was enabled by default and
also specified in the config file.
[   155.558] (II) "glx" will be loaded. This was enabled by default and
also specified in the config file.
[   155.558] (II) "record" will be loaded. This was enabled by default
and also specified in the config file.
[   155.558] (II) "dri" will be loaded by default.
[   155.558] (II) "dri2" will be loaded by default.
[   155.558] (II) LoadModule: "dbe"
[   155.596] (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.so
[   155.611] (II) Module dbe: vendor="X.Org Foundation"
[   155.611]    compiled for 1.12.3, module version = 1.0.0
[   155.611]    Module class: X.Org Server Extension
[   155.611]    ABI class: X.Org Server Extension, version 6.0
[   155.611] (II) Loading extension DOUBLE-BUFFER
[   155.611] (II) LoadModule: "extmod"
[   155.611] (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.so
[   155.623] (II) Module extmod: vendor="X.Org Foundation"
[   155.623]    compiled for 1.12.3, module version = 1.0.0
[   155.623]    Module class: X.Org Server Extension
[   155.623]    ABI class: X.Org Server Extension, version 6.0
[   155.623] (II) Loading extension MIT-SCREEN-SAVER
[   155.623] (II) Loading extension XFree86-VidModeExtension
[   155.623] (II) Loading extension XFree86-DGA
[   155.623] (II) Loading extension DPMS
[   155.623] (II) Loading extension XVideo
[   155.629] (II) Loading extension XVideo-MotionCompensation
[   155.629] (II) Loading extension X-Resource
[   155.629] (II) LoadModule: "fbdevhw"
[   155.639] (II) Loading /usr/X11R6/lib/modules/libfbdevhw.so
[   155.650] (EE) LoadModule: Module fbdevhw does not have a
fbdevhwModuleData data object.
[   155.650] (II) UnloadModule: "fbdevhw"
[   155.650] (II) Unloading fbdevhw
[   155.650] (EE) Failed to load module "fbdevhw" (invalid module, 0)
[   155.650] (II) LoadModule: "glx"
[   155.651] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[   155.656] (II) Module glx: vendor="X.Org Foundation"
[   155.656]    compiled for 1.12.3, module version = 1.0.0
[   155.656]    ABI class: X.Org Server Extension, version 6.0
[   155.657] (==) AIGLX enabled
[   155.657] (II) Loading extension GLX
[   155.657] (II) LoadModule: "record"
[   155.658] (II) Loading /usr/X11R6/lib/modules/extensions/librecord.so
[   155.659] (II) Module record: vendor="X.Org Foundation"
[   155.659]    compiled for 1.12.3, module version = 1.13.0
[   155.659]    Module class: X.Org Server Extension
[   155.659]    ABI class: X.Org Server Extension, version 6.0
[   155.659] (II) Loading extension RECORD
[   155.659] (II) LoadModule: "dri"
[   155.659] (II) Loading /usr/X11R6/lib/modules/extensions/libdri.so
[   155.686] (II) Module dri: vendor="X.Org Foundation"
[   155.686]    compiled for 1.12.3, module version = 1.0.0
[   155.686]    ABI class: X.Org Server Extension, version 6.0
[   155.686] (II) Loading extension XFree86-DRI
[   155.694] (II) LoadModule: "dri2"
[   155.694] (II) Loading /usr/X11R6/lib/modules/extensions/libdri2.so
[   155.696] (II) Module dri2: vendor="X.Org Foundation"
[   155.696]    compiled for 1.12.3, module version = 1.2.0
[   155.696]    ABI class: X.Org Server Extension, version 6.0
[   155.696] (II) Loading extension DRI2
[   155.696] (II) LoadModule: "wsudl"
[   155.696] (II) Loading /usr/X11R6/lib/modules/drivers/wsudl_drv.so
[   155.697] (II) Module wsudl: vendor="X.Org Foundation"
[   155.697]    compiled for 1.12.3, module version = 0.2.2
[   155.697]    ABI class: X.Org Video Driver, version 12.0
[   155.697] (II) wsudl: driver for: DisplayLink
[   155.697] (WW) Falling back to old probe method for wsudl
[   155.698] (II) wsudl(0): using /dev/ttyD0
[   155.698] (II) wsudl(1): using /dev/ttyF0
[   155.698] (II) wsudl(2): using /dev/ttyE0
[   155.698] (II) wsudl(0): Creating default Display subsection in
Screen section
        "1-Middle" for depth/fbbpp 16/16
[   155.698] (==) wsudl(0): Depth 16, (--) framebuffer bpp 16
[   155.698] (==) wsudl(0): RGB weight 565
[   155.698] (==) wsudl(0): Default visual is TrueColor
[   155.698] (==) wsudl(0): Using gamma correction (1.0, 1.0, 1.0)
[   155.698] (II) wsudl(0): Vidmem: 4050k
[   155.698] (==) wsudl(0): DPI set to (96, 96)
[   155.698] (II) Loading sub module "fb"
[   155.698] (II) LoadModule: "fb"
[   155.699] (II) Loading /usr/X11R6/lib/modules/libfb.so
[   155.722] (II) Module fb: vendor="X.Org Foundation"
[   155.722]    compiled for 1.12.3, module version = 1.0.0
[   155.722]    ABI class: X.Org ANSI C Emulation, version 0.4
[   155.722] (II) wsudl(1): Creating default Display subsection in
Screen section
        "0-Left" for depth/fbbpp 16/16
[   155.722] (==) wsudl(1): Depth 16, (--) framebuffer bpp 16
[   155.722] (==) wsudl(1): RGB weight 565
[   155.722] (==) wsudl(1): Default visual is TrueColor
[   155.722] (==) wsudl(1): Using gamma correction (1.0, 1.0, 1.0)
[   155.722] (II) wsudl(1): Vidmem: 4050k
[   155.722] (==) wsudl(1): DPI set to (96, 96)
[   155.722] (II) Loading sub module "fb"
[   155.722] (II) LoadModule: "fb"
[   155.723] (II) Loading /usr/X11R6/lib/modules/libfb.so
[   155.723] (II) Module fb: vendor="X.Org Foundation"
[   155.723]    compiled for 1.12.3, module version = 1.0.0
[   155.723]    ABI class: X.Org ANSI C Emulation, version 0.4
[   155.723] (II) wsudl(2): Creating default Display subsection in
Screen section
        "2-Right" for depth/fbbpp 16/16
[   155.723] (==) wsudl(2): Depth 16, (--) framebuffer bpp 16
[   155.723] (==) wsudl(2): RGB weight 565
[   155.723] (==) wsudl(2): Default visual is TrueColor
[   155.723] (==) wsudl(2): Using gamma correction (1.0, 1.0, 1.0)
[   155.723] (II) wsudl(2): Vidmem: 4050k
[   155.723] (==) wsudl(2): DPI set to (96, 96)
[   155.723] (II) Loading sub module "fb"
[   155.723] (II) LoadModule: "fb"
[   155.723] (II) Loading /usr/X11R6/lib/modules/libfb.so
[   155.723] (II) Module fb: vendor="X.Org Foundation"
[   155.723]    compiled for 1.12.3, module version = 1.0.0
[   155.723]    ABI class: X.Org ANSI C Emulation, version 0.4
[   155.769] (==) wsudl(0): Backing store disabled
[   155.776] (==) RandR enabled
[   155.777] (==) wsudl(1): Backing store disabled
[   155.777] (==) RandR enabled
[   155.778] (==) wsudl(2): Backing store disabled
[   155.778] (==) RandR enabled
[   155.778] (II) Initializing built-in extension Generic Event Extension
[   155.778] (II) Initializing built-in extension SHAPE
[   155.778] (II) Initializing built-in extension MIT-SHM
[   155.778] (II) Initializing built-in extension XInputExtension
[   155.778] (II) Initializing built-in extension XTEST
[   155.778] (II) Initializing built-in extension BIG-REQUESTS
[   155.778] (II) Initializing built-in extension SYNC
[   155.778] (II) Initializing built-in extension XKEYBOARD
[   155.778] (II) Initializing built-in extension XC-MISC
[   155.778] (II) Initializing built-in extension SECURITY
[   155.778] (II) Initializing built-in extension XINERAMA
[   155.778] (II) Initializing built-in extension XFIXES
[   155.778] (II) Initializing built-in extension RENDER
[   155.778] (II) Initializing built-in extension RANDR
[   155.778] (II) Initializing built-in extension COMPOSITE
[   155.778] (II) Initializing built-in extension DAMAGE
[   155.813] (II) AIGLX: Screen 0 is not DRI2 capable
[   155.813] (II) AIGLX: Screen 0 is not DRI capable
[   155.813] (EE) AIGLX error: dlopen of
/usr/X11R6/lib/modules/dri/swrastg_dri.so failed (File not found)
[   156.115] (II) AIGLX: Loaded and initialized swrast
[   156.115] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   156.115] (II) AIGLX: Screen 1 is not DRI2 capable
[   156.115] (II) AIGLX: Screen 1 is not DRI capable
[   156.115] (EE) AIGLX error: dlopen of
/usr/X11R6/lib/modules/dri/swrastg_dri.so failed (File not found)
[   156.115] (II) AIGLX: Loaded and initialized swrast
[   156.115] (II) GLX: Initialized DRISWRAST GL provider for screen 1
[   156.115] (II) AIGLX: Screen 2 is not DRI2 capable
[   156.115] (II) AIGLX: Screen 2 is not DRI capable
[   156.115] (EE) AIGLX error: dlopen of
/usr/X11R6/lib/modules/dri/swrastg_dri.so failed (File not found)
[   156.115] (II) AIGLX: Loaded and initialized swrast
[   156.115] (II) GLX: Initialized DRISWRAST GL provider for screen 2
[   156.143] [dix] Could not init font path element unix/:7100, removing
from list!
[   156.778] (II) config/wscons: checking input device /dev/wskbd
[   156.778] (II) wskbd: using layout fr
[   156.779] (II) LoadModule: "kbd"
[   156.779] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[   156.792] (II) Module kbd: vendor="X.Org Foundation"
[   156.792]    compiled for 1.12.3, module version = 1.6.2
[   156.792]    Module class: X.Org XInput Driver
[   156.792]    ABI class: X.Org XInput driver, version 16.0
[   156.792] (II) Using input driver 'kbd' for '/dev/wskbd'
[   156.792] (**) /dev/wskbd: always reports core events
[   156.792] (**) /dev/wskbd: always reports core events
[   156.792] (**) Option "Protocol" "standard"
[   156.792] (**) Option "XkbRules" "base"
[   156.792] (**) Option "XkbModel" "pc105"
[   156.792] (**) Option "XkbLayout" "fr"
[   156.792] (II) XINPUT: Adding extended input device "/dev/wskbd"
(type: KEYBOARD, id 6)
[   156.860] (II) config/wscons: checking input device /dev/wsmouse
[   156.860] (II) LoadModule: "ws"
[   156.861] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[   156.885] (II) Module ws: vendor="X.Org Foundation"
[   156.885]    compiled for 1.12.3, module version = 1.3.0
[   156.885]    Module class: X.Org XInput Driver
[   156.885]    ABI class: X.Org XInput driver, version 16.0
[   156.885] (II) Using input driver 'ws' for '/dev/wsmouse'
[   156.885] (**) /dev/wsmouse: always reports core events
[   156.885] (II) ws: /dev/wsmouse: debuglevel 0
[   156.885] (**) Option "Device" "/dev/wsmouse"
[   156.885] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[   156.885] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[   156.885] (**) ws: /dev/wsmouse: associated screen: 0
[   156.885] (II) ws: /dev/wsmouse: minimum x position: 0
[   156.885] (II) ws: /dev/wsmouse: maximum x position: 1919
[   156.885] (II) ws: /dev/wsmouse: minimum y position: 0
[   156.885] (II) ws: /dev/wsmouse: maximum y position: 1079
[   156.885] (==) ws: /dev/wsmouse: Buttons: 7
[   156.885] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[   156.885] (II) XINPUT: Adding extended input device "/dev/wsmouse"
(type: MOUSE, id 7)
[   156.886] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[   156.886] (**) /dev/wsmouse: (accel) acceleration profile 0
[   156.886] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[   156.886] (**) /dev/wsmouse: (accel) acceleration threshold: 4
[  3767.061] damage command failed, giving up!

--
Alexis de BRUYN

Reply | Threaded
Open this post in threaded view
|

Re: Xorg + wsudl(4) DL-165 consumes a lot of cpu

Tobias Ulmer
In reply to this post by 413x
On Sat, Mar 02, 2013 at 06:05:27PM +0100, Alexis de BRUYN wrote:

> Hi Everybody,
>
> On OpenBSD 5.3/amd64 (full dmesg(8) at the end), while watching Youtube
> videos through Minitube, Xorg(1) and Minitube consume a lot of CPU (see
> top(1) below), and the video is lagging.
>
> My below xorg.conf is a 3-screen configuration with 3 USB2DVI devices
> (DisplayLink CONV-USB2DVI, with a DL-165 chip) and the wsudl(4) driver.
>
> I have also tested with one DL-195 only and I had the same result.
>
> All is working fine with the embedded graphic chip of the computer :
> vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
>
> Is it a hardware or driver limitation, or misconfiguration ?

Your resolution is 1600*1200*3 bytes (lets ignore whatever protocol the
driver uses, probably not 3 byte words), so 1 full frame update, without
the large USB overhead, means pushing out 5.5MB/s. At just 25fps that is
138MB/s or around 1.2Gbit/s.

Now, USB2 has a theoretical bandwidth of 480Mbit/s, DVI has 4Gbit/s
(dedicated, with no protocol that also supports mice and stuff).  And
DVI gets replaced by DP (8Gbit/s and more) because it can't keep up.

Even if OpenBSD was super-awesome at graphics, video and usb (which it
clearly is not), it could not overcome the hardware limitations. Unless
the chip itself could do video decoding in hardware, but that is clearly
not something supported by a framebuffer driver.

So... no way is this ever going to work.

Your graphics card does nothing here, afaict. It's all purely done on
the CPU. Actually I find it kind of amazing that it works at all...

>
> Thanks a lot for your help.
>
>
> # top
> load averages:  3.34,  1.63,
> 0.71                                                                                        
> test.temp.com 16:25:21
> 35 processes: 34 idle, 1 on processor
> CPU0 states: 14.0% user,  0.0% nice, 13.6% system, 37.7% interrupt,
> 34.7% idle
> CPU1 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,
> 100% idle
> CPU2 states:  0.0% user,  0.0% nice,  2.2% system,  0.0% interrupt,
> 97.8% idle
> CPU3 states:  0.4% user,  0.0% nice,  1.4% system,  0.0% interrupt,
> 98.2% idle
> CPU4 states:  0.8% user,  0.0% nice,  5.8% system,  0.0% interrupt,
> 93.3% idle
> CPU5 states:  3.6% user,  0.0% nice, 33.3% system,  0.0% interrupt,
> 63.1% idle
> CPU6 states:  7.8% user,  0.0% nice, 35.1% system,  0.0% interrupt,
> 57.1% idle
> CPU7 states: 14.5% user,  0.0% nice, 37.2% system,  0.0% interrupt,
> 48.3% idle
> Memory: Real: 109M/327M act/tot Free: 7547M Cache: 130M Swap: 0K/8197M
>
>   PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
> 29293 alexis     2    0  101M   78M sleep/3   poll      3:22 129.83%
> minitube
> 12128 _x11       2    0   10M   31M sleep/3   select    1:13 52.88% Xorg
> 17482 _sndio     2  -20  480K  944K sleep/0   poll      0:13  3.32% sndiod
> 11665 alexis     2    0  544K 1556K idle      select    0:01  0.00%
> dbus-launch
>     1 root      10    0  660K  420K idle      wait      0:01  0.00% init
> 29037 _pflogd    4    0  716K  376K sleep/5   bpf       0:01  0.00% pflogd
> 22491 root      28    0 1188K 2556K onproc/6  -         0:01  0.00% top
>  1717 root      18    0  760K 1756K idle      pause     0:01  0.00% xdm
> 31119 root       2    0 3640K 3356K sleep/4   select    0:01  0.00% sshd
>  8338 alexis     2    0  976K 2892K idle      select    0:01  0.00% fvwm
> 21735 _syslogd   2    0  668K  840K sleep/4   poll      0:00  0.00% syslogd
> 12279 root       2    0 1776K 1816K sleep/4   select    0:00  0.00% sendmail
> 16253 root       2    0 2204K 1332K idle      netio     0:00  0.00% Xorg
>  6310 alexis     2    0  776K 1380K idle      poll      0:00  0.00%
> dbus-daemon
> 14644 root      10    0 1396K 5348K idle      wait      0:00  0.00% xdm
> 18751 root       2    0  752K 1420K idle      select    0:00  0.00% sshd
> 31544 root       2    0  652K  520K idle      netio     0:00  0.00% pflogd
>  6195 _ntp       2    0  800K 1148K idle      poll      0:00  0.00% ntpd
> 14903 alexis     2    0  564K 1944K idle      select    0:00  0.00%
> FvwmPager
>  3900 root       2    0  744K  980K idle      poll      0:00  0.00% ntpd
> 16024 alexis     3    0 1200K 2332K idle      ttyin     0:00  0.00% bash
>  9219 root       2    0  652K  848K idle      netio     0:00  0.00% syslogd
>  3583 root       2    0  736K 1016K sleep/5   select    0:00  0.00% cron
> 10791 alexis     2    0 1888K 4468K idle      select    0:00  0.00% xterm
> 19389 root       2    0  504K  904K idle      netio     0:00  0.00% xconsole
>  9006 _x11       2    0  632K 2804K idle      poll      0:00  0.00% xconsole
>  7848 root       3    0  364K  972K idle      ttyin     0:00  0.00% getty
>  7890 alexis    18    0  584K  528K idle      pause     0:00  0.00% sh
>  4067 root      10    0 1352K 2392K idle      wait      0:00  0.00% bash
> 12627 _ntp       2    0  924K 1032K idle      poll      0:00  0.00% ntpd
> 23233 root       3    0  456K  976K idle      ttyin     0:00  0.00% getty
> 21623 root       3    0  508K  968K idle      ttyin     0:00  0.00% getty
> 19287 root       3    0  324K  960K idle      ttyin     0:00  0.00% getty
> 24107 root       3    0  488K  960K idle      ttyin     0:00  0.00% getty
>  1580 root       2    0  460K  904K idle      select    0:00  0.00% inetd
>
>
> # cat /etc/X11/xorg.conf
> Section "ServerLayout"
>         Identifier      "3-screen"
>         Screen  0       "1-Middle" 0 0
>         Screen  1       "0-Left" LeftOf "1-Middle"
>         Screen  2       "2-Right" RightOf "1-Middle"
>         Option          "Xinerama" "On"
> EndSection
>
> Section "Files"
>         RgbPath      "/usr/X11R6/lib/X11/rgb"
>         FontPath     "unix/:7100"
> EndSection
>
> Section "Module"
>         Load  "dbe"
>         Load  "extmod"
>         Load  "fbdevhw"
>         Load  "glx"
>         Load  "record"
>         Load  "freetype"
>         Load  "type1"
>         #Load  "dri"
> EndSection
>
> Section "Monitor"
>         Identifier "Monitor0"
> EndSection
>
> Section "Monitor"
>         Identifier "Monitor1"
> EndSection
>
> Section "Monitor"
>         Identifier "Monitor2"
> EndSection
>
> Section "Screen"
>         Identifier      "0-Left"
>         Device          "0-usb-dl165"
>         Monitor         "Monitor0"
>         SubSection      "Display"
>                 Depth   32
>                 Modes   "1600x1200"
>         EndSubSection
> EndSection
>
> Section "Screen"
>         Identifier      "1-Middle"
>         Device          "1-usb-dl165"
>         Monitor         "Monitor1"
>         SubSection      "Display"
>                 Depth   32
>                 Modes   "1600x1200"
>         EndSubSection
> EndSection
>
> Section "Screen"
>         Identifier      "2-Right"
>         Device          "2-usb-dl165"
>         Monitor         "Monitor2"
>         SubSection      "Display"
>                 Depth   32
>                 Modes   "1600x1200"
>         EndSubSection
> EndSection
>
> Section "Device"
>         Identifier  "0-usb-dl165"
>         Driver      "wsudl"
>         Option  "Device" "/dev/ttyF0"
> EndSection
>
> Section "Device"
>         Identifier  "1-usb-dl165"
>         Driver      "wsudl"
>         Option  "Device" "/dev/ttyD0"
> EndSection
>
> Section "Device"
>         Identifier  "2-usb-dl165"
>         Driver      "wsudl"
>         Option  "Device" "/dev/ttyE0"
> EndSection
>
>
> #dmesg
> OpenBSD 5.3 (GENERIC.MP) #1: Wed Feb 27 19:22:00 CET 2013
>     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> RTC BIOS diagnostic error
> 7e<ROM_cksum,config_unit,memory_size,fixed_disk,invalid_time>
> real mem = 8495775744 (8102MB)
> avail mem = 8247119872 (7865MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0000 (81 entries)
> bios0: vendor Apple Inc. version "MM51.88Z.0077.B10.1201241549" date
> 01/24/2012
> bios0: Apple Inc. Macmini5,3
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP HPET APIC SBST ECDT SSDT SSDT SSDT SSDT SSDT
> SSDT SSDT SSDT SSDT MCFG SSDT SSDT SSDT
> acpi0: wakeup devices P0P2(S4) GFX0(S4) PEG1(S4) EC__(S4) GMUX(S3)
> HDEF(S4) GIGE(S4) SDXC(S3) RP01(S4) ARPT(S4) RP02(S4) RP03(S4) EHC1(S3)
> EHC2(S3)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.73 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: apic clock running at 99MHz
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.47 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu2 at mainbus0: apid 4 (application processor)
> cpu2: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.47 MHz
> cpu2:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu3 at mainbus0: apid 6 (application processor)
> cpu3: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.47 MHz
> cpu3:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu4 at mainbus0: apid 1 (application processor)
> cpu4: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.47 MHz
> cpu4:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu4: 256KB 64b/line 8-way L2 cache
> cpu5 at mainbus0: apid 3 (application processor)
> cpu5: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.47 MHz
> cpu5:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu5: 256KB 64b/line 8-way L2 cache
> cpu6 at mainbus0: apid 5 (application processor)
> cpu6: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.47 MHz
> cpu6:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu6: 256KB 64b/line 8-way L2 cache
> cpu7 at mainbus0: apid 7 (application processor)
> cpu7: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz, 1995.47 MHz
> cpu7:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
> cpu7: 256KB 64b/line 8-way L2 cache
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 2
> acpiec0 at acpi0
> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-156
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (P0P2)
> acpiprt2 at acpi0: bus 6 (PEG1)
> acpiprt3 at acpi0: bus 2 (RP01)
> acpiprt4 at acpi0: bus 3 (RP02)
> acpiprt5 at acpi0: bus 4 (RP03)
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpicpu1 at acpi0: C3, C2, C1, PSS
> acpicpu2 at acpi0: C3, C2, C1, PSS
> acpicpu3 at acpi0: C3, C2, C1, PSS
> acpicpu4 at acpi0: C3, C2, C1, PSS
> acpicpu5 at acpi0: C3, C2, C1, PSS
> acpicpu6 at acpi0: C3, C2, C1, PSS
> acpicpu7 at acpi0: C3, C2, C1, PSS
> acpibtn0 at acpi0: PWRB
> acpibtn1 at acpi0: SLPB
> acpivideo0 at acpi0: IGPU
> cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1900, 1800, 1700,
> 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800 MHz
> memory map conflict 0xe00f8000/0x1000
> memory map conflict 0xfed1c000/0x4000
> memory map conflict 0xffed0000/0x30000
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
> ppb0 at pci0 dev 1 function 0 "Intel Core 2G PCIE" rev 0x09: msi
> pci1 at ppb0 bus 1
> ppb1 at pci0 dev 1 function 1 "Intel Core 2G PCIE" rev 0x09: msi
> pci2 at ppb1 bus 6
> ppb2 at pci2 dev 0 function 0 vendor "Intel", unknown product 0x1513 rev
> 0x00
> pci3 at ppb2 bus 7
> ppb3 at pci3 dev 0 function 0 vendor "Intel", unknown product 0x1513 rev
> 0x00: msi
> pci4 at ppb3 bus 8
> vendor "Intel", unknown product 0x1513 (class system subclass
> miscellaneous, rev 0x00) at pci4 dev 0 function 0 not configured
> ppb4 at pci3 dev 3 function 0 vendor "Intel", unknown product 0x1513 rev
> 0x00: msi
> pci5 at ppb4 bus 9
> ppb5 at pci3 dev 4 function 0 vendor "Intel", unknown product 0x1513 rev
> 0x00: msi
> pci6 at ppb5 bus 10
> ppb6 at pci3 dev 5 function 0 vendor "Intel", unknown product 0x1513 rev
> 0x00: msi
> pci7 at ppb6 bus 59
> ppb7 at pci3 dev 6 function 0 vendor "Intel", unknown product 0x1513 rev
> 0x00: msi
> pci8 at ppb7 bus 108
> vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
> 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 0x90000000, size 0x10000000
> inteldrm0 at vga1: apic 2 int 16
> drm0 at inteldrm0
> "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
> uhci0 at pci0 dev 26 function 0 vendor "Intel", unknown product 0x1c2c
> rev 0x05: apic 2 int 21
> ehci0 at pci0 dev 26 function 7 "Intel 6 Series USB" rev 0x05: apic 2 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 6 Series HD Audio" rev 0x05: msi
> azalia0: codecs: Cirrus Logic CS4206, Intel/0x2805, using Cirrus Logic
> CS4206
> audio0 at azalia0
> ppb8 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: msi
> pci9 at ppb8 bus 2
> bge0 at pci9 dev 0 function 0 "Broadcom BCM57765" rev 0x10, BCM57765 B0
> (0x57785100): apic 2 int 16, address 3c:07:54:72:3d:a7
> brgphy0 at bge0 phy 1: BCM57765 10/100/1000baseT PHY, rev. 4
> sdhc0 at pci9 dev 0 function 1 "Broadcom SD Host Controller" rev 0x10:
> apic 2 int 17
> sdhc0 at 0x10: can't map registers
> ppb9 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb5: msi
> pci10 at ppb9 bus 3
> vendor "Broadcom", unknown product 0x4331 (class network subclass
> miscellaneous, rev 0x02) at pci10 dev 0 function 0 not configured
> ppb10 at pci0 dev 28 function 2 "Intel 6 Series PCIE" rev 0xb5: msi
> pci11 at ppb10 bus 4
> ppb11 at pci11 dev 0 function 0 "TI XIO2221 PCIE-PCI" rev 0x01
> pci12 at ppb11 bus 5
> "TI XIO2221 FireWire" rev 0x01 at pci12 dev 0 function 0 not configured
> uhci1 at pci0 dev 29 function 0 vendor "Intel", unknown product 0x1c27
> rev 0x05: apic 2 int 19
> ehci1 at pci0 dev 29 function 7 "Intel 6 Series USB" rev 0x05: apic 2 int 22
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> pcib0 at pci0 dev 31 function 0 "Intel HM65 LPC" rev 0x05
> pciide0 at pci0 dev 31 function 2 "Intel 6 Series SATA" rev 0x05: DMA,
> channel 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide0: using apic 2 int 19 for native-PCI interrupt
> wd0 at pciide0 channel 0 drive 0: <APPLE HDD HTS727550A9E362>
> wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
> wd1 at pciide0 channel 1 drive 0: <APPLE HDD HTS727550A9E362>
> wd1: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
> wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6
> ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: apic
> 2 int 18
> iic0 at ichiic0
> iic0: addr 0x4a 01=20 0a=08 10=0a 11=04 20=f2 21=01 23=88 words 00=0020
> 01=2000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
> spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 SO-DIMM
> spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-10600 SO-DIMM
> usb2 at uhci0: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci1: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> nvram: invalid checksum
> mtrr: Pentium Pro MTRR support
> uhub4 at uhub0 port 1 "Standard Microsystems product 0x2513" rev
> 2.00/b.b3 addr 2
> uhub5 at uhub4 port 1 "Apple Inc. BRCM20702 Hub" rev 2.00/1.00 addr 3
> uhidev0 at uhub5 port 1 configuration 1 interface 0 "Apple Computer
> product 0x820a" rev 2.00/1.00 addr 4
> uhidev0: iclass 3/1, 1 report id
> ukbd0 at uhidev0 reportid 1: 8 variable keys, 6 key codes
> wskbd0 at ukbd0: console keyboard, using wsdisplay0
> uhub5: device problem, disabling port 2
> ugen0 at uhub5 port 3 "Apple Inc. Bluetooth USB Host Controller" rev
> 2.00/0.52 addr 5
> udl0 at uhub4 port 2 "DisplayLink CONV-USB2DVI" rev 2.00/0.03 addr 6
> no data for est. mode 832x768x74
> no data for est. mode 640x480x67
> no data for est. mode 720x400x70
> max_dotclock according to supported modes: 162000
> wsdisplay1 at udl0 mux 1
> wsdisplay1: screen 0 added (std, vt100 emulation)
> udl1 at uhub4 port 3 "DisplayLink CONV-USB2DVI" rev 2.00/0.03 addr 7
> no data for est. mode 832x768x74
> no data for est. mode 640x480x67
> no data for est. mode 720x400x70
> max_dotclock according to supported modes: 162000
> wsdisplay2 at udl1 mux 1
> wsdisplay2: screen 0 added (std, vt100 emulation)
> uhub6 at uhub1 port 1 "Standard Microsystems product 0x2513" rev
> 2.00/b.b3 addr 2
> uhidev1 at uhub6 port 1 configuration 1 interface 0 "Apple Computer,
> Inc. IR Receiver" rev 2.00/0.16 addr 3
> uhidev1: iclass 3/0, 38 report ids
> uhid0 at uhidev1 reportid 36: input=4, output=0, feature=0
> uhid1 at uhidev1 reportid 37: input=4, output=0, feature=0
> uhid2 at uhidev1 reportid 38: input=4, output=0, feature=0
> udl2 at uhub6 port 2 "DisplayLink CONV-USB2DVI" rev 2.00/0.03 addr 4
> no data for est. mode 832x768x74
> no data for est. mode 640x480x67
> no data for est. mode 720x400x70
> max_dotclock according to supported modes: 162000
> wsdisplay3 at udl2 mux 1
> wsdisplay3: screen 0 added (std, vt100 emulation)
> uhub7 at uhub6 port 3 "vendor 0x2109 USB2.0 Hub" rev 2.00/2.88 addr 5
> uhidev2 at uhub7 port 3 configuration 1 interface 0 "Microsoft Microsoft
> 3-Button Mouse with IntelliEye?" rev 2.00/0.00 addr 6
> uhidev2: iclass 3/1
> ums0 at uhidev2: 3 buttons, Z dir
> wsmouse0 at ums0 mux 0
> uhidev3 at uhub7 port 4 configuration 1 interface 0 "Logitech USB
> Keyboard" rev 1.10/66.00 addr 7
> uhidev3: iclass 3/1
> ukbd1 at uhidev3: 8 variable keys, 6 key codes
> wskbd1 at ukbd1 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev4 at uhub7 port 4 configuration 1 interface 1 "Logitech USB
> Keyboard" rev 1.10/66.00 addr 7
> uhidev4: iclass 3/0, 3 report ids
> uhid3 at uhidev4 reportid 1: input=1, output=0, feature=0
> uhid4 at uhidev4 reportid 2: input=1, output=0, feature=0
> uhid5 at uhidev4 reportid 3: input=3, output=0, feature=0
> vscsi0 at root
> scsibus0 at vscsi0: 256 targets
> softraid0 at root
> scsibus1 at softraid0: 256 targets
> sd0 at scsibus1 targ 1 lun 0: <OPENBSD, SR RAID 1, 005> SCSI2 0/direct fixed
> sd0: 476937MB, 512 bytes/sector, 976767473 sectors
> root on sd0a (e37ebc54ca3260d7.a) swap on sd0b dump on sd0b
> clock: unknown CMOS layout
> softraid0: sd1 was not shutdown properly
> softraid0: sd1 was not shutdown properly
> sd1 at scsibus1 targ 2 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
> sd1: 475901MB, 512 bytes/sector, 974646960 sectors
>
> --
> Alexis de BRUYN

Reply | Threaded
Open this post in threaded view
|

Re: Xorg + wsudl(4) DL-165 consumes a lot of cpu

413x
On 02.03.2013 19:24, Tobias Ulmer wrote:

> Your resolution is 1600*1200*3 bytes (lets ignore whatever protocol the
> driver uses, probably not 3 byte words), so 1 full frame update, without
> the large USB overhead, means pushing out 5.5MB/s. At just 25fps that is
> 138MB/s or around 1.2Gbit/s.
>
> Now, USB2 has a theoretical bandwidth of 480Mbit/s, DVI has 4Gbit/s
> (dedicated, with no protocol that also supports mice and stuff).  And
> DVI gets replaced by DP (8Gbit/s and more) because it can't keep up.
>
> Even if OpenBSD was super-awesome at graphics, video and usb (which it
> clearly is not), it could not overcome the hardware limitations. Unless
> the chip itself could do video decoding in hardware, but that is clearly
> not something supported by a framebuffer driver.
>
> So... no way is this ever going to work.
Thanks for the technical clarification.

> Your graphics card does nothing here, afaict. It's all purely done on
> the CPU. Actually I find it kind of amazing that it works at all...
Yes it is ! It is sufficient for me in many cases.

--
Alexis de BRUYN