beaglebone black ubuntu display x11 server的配置
I'm running a BeagleBone with a 5,7" LCD Touchscreen with a native resolution of 640x480
However, the system recognizes monitor as a LCD7 Cape with 800x480
resolution and after LXDE boot desktop is only partially displayed
On the old 12.04 FBDEV was used and I fixed problem adding the /usr/share/X11/xorg.conf.d/10-monitor.conf this way :
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
#Limited by SGX?
DefaultDepth 16
SubSection "Display"
Modes "640x480"
EndSubsection
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "omapfb"
Option "fb" "/dev/fb0"
EndSection
With new kernel on 13.10 or 14.04 it seems FBDEV is no more used but modesetting is, instead.
So the old 10-monitor.conf is useless.
/var/log/Xorg.0.log from 12.04 is :
[ 25.574] (II) LoadModule: "glx"
[ 25.590] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 25.621] (II) Module glx: vendor="X.Org Foundation"
[ 25.621] compiled for 1.13.0, module version = 1.0.0
[ 25.621] ABI class: X.Org Server Extension, version 7.0
[ 25.621] (==) AIGLX enabled
[ 25.622] Loading extension GLX
[ 25.622] (II) LoadModule: "omapfb"
[ 25.624] (WW) Warning, couldn't open module omapfb
[ 25.624] (II) UnloadModule: "omapfb"
[ 25.624] (II) Unloading omapfb
[ 25.625] (EE) Failed to load module "omapfb" (module does not exist, 0)
[ 25.625] (==) Matched omapfb as autoconfigured driver 0
[ 25.625] (==) Matched modesetting as autoconfigured driver 1
[ 25.625] (==) Matched fbdev as autoconfigured driver 2
[ 25.625] (==) Assigned the driver to the xf86ConfigLayout
[ 25.625] (II) LoadModule: "omapfb"
[ 25.627] (WW) Warning, couldn't open module omapfb
[ 25.627] (II) UnloadModule: "omapfb"
[ 25.628] (II) Unloading omapfb
[ 25.628] (EE) Failed to load module "omapfb" (module does not exist, 0)
[ 25.628] (II) LoadModule: "modesetting"
[ 25.629] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 25.643] (II) Module modesetting: vendor="X.Org Foundation"
[ 25.644] compiled for 1.13.0, module version = 0.5.0
[ 25.644] Module class: X.Org Video Driver
[ 25.644] ABI class: X.Org Video Driver, version 13.0
[ 25.644] (II) LoadModule: "fbdev"
[ 25.645] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 25.649] (II) Module fbdev: vendor="X.Org Foundation"
[ 25.649] compiled for 1.12.99.902, module version = 0.4.3
[ 25.649] Module class: X.Org Video Driver
[ 25.649] ABI class: X.Org Video Driver, version 13.0
[ 25.649] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 25.650] (II) FBDEV: driver for framebuffer: fbdev
[ 25.650] (++) using VT number 7
[ 25.656] (WW) Falling back to old probe method for modesetting
[ 25.656] (EE) open /dev/dri/card0: No such file or directory
[ 25.656] (WW) Falling back to old probe method for fbdev
[ 25.656] (II) Loading sub module "fbdevhw"
[ 25.656] (II) LoadModule: "fbdevhw"
[ 25.658] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 25.661] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 25.662] compiled for 1.13.0, module version = 0.0.2
[ 25.662] ABI class: X.Org Video Driver, version 13.0
[ 25.662] (II) FBDEV(0): using default device
[ 25.662] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 25.663] (**) FBDEV(0): Depth 16, (--) framebuffer bpp 16
[ 25.663] (==) FBDEV(0): RGB weight 565
[ 25.663] (==) FBDEV(0): Default visual is TrueColor
[ 25.663] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 25.663] (II) FBDEV(0): hardware: DA8xx FB Drv (video memory: 1600kB)
[ 25.663] (II) FBDEV(0): checking modes against framebuffer device...
[ 25.663] (II) FBDEV(0): mode "640x480" ok
[ 25.663] (II) FBDEV(0): checking modes against monitor...
[ 25.664] (--) FBDEV(0): Virtual size is 640x480 (pitch 640)
[ 25.664] (**) FBDEV(0): Default mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz, 59.9 Hz
[ 25.664] (II) FBDEV(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
[ 25.664] (==) FBDEV(0): DPI set to (96, 96)
[ 25.664] (II) Loading sub module "fb"
[ 25.664] (II) LoadModule: "fb"
[ 25.666] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 25.679] (II) Module fb: vendor="X.Org Foundation"
[ 25.679] compiled for 1.13.0, module version = 1.0.0
[ 25.679] ABI class: X.Org ANSI C Emulation, version 0.4
[ 25.683] (**) FBDEV(0): using shadow framebuffer
[ 25.683] (II) Loading sub module "shadow"
[ 25.683] (II) LoadModule: "shadow"
[ 25.684] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 25.692] (II) Module shadow: vendor="X.Org Foundation"
[ 25.692] compiled for 1.13.0, module version = 1.1.0
[ 25.692] ABI class: X.Org ANSI C Emulation, version 0.4
[ 25.692] (II) UnloadModule: "modesetting"
[ 25.692] (II) Unloading modesetting
[ 25.693] (EE) FBDEV(0): FBIOBLANK: Invalid argument
[ 25.701] (==) FBDEV(0): Backing store disabled
[ 25.702] (==) FBDEV(0): DPMS enabled
[ 25.703] (==) RandR enabled
The 13.10 one is :
[ 24.549] (II) LoadModule: "glx"
[ 24.603] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 24.805] (II) Module glx: vendor="X.Org Foundation"
[ 24.806] compiled for 1.15.1, module version = 1.0.0
[ 24.806] ABI class: X.Org Server Extension, version 8.0
[ 24.806] (==) AIGLX enabled
[ 24.806] Loading extension GLX
[ 24.816] (==) Matched omapfb as autoconfigured driver 0
[ 24.820] (==) Matched modesetting as autoconfigured driver 1
[ 24.823] (==) Matched fbdev as autoconfigured driver 2
[ 24.823] (==) Assigned the driver to the xf86ConfigLayout
[ 24.823] (II) LoadModule: "omapfb"
[ 24.833] (WW) Warning, couldn't open module omapfb
[ 24.842] (II) UnloadModule: "omapfb"
[ 24.842] (II) Unloading omapfb
[ 24.842] (EE) Failed to load module "omapfb" (module does not exist, 0)
[ 24.842] (II) LoadModule: "modesetting"
[ 24.852] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 24.866] (II) Module modesetting: vendor="X.Org Foundation"
[ 24.866] compiled for 1.15.0, module version = 0.8.1
[ 24.866] Module class: X.Org Video Driver
[ 24.866] ABI class: X.Org Video Driver, version 15.0
[ 24.867] (II) LoadModule: "fbdev"
[ 24.868] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 24.884] (II) Module fbdev: vendor="X.Org Foundation"
[ 24.888] compiled for 1.15.0, module version = 0.4.4
[ 24.888] Module class: X.Org Video Driver
[ 24.888] ABI class: X.Org Video Driver, version 15.0
[ 24.894] (==) Matched omapfb as autoconfigured driver 0
[ 24.894] (==) Matched modesetting as autoconfigured driver 1
[ 24.894] (==) Matched fbdev as autoconfigured driver 2
[ 24.894] (==) Assigned the driver to the xf86ConfigLayout
[ 24.899] (II) LoadModule: "omapfb"
[ 24.916] (WW) Warning, couldn't open module omapfb
[ 24.916] (II) UnloadModule: "omapfb"
[ 24.916] (II) Unloading omapfb
[ 24.916] (EE) Failed to load module "omapfb" (module does not exist, 0)
[ 24.916] (II) LoadModule: "modesetting"
[ 24.926] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 24.926] (II) Module modesetting: vendor="X.Org Foundation"
[ 24.926] compiled for 1.15.0, module version = 0.8.1
[ 24.926] Module class: X.Org Video Driver
[ 24.927] ABI class: X.Org Video Driver, version 15.0
[ 24.927] (II) UnloadModule: "modesetting"
[ 24.927] (II) Unloading modesetting
[ 24.927] (II) Failed to load module "modesetting" (already loaded, 0)
[ 24.927] (II) LoadModule: "fbdev"
[ 24.939] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 24.944] (II) Module fbdev: vendor="X.Org Foundation"
[ 24.944] compiled for 1.15.0, module version = 0.4.4
[ 24.944] Module class: X.Org Video Driver
[ 24.945] ABI class: X.Org Video Driver, version 15.0
[ 24.945] (II) UnloadModule: "fbdev"
[ 24.945] (II) Unloading fbdev
[ 24.949] (II) Failed to load module "fbdev" (already loaded, 0)
[ 24.949] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 24.949] (II) FBDEV: driver for framebuffer: fbdev
[ 24.950] (++) using VT number 7
[ 24.955] (II) modesetting(0): using drv /dev/dri/card0
[ 24.956] (WW) Falling back to old probe method for fbdev
[ 24.956] (II) Loading sub module "fbdevhw"
[ 24.956] (II) LoadModule: "fbdevhw"
[ 24.957] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 24.960] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 24.960] compiled for 1.15.1, module version = 0.0.2
[ 24.967] ABI class: X.Org Video Driver, version 15.0
[ 24.967] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 24.968] (II) modesetting(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 24.968] (==) modesetting(0): Depth 24, (==) framebuffer bpp 32
[ 24.973] (==) modesetting(0): RGB weight 888
[ 24.974] (==) modesetting(0): Default visual is TrueColor
[ 24.974] (II) modesetting(0): ShadowFB: preferred NO, enabled NO
[ 24.974] (II) modesetting(0): Output LVDS-0 has no monitor section
[ 24.975] (II) modesetting(0): EDID for output LVDS-0
[ 24.975] (II) modesetting(0): Printing probed modes for output LVDS-0
[ 24.975] (II) modesetting(0): Modeline "800x480"x61.5 30.00 800 840 888 928 480 493 496 526 -hsync -vsync (32.3 kHz eP)
[ 24.975] (II) modesetting(0): Output LVDS-0 connected
[ 24.975] (II) modesetting(0): Using exact sizes for initial modes
[ 24.975] (II) modesetting(0): Output LVDS-0 using initial mode 800x480
[ 24.976] (II) modesetting(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 24.976] (==) modesetting(0): DPI set to (96, 96)
[ 24.976] (II) Loading sub module "fb"
[ 24.976] (II) LoadModule: "fb"
[ 24.992] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 25.004] (II) Module fb: vendor="X.Org Foundation"
[ 25.005] compiled for 1.15.1, module version = 1.0.0
[ 25.005] ABI class: X.Org ANSI C Emulation, version 0.4
[ 25.005] (II) UnloadModule: "fbdev"
[ 25.005] (II) Unloading fbdev
[ 25.005] (II) UnloadSubModule: "fbdevhw"
[ 25.011] (II) Unloading fbdevhw
[ 25.015] (==) Depth 24 pixmap format is 32 bpp
[ 25.049] (==) modesetting(0): Backing store enabled
[ 25.049] (==) modesetting(0): Silken mouse enabled
[ 25.054] (II) modesetting(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 25.057] (==) modesetting(0): DPMS enabled
[ 25.139] (--) RandR disabled
How I can fix resolution in 13.10 ??
Can I still use 10-monitor.conf ? which settings ??
Thank you very much.
Just instruct which modeline to use in 10-monitor.conf this way :
Start lXterminal in lxde environment and issue the command
cvt 640 480 60 (horizontal - vertical - rate)
its output will be something like:
# 640x480 59.38 Hz (CVT 0.31M3) hsync: 29.69 kHz; pclk: 23.75 MHz
Modeline "640x480_60.00" 23.75 640 664 720 800 480 483 487 500 -hsync +vsync
create a new /usr/share/X11/xorg.conf.d/10-monitor.conf inserting the copied RED line in Monitor section this way :
Section "Monitor"
Identifier "Monitor0"
Modeline "640x480_60.00" 23.75 640 664 720 800 480 483 487 500 -hsync +vsync
EndSection
Section "Device"
Identifier "Device0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 16 #Choose the depth (16||24)
SubSection "Display"
Depth 16
Modes "640x480_60.00" #Choose the resolution, match the Modeline
EndSubSection
EndSection
Save and reboot,
it worked for me, hope it helps someone with this problem.
beaglebone black ubuntu display x11 server的配置的更多相关文章
- Ubuntu 安装 SSH server 并配置 SSH 无密码登录
https://hinine.com/install-and-configure-ssh-server-on-ubuntu/ Ubuntu 安装 SSH server 并配置 SSH 无密码登录 发表 ...
- Ubuntu Server如何配置SFTP
SH File Transfer Protocol是一个比普通FTP更为安全的文件传输协议.(参考资料:http://en.wikipedia.org/wiki/SSH_File_Transfer_P ...
- Ubuntu Server如何配置SFTP(建立用户监狱)
Ubuntu Server如何配置SFTP(建立用户监狱) SSH File Transfer Protocol是一个比普通FTP更为安全的文件传输协议.(参考资料:http://en.wikip ...
- 在Ubuntu Server下配置LAMP环境
1. 下载Ubuntu Server,地址https://www.ubuntu.com/download/server 2. 在虚拟机上安装Ubuntu Server.根据安装引导过程一步步安装,跟在 ...
- [转]ubuntu server上网配置
[转]ubuntu server上网配置 http://blog.sina.com.cn/s/blog_6c9d65a101011pyt.html 今天我的ubuntu server上不去网了,所以重 ...
- Ubuntu server 网络配置中遇到的问题
Ubuntu server 网络配置中遇到的问题 图片中ip地址有可能和文字不符,请不要在意太多,知道原理即可 - 1.首先就是要配置ip地址 vim /etc/network/interfaces ...
- ubuntu中VNC的安装配置笔记
使用服务器时,利用远程桌面是非常方便的,否则需要跑到服务器机房操作非常的费事,或者需要远程操作机器是也可以使用,一般的操作系统都会带有远程桌面功能,但是不如第三方的的软件好用,对于linux系统常用的 ...
- 在Linux(Ubuntu/openSUSE/CentOS)下配置ASP.NET(Apache + Mono)
[题外话] 闲的无聊竟然想尝试测试自己做的项目在不同操作系统上的性能表现,所以决定试试在Linux上部署Apache和Mono的环境.由于平时很少接触Linux,所以从网上找了几篇文章(附在相关链接中 ...
- [转]ubuntu 10.04下的配置tftp服务器
[转]ubuntu 10.04下的配置tftp服务器 http://www.cnblogs.com/geneil/archive/2011/11/24/2261653.html 第1步:安装tftp所 ...
随机推荐
- T-SQL 之 触发器
触发器可以做很多事情,但也会带来很多问题.正确的使用在于在适当的时候使用,而不要在不适当的时候使用它们. 触发器的一些常见用途如下: [1] 弹性参照完整性:实现很多DRI不能实现的操作(例如,跨数据 ...
- bash中的命令基本操作
1.命令行编辑功能 命令行编辑功能是指用户可以使用方向键前后移动光标,并编辑已经输入的命令,这个命令非常实用.方便. 提示:可能大多数读者都没有使用过不带命令行编辑功能的shell,有兴趣的读者可以使 ...
- function(window, undefined)的意义
var num = 10000 for (var i = 0; i++; i < num) { eval("pp" + i + "=" + i); } ( ...
- 算法笔记_142:无向图的欧拉回路求解(Java)
目录 1 问题描述 2 解决方案 1 问题描述 John's trip Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8 ...
- QtGui.QSlider
A QtGui.QSlider is a widget that has a simple handle. This handle can be pulled back and forth. This ...
- JUnit 3.8 演示递归删除文件目录的 测试类程序 .
用递归方式来实现删除硬盘的文件或目录(空文件夹) 首先要找到递归的入口及出口,这点很重要,成败在此,呵呵! 代码实现: import java.io.File ; class RecursionDel ...
- iOS网络监控— BMReachability
1. What's BMReachability? BMReachability是基于AFNetworking的Reachability类封装的监听网络状态变化的组件. 它在AF提供的无网络/wifi ...
- mysql.ini 配置
#记录所有sql语句 log=E:/mysqllog/mysql.log #记录数据库启动关闭信息,以及运行过程中产生的错误信息 log-error=E:/mysqllog/myerror.log # ...
- 数据库选型之MySQL(普通硬盘)
刘勇 Email:lyssym@sina.com 本博客记录作者在工作与研究中所经历的点滴,一方面给自己的工作与生活留下印记,另一方面若是能对大家有所帮助,则幸甚至哉矣! 简介 鉴于高频中心库ta ...
- 卡特兰数(Catalan数)
首先奉上高中的排列组合公式,防止某些人忘记了 卡特兰数: 规定h(0)=1,而h(1)=1,h(2)=2,h(3)=5,h(4)=14,h(5)=42,h(6)=132,h(7)=C(14,7)-C( ...