更新

更新

我的教室里有一台电脑,它连接到一台 LG 智能电视(其实它并不那么智能。我不建议购买。)。对于触摸界面,电视需要 1920x1080 的分辨率,频率为 60Hz。但是,我似乎无法将电脑设置为该分辨率。显示设置仅提供 1024x768 和 640x480。

计算机与 Windows XP 双启动,其中宽屏选项可提供大约所需的尺寸,但精确的分辨率——甚至是纵横比——在 XP 中也不可用。

我尝试了以下命令:

xrandr -s 1920x1080 -r 60

答复是:

在可用模式下未找到尺寸 1920x1080

在过去,解决方案是编辑xorg.conf。但是,由于该文件不再存在,而且我找不到最新信息,所以我不知道还能做什么。如果有帮助的话,这台机器将永远不会连接到不同的显示器,因此分辨率灵活性并不重要。

以下是 的输出lshw

*-display:0
         description: VGA compatible controller
         product: 4 Series Chipset Integrated Graphics Controller
         vendor: Intel Corporation
         physical id: 2
         bus info: pci@0000:00:02.0
         version: 03
         width: 64 bits
         clock: 33MHz
         capabilities: vga_controller bus_master cap_list rom
         configuration: driver=i915 latency=0
         resources: irq:42 memory:fe800000-febfffff memory:d0000000-dfffffff ioport:ecd8(size=8)
    *-display:1 UNCLAIMED
         description: Display controller
         product: 4 Series Chipset Integrated Graphics Controller
         vendor: Intel Corporation
         physical id: 2.1
         bus info: pci@0000:00:02.1
         version: 03
         width: 64 bits
         clock: 33MHz

根据系统设置,我的图形驱动程序是未知的,并且我的“体验”是标准的。

这是 64 位 Ubuntu 12.04 (Precise)

笔记:有许多与此类似的问题,但它们没有提供任何对我有帮助的答案。

更新

在发布这个问题后,我注意到一个在侧边栏我通过搜索没有找到它,但它似乎包含答案。基于这个问题,我创建了/etc/X11/xorg.conf下面的文件:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath     "built-ins"
EndSection

Section "Module"
    Load  "glx"
    Load  "dri2"
    Load  "dbe"
    Load  "dri"
    Load  "record"
    Load  "extmod"
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"
    VendorName   "LG"
    ModelName    "Smart TV"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "DRI"                   # [<bool>]
        #Option     "ColorKey"              # <i>
        #Option     "VideoKey"              # <i>
        #Option     "FallbackDebug"         # [<bool>]
        #Option     "Tiling"                # [<bool>]
        #Option     "LinearFramebuffer"     # [<bool>]
        #Option     "Shadow"                # [<bool>]
        #Option     "SwapbuffersWait"       # [<bool>]
        #Option     "TripleBuffer"          # [<bool>]
        #Option     "XvMC"                  # [<bool>]
        #Option     "XvPreferOverlay"       # [<bool>]
        #Option     "DebugFlushBatches"     # [<bool>]
        #Option     "DebugFlushCaches"      # [<bool>]
        #Option     "DebugWait"             # [<bool>]
        #Option     "HotPlug"               # [<bool>]
        #Option     "RelaxedFencing"        # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 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"
    #   Viewport   0 0
    #   Depth     16
    #EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes     "1024x768" "1920x1080"
    EndSubSection
EndSection

根据/var/log/Xorg.0.log,我的设置没有被应用。事实上,我怀疑配置文件是否被读取。

[  1209.083] (**) intel(0): Depth 24, (--) framebuffer bpp 32
[  1209.084] (==) intel(0): RGB weight 888
[  1209.084] (==) intel(0): Default visual is TrueColor
[  1209.084] (II) intel(0): Integrated Graphics Chipset: Intel(R) G41
[  1209.084] (--) intel(0): Chipset: "G41"
[  1209.084] (**) intel(0): Relaxed fencing enabled
[  1209.084] (**) intel(0): Wait on SwapBuffers? enabled
[  1209.084] (**) intel(0): Triple buffering? enabled
[  1209.084] (**) intel(0): Framebuffer tiled
[  1209.084] (**) intel(0): Pixmaps tiled
[  1209.084] (**) intel(0): 3D buffers tiled
[  1209.084] (**) intel(0): SwapBuffers wait enabled
[  1209.084] (==) intel(0): video overlay key set to 0x101fe
[  1209.172] (II) intel(0): Output VGA1 using monitor section Monitor0
[  1209.260] (II) intel(0): EDID for output VGA1
[  1209.260] (II) intel(0): Printing probed modes for output VGA1
[  1209.260] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[  1209.260] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[  1209.260] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[  1209.260] (II) intel(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz)
[  1209.260] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz)
[  1209.260] (II) intel(0): Output VGA1 connected
[  1209.260] (II) intel(0): Using user preference for initial modes
[  1209.260] (II) intel(0): Output VGA1 using initial mode 1024x768
[  1209.260] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[  1209.260] (II) intel(0): Kernel page flipping support detected, enabling
[  1209.260] (==) intel(0): DPI set to (96, 96)

相关内容