LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1048|回复: 4

请教,哪位兄弟知道Xorg的XWindows如何可以运行在FrameBuffer上面

[复制链接]
发表于 2009-4-16 12:37:03 | 显示全部楼层 |阅读模式
按BLFS运行了Xorg,看Log似乎是运行在VESA的显卡模式上

我想知道Xwindows如何运行在FrameBuffer模式上?
应该如何配置
FrameBuffer应该在我的command可以运行
看Xorg的driver里面有针对FB的驱动
发表于 2009-4-16 21:32:28 | 显示全部楼层
不能安装您显卡对应的驱动吗?
只有 实在没办法驱动显卡 或 仅需要基本图形支持,才有 充分理由使用 framebuffer vesa 驱动。

另,请移步 http://zh.wikipedia.org/wiki/X_Window_System 扫盲,"XWindows" 是错误名称。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-17 07:08:46 | 显示全部楼层
不是,Xwindows可以运行的
只是我看我们这里嵌入式开发的平台有些有LCD的GUI也跑了Gnome ,里面其实是跑了xvfb 我想在X86上也试试。
另外其实FrameBuffer跑起来后 就可以跑MiniGUI之类的
我想在XWindows跑在FrameBuffer上 其实是自己瞎折腾的癖好了
楼上的你的那个web地址 我看过 是一个扫盲性质的  没有涉及到我想要的
我在FrameBuffer的HowTo里面倒是找到一部分内容  不过它是针对XFree86的 配置文件似乎与Xorg有区别,我尝试一下 没成功. 哪位兄弟能教我 谢谢

17. Setting up the X11 FBdev driver
If you are not using XFree86 3.3.3.1 or later, you are urged to upgrade to XFree86 3.3.3.1 − it includes a
FBdev X driver for framebuffer devices. Otherwise, follow the steps below to either download or build your
own FBdev driver for older XFree86 versions such as 3.3.2, 3.3.3 etc.
Go to
http://www.xfree86.org
, and download the latest XServers source archive, unpack, and configure the drivers, following these steps:
· Edit xc/config/cf/xf86site.def, uncomment the #define for XF68FBDevServer
· Comment out all references to FB_VISUAL_STATIC_DIRECTCOLOR, as these are bogus and
aren't used any more. If you are using XFree86 3.3.3.1, there is no need to do this step − as they have
removed this.
· Edit xc/programs/Xserver/hw/xfree86/os−support/linux/lnx_io.c, and change K_RAW to
K_MEDIUMRAW.
and then build the driver. Don't worry about the m68k references, it supports Intel platforms. Then build the
whole thing − it'll take a long time though as it's a large source tree.
Alternatively, if you don't have the time to spare, you can obtain the binaries from the sites below. Please
note that these are 'unofficial' builds and you use them at your risk.
Framebuffer HOWTO
15. Using/Changing fonts 26
For libc5, use the one at:
http://user.cs.tu−berlin.de/~kraxel/linux/XF68_FBDev.gz
For glibc2, download from these URLs.
http://user.cs.tu−berlin.de/~kraxel/linux/XF68_FBDev.libc6.gz
http://pobox.com/~brion/linux/fbxserver.html
There have been reports that X11 is non functional on certain graphic cards with this vesafb feature enabled,
if this is happening, try the new XF86_FBdev driver for X11.
This driver, along with vesafb can also help run X11 in higher graphic resolutions with certain graphic
chipsets which are not supported by any of the current X11 drivers. Examples are MGA G−200 et. al.
To configure the XF86_FBdev driver with your X11 system, you'll need to edit your XF86Config for the
following:
Section "Screen"
Driver "FBDev"
Device "rimary Card"
Monitor "rimary Monitor"
SubSection "Display"
Modes "default"
EndSubSection
EndSection
You'll also need to set XkbDisable in the keyboard section as well, or invoke the XF86_FBDev server with
the '−kb' option to set up your keyboard so it works properly. If you forget to set XkbDisable, you will have
to put the following lines in your .Xmodmap to straighten out the keyboard mappings. Alternatively, you can
edit your xkb to reflect the list below.
...........
回复 支持 反对

使用道具 举报

发表于 2009-4-17 13:43:34 | 显示全部楼层
不愿认错可不是好法子。
这个世界上到目前为止还没有叫 [color="Red"]"Xwindows" 的东西,请正确使用 X Window System 名称,可简称 X、X11、X-window,不然会被人笑话。

Xorg 提供专用于 framebuffer 的 server,配置编译时注意一下即可,懒得动手是看不见>的。
或者使用 directfb + Xdirectfb 实现。

"嵌入式环境"使用 X,只是方便开发罢了,那说明目标硬件相当强大。
MiniGUI 曾经很棒,但相对新近的 GtkFB、Qt/Embedded 一点优势也没有。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-17 16:10:32 | 显示全部楼层
呵呵
可以了
原来问题xorg的配置文件Fbdev写错了
楼上的名词之争没意义
回复 支持 反对

使用道具 举报

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

本版积分规则

快速回复 返回顶部 返回列表