[其它]请教关于显卡的问题,急!!

CPU/显卡/打印机/USB设备等硬件问题
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

[其它]请教关于显卡的问题,急!!

#1

帖子 xzymail » 2006-06-29 11:58

我想请教一下,我是刚刚玩Linux的,我装了个ubuntu,因为听说这个不错,所以装上了,可是装上了我后来发现我的桌面只能以1024*768的分辨率和60HZ的刷新率显示,后来发发现是驱动还没真正驱上去,于是我到几个网站上看这方面的东西,弄了几下后还是不行,希望能在这里得到您的帮肋,我的显卡是intel集成的865,液晶17寸,按理可以以1280*1024和85HZ显示出来的,谢谢!!
头像
paul
帖子: 510
注册时间: 2005-09-01 20:48

#2

帖子 paul » 2006-06-29 18:39

865的芯片应该不会太麻烦的,要是你装的是Dapper的话,到系统-》新利德里面搜一下865,先装Xserver 810得driver试一下!我在朋友的Kubuntu上直接在桌面右键里面该成810的驱动就可以了 :)
你的液晶没有必要上到85Hz的刷新,液晶屏的是不会闪的。
头像
paul
帖子: 510
注册时间: 2005-09-01 20:48

#3

帖子 paul » 2006-06-29 18:44

顺便说一下,显示上不了1280*1024和85不是什么大不了的事,没有必要三呼救命 :)
我今天一天Grub出了两次error了 :em26
头像
Beetle
帖子: 1637
注册时间: 2005-10-14 16:55
系统: OS X
来自: 江苏
联系:

#4

帖子 Beetle » 2006-06-29 18:52

LCD不是CRT60Hz是最佳的了!高了没用而且会加速灯管的老化!!
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#5

帖子 xzymail » 2006-07-02 10:24

楼上的兄弟,问题还没有搞定啊,不知道怎么安装咯,我知道啊,我不是说我的液晶要刷到85HZ,我是想弄成1280*1024咯,知道可能是驱动还没驱上吧,就只能是1024*768,真是的,看了很不习惯咯,谢谢你们的回复,可是还没有解决呀,我是刚装linux的!

还有,我刚装了个QQ,可是一点登录就老登录不了,是不是还没有装java的关系,可是我的装了很多遍java了,到那个www.sun.com.cn找安装过程的,可是老装不下呀,用sudo update-alternatives --config java还只是显示
There are 2 alternatives which provide `java'.

Selection Alternative
-----------------------------------------------
1 /usr/bin/gij-wrapper-4.1
*+ 2 /usr/lib/jvm/java-gcj/jre/bin/java

谢谢!!
头像
paul
帖子: 510
注册时间: 2005-09-01 20:48

#6

帖子 paul » 2006-07-02 13:09

楼主的症状是Sun 的 java 没有装上啊!照这里再试一下: http://wiki.ubuntu.org.cn/%E5%BF%AB%E9% ... apperDrake
现在源里有Java包了,装Java很方便了.

显卡么,我自己没用这种显卡,不太好说,不过据我所知,Dapper都已经有810系列的驱动了,不用专门去下的,还是设置上面的问题。
你的症状是不是在显示设置里面最高的只有1024*768?
我碰到过一次,是新换了19寸的显示器,还是旧的15“分辨率,这要改Xorg的,可以参考我一月九号的Blog:
weblog.php?month=1&day=&year=2006&w=34& ... E%E5%AE%9A
你可以研究一下你的Xorg里面Monitor和Screen的部分,贴过来大家参考一下,有把握了做好备份自己也可以改。
Good Luck!
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#7

帖子 xzymail » 2006-07-04 10:18

楼上的大虾,我想先说明一下,我是头一次接触linux 的,所以很多东西都不得晓得怎么改的咯,我是想让我的能刷到1280*1024,可是在系统里面的分辨率最高也就只有1024*768。这样子是不是我的驱动还没有驱好啊?

“Xorg里面Monitor和Screen的部分”是指哪里呢??
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#8

帖子 xzymail » 2006-07-04 10:22

兄弟们你们的Q是多少,可以留下吧,我去加你们!
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#9

帖子 xzymail » 2006-07-04 10:57

这个是我的xorg.conf

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "Intel Corporation 82865G Integrated Graphics Controller"
Driver "i810"
BusID "PCI:0:2:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82865G Integrated Graphics Controller"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
联系:

#10

帖子 karron » 2006-07-04 11:23

Modes "1024x768" "800x600" "640x480"

按照这样的格式把你要的分辩率加上去.
不过不知道你的LCD是什么牌子的,xorg里面居然没有把它认出来.建议你用 sudo dpkg-reconfigure xserver-xorg 重新配置一下,里面可以选择你需要的分辩率的.
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
头像
paul
帖子: 510
注册时间: 2005-09-01 20:48

#11

帖子 paul » 2006-07-04 12:26

照我看来显卡驱动是没有问题的,要做的就是把分辨率加上去了,那就和我当初作的一模一样了,还是我说的,可以参考我的Blog,这里我直接把相关片段拷过来了:
具体步骤如下:
首先,确保手上有显示器的相关参数(不知道是否必要)
我要用的是

Synchronization
Horizontal 30 ~ 81 kHz
Vertical 56 ~ 75 Hz
这段

然后:
第一件事,备份Xorg.conf:
代码:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup


第二件事,添加1280x1024的分辨率
代码:
sudo gedit /etc/X11/xorg.conf


a.找到Section "Monitor"
这里,根据你显示器的型号改好,相关的信息可以从网上或者说明书里找到,我的是这样:

Section "Monitor"
Identifier "Sumsang 913N"
Option "DPMS"
HorizSync 30-81
VertRefresh 56-75
(这里我就是手动输入了显示器的型号和两个刷新频率)

b.找到下面Section "Screen"
根据需要,我只是改了最后两项SubSection,16位深和24位深:
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
我只是加入了原先没有的1280x1024的分辨率,要是愿意,你也可以改1,4,8,15位色深时的分辩率。保存,然后重启你的Ubuntu,应该就搞定了,还有别忘了按下显示器的AUTO键,让它自动设好最佳效果。

这时候,你会发现桌面的壁纸需要换成1280x1024的,然后,应该没有什么问题了,enjoy it!
下面是我新换的Dapper里面的Xorg,你可以参考一下。注意我这里的显示器也没有完全正确的识别,型号应该是913N不过不影响使用。

代码: 全选

Section "Device"
	Identifier	"NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
	Driver		"nvidia"
	BusID		"PCI:2:0:0"
EndSection

Section "Monitor"
	Identifier	"SyncMaster"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
	Monitor		"SyncMaster"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection
我QQ 号150364551不过不常开 :)
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#12

帖子 xzymail » 2006-07-05 10:40

楼上的大虾们,请问一下,“sudo dpkg-reconfigure xserver-xorg”是什么命令啊,里面应该怎么设置啊?
还有,我的显示器本来就是不对头的那种,所以里面不会看到它的型号什么这类的!
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#13

帖子 xzymail » 2006-07-05 11:12

11楼的兄弟,我按你说的改了,然后重启后,这个显示器居然出来了4个字"超出范围",
可是我这个在XP下是可以以"1280*1024"显示的咯,不过我刚才在改的时候没有定进显示器的型号什么的,只是加上了11楼说的"1280*1024"
在命令行下面,怎么改回原来的分辨率呢?命令是什么呀?要怎么才可以重新进入到x windows???
头像
paul
帖子: 510
注册时间: 2005-09-01 20:48

#14

帖子 paul » 2006-07-05 12:40

最简单的办法就是把你之前作的Xorg.con备份拷回去.

代码: 全选

sudo cp /etc/X11/xorg.conf_backup /etc/X11/xorg.conf
Ctrl+Alt+Backspace或者重启就可以了.

你的问题没碰到过,可能是这里设的不对?
HorizSync 28-51
VertRefresh 43-60
参考这里: viewtopic.php?t=13967&highlight=%E8%B6% ... 3%E5%9B%B4
最好找到你显示器的参数填上去试试.
头像
paul
帖子: 510
注册时间: 2005-09-01 20:48

#15

帖子 paul » 2006-07-05 12:45

xzymail 写了:楼上的大虾们,请问一下,“sudo dpkg-reconfigure xserver-xorg”是什么命令啊,里面应该怎么设置啊?
还有,我的显示器本来就是不对头的那种,所以里面不会看到它的型号什么这类的!
sudo dpkg-reconfigure xserver-xorg这个我不太会用,它会问你些不太好回答的问题 :)
你要试的话只要先做好Xorg的备份,不行把它拷回去就是了。

显示器前面板上都会写有牌子型号什么的,很好找的.不行后面的标签上也有的.
回复