<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi Bartoz,<br/></div><div><br/></div><div>the "final" patch works fine with movies, too. I created a clean clone of the repositories just to make sure I don't mess anything up and patched that one.<br/></div><div><br/></div><div>Nevertheless I can still not chose any other resolution than 1024x768. xrandr throws an error:<br/></div><div><br/></div><div>$ xrandr --output VGA1 --mode 1280x720<br/>warning: output VGA1 not found; ignoring<br/></div><div><br/></div><div>$ xrandr --newmode "1280x720" 74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync <br/>X Error of failed request:  BadName (named color or font does not exist)<br/>  Major opcode of failed request:  149 (RANDR)<br/>  Minor opcode of failed request:  16 (RRCreateMode)<br/>  Serial number of failed request:  23<br/>  Current serial number in output stream:  23<br/></div><div><br/></div><div>is this a driver issue?<br/>
<br/></div><div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
    <div style="margin:0 0 10px 0;">
        <b>Gesendet:</b> Dienstag, 27. November 2012 um 23:58 Uhr<br/>
        <b>Von:</b> Bartosz <gang65@poczta.onet.pl><br/>
        <b>An:</b> "Matias Hauke" <xxlray@web.de><br/>
        <b>Cc:</b> "OpenChrome Development" <openchrome-devel@openchrome.org><br/>
        <b>Betreff:</b> Re: [Openchrome-users] Fwd: Ubuntu 12.04 and CN896 chipset only in 1024x768
    <br/></div>
    <div name="quoted-content">
        Hi Matias.<br/>
<br/>
Could you please revert your last patch and apply patch available in attachment?<br/>
<br/>
I would like test final solution.<br/>
<br/>
Thanks in advance<br/>
Bartosz<br/>
<br/>
2012/11/22  <xxlray@web.de>:<br/>
> Unfortunately there was an error when I tried to apply the new patch to the<br/>
> code that was already patched with the old patch:<br/>
><br/>
> patching file src/via_xv.c<br/>
> Hunk #4 FAILED at 359.<br/>
> Hunk #5 FAILED at 376.<br/>
> Hunk #6 FAILED at 1275.<br/>
> 3 out of 6 hunks FAILED -- saving rejects to file src/via_xv.c.rej<br/>
><br/>
> That is why I deleted the old code, cloned the git repository again and<br/>
> applied only the new patch. I hope this was correct. At least videos are now<br/>
> displayed fine. The latest log is attached.<br/>
> I am already happy but to make it perfect I would like to have a different<br/>
> resolution (1280x720) than 1024x768.<br/>
> I need to got to sleep now as I have to tomo... arg today. But if you send<br/>
> me a new patch I will test it right in the morning.<br/>
><br/>
> Gesendet: Mittwoch, 21. November 2012 um 23:53 Uhr<br/>
> Von: Bartosz <gang65@poczta.onet.pl><br/>
> An: "Matias Hauke" <xxlray@web.de><br/>
> Betreff: Re: Re: [Openchrome-users] Fwd: Ubuntu 12.04 and CN896 chipset only<br/>
> in 1024x768<br/>
> Hi.<br/>
><br/>
> Next version of the patch.<br/>
><br/>
> Try it and attach Xorg.0.log<br/>
><br/>
> Thanks in advance<br/>
> Bartosz<br/>
><br/>
> 2012/11/21 <xxlray@web.de>:<br/>
>> Hi Bartosz,<br/>
>><br/>
>> I really appreciate your effort. I applied the path (I think successfully)<br/>
>> compiled and installed (make && sudo make install) again and rebootet.<br/>
>> Unfortunately the window where videos should play still remains black. The<br/>
>> latest log is again attached.<br/>
>><br/>
>> (By "back to the old driver version" I meant the standard Ubuntu driver<br/>
>> that<br/>
>> I had before I started to compile manually)<br/>
>><br/>
>> Regards<br/>
>> Gesendet: Mittwoch, 21. November 2012 um 22:34 Uhr<br/>
>> Von: Bartosz <gang65@poczta.onet.pl><br/>
>> An: "Matthias Hanke" <xxlray@web.de><br/>
>> Cc: openchrome-users <openchrome-users@openchrome.org><br/>
>> Betreff: Re: [Openchrome-users] Fwd: Ubuntu 12.04 and CN896 chipset only<br/>
>> in<br/>
>> 1024x768<br/>
>> Hi Matthias.<br/>
>><br/>
>> I have prepared patch which should solve Video bandwidth problems on<br/>
>> master.<br/>
>><br/>
>> 1. Save patch in your home directory<br/>
>> 2. Open openchrome master directory<br/>
>> 3. Type<br/>
>> patch -p1 < ~/xv_bandwidth.patch<br/>
>> patching file src/via_xv.c<br/>
>> 4. build and install openchrome driver<br/>
>> 5. Restart X<br/>
>> 5. Attach the Xorg.0.log file<br/>
>><br/>
>> Best Regards<br/>
>> Bartosz<br/>
>><br/>
>> 2012/11/21 Matthias Hanke <xxlray@web.de>:<br/>
>>> Thank you for the answer but the driver already compiled.<br/>
>>><br/>
>>> I attached the full log now but had to compress it as it is stuck in the<br/>
>>> review queue otherwise.<br/>
>>><br/>
>>> Can I by the way temporarily switch back to the old driver that allowed<br/>
>>> me<br/>
>>> at least to watch TV?<br/>
>>><br/>
>>> Gesendet: Mittwoch, 21. November 2012 um 20:09 Uhr<br/>
>>> Von: Bartosz <gang65@poczta.onet.pl><br/>
>>> An: openchrome-users <openchrome-users@openchrome.org><br/>
>>> Betreff: [Openchrome-users] Fwd: Ubuntu 12.04 and CN896 chipset only in<br/>
>>> 1024x768<br/>
>>> ---------- Forwarded message ----------<br/>
>>> From: Bartosz <gang65@poczta.onet.pl><br/>
>>> Date: 2012/11/21<br/>
>>> Subject: Re: [Openchrome-users] Ubuntu 12.04 and CN896 chipset only in<br/>
>>> 1024x768<br/>
>>> To: Matthias Hanke <xxlray@web.de><br/>
>>><br/>
>>><br/>
>>> Hi<br/>
>>> The instruction how to compile openchrome on Ubuntu is on webpage:<br/>
>>> <a href="https://help.ubuntu.com/community/OpenChrome" target="_blank">https://help.ubuntu.com/community/OpenChrome</a><br/>
>>><br/>
>>> The reason why there is no Xvideo is:<br/>
>>> Xv Overlay rejected due to insufficient memory bandwidth.<br/>
>>> Check is implemented in file :<br/>
>>><br/>
>>><br/>
>>> <a href="http://cgit.freedesktop.org/openchrome/xf86-video-openchrome/tree/src/via_xv.c" target="_blank">http://cgit.freedesktop.org/openchrome/xf86-video-openchrome/tree/src/via_xv.c</a><br/>
>>> In method:<br/>
>>> DecideOverlaySupport<br/>
>>><br/>
>>> Please provide full Xorg.0.log.<br/>
>>><br/>
>>> Best Regards<br/>
>>> Bartosz<br/>
>>><br/>
>>> 2012/11/21 Matthias Hanke <xxlray@web.de>:<br/>
>>>> As my last email seems to be stuck for review du to a to large log file<br/>
>>>> I<br/>
>>>> try it again just attaching the tail of my xorg log.<br/>
>>>><br/>
>>>> I somehow must have missed the "sudo apt-get build-dep<br/>
>>>> xserver-xorg-video-openchrome" part- Comilation is fine now but the<br/>
>>>> result<br/>
>>>> is worse. The good thing is that no error message pops up after boot.<br/>
>>>><br/>
>>>> Nevertheless Resolution is now fixed to 1024x768 and I can not even<br/>
>>>> switch<br/>
>>>> to 600x800 any more (which I anyway don't need to). Furthermore (and<br/>
>>>> this<br/>
>>>> is<br/>
>>>> the worst) when I now play videos in VLC the section of the screen where<br/>
>>>> the<br/>
>>>> video should be displyed stays black.<br/>
>>>><br/>
>>>> Before I compiled the driver on my own I could at least watch videos<br/>
>>>> (even<br/>
>>>> if the resolution was wrong). The Xorg log is attached.<br/>
>>>><br/>
>>>> Gesendet: Dienstag, 20. November 2012 um 23:09 Uhr<br/>
>>>> Von: "Xavier Bachelot" <xavier@bachelot.org><br/>
>>>> An: openchrome-users@lists.freedesktop.org<br/>
>>>> Betreff: Re: [Openchrome-users] Ubuntu 12.04 and CN896 chipset only in<br/>
>>>> 1024x768<br/>
>>>> On 11/20/2012 10:24 PM, Matthias Hanke wrote:<br/>
>>>>> xutils and xutils-dev were missing in the dependency description of the<br/>
>>>>> openchrome homepage. Anyway the next missing packages show up:<br/>
>>>>><br/>
>>>>> No package 'xorg-server' found<br/>
>>>>> No package 'fontsproto' found<br/>
>>>>><br/>
>>>>> *Gesendet:* Dienstag, 20. November 2012 um 22:16 Uhr<br/>
>>>>> *Von:* xxlray@web.de<br/>
>>>>> *An:* openchrome-users@openchrome.org<br/>
>>>>> *Betreff:* Re: [Openchrome-users] Ubuntu 12.04 and CN896 chipset only<br/>
>>>>> in<br/>
>>>>> 1024x768<br/>
>>>>> I istalled the dependencies like described on the link you gave and<br/>
>>>>> cloned the git repository. Unfortunately there is still a package<br/>
>>>>> missing which seems to be again not part of the buntu 12.04<br/>
>>>>> repositories:<br/>
>>>>><br/>
>>>>> configure.ac:48: error: must install xorg-macros 1.8 or later before<br/>
>>>>> running autoconf/autogen<br/>
>>>>><br/>
>>>>> $ sudo apt-get install xorg-macros<br/>
>>>>> Reading package lists... Done<br/>
>>>>> Building dependency tree<br/>
>>>>> Reading state information... Done<br/>
>>>>> E: Unable to locate package xorg-macros<br/>
>>>>><br/>
>>>>><br/>
>>>> you mean, you used 'sudo apt-get build-dep<br/>
>>>> xserver-xorg-video-openchrome' and you're still missing dependencies ?<br/>
>>>> That's weird.<br/>
>>>> I'm not very knowledgeable when it comes to Ubuntu, though.<br/>
>>>><br/>
>>>> Anyway, I think the packages you are missing are xserver-xorg-dev and<br/>
>>>> x11proto-fonts-dev.<br/>
>>>><br/>
>>>> Btw, could you please send plain text mail and not top post ? It helps<br/>
>>>> keep the thread legible.<br/>
>>>><br/>
>>>> Regards,<br/>
>>>> Xavier<br/>
>>>><br/>
>>>> _______________________________________________<br/>
>>>> Openchrome-users mailing list<br/>
>>>> Openchrome-users@lists.freedesktop.org<br/>
>>>> <a href="http://lists.freedesktop.org/mailman/listinfo/openchrome-users" target="_blank">http://lists.freedesktop.org/mailman/listinfo/openchrome-users</a><br/>
>>>> Main page: <a href="http://www.openchrome.org" target="_blank">http://www.openchrome.org</a><br/>
>>>> Wiki: <a href="http://www.openchrome.org/trac/wiki/TOC" target="_blank">http://www.openchrome.org/trac/wiki/TOC</a><br/>
>>>><br/>
>>>><br/>
>>>><br/>
>>>><br/>
>>>><br/>
>>>><br/>
>>>> _______________________________________________<br/>
>>>> Openchrome-users mailing list<br/>
>>>> Openchrome-users@lists.freedesktop.org<br/>
>>>> <a href="http://lists.freedesktop.org/mailman/listinfo/openchrome-users" target="_blank">http://lists.freedesktop.org/mailman/listinfo/openchrome-users</a><br/>
>>>> Main page: <a href="http://www.openchrome.org" target="_blank">http://www.openchrome.org</a><br/>
>>>> Wiki: <a href="http://www.openchrome.org/trac/wiki/TOC" target="_blank">http://www.openchrome.org/trac/wiki/TOC</a><br/>
>>> _______________________________________________<br/>
>>> Openchrome-users mailing list<br/>
>>> Openchrome-users@lists.freedesktop.org<br/>
>>> <a href="http://lists.freedesktop.org/mailman/listinfo/openchrome-users" target="_blank">http://lists.freedesktop.org/mailman/listinfo/openchrome-users</a><br/>
>>> Main page: <a href="http://www.openchrome.org" target="_blank">http://www.openchrome.org</a><br/>
>>> Wiki: <a href="http://www.openchrome.org/trac/wiki/TOC" target="_blank">http://www.openchrome.org/trac/wiki/TOC</a><br/>
>>><br/>
>>><br/>
>>><br/>
>>> _______________________________________________<br/>
>>> Openchrome-users mailing list<br/>
>>> Openchrome-users@lists.freedesktop.org<br/>
>>> <a href="http://lists.freedesktop.org/mailman/listinfo/openchrome-users" target="_blank">http://lists.freedesktop.org/mailman/listinfo/openchrome-users</a><br/>
>>> Main page: <a href="http://www.openchrome.org" target="_blank">http://www.openchrome.org</a><br/>
>>> Wiki: <a href="http://www.openchrome.org/trac/wiki/TOC" target="_blank">http://www.openchrome.org/trac/wiki/TOC</a><br/>
>> _______________________________________________<br/>
>> Openchrome-users mailing list<br/>
>> Openchrome-users@lists.freedesktop.org<br/>
>> <a href="http://lists.freedesktop.org/mailman/listinfo/openchrome-users" target="_blank">http://lists.freedesktop.org/mailman/listinfo/openchrome-users</a><br/>
>> Main page: <a href="http://www.openchrome.org" target="_blank">http://www.openchrome.org</a><br/>
>> Wiki: <a href="http://www.openchrome.org/trac/wiki/TOC" target="_blank">http://www.openchrome.org/trac/wiki/TOC</a><br/>
>><br/>
>><br/>
><br/>
><br/>

    </div>
</div><div><br/><br/></div></div></body></html>