View previous topic :: View next topic |
Author |
Message |
jackxin88 n00b
Joined: 09 Oct 2007 Posts: 3
|
Posted: Tue Oct 09, 2007 3:44 am Post subject: 安装gnome后进入桌面修改分辨率就没响应了 |
|
|
gentoo2007
执行了 emerge gnome-light
emerge gamin
emerge xdm
echo "exec gnome-session">~/.xinitrc
修改 /etc/rc.conf
DISPLAYMANAGER="gdm"
xsession="Gnome"
我的显卡是ati的,驱动也装了,用livecd启动到桌面没问题,可是用startx 进入gnome桌面分辨率是1400*1050,我想把它改成1024*768,但是应用后,显示分辨率正常了,但是桌面就死了,鼠标键盘都动不了,按ctrl+alt+数字键也退不到任何tty了,只好按ctrl+alt+del重启,请问可能有什么原因造成呢?谢谢!
下面是我的/etc/X11/xorg.conf文件
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
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 "dri"
Load "glx"
Load "xtrap"
Load "record"
Load "dbe"
Load "extmod"
Load "GLcore"
Load "type1"
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"
Identifier "Monitor0"
HorizSync 30.0 - 82.0
VertRefresh 56.0 - 75.0
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 "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card0"
Driver "vesa"
VendorName "ATI Technologies Inc"
BoardName "ATI Radeon Xpress 1200 Series"
BusID "PCI:1:5:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
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"
Depth 16
Modes "1024*768" "800*600" "640*480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024*768" "800*600" "640*480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection |
|
Back to top |
|
|
r0bertz Retired Dev
Joined: 13 Sep 2004 Posts: 257 Location: HKSAR,China
|
|
Back to top |
|
|
jackxin88 n00b
Joined: 09 Oct 2007 Posts: 3
|
Posted: Tue Oct 09, 2007 3:37 pm Post subject: |
|
|
我就是用xorg的自动配置程序检测的,自动生成xorg.conf.new文件,我就复制成/etc、x11/xorg.con了,其他的就没改了,会不会是ATI的驱动问题呀,我吧drives改成ATI,就说找不到设备了,只好先用vesa的,但是不能设置分辨率, |
|
Back to top |
|
|
akar Bodhisattva
Joined: 03 Dec 2004 Posts: 348 Location: HKSAR,China
|
Posted: Thu Oct 11, 2007 12:43 am Post subject: |
|
|
這情況有點難搞,不怕啃英文的,不妨先去看看這份文檔: http://gentoo-wiki.com/HOWTO_ATI_Drivers
比如,文檔內提到 x11-org 如果 編譯時(uses)內有: dlloader ,就會有問題。其它的可能還有一些技巧(訣竅)要注意。
有消息說: AMD 有意思在不遠的將來把 ATI 顯卡驅動開源出來,相信到時候 ATI 驅動的安裝設置,就會手到就拿來、易如反掌了。 _________________ AKar |
|
Back to top |
|
|
r0bertz Retired Dev
Joined: 13 Sep 2004 Posts: 257 Location: HKSAR,China
|
Posted: Thu Oct 11, 2007 4:48 am Post subject: |
|
|
我的意思是:
是startx后用xrandr改的,中间没有关掉X
还是关掉X,后修改xorg.conf,然后用直接用新分辨率startx
如果后面一种情况下没有问题,我觉得这个就不是什么大问题,先用着
反正我们都不是Xorg的开发者,没有时间,也暂时不具备那个能力去修正问题
除非你需要经常切换分辨率,那就要想办法解决一下了 _________________ Zhang Le, Robert
http://zhangle.is-a-geek.org |
|
Back to top |
|
|
jackxin88 n00b
Joined: 09 Oct 2007 Posts: 3
|
Posted: Fri Oct 12, 2007 8:19 am Post subject: |
|
|
是startx后用xrandr改的,中间没有关掉X ,真是郁闷呀,直接X就死掉了,切换到字符界面也不行, |
|
Back to top |
|
|
r0bertz Retired Dev
Joined: 13 Sep 2004 Posts: 257 Location: HKSAR,China
|
Posted: Fri Oct 12, 2007 8:42 am Post subject: |
|
|
你是说“用1024x768 startx,直接就死掉了”?
不过液晶显示器还是用原来的分辨率比较好
字体小,改改就好了 _________________ Zhang Le, Robert
http://zhangle.is-a-geek.org |
|
Back to top |
|
|
|