[Openchrome-users] VM800: xv issues on Panel

Andrzej Popielewicz vasco
Wed Nov 29 03:04:08 PST 2006


Thomas Hellstr?m napisa?(a):
> Anyone interested at all?
>
>
> Thomas Hellstr?m wrote:
>
>   
>> Thomas Hellstr?m wrote:
>>
>>     
>>> Martin J?rgens wrote:
>>>
>>>  
>>>
>>>       
>>>> I have the same issue with a VN800 chipset on Amilo Pro V2030.
>>>>
>>>> Martin
>>>>
>>>> Am Freitag, 17. November 2006 18:28 schrieb jdoe:
>>>>
>>>>
>>>>    
>>>>
>>>>         
>>>>> Re: VM800: xv issues on Panel
>>>>> Ok, so I figured out the LCD-issue. In order to enable LCD you need to add
>>>>> video card to database. I've patched via_id.c:
>>>>>
>>>>> --- via_id.c    (revision 227)
>>>>> +++ via_id.c    (working copy)
>>>>> @@ -180,6 +180,7 @@
>>>>>    {"Fujitsu/Siemens Amilo L7320",           VIA_VM800,   0x1734, 0x10CD,
>>>>> VIA_DEVICE_CRT | VIA_DEVICE_LCD}, {"ASRock P4VM800",                       
>>>>> VIA_VM800,   0x1849, 0x3344, VIA_DEVICE_CRT}, {"Asustek P5V800-MX",        
>>>>>           VIA_VM800,   0x3344, 0x1122, VIA_DEVICE_CRT}, +   
>>>>> {"Clevo/RoverBook Partner E419L",         VIA_VM800,   0x1019, 0x0f75,
>>>>> VIA_DEVICE_CRT | VIA_DEVICE_LCD}, /* keep this */
>>>>>    {NULL,                                    VIA_UNKNOWN, 0x0000, 0x0000,
>>>>> VIA_DEVICE_NONE} };
>>>>>
>>>>> But still no luck with xv :(
>>>>> Guy common throw me a bone here.
>>>>>
>>>>> ----
>>>>>   
>>>>>
>>>>>      
>>>>>
>>>>>           
>>> I might have a patch for you to test next week.
>>>  
>>>
>>>       
>> OK,
>> Can anyone test the attached patch to see if it makes panel Xv work?
>>
>> /Thomas
>>
>> ------------------------------------------------------------------------
>>
>> Index: unichrome/via_swov.c
>> ===================================================================
>> --- unichrome/via_swov.c	(revision 229)
>> +++ unichrome/via_swov.c	(working copy)
>> @@ -1396,18 +1396,18 @@
>>
>>     /*SaveVideoRegister(pVia, V_COLOR_KEY, keyLow); */
>>
>> -    if (videoFlag & VIDEO_1_INUSE) {
>> +    if ((videoFlag & VIDEO_1_INUSE) || !pVia->HWDiff.dwSupportTwoColorKey) {
>> 	SaveVideoRegister(pVia, V_COLOR_KEY, keyLow);
>> +	SaveVideoRegister(pVia, SND_COLOR_KEY, keyLow);
>>     } else {
>> -	if (pVia->HWDiff.dwSupportTwoColorKey)	/*CLE_C0 */
>> 	    SaveVideoRegister(pVia, V3_COLOR_KEY, keyLow);
>>     }
>>
>>     /*compose = (compose & ~0x0f) | SELECT_VIDEO_IF_COLOR_KEY; */
>>     /*CLE_C0 */
>>     compose =
>> -	(compose & ~0x0f) | SELECT_VIDEO_IF_COLOR_KEY |
>> -	SELECT_VIDEO3_IF_COLOR_KEY;
>> +	(compose & ~0x0003000f) | SELECT_VIDEO_IF_COLOR_KEY |
>> +	SELECT_VIDEO3_IF_COLOR_KEY | SECOND_DISPLAY_COLOR_KEY_ENABLE;
>>     /*compose = (compose & ~0x0f)  ; */
>>
>>     return compose;
>> @@ -1437,10 +1437,8 @@
>>     }
>>
>>     /* Modified by Scottie[2001.12.5] for select video if (Color key & Chroma key) */
>> -    if (compose == SELECT_VIDEO_IF_COLOR_KEY)
>> -	compose = SELECT_VIDEO_IF_COLOR_KEY | SELECT_VIDEO_IF_CHROMA_KEY;
>> -    else
>> -	compose = (compose & ~0x0f) | SELECT_VIDEO_IF_CHROMA_KEY;
>> +    
>> +    compose |= SELECT_VIDEO_IF_CHROMA_KEY;
>>
>>     return compose;
>> }
>> @@ -1636,8 +1634,10 @@
>> 	proReg = PRO_HQV1_OFFSET;
>>
>>     compose = (VIDInD(V_COMPOSE_MODE) &
>> -	~(SELECT_VIDEO_IF_COLOR_KEY | V1_COMMAND_FIRE | V3_COMMAND_FIRE)) |
>> -	V_COMMAND_LOAD_VBI;
>> +	       ~(SELECT_VIDEO_IF_COLOR_KEY | SECOND_DISPLAY_COLOR_KEY_ENABLE |
>> +		 SELECT_VIDEO3_IF_COLOR_KEY | 
>> +		 V1_COMMAND_FIRE | V3_COMMAND_FIRE)) |
>> +      V_COMMAND_LOAD_VBI;
>>
>>     DBG_DD(ErrorF("// Upd_Video:\n"));
>>     DBG_DD(ErrorF("Modified rSrc  X (%ld,%ld) Y (%ld,%ld)\n",
>>  
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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
>>
>>     
>
>
> _______________________________________________
> 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
>
>
>
>   
Hi,
I have just applied Your xv.diff patch. I have mplayer with three 
patches, it means option "-vo xvmc" works. The only change I observe is 
that mplayer window is now dark blue , and not black.Audio works.

Andrzej
P.S My system : AmiloPro V2030 with vn800.




More information about the Openchrome-users mailing list