我最近在我的个人电脑上安装了Ubuntu13.10,它运行良好。然而,我在与Conky (系统资源监视器)打交道时遇到了一些问题。我做了一些研究,有人说,它必须与nVidia驱动程序没有安装。所以我安装了驱动程序并重新启动了计算机。然而,在登录后,我看到了一个黑色的屏幕和光标。我又一次研究了这个问题,最后去了tty1并输入了
sudo apt-get --purge remove nvidia-*这可以让我访问并能够使用Ubuntu,但是现在我的计算机使用的唯一分辨率是800x600。在这场惨败之前,它曾经是1920x1080年。我试图修改xorg.conf文件,但什么也没有发生。这是我目前拥有的(修改的) xorg.conf文件。
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 331.38 (buildmeister@swio-display-x64-rhel04-12) Wed Jan 8 19:59:52 PST 2014
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1920x1080"
EndSubSection
EndSection我修改的部分是“显示”部分。它过去只有Depth 24行,但读了一点之后,其他人说,增加这些额外的行对他们有效。此外,在回复时,请不要假设我有任何Linux/Ubuntu知识,因为这是我第一次使用Linux。
谢谢!
编辑:我认为发布xrandr的输出可能会有所帮助:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 800 x 600, maximum 800 x 600
default connected primary 800x600+0+0 0mm x 0mm
800x600 0.0*
640x480 60.0编辑2:另外,下面是lspci|grep VGA的输出:
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)它说它只找到我的英特尔卡,但我也有一个NVidia GT740M。
发布于 2014-01-19 08:49:14
由于xorg.conf引用的是nVidia驱动程序,我怀疑系统变得混乱了。删除该conf文件将允许常规驱动程序(我猜是nouveau)返回到默认设置。
为了保留现有文件供以后参考,建议的方法是重命名:
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.nvidia如果您想重新安装nVidia驱动程序,我使用的安装过程如下:
sudo apt-get install nvidia-current
sudo nvidia-xconfig然后重新启动。
https://askubuntu.com/questions/407625
复制相似问题