xvidtune说unable to query monitor info已解决
时间:2008-10-27
来源:互联网
启动X后字体超大 窗口也远远超出屏幕范围----参见附图
gtf 获得modeline信息后添加到xorg.conf仍然无效
启动xvidtune 居然说unable to query monitor info
google了半天没有找到答案
不知道问题出在哪里 请大家帮忙
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
Load "dbe"
Load "extmod"
Load "dri"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
#DisplaySize 330 210 # mm
Identifier "Monitor0"
VendorName "LPL"
ModelName "ac00"
Modeline "1280x800_60.00" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
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 "PageFlip" # [<bool>]
Identifier "intel"
Driver "intel"
VendorName "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800" "1024x768" "800x600"
EndSubSection
EndSection
Section "DRI"
Mode 0660
EndSection
20081027.jpg (31.0 KB, 9 次查看) |
作者: ppluer 发布时间: 2008-10-27
默认显示分辨率居然是6484x3988
root [ ~ ]# cat xwininfo
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
xwininfo: Window id: 0x40000d "login"
Absolute upper-left X: 1
Absolute upper-left Y: 1
Relative upper-left X: 1
Relative upper-left Y: 1
Width: 6484
Height: 3988
Depth: 24
Visual Class: TrueColor
Border width: 1
Class: InputOutput
Colormap: 0x20 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +1+1 --5207+1 --5207--3191 +1--3191
-geometry 80x24+1+1
作者: ppluer 发布时间: 2008-10-27
你装最新的7.4版本,就得承受这种意外。
要是按6.3手册装Xorg-7.2,应该没这问题。
作者: ti8er 发布时间: 2008-10-27
作者: ti8er
兄弟的屏幕很漂亮啊!
你装最新的7.4版本,就得承受这种意外。 要是按6.3手册装Xorg-7.2,应该没这问题。 |
应该是我的xorg.conf写的有问题
log中发现No device specified for screen "Screen0".
我觉得这是我分辨率设置实效的原因
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(==) No device specified for screen "Screen0".
Using the first device section listed.
(**) | |-->Device "intel"
作者: ppluer 发布时间: 2008-10-27
作者: ppluer
我觉得不是Xorg7.4的问题
应该是我的xorg.conf写的有问题 log中发现No device specified for screen "Screen0". 我觉得这是我分辨率设置实效的原因 (==) ServerLayout "X.org Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (==) No device specified for screen "Screen0". Using the first device section listed. (**) | |-->Device "intel" |
作者: ti8er 发布时间: 2008-10-27
作者: ti8er
你是参照BLFS-6.3做的吗?
|
配置参考了BLFS6.3手册
我现在的问题归根结底是xorg.conf无法控制屏幕分辨率
作者: ppluer 发布时间: 2008-10-27
HorizSync 28-60
VertRefresh 43-60
现在已经可以启动xvidtune看到当前分辨率已经是1280x800
但是字体依然很大---xterm窗口还在6000x6000左右
接下来任务要调节xterm的字体了
修改后的xorg.conf如下
Section "Monitor"
#DisplaySize 330 210 # mm
Identifier "Monitor0"
Option "DPMS"
HorizSync 28-60
VertRefresh 43-60
VendorName "LPL"
ModelName "ac00"
Modeline "1280x800_60.00" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
EndSection
作者: ppluer 发布时间: 2008-10-27
默认不输入任何参数 xdpyinfo | grep resolution 显示结果为112x968 dots per inch
但是log档却报告DPI已经是96
强行指定 96
startx -- -dpi 96 启动后正常(没错需要三个“-”的参数 -- -dpi 96)
干脆创建.xserverrc文件内容为exec /usr/bin/X -dpi 96 彻底解决问题
有个疑惑就是xrdb -query没有结果返回
/var/log/Xorg.0.log档可以查看到intel driver DPI set 信息
但是相当的不准---intel driver有问题
作者: ppluer 发布时间: 2008-10-27
影响GM945 GM965显卡 似乎有人说ATI显卡也由此问题
解决方法归纳如下
1.干脆创建.xserverrc文件内容为
exec /usr/bin/X -dpi 96 ----对我的GM965有效
2.Disable DDC
3.set DisplaySize
4.set "LVDS"
Section "Monitor"
... #whatevert was in already.
Option "DDC" "no" # 对我的GM965有效
Identifier "LCD 1280x800"
Option "DPMS" "true"
VendorName "LPL"
DisplaySize 338 211 # 对我的GM965无效 这个size可以由xdpyinfo 获得
Option "Monitor-LVDS" "LCD 1280x800 #我一直没看懂 好像多了个引号 我没有成功 second part solution <- option for Xrandr (see: man xrandr)
EndSection
参考来源https://bugs.launchpad.net/ubuntu/+s...er/+bug/107320
但是这些方法对我有效的只有1 2
作者: ppluer 发布时间: 2008-10-28
作者: ti8er 发布时间: 2008-10-28
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28