[Openchrome-devel] [Openchrome-users] Fwd: Ubuntu 12.04 and CN896 chipset only in 1024x768

Bartosz gang65 at poczta.onet.pl
Tue Nov 27 14:58:08 PST 2012


Hi Matias.

Could you please revert your last patch and apply patch available in attachment?

I would like test final solution.

Thanks in advance
Bartosz

2012/11/22  <xxlray at web.de>:
> Unfortunately there was an error when I tried to apply the new patch to the
> code that was already patched with the old patch:
>
> patching file src/via_xv.c
> Hunk #4 FAILED at 359.
> Hunk #5 FAILED at 376.
> Hunk #6 FAILED at 1275.
> 3 out of 6 hunks FAILED -- saving rejects to file src/via_xv.c.rej
>
> That is why I deleted the old code, cloned the git repository again and
> applied only the new patch. I hope this was correct. At least videos are now
> displayed fine. The latest log is attached.
> I am already happy but to make it perfect I would like to have a different
> resolution (1280x720) than 1024x768.
> I need to got to sleep now as I have to tomo... arg today. But if you send
> me a new patch I will test it right in the morning.
>
> Gesendet: Mittwoch, 21. November 2012 um 23:53 Uhr
> Von: Bartosz <gang65 at poczta.onet.pl>
> An: "Matias Hauke" <xxlray at web.de>
> Betreff: Re: Re: [Openchrome-users] Fwd: Ubuntu 12.04 and CN896 chipset only
> in 1024x768
> Hi.
>
> Next version of the patch.
>
> Try it and attach Xorg.0.log
>
> Thanks in advance
> Bartosz
>
> 2012/11/21 <xxlray at web.de>:
>> Hi Bartosz,
>>
>> I really appreciate your effort. I applied the path (I think successfully)
>> compiled and installed (make && sudo make install) again and rebootet.
>> Unfortunately the window where videos should play still remains black. The
>> latest log is again attached.
>>
>> (By "back to the old driver version" I meant the standard Ubuntu driver
>> that
>> I had before I started to compile manually)
>>
>> Regards
>> Gesendet: Mittwoch, 21. November 2012 um 22:34 Uhr
>> Von: Bartosz <gang65 at poczta.onet.pl>
>> An: "Matthias Hanke" <xxlray at web.de>
>> Cc: openchrome-users <openchrome-users at openchrome.org>
>> Betreff: Re: [Openchrome-users] Fwd: Ubuntu 12.04 and CN896 chipset only
>> in
>> 1024x768
>> Hi Matthias.
>>
>> I have prepared patch which should solve Video bandwidth problems on
>> master.
>>
>> 1. Save patch in your home directory
>> 2. Open openchrome master directory
>> 3. Type
>> patch -p1 < ~/xv_bandwidth.patch
>> patching file src/via_xv.c
>> 4. build and install openchrome driver
>> 5. Restart X
>> 5. Attach the Xorg.0.log file
>>
>> Best Regards
>> Bartosz
>>
>> 2012/11/21 Matthias Hanke <xxlray at web.de>:
>>> Thank you for the answer but the driver already compiled.
>>>
>>> I attached the full log now but had to compress it as it is stuck in the
>>> review queue otherwise.
>>>
>>> Can I by the way temporarily switch back to the old driver that allowed
>>> me
>>> at least to watch TV?
>>>
>>> Gesendet: Mittwoch, 21. November 2012 um 20:09 Uhr
>>> Von: Bartosz <gang65 at poczta.onet.pl>
>>> An: openchrome-users <openchrome-users at openchrome.org>
>>> Betreff: [Openchrome-users] Fwd: Ubuntu 12.04 and CN896 chipset only in
>>> 1024x768
>>> ---------- Forwarded message ----------
>>> From: Bartosz <gang65 at poczta.onet.pl>
>>> Date: 2012/11/21
>>> Subject: Re: [Openchrome-users] Ubuntu 12.04 and CN896 chipset only in
>>> 1024x768
>>> To: Matthias Hanke <xxlray at web.de>
>>>
>>>
>>> Hi
>>> The instruction how to compile openchrome on Ubuntu is on webpage:
>>> https://help.ubuntu.com/community/OpenChrome
>>>
>>> The reason why there is no Xvideo is:
>>> Xv Overlay rejected due to insufficient memory bandwidth.
>>> Check is implemented in file :
>>>
>>>
>>> http://cgit.freedesktop.org/openchrome/xf86-video-openchrome/tree/src/via_xv.c
>>> In method:
>>> DecideOverlaySupport
>>>
>>> Please provide full Xorg.0.log.
>>>
>>> Best Regards
>>> Bartosz
>>>
>>> 2012/11/21 Matthias Hanke <xxlray at web.de>:
>>>> As my last email seems to be stuck for review du to a to large log file
>>>> I
>>>> try it again just attaching the tail of my xorg log.
>>>>
>>>> I somehow must have missed the "sudo apt-get build-dep
>>>> xserver-xorg-video-openchrome" part- Comilation is fine now but the
>>>> result
>>>> is worse. The good thing is that no error message pops up after boot.
>>>>
>>>> Nevertheless Resolution is now fixed to 1024x768 and I can not even
>>>> switch
>>>> to 600x800 any more (which I anyway don't need to). Furthermore (and
>>>> this
>>>> is
>>>> the worst) when I now play videos in VLC the section of the screen where
>>>> the
>>>> video should be displyed stays black.
>>>>
>>>> Before I compiled the driver on my own I could at least watch videos
>>>> (even
>>>> if the resolution was wrong). The Xorg log is attached.
>>>>
>>>> Gesendet: Dienstag, 20. November 2012 um 23:09 Uhr
>>>> Von: "Xavier Bachelot" <xavier at bachelot.org>
>>>> An: openchrome-users at lists.freedesktop.org
>>>> Betreff: Re: [Openchrome-users] Ubuntu 12.04 and CN896 chipset only in
>>>> 1024x768
>>>> On 11/20/2012 10:24 PM, Matthias Hanke wrote:
>>>>> xutils and xutils-dev were missing in the dependency description of the
>>>>> openchrome homepage. Anyway the next missing packages show up:
>>>>>
>>>>> No package 'xorg-server' found
>>>>> No package 'fontsproto' found
>>>>>
>>>>> *Gesendet:* Dienstag, 20. November 2012 um 22:16 Uhr
>>>>> *Von:* xxlray at web.de
>>>>> *An:* openchrome-users at openchrome.org
>>>>> *Betreff:* Re: [Openchrome-users] Ubuntu 12.04 and CN896 chipset only
>>>>> in
>>>>> 1024x768
>>>>> I istalled the dependencies like described on the link you gave and
>>>>> cloned the git repository. Unfortunately there is still a package
>>>>> missing which seems to be again not part of the buntu 12.04
>>>>> repositories:
>>>>>
>>>>> configure.ac:48: error: must install xorg-macros 1.8 or later before
>>>>> running autoconf/autogen
>>>>>
>>>>> $ sudo apt-get install xorg-macros
>>>>> Reading package lists... Done
>>>>> Building dependency tree
>>>>> Reading state information... Done
>>>>> E: Unable to locate package xorg-macros
>>>>>
>>>>>
>>>> you mean, you used 'sudo apt-get build-dep
>>>> xserver-xorg-video-openchrome' and you're still missing dependencies ?
>>>> That's weird.
>>>> I'm not very knowledgeable when it comes to Ubuntu, though.
>>>>
>>>> Anyway, I think the packages you are missing are xserver-xorg-dev and
>>>> x11proto-fonts-dev.
>>>>
>>>> Btw, could you please send plain text mail and not top post ? It helps
>>>> keep the thread legible.
>>>>
>>>> Regards,
>>>> Xavier
>>>>
>>>> _______________________________________________
>>>> Openchrome-users mailing list
>>>> Openchrome-users at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/openchrome-users
>>>> Main page: http://www.openchrome.org
>>>> Wiki: http://www.openchrome.org/trac/wiki/TOC
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Openchrome-users mailing list
>>>> Openchrome-users at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/openchrome-users
>>>> Main page: http://www.openchrome.org
>>>> Wiki: http://www.openchrome.org/trac/wiki/TOC
>>> _______________________________________________
>>> Openchrome-users mailing list
>>> Openchrome-users at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/openchrome-users
>>> Main page: http://www.openchrome.org
>>> Wiki: http://www.openchrome.org/trac/wiki/TOC
>>>
>>>
>>>
>>> _______________________________________________
>>> Openchrome-users mailing list
>>> Openchrome-users at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/openchrome-users
>>> Main page: http://www.openchrome.org
>>> Wiki: http://www.openchrome.org/trac/wiki/TOC
>> _______________________________________________
>> Openchrome-users mailing list
>> Openchrome-users at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/openchrome-users
>> Main page: http://www.openchrome.org
>> Wiki: http://www.openchrome.org/trac/wiki/TOC
>>
>>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xv_bandwidth2.patch
Type: application/octet-stream
Size: 3622 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/openchrome-devel/attachments/20121127/749ba262/attachment.obj>


More information about the Openchrome-devel mailing list