Hi Bartoz,
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.
Nevertheless I can still not chose any other resolution than 1024x768. xrandr throws an error:
$ xrandr --output VGA1 --mode 1280x720
warning: output VGA1 not found; ignoring
warning: output VGA1 not found; ignoring
$ xrandr --newmode "1280x720" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 149 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 23
Current serial number in output stream: 23
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 149 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 23
Current serial number in output stream: 23
is this a driver issue?
Gesendet: Dienstag, 27. November 2012 um 23:58 Uhr
Von: Bartosz <[email protected]>
An: "Matias Hauke" <[email protected]>
Cc: "OpenChrome Development" <[email protected]>
Betreff: Re: [Openchrome-users] Fwd: Ubuntu 12.04 and CN896 chipset only in 1024x768
Von: Bartosz <[email protected]>
An: "Matias Hauke" <[email protected]>
Cc: "OpenChrome Development" <[email protected]>
Betreff: Re: [Openchrome-users] Fwd: Ubuntu 12.04 and CN896 chipset only in 1024x768
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 <[email protected]>:
> 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 <[email protected]>
> An: "Matias Hauke" <[email protected]>
> 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 <[email protected]>:
>> 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 <[email protected]>
>> An: "Matthias Hanke" <[email protected]>
>> Cc: openchrome-users <[email protected]>
>> 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 <[email protected]>:
>>> 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 <[email protected]>
>>> An: openchrome-users <[email protected]>
>>> Betreff: [Openchrome-users] Fwd: Ubuntu 12.04 and CN896 chipset only in
>>> 1024x768
>>> ---------- Forwarded message ----------
>>> From: Bartosz <[email protected]>
>>> Date: 2012/11/21
>>> Subject: Re: [Openchrome-users] Ubuntu 12.04 and CN896 chipset only in
>>> 1024x768
>>> To: Matthias Hanke <[email protected]>
>>>
>>>
>>> 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 <[email protected]>:
>>>> 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" <[email protected]>
>>>> An: [email protected]
>>>> 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:* [email protected]
>>>>> *An:* [email protected]
>>>>> *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
>>>> [email protected]
>>>> 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
>>>> [email protected]
>>>> 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
>>> [email protected]
>>> 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
>>> [email protected]
>>> 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
>> [email protected]
>> http://lists.freedesktop.org/mailman/listinfo/openchrome-users
>> Main page: http://www.openchrome.org
>> Wiki: http://www.openchrome.org/trac/wiki/TOC
>>
>>
>
>
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 <[email protected]>:
> 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 <[email protected]>
> An: "Matias Hauke" <[email protected]>
> 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 <[email protected]>:
>> 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 <[email protected]>
>> An: "Matthias Hanke" <[email protected]>
>> Cc: openchrome-users <[email protected]>
>> 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 <[email protected]>:
>>> 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 <[email protected]>
>>> An: openchrome-users <[email protected]>
>>> Betreff: [Openchrome-users] Fwd: Ubuntu 12.04 and CN896 chipset only in
>>> 1024x768
>>> ---------- Forwarded message ----------
>>> From: Bartosz <[email protected]>
>>> Date: 2012/11/21
>>> Subject: Re: [Openchrome-users] Ubuntu 12.04 and CN896 chipset only in
>>> 1024x768
>>> To: Matthias Hanke <[email protected]>
>>>
>>>
>>> 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 <[email protected]>:
>>>> 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" <[email protected]>
>>>> An: [email protected]
>>>> 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:* [email protected]
>>>>> *An:* [email protected]
>>>>> *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
>>>> [email protected]
>>>> 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
>>>> [email protected]
>>>> 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
>>> [email protected]
>>> 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
>>> [email protected]
>>> 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
>> [email protected]
>> 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 [email protected] http://lists.freedesktop.org/mailman/listinfo/openchrome-users Main page: http://www.openchrome.org Wiki: http://www.openchrome.org/trac/wiki/TOC
