CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
楼主: PeterW

cubian + lxde 已經找到將螢幕旋轉90度的方法了

[复制链接]
发表于 2014-1-7 10:37:41 | 显示全部楼层
本帖最后由 bus1234 于 2014-1-7 10:39 编辑

找到一个文档,说是xorg的问题,fix pointer coordinate translation when screen is rotated
里面有补丁https://bugs.freedesktop.org/show_bug.cgi?id=37331
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-1-7 12:18:28 | 显示全部楼层
bus1234 兄

  我去看了一下這個補丁說明 , 要打這個補丁對我來說目前有點困難 ,

  因為要調用到 C , 另外一方面這個補丁是 2011-05-18 發佈的 ,

  難道 xorg 到目前為止還沒納入修正檔嗎 ?

  不過還是謝謝你啦 !!
回复 支持 反对

使用道具 举报

发表于 2014-4-1 16:54:45 | 显示全部楼层
再加一行。 Option "SWCursor" "On" 鼠标一起旋转。
回复 支持 反对

使用道具 举报

发表于 2014-4-3 18:47:23 | 显示全部楼层
PeterW 发表于 2014-1-2 19:11
原則上 /usr/share/X11/xorg.conf.d 目錄中還有2個設定檔與滑鼠有關

50-synaptics.conf , 50-wacom.conf  ...

Option          "SWCursor" "On"这个可以吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-4-3 20:50:11 | 显示全部楼层
本帖最后由 PeterW 于 2014-4-3 20:53 编辑

謝謝各位 , gucubar兄及憶昔閣兄的回答是可以用的 , 自上次提出問題後 , 我在 google 上找了一樣的答案 , 我有回應了一篇 , 但忘了在這一篇告訴大家了 , 真的感謝大家回應的關心 , 謝謝  !!
回复 支持 反对

使用道具 举报

发表于 2014-4-23 11:45:26 | 显示全部楼层
向楼主和大牛致敬,顺便mark
回复 支持 反对

使用道具 举报

发表于 2014-5-6 16:59:09 | 显示全部楼层
这样设置之后显示会很卡,不知道各位有没有遇到同样的情况?mplayer播放视频的时候也不正常。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-5-6 19:04:22 | 显示全部楼层
我沒有撥放視頻 , 我只是用chromium撥放 html 商品DM , 很正常沒有卡卡的 , 倒是用 firefox 撥放時

CPU 使用率比較高 !!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2014-6-12 12:59:00 | 显示全部楼层
无人之地 发表于 2014-5-6 16:59
这样设置之后显示会很卡,不知道各位有没有遇到同样的情况?mplayer播放视频的时候也不正常。 ...

經測試後顯示真的會很卡 , 因為html page切換圖片時 , 會有從左翻到右的感覺 , 畫面變的像翻書一樣 !!
回复 支持 反对

使用道具 举报

发表于 2014-6-16 17:42:54 | 显示全部楼层
这个是驱动开发者的回复

Screen rotation can be partially accelerated, but it is never going to be as fast as non-rotated screen. The main problem is that the display controller does not directly support rotated scanout, so we need to have an intermediate temporary buffer for compositing everything and rotating it as an extra explicit step in the pipeline. Right now we have a software rotation implementation, inherited from xf86-video-fbdev. We could accelerate rotation with the help of G2D, but it is still an extra operation. Also we are going to have troubles with the video overlay, hardware cursor and other things. Quite a bit of work for something that is still not perfect.

It's best not to use the Xorg rotation. In some cases it could be avoided. For example, if you have a single full-screen GLES application, then the rotation can be done by Mali for free.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-5-15 14:05 , Processed in 0.025185 second(s), 12 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部