eom*_*off 8 nvidia linux-mint resolution
我刚刚安装了 Linux Mint 14,但无法更改屏幕分辨率。适当的分辨率 1920 x 1200,只是不在选项之中。
我已经尝试过这个解决方案,但它报告:
xrandr: cannot find output "VGA1"
Run Code Online (Sandbox Code Playgroud)
我也试过这个,但它报告:
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Run Code Online (Sandbox Code Playgroud)
编辑1
我的显卡信息:
Graphics: Card: NVIDIA GF108 [GeForce GT 440] bus-ID: 01:00.0 X.Org: 1.13.0 driver: nvidia Resolution: 640x480@59.9hz
GLX Renderer: GeForce GT 440/PCIe/SSE2 GLX Version: 4.3.0 NVIDIA 313.26 Direct Rendering: Yes
Run Code Online (Sandbox Code Playgroud)
运行sudo lshw -class
输出:
*-display
description: VGA compatible controller
product: GF108 [GeForce GT 440]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:16 memory:fa000000-faffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:fb000000-fb07ffff
*-display
description: Display controller
product: 2nd Generation Core Processor Family Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm bus_master cap_list
configuration: driver=i915 latency=0
resources: irq:57 memory:fb400000-fb7fffff memory:b0000000-bfffffff ioport:f000(size=64)
Run Code Online (Sandbox Code Playgroud)
编辑2
在终端输出中运行 xrandr 命令:
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
VGA-2 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.0*
800x600 60.3 56.2
848x480 60.0
640x480 59.9
Run Code Online (Sandbox Code Playgroud)
这是没有安装 nvidia 驱动程序。
编辑3
执行命令 xrandr --newmode "1920x1200_60.00" 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync
后报告:
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 29
Current serial number in output stream: 29
Run Code Online (Sandbox Code Playgroud)
编辑4
当我从here running尝试解决方案时sudo Xorg -configure
,我得到:
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
Run Code Online (Sandbox Code Playgroud)
根据您上面的 xrandr 输出,有两个问题;首先,输出名称是 VGA-2(不是 VGA0),其次您似乎没有可用于 1920x1200 的模式。
首先尝试设置分辨率:
xrandr --output VGA-2 --size 1920x1200
Run Code Online (Sandbox Code Playgroud)
如果这不起作用(我认为它不会因为 1920x1200 不是一种模式)然后执行以下操作:
cvt 1920 1200
Run Code Online (Sandbox Code Playgroud)
复制并粘贴完整的模式行信息,例如我得到:
Modeline "1920x1200_60.00" 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync
Run Code Online (Sandbox Code Playgroud)
我们要复制的是 Modeline 之后的内容,例如 "1920x1200_60.00" 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync
现在执行以下操作:
xrandr --newmode <WHAT_WE_COPIED_FROM_MODELINE>
xrandr --addmode VGA-2 1920x1200_60.00
Run Code Online (Sandbox Code Playgroud)
例如,在 VGA-2 之后的第二个命令中,我们将该位放在来自 modeline 的引号中
最后:
xrandr --output VGA-2 --mode 1920x1200_60.00
Run Code Online (Sandbox Code Playgroud)
模式的相同描述符。
这应该创建一个 1920x1200 的新模式,为 VGA-2 分配该模式,然后将 VGA-2 设置为使用该模式。