设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 发行版讨论区 —— LinuxSir.cn
›
Gentoo Linux
›
xorg的怪问题
返回列表
查看:
665
|
回复:
3
xorg的怪问题
[复制链接]
zhqs
zhqs
当前离线
积分
104
IP卡
狗仔卡
发表于 2005-8-21 00:18:13
|
显示全部楼层
|
阅读模式
刚刚安完Gentoo2005.1,然后
emerge x11,然后什么配置都不改,
startx可以进图形,分辨率1024x768,
然后cd ~ &&
Xorg -configure;
再X -config ~/xorg.conf.new,进图形ok,1024x768
这时候,就cp ~/xorg.conf.new /etc/X11/xorg.conf,
再start就不行了,能进图形,但是花屏,而且键盘也不受控制,远程ps -ef查看并没有X进程,但这个时候直接运行X进图形就没有问题。
删掉/etc/X11/xorg.conf用startx就没有问题。
难道startx还有一个其他的默认配置文件?否则/etc/X11/xorg.conf不存在的时候怎么能进图形?
然后为什么startx不行但是直接X就行呢?到底怎么配置?
附:我的xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/lib/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection
Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "
rotocol" "auto"
Option "Device" "/dev/mouse"
EndSection
Section "Monitor"
#DisplaySize 290 210 # mm
Identifier "Monitor0"
VendorName "QDS"
ModelName "5"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "
ageFlip" # [<bool>]
Identifier "Card0"
Driver "i810"
VendorName "Intel Corp."
BoardName "82852/855GM Integrated Graphics Device"
BusID "
CI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
zhqs
zhqs
当前离线
积分
104
IP卡
狗仔卡
楼主
|
发表于 2005-8-21 00:37:10
|
显示全部楼层
我的 显卡是:
0000:00:02.1 Display controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
现在看了一下,startx报错:
(EE) I810(0): I830 Dma Initialization Failed
(EE) I810(0): [drm] Failed to initialized agp heap manager
回复
支持
反对
使用道具
举报
显身卡
Jockey
Jockey
当前离线
积分
2694
IP卡
狗仔卡
发表于 2005-8-21 09:12:29
|
显示全部楼层
试试通过xorgconfig的问答方式生成一个xorg.conf
我一直这么做,但是不明白为什么用Xorg -configure的同学比较多,难道有什么优点?
回复
支持
反对
使用道具
举报
显身卡
zhqs
zhqs
当前离线
积分
104
IP卡
狗仔卡
楼主
|
发表于 2005-8-21 17:42:02
|
显示全部楼层
发现是intel855显卡的问题,不过现在试试升级xorg到最新,再换个新一点的dri驱动试试
回复
支持
反对
使用道具
举报
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
浏览过的版块
SuSE Linux
Mandriva Linux
开源软件专题讨论
Linux 程序设计专题讨论
Slackware Linux
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表