Bug 116027 - Playing video using Xv on VIA CLE266 results in bad image
Summary: Playing video using Xv on VIA CLE266 results in bad image
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-17 18:19 UTC by Pekka Pietikäinen
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-03-30 19:58:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
XFree86 log of "doesnt work" (31.09 KB, text/plain)
2004-03-06 08:57 UTC, Pekka Pietikäinen
no flags Details
diff of "doesnt work" and "works" log (3.83 KB, patch)
2004-03-06 08:58 UTC, Pekka Pietikäinen
no flags Details | Diff
XF86Config (2.72 KB, text/plain)
2004-03-06 08:58 UTC, Pekka Pietikäinen
no flags Details

Description Pekka Pietikäinen 2004-02-17 18:19:07 UTC
Description of problem:

When using Xv and the new via driver, the colors are completely
off (e.g. black becomes light gray as if the brightness was
way too big, except the brightness setting in applications doesn't do
anything). Normal use is just fine, as is DRI.

A workaround is to start up X once with the driver from
http://www.shipmail.org/%7Ethomas/via/xfree43/epia7.2/, after
which the -57 driver works as expected as well. This is until the
machine is powered down, e.g. booting to a new kernel doesn't break
things. This would suggest there's a "Make Xv work" register that
isn't being set somewhere...

Adapter in questions (EPIA MII-10000 embedded thing using TV-out)

0000:01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8623
[Apollo CLE266] integrated CastleRock graphics (rev 03) (prog-if 00 [VGA])
        Subsystem: VIA Technologies, Inc. VT8623 [Apollo CLE266]
integrated CastleRock graphics
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-


Version-Release number of selected component (if applicable):

4.3.0-57

Comment 1 Mike A. Harris 2004-02-17 23:11:14 UTC
Thanks for testing PP.  I've cc'd _A_, however I believe he's busy
for another week or so, so it might be a few weeks before we can
poke at this.

Thanks for reporting the issue.

Comment 2 Mike A. Harris 2004-03-05 07:42:05 UTC
Could you attach your X server log and config file as well, in case
that comes in handy?

Alan:  Have you seen similar reports of this nature with the via
driver?

Comment 3 Pekka Pietikäinen 2004-03-06 08:57:00 UTC
Created attachment 98335 [details]
XFree86 log of "doesnt work"

Comment 4 Pekka Pietikäinen 2004-03-06 08:58:37 UTC
Created attachment 98336 [details]
diff of "doesnt work" and "works" log 

This is after starting up X once with the other driver and then
going back to the -62 via_drv.o

Comment 5 Pekka Pietikäinen 2004-03-06 08:58:58 UTC
Created attachment 98337 [details]
XF86Config

Comment 6 Pekka Pietikäinen 2004-03-30 19:58:20 UTC
Despite claims to the contrary (about shipping Alan instead of the
stock XFree86 via_drv.o), everything works perfectly with xorg-x11
even after
a poweroff.

Well, except glxinfo, which blows up just like it does with "nv" on my
other box, but you already knew that :-)




Comment 7 Mike A. Harris 2004-03-30 23:07:24 UTC
We are currently shipping the stock via driver in xorg-x11
temporarily, as I haven't updated the build to use Alan's driver
yet.

%ifarch %{ix86}
%define with_via_driver         0
%else
%define with_via_driver         0
%endif

Once we've got Alan's driver back though, the problem might
possibly recur.  If it does, just reopen the report at that time,
and we'll have a look.

Thanks Pekka for the update.

Comment 8 Alan Cox 2004-03-30 23:20:57 UTC
Keep the xorg one, its my driver with later fixes FC1 XF4.3 hasnt got 8)

Comment 9 Mike A. Harris 2004-03-31 06:49:47 UTC
There does not appear to be a via DRI driver in the xorg tree however,
so we've lost DRI support.  If someone can confirm that your last
via-dri snapshot works with Mesa 5 that is included in Xorg X11,
I can reinclude it though.

For now, I'll just keep the Xorg via 2D driver as per your
recommendation.

Thanks for the update Alan.

Comment 10 Alan Cox 2004-03-31 12:51:21 UTC
Ok right the 2D driver in Xorg has all the DRI hooks, and is better
than the 2D driver block you have. The DRI driver I thought had been
merged but if not then the current via driver is on
unichrome.sourceforge.net (and those are its definitive maintainers
nowdays), so it would be a good idea to use that and for Xorg to adopt
that code (or persuade them to become Xorg maintainer for via 8))

3Dwise I'm hoping Test2 will boot on EPIA-M (test1 failed completely),
so that I can merge the kernel dri module for 2.6 from
unichrome.sf.net and check that is also working fine.

Alan



Note You need to log in before you can comment on or make changes to this bug.