[Openchrome-users] Slow 2d output

Thomas Hellström thomas
Tue Sep 19 13:25:01 PDT 2006


julius.junghans at gmx.de wrote:

>Am Freitag 15 September 2006 18:13 schrieb julius.junghans at gmx.de:
>  
>
>>Hi,
>>
>>ive just recently changed my laptop in favour of a via nehemiah 1,2 ghz.
>>the 2d output is slow - for example i can see the screen repainting when
>>scrolling sites in konqueror/konsole. even the output of top when it first
>>starts up fills the screen in "slow motion"... On the other side watching
>>xvid movies works fine.
>>I guess this behavior is not normal?
>>
>>
>>glxgears:
>>2265 frames in 5.0 seconds = 452.874 FPS
>>
>>
>>/etc/X11/xorg.conf
>>Section "Module"
>>        Load  "glx"
>>        Load  "extmod"
>>        Load  "xtrap"
>>        Load  "record"
>>        Load  "dbe"
>>        Load  "dri"
>>        Load  "freetype"
>>        Load  "type1"
>>EndSection
>>Section "Device"
>>       Identifier  "Card0"
>>        Driver      "via"
>>        VendorName  "Unknown Vendor"
>>        BoardName   "Unknown Board"
>>        BusID       "PCI:1:0:0"
>>        Option "EnableAGPDMA" "true"
>>EndSection
>>Section "Screen"
>>        Identifier "Screen0"
>>        Device     "Card0"
>>        Monitor    "Monitor0"
>>        DefaultDepth 16
>>
>>            Subsection "Display"
>>                    Depth       16
>>                    Modes       "1280x1024" "1280x960" "1024x768" "800x600"
>>        EndSubSection
>>EndSection
>>Section "dri"
>>  Mode 0666
>>EndSection
>>
>>
>>cat /var/log/Xorg.0.log|grep VIA
>>(II) VIA: driver for VIA chipsets: CLE266, KM400/KN400, K8M800,
>>(!!) VIA Technologies does not support or endorse this driver in any way.
>>(II) VIA(0): VIAPreInit
>>(II) VIA(0): VIAGetRec
>>(**) VIA(0): Depth 16, (--) framebuffer bpp 16
>>(==) VIA(0): RGB weight 565
>>(==) VIA(0): Default visual is TrueColor
>>(**) VIA(0): Option "EnableAGPDMA" "true"
>>(==) VIA(0): Using XAA acceleration architecture
>>(==) VIA(0): Using HW cursor
>>(**) VIA(0): Option: EnableAGPDMA - Enabling AGP DMA
>>(--) VIA(0): Chipset: "CLE266"
>>(II) VIA(0): VIAMapMMIO
>>(--) VIA(0): mapping MMIO @ 0xe4000000 with size 0x9000
>>(--) VIA(0): mapping BitBlt MMIO @ 0xe4200000 with size 0x10000
>>(II) VIA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is
>>0x0000 (--) VIA(0): Chipset Rev.: 18
>>(WW) VIA(0): Manufacturer plainly copied main PCI ids to Subsystem/Card
>>ids. (--) VIA(0): Detected VIA VT3122 (CLE266)-EPIA M/MII/....
>>(II) VIA(0): Detected MemClk 4
>>(II) VIA(0): ViaGetMemoryBandwidth
>>(II) VIA(0): Detected TV Standard: NTSC.
>>(==) VIA(0): Using gamma correction (1.0, 1.0, 1.0)
>>(--) VIA(0): videoram =  32768k
>>(II) VIA(0): ViaI2CInit
>>(II) VIA(0): ViaI2CBus1Init
>>(II) VIA(0): I2C bus "I2C bus 1" initialized.
>>(II) VIA(0): ViaI2cBus2Init
>>(II) VIA(0): I2C bus "I2C bus 2" initialized.
>>(II) VIA(0): ViaI2CBus3Init
>>(II) VIA(0): I2C bus "I2C bus 3" initialized.
>>(II) VIA(0): I2C device "I2C bus 1:ddc2" registered at address 0xA0.
>>(II) VIA(0): I2C device "I2C bus 1:ddc2" removed.
>>(II) VIA(0): Manufacturer: MAX  Model: 17bb  Serial#: 5539
>>(II) VIA(0): Year: 2003  Week: 43
>>(II) VIA(0): EDID Version: 1.3
>>(II) VIA(0): Analog Display Input,  Input Voltage Level: 0.700/0.700 V
>>(II) VIA(0): Sync:  Separate
>>(II) VIA(0): Max H-Image Size [cm]: horiz.: 36  vert.: 27
>>(II) VIA(0): Gamma: 2.20
>>(II) VIA(0): DPMS capabilities: Off; RGB/Color Display
>>(II) VIA(0): First detailed timing is preferred mode
>>(II) VIA(0): redX: 0.626 redY: 0.340   greenX: 0.288 greenY: 0.608
>>(II) VIA(0): blueX: 0.148 blueY: 0.064   whiteX: 0.283 whiteY: 0.298
>>(II) VIA(0): Supported VESA Video Modes:
>>(II) VIA(0): 720x400 at 70Hz
>>(II) VIA(0): 640x480 at 60Hz
>>(II) VIA(0): 640x480 at 75Hz
>>(II) VIA(0): 800x600 at 75Hz
>>(II) VIA(0): 1024x768 at 75Hz
>>(II) VIA(0): 1280x1024 at 75Hz
>>(II) VIA(0): Manufacturer's mask: 0
>>(II) VIA(0): Supported Future Video Modes:
>>(II) VIA(0): #0: hsize: 640  vsize 480  refresh: 85  vid: 22833
>>(II) VIA(0): #1: hsize: 800  vsize 600  refresh: 85  vid: 22853
>>(II) VIA(0): #2: hsize: 1024  vsize 768  refresh: 85  vid: 22881
>>(II) VIA(0): #3: hsize: 1280  vsize 1024  refresh: 85  vid: 39297
>>(II) VIA(0): #4: hsize: 1600  vsize 1200  refresh: 75  vid: 20393
>>(II) VIA(0): Supported additional Video Mode:
>>(II) VIA(0): clock: 157.5 MHz   Image Size:  360 x 270 mm
>>(II) VIA(0): h_active: 1280  h_sync: 1344  h_sync_end 1504 h_blank_end 1728
>>h_border: 0
>>(II) VIA(0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1072
>>v_border: 0
>>(II) VIA(0): Monitor name: Belinea
>>(II) VIA(0): Monitor name:  106075
>>(II) VIA(0): Ranges: V min: 50  V max: 160 Hz, H min: 30  H max: 98 kHz,
>>PixClock max 200 MHz
>>(II) VIA(0): ViaOutputsDetect
>>(II) VIA(0): VIATVDetect
>>(II) VIA(0): ViaVT162xDetect
>>(II) VIA(0): I2C device "I2C bus 2:VT162x" registered at address 0x40.
>>(--) VIA(0): Detected VIA Technologies VT1622A/VT1623 TV Encoder
>>(II) VIA(0): ViaTVInit
>>(II) VIA(0): ViaVT162xInit
>>(II) VIA(0): VT162xSave
>>(II) VIA(0): VT1622DACSense
>>(--) VIA(0): VT162x: Nothing connected.
>>(II) VIA(0): ViaOutputsSelect
>>(II) VIA(0): ViaOutputsSelect: X Configuration: 0x00
>>(II) VIA(0): ViaOutputsSelect: BIOS Initialised register: 0x00
>>(II) VIA(0): ViaOutputsSelect: CRT.
>>(II) VIA(0): ViaModesAttach
>>(II) VIA(0): Monitor0: Using hsync range of 30.00-98.00 kHz
>>(II) VIA(0): Monitor0: Using vrefresh range of 50.00-160.00 Hz
>>
>>...
>>(--) VIA(0): Display dimensions: (360, 270) mm
>>(--) VIA(0): DPI set to (90, 96)
>>(II) VIA(0): VIAUnmapMem
>>(II) VIA(0): VIAScreenInit
>>(II) VIA(0): VIAMapFB
>>(--) VIA(0): mapping framebuffer @ 0xe0000000 with size 0x2000000
>>(==) VIA(0): Write-combining range (0xe0000000,0x2000000)
>>(--) VIA(0): Frame buffer start: 0xb5ae9000, free start: 0x280000 end:
>>0x2000000
>>(II) VIA(0): VIAMapMMIO
>>(--) VIA(0): mapping MMIO @ 0xe4000000 with size 0x9000
>>(--) VIA(0): mapping BitBlt MMIO @ 0xe4200000 with size 0x10000
>>(II) VIA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is
>>0x0000 (II) VIA(0): VIASave
>>(II) VIA(0): VT162xSave
>>(II) VIA(0): VIAWriteMode
>>(II) VIA(0): ViaModePrimary
>>(II) VIA(0): ViaModePrimaryVGA
>>(II) VIA(0): ViaModePrimaryVGA: Setting up 1280x1024
>>(II) VIA(0): CrtcHTotal: 0x6C0
>>(II) VIA(0): CrtcHDisplay: 0x500
>>(II) VIA(0): CrtcHBlankStart: 0x500
>>(II) VIA(0): CrtcHBlankEnd: 0x6C0
>>(II) VIA(0): CrtcHSyncStart: 0x540
>>(II) VIA(0): CrtcHSyncEnd: 0x5E0
>>(II) VIA(0): CrtcVTotal: 0x430
>>(II) VIA(0): CrtcVDisplay: 0x400
>>(II) VIA(0): CrtcVSyncStart: 0x401
>>(II) VIA(0): CrtcVSyncEnd: 0x404
>>(II) VIA(0): CrtcVBlankStart: 0x400
>>(II) VIA(0): CrtcVBlankEnd: 0x430
>>(II) VIA(0): Offset: 0x140
>>(II) VIA(0): Fetch Count: 0x140
>>(II) VIA(0): ViaComputeDotClock 157500 : 422c : 0216
>>(II) VIA(0): ViaTVPower: Off.
>>(II) VIA(0): VT1622Power
>>(II) VIA(0): ViaSetPrimaryFIFO
>>(II) VIA(0): ViaSetPrimaryExpireNumber
>>(II) VIA(0): ViaSetPrimaryDotclock to 0x000216
>>(II) VIA(0): ViaSetUseExternalClock
>>(II) VIA(0): 3D Engine has been initialized.
>>(II) VIA(0): VIAAdjustFrame
>>(II) VIA(0): VIAAdjustFrame
>>(II) VIA(0): - Blanked
>>(II) VIA(0): [drm] DRM interface version 1.2
>>(II) VIA(0): [drm] created "via" driver at busid "PCI:1:0:0"
>>(II) VIA(0): [drm] added 8192 byte SAREA at 0xf8f45000
>>(II) VIA(0): [drm] mapped SAREA 0xf8f45000 to 0xb5ae7000
>>(II) VIA(0): [drm] framebuffer handle = 0xe0000000
>>(II) VIA(0): [drm] added 1 reserved context for kernel
>>(II) VIA(0): [dri] visual configs initialized.
>>(II) VIA(0): [drm] register handle = 0xe4000000
>>(II) VIA(0): [drm] framebuffer handle = 0xe0000000
>>(II) VIA(0): [drm] mmio Registers = 0xe4000000
>>(II) VIA(0): [dri] mmio mapped.
>>(II) VIA(0): - Visuals set up
>>(II) VIA(0): VIAInternalScreenInit
>>(II) VIA(0): - B & W
>>(II) VIA(0): Using 3072 lines for offscreen memory.
>>(II) VIA(0): Using XFree86 Acceleration Architecture (XAA)
>>(==) VIA(0): Backing store disabled
>>(II) VIA(0): - Backing store set up
>>(II) VIA(0): - SW cursor set up
>>(II) VIA(0): VIAHWCursorInit
>>(II) VIA(0): - Def Color map set up
>>(II) VIA(0): VIALoadPalette
>>(II) VIA(0): - Palette loaded
>>(II) VIA(0): - DPMS set up
>>(II) VIA(0): - Color maps etc. set up
>>(EE) VIA(0): [drm] drmAgpAcquire failed 19
>>(II) VIA(0): [dri] use pci.
>>(II) VIA(0): [drm] Using 22797280 bytes for DRM memory heap.
>>(II) VIA(0): [dri] frame buffer initialized.
>>(II) VIA(0): X context handle = 0x1
>>(II) VIA(0): [drm] installed DRM signal handler
>>(II) VIA(0): [DRI] installation complete
>>(II) VIA(0): [dri] kernel data initialized.
>>(II) VIA(0): [drm] Irq handler installed, using IRQ 12.
>>(EE) VIA(0): [drm] Failed to initialize DMA ring-buffer: 14
>>(II) VIA(0): direct rendering enabled
>>(II) VIA(0): [Xv] Using PCI DMA for Xv image transfer.
>>(II) VIA(0): Benchmarking video copy. Less is better.
>>(--) VIA(0): Timed   libc YUV420 copy... 4023958. Throughput: 176.9 MiB/s.
>>(--) VIA(0): Timed kernel YUV420 copy... 4198106. Throughput: 169.6 MiB/s.
>>(--) VIA(0): Timed    SSE YUV420 copy... 2417048. Throughput: 294.5 MiB/s.
>>(--) VIA(0): Timed    MMX YUV420 copy... 4062189. Throughput: 175.2 MiB/s.
>>(--) VIA(0): Ditch 3DNow! YUV420 copy... Not supported by CPU.
>>(--) VIA(0): Timed   MMX2 YUV420 copy... 2566252. Throughput: 277.4 MiB/s.
>>(--) VIA(0): Using SSE YUV42X copy for video.
>>(II) VIA(0): [XvMC] Registering viaXvMC.
>>(II) VIA(0): [XvMC] Initialized XvMC extension.
>>(II) VIA(0): - Done
>>
>>_______________________________________________
>>openchrome-users mailing list
>>openchrome-users at openchrome.org
>>http://wiki.openchrome.org/mailman/listinfo/openchrome-users
>>Main page:
>>http://www.openchrome.org
>>Wiki:
>>http://wiki.openchrome.org
>>User Forum:
>>http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
>>    
>>
>
>Missed a line in the syslog, the bios is set to 64mb shared memory
>
>[drm:via_initialize] *ERROR* via_initialize called with no agp memory 
>available
>
>This error is about the available ram right?
>  
>
Nope, The via agp module isn't loaded / available.

modprobe via-agp

before starting X or loading the drm.

/Thomas


>Julius
>
>_______________________________________________
>openchrome-users mailing list
>openchrome-users at openchrome.org
>http://wiki.openchrome.org/mailman/listinfo/openchrome-users
>Main page:
>http://www.openchrome.org
>Wiki:
>http://wiki.openchrome.org
>User Forum:
>http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
>
>
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20060919/ee03f878/attachment-0001.html



More information about the Openchrome-users mailing list