[Openchrome-users] [openChrome] #342: VT8623 CastleRock 0.2.903-2 upgrade to 0.2.904-1 causes heavy TV-Out flickering

OpenChrome Trac trac
Wed Jan 20 23:53:17 PST 2010


#342: VT8623 CastleRock 0.2.903-2 upgrade to 0.2.904-1 causes heavy TV-Out
flickering
----------------------+-----------------------------------------------------
 Reporter:  Sekkai    |        Owner:  ivor  
     Type:  defect    |       Status:  new   
 Priority:  critical  |    Component:  tv-out
  Version:  0.2.904   |   Resolution:        
 Keywords:            |     Blocking:        
Blockedby:            |  
----------------------+-----------------------------------------------------

Comment(by lorcap):

 Replying to [comment:22 gang65]:
 > Try to revert only via_vt162x.h file from r787 to r786
 >
 > Just download this file and replace in your openchrome driver:
 > http://www.openchrome.org/trac/export/592/trunk/src/via_vt162x.h

 So I did.  I copied your file over my local copy and recompiled.  It still
 works.

 Here it is the diff between a working ({{{Xorg.r786.log}}}) and non-
 working ({{{Xorg.0.2.984.log}}}) drivers:
 {{{
 #!diff
 --- Xorg.r786.log       2010-02-20 16:33:52.046311460 +0100
 +++ Xorg.0.2.984.log    2010-02-18 14:36:15.047046850 +0100
 @@ -21,7 +21,7 @@
  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: Sat Jan 20 16:33:16 2010
 +(==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 18 14:35:22 2010
  (==) Using config file: "/etc/X11/xorg.conf"
  (==) ServerLayout "lollywood's Layout"
  (**) |-->Screen "TV PAL 16:9" (0)
 @@ -98,16 +98,16 @@
  (II) LoadModule: "openchrome"
  (II) Loading /usr/lib/xorg/modules/drivers/openchrome_drv.so
  (II) Module openchrome: vendor="http://openchrome.org/"
 -       compiled for 1.7.3.902, module version = 0.2.904
 +       compiled for 1.7.0.901, module version = 0.2.904
         Module class: X.Org Video Driver
         ABI class: X.Org Video Driver, version 6.0
  (II) OPENCHROME: Driver for VIA Chrome chipsets: CLE266, KM400/KN400,
 -       K8M800/K8N800, PM800/PM880/CN400, P4M800Pro/VN800/CN700,
 +       K8M800/K8N800, PM800/PM880/CN400, VM800/P4M800Pro/VN800/CN700,
         K8M890/K8N890, P4M900/VN896/CN896, CX700/VX700, P4M890, VX800,
 VX855
  (II) Primary Device is: PCI 01 at 00:00:0
  (!!) VIA Technologies does not support this driver in any way.
  (!!) For support, please refer to http://www.openchrome.org/.
 -(!!) (development build, compiled on Sat Feb 20 16:32:29 2010)
 +(!!) (openchrome 0.2.904 release)
  (II) CHROME(0): VIAPreInit
  (II) Loading sub module "vgahw"
  (II) LoadModule: "vgahw"
 @@ -152,6 +152,7 @@
  (==) CHROME(0): TV deflicker is set to 0.
  (**) CHROME(0): TV Type is PAL.
  (**) CHROME(0): TV Output Signal is S-Video.
 +(==) CHROME(0): No default TV output port is set.
  (II) CHROME(0): VIAMapMMIO
  (--) CHROME(0): mapping MMIO @ 0xdc000000 with size 0x9000
  (--) CHROME(0): mapping BitBlt MMIO @ 0xdc200000 with size 0x200000
 @@ -807,13 +808,15 @@
  (II) CHROME(0): VIAScreenInit
  (II) CHROME(0): VIAMapFB
  (--) CHROME(0): mapping framebuffer @ 0xd8000000 with size 0x4000000
 -(--) CHROME(0): Frame buffer start: 0xb2f1c000, free start: 0x195000 end:
 0x4000000
 +(--) CHROME(0): Frame buffer start: 0xb3016000, free start: 0x195000 end:
 0x4000000
  (II) CHROME(0): VIAMapMMIO
  (--) CHROME(0): mapping MMIO @ 0xdc000000 with size 0x9000
  (--) CHROME(0): mapping BitBlt MMIO @ 0xdc200000 with size 0x200000
  (II) CHROME(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is
 0x0000
  (II) CHROME(0): VIASave
  (II) CHROME(0): Primary
 +(II) CHROME(0): Primary Adapter! saving VGA_SR_ALL !!
 +(II) CHROME(0): Non-Primary Adapter! saving VGA_SR_MODE only !!
  (II) CHROME(0): Crtc...
  (II) CHROME(0): TVSave...
  (II) CHROME(0): VT162xSave
 @@ -900,20 +903,22 @@
  (WW) CHROME(0): width=720:720, height=576:576, std=2:2,
 name=720x576Over:720x576Noscale.
  (WW) CHROME(0): width=720:720, height=480:576, std=1:2,
 name=720x480Noscale:720x576Noscale.
  (WW) CHROME(0): width=720:720, height=576:576, std=2:2,
 name=720x576Noscale:720x576Noscale.
 +(II) CHROME(0): ViaSetTVClockSource
  (II) CHROME(0): ViaSetPrimaryFIFO
  (II) CHROME(0): ViaSetPrimaryExpireNumber
  (II) CHROME(0): ViaSetDotclock to 0x00871c
 -(II) CHROME(0): VIAAdjustFrame
 -(II) CHROME(0): VIAAdjustFrame
 +(II) CHROME(0): VIAAdjustFrame 0x0
 +(II) CHROME(0): VIAAdjustFrame 0x0
  (II) CHROME(0): - Blanked
  drmOpenDevice: node name is /dev/dri/card0
 +drmOpenDevice: open result is 12, (OK)
  drmOpenDevice: node name is /dev/dri/card0
 +drmOpenDevice: open result is 12, (OK)
  drmOpenByBusid: Searching for BusID PCI:1:0:0
  drmOpenDevice: node name is /dev/dri/card0
  drmOpenDevice: open result is 12, (OK)
  drmOpenByBusid: drmOpenMinor returns 12
  drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
 -(II) [drm] loaded kernel module for "via" driver.
  (II) [drm] DRM interface version 1.3
  (II) [drm] DRM open master succeeded.
  (II) CHROME(0): [drm] Using the DRM lock SAREA also for drawables.
 @@ -930,6 +935,7 @@
  (II) CHROME(0): VIAInternalScreenInit
  (II) CHROME(0): - B & W
  (II) CHROME(0): CursorStart: 0x3fc0000
 +(II) CHROME(0): Frame Buffer From (0,0) To (720,2304)
  (II) CHROME(0): Using 1728 lines for offscreen memory.
  (II) CHROME(0): Using XFree86 Acceleration Architecture (XAA)
         Screen to screen bit blits
 @@ -949,6 +955,7 @@
  (II) CHROME(0): VIAHWCursorInit
  (II) CHROME(0): - Def Color map set up
  (II) CHROME(0): VIALoadPalette: numColors: 256
 +(II) CHROME(0): VIALoadRgbLut
  (II) CHROME(0): - Palette loaded
  (II) CHROME(0): - DPMS set up
  (II) CHROME(0): - Color maps etc. set up
 @@ -971,12 +978,12 @@
  (II) CHROME(0): [Xv] Using PCI DMA for Xv image transfer.
  Fulfilled via DRI at 6638464
  (II) CHROME(0): Benchmarking video copy.  Less time is better.
 -(--) CHROME(0): Timed   libc YUV420 copy... 4170829. Throughput: 142.2
 MiB/s.
 -(--) CHROME(0): Timed kernel YUV420 copy... 4077538. Throughput: 145.5
 MiB/s.
 -(--) CHROME(0): Timed    SSE YUV420 copy... 2014073. Throughput: 294.5
 MiB/s.
 -(--) CHROME(0): Timed    MMX YUV420 copy... 2812626. Throughput: 210.9
 MiB/s.
 +(--) CHROME(0): Timed   libc YUV420 copy... 7394912. Throughput: 80.2
 MiB/s.
 +(--) CHROME(0): Timed kernel YUV420 copy... 10215822. Throughput: 58.1
 MiB/s.
 +(--) CHROME(0): Timed    SSE YUV420 copy... 1920552. Throughput: 308.8
 MiB/s.
 +(--) CHROME(0): Timed    MMX YUV420 copy... 2534053. Throughput: 234.1
 MiB/s.
  (--) CHROME(0): Ditching 3DNow! YUV420 copy. Not supported by CPU.
 -(--) CHROME(0): Timed   MMX2 YUV420 copy... 2022546. Throughput: 293.3
 MiB/s.
 +(--) CHROME(0): Timed   MMX2 YUV420 copy... 1952956. Throughput: 303.7
 MiB/s.
  Freed 6638464 (pool 2)
  (--) CHROME(0): Using SSE YUV42X copy for video.
  (II) CHROME(0): [XvMC] Registering chromeXvMC.
 @@ -1089,11 +1096,12 @@
  (II) CHROME(0): ViaTVPower: On.
  (II) CHROME(0): VT1622Power
  (II) CHROME(0): VIACloseScreen
 +viaWaitVideoCommandFire: Timeout.
  (II) CHROME(0): [drm] Cleaning up DMA ring-buffer.
  (II) CHROME(0): [drm] Freeing agp memory
  (II) CHROME(0): [drm] Releasing agp module
  (II) CHROME(0): [drm] removed 1 reserved context for kernel
 -(II) CHROME(0): [drm] unmapping 8192 bytes of SAREA 0xdc849000 at
 0xb76f8000
 +(II) CHROME(0): [drm] unmapping 8192 bytes of SAREA 0xdc817000 at
 0xb77f4000
  (II) CHROME(0): [drm] Closed DRM master.
  Freed 6638464 (pool 1)
  (II) CHROME(0): VIARestore
 }}}

-- 
Ticket URL: <http://www.openchrome.org/trac/ticket/342#comment:23>
openChrome <http://www.openchrome.org/>
The openChrome project



More information about the Openchrome-users mailing list