Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
安装gnome后进入桌面修改分辨率就没响应了
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
jackxin88
n00b
n00b


Joined: 09 Oct 2007
Posts: 3

PostPosted: Tue Oct 09, 2007 3:44 am    Post subject: 安装gnome后进入桌面修改分辨率就没响应了 Reply with quote

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
View user's profile Send private message
r0bertz
Retired Dev
Retired Dev


Joined: 13 Sep 2004
Posts: 257
Location: HKSAR,China

PostPosted: Tue Oct 09, 2007 3:14 pm    Post subject: Reply with quote

你是怎么改的?
_________________
Zhang Le, Robert
http://zhangle.is-a-geek.org
Back to top
View user's profile Send private message
jackxin88
n00b
n00b


Joined: 09 Oct 2007
Posts: 3

PostPosted: Tue Oct 09, 2007 3:37 pm    Post subject: Reply with quote

我就是用xorg的自动配置程序检测的,自动生成xorg.conf.new文件,我就复制成/etc、x11/xorg.con了,其他的就没改了,会不会是ATI的驱动问题呀,我吧drives改成ATI,就说找不到设备了,只好先用vesa的,但是不能设置分辨率,
Back to top
View user's profile Send private message
akar
Bodhisattva
Bodhisattva


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Thu Oct 11, 2007 12:43 am    Post subject: Reply with quote

這情況有點難搞,不怕啃英文的,不妨先去看看這份文檔: http://gentoo-wiki.com/HOWTO_ATI_Drivers

比如,文檔內提到 x11-org 如果 編譯時(uses)內有: dlloader ,就會有問題。其它的可能還有一些技巧(訣竅)要注意。

有消息說: AMD 有意思在不遠的將來把 ATI 顯卡驅動開源出來,相信到時候 ATI 驅動的安裝設置,就會手到就拿來、易如反掌了。 :)
_________________
AKar
Back to top
View user's profile Send private message
r0bertz
Retired Dev
Retired Dev


Joined: 13 Sep 2004
Posts: 257
Location: HKSAR,China

PostPosted: Thu Oct 11, 2007 4:48 am    Post subject: Reply with quote

我的意思是:
是startx后用xrandr改的,中间没有关掉X
还是关掉X,后修改xorg.conf,然后用直接用新分辨率startx
如果后面一种情况下没有问题,我觉得这个就不是什么大问题,先用着
反正我们都不是Xorg的开发者,没有时间,也暂时不具备那个能力去修正问题
除非你需要经常切换分辨率,那就要想办法解决一下了
_________________
Zhang Le, Robert
http://zhangle.is-a-geek.org
Back to top
View user's profile Send private message
jackxin88
n00b
n00b


Joined: 09 Oct 2007
Posts: 3

PostPosted: Fri Oct 12, 2007 8:19 am    Post subject: Reply with quote

是startx后用xrandr改的,中间没有关掉X ,真是郁闷呀,直接X就死掉了,切换到字符界面也不行,
Back to top
View user's profile Send private message
r0bertz
Retired Dev
Retired Dev


Joined: 13 Sep 2004
Posts: 257
Location: HKSAR,China

PostPosted: Fri Oct 12, 2007 8:42 am    Post subject: Reply with quote

jackxin88 wrote:
直接X就死掉了

你是说“用1024x768 startx,直接就死掉了”?

不过液晶显示器还是用原来的分辨率比较好
字体小,改改就好了
_________________
Zhang Le, Robert
http://zhangle.is-a-geek.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum