Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Přidat rozlišení druhého monitoru  (Přečteno 2817 krát)

Tazz

  • Aktivní člen
  • *
  • Příspěvků: 113
    • tazz.xf.cz
Přidat rozlišení druhého monitoru
« kdy: 21 Října 2010, 18:51:23 »
Mám monitor s rozlišením 1680x1050 a chtěl bych ho nastavit tak, aby zobrazoval druhou pracovní plochu v tomto rozlišení.
První plocha se má zobrazovat na monitoru notebooku.
V nastavení ovladače od ATI je všechno jasné a bez problémů, ale chybí tam možnost nastavit rozlišení na 1680x1050. Výběr končí u 1440x900 a 1600x1200.
Jestli to dobře chápu, tak toto rozlišení musím přidat do xorg.conf, ale kam a jak? Bude to fungovat v ovladači ATI?

Přikládám výpis /etc/X11/xorg.conf
Kód: [Vybrat]
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 "ServerLayout"
    Identifier     "amdcccle Layout"
    Screen      0  "aticonfig-Screen[0]-0" 0 0
    Screen         "amdcccle-Screen[1]-1" 1280 0
EndSection

Section "Files"
EndSection

Section "Module"
    Load  "glx"
EndSection

Section "ServerFlags"
    Option        "Xinerama" "off"
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]-0"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Monitor"
    Identifier   "0-LVDS"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
    Option        "PreferredMode" "1280x800"
    Option        "TargetRefresh" "60"
    Option        "Position" "0 0"
    Option        "Rotate" "normal"
    Option        "Disable" "false"
EndSection

Section "Monitor"
    Identifier   "0-CRT1"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
    Option        "TargetRefresh" "60"
    Option        "Position" "0 0"
    Option        "Rotate" "normal"
    Option        "Disable" "false"
    Option        "PreferredMode" "1280x800"
EndSection

Section "Device"
    Identifier  "aticonfig-Device[0]-0"
    Driver      "fglrx"
    Option        "Monitor-LVDS" "0-LVDS"
    BusID       "PCI:1:0:0"
EndSection

Section "Device"
    Identifier  "amdcccle-Device[1]-1"
    Driver      "fglrx"
    Option        "Monitor-CRT1" "0-CRT1"
    BusID       "PCI:1:0:0"
    Screen      1
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device     "aticonfig-Device[0]-0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "amdcccle-Screen[1]-1"
    Device     "amdcccle-Device[1]-1"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection
« Poslední změna: 04 Září 2014, 04:01:49 od Tazz »
Raspberry Pi 4: 8GiB RAM
HP Compaq 6730s: CPU Intel DualCore 2.17GHz, 3GiB RAM, ATI Mobility Radeon HD 3430

Tazz

  • Aktivní člen
  • *
  • Příspěvků: 113
    • tazz.xf.cz
Re:Přidat rozlišení druhého monitoru
« Odpověď #1 kdy: 31 Srpna 2014, 12:22:51 »
Spíš sám sobě píšu návod, protože jsem to hledal již několikrát a vždycky jako první při vyhledávání narazím na svůj příspěvek bez odpovědi:

1. zkontroluji maximální možné rozlišení:
Kód: [Vybrat]
xrandr | grep maximum2. zjistím parametry pro nové rozlišení:
Kód: [Vybrat]
gtf 1680 1050 603. vytvořím nové rozlišení:
Kód: [Vybrat]
xrandr --newmode "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync4. přidám nové rozlišení pro výstup VGA-0 (externí monitor):
Kód: [Vybrat]
xrandr --addmode VGA-0 1680x1050_60.005. v Nastavení systému/Displeje vyberu požadované rozlišení.
Raspberry Pi 4: 8GiB RAM
HP Compaq 6730s: CPU Intel DualCore 2.17GHz, 3GiB RAM, ATI Mobility Radeon HD 3430

Tazz

  • Aktivní člen
  • *
  • Příspěvků: 113
    • tazz.xf.cz
Re:Přidat rozlišení druhého monitoru
« Odpověď #2 kdy: 04 Září 2014, 04:03:17 »
Stále řeším problém: jak to udělat, aby se nastavení uložilo i po restartu počítače? Vůbec nemám soubor etc\X11\xorg.conf a když už ho vygeneruji, tak v něm není prakticky nic.

Jde mi jenom o přidání jedné hodnoty rozlišení monitoru, abych si jí mohl v grafickém rozhraní zvolit v případě potřeby, nebo ideálně aby se rozlišení samo nastavilo při detekování konkrétního monitoru. Přitom na monitoru notebooku nechci měnit nic, ten pracuje dobře. Výše uvedené příkazy můj cíl sice splní, ale po restartu je musím zadávat znovu.

vygenerovaný xorg.conf.new:
Kód: [Vybrat]
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     "/usr/share/fonts/X11/cyrillic"
FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath     "/usr/share/fonts/X11/Type1"
FontPath     "/usr/share/fonts/X11/100dpi"
FontPath     "/usr/share/fonts/X11/75dpi"
FontPath     "built-ins"
EndSection

Section "Module"
Load  "glx"
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   "Monitor Vendor"
ModelName    "Monitor Model"
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     "NoAccel"            # [<bool>]
        #Option     "SWcursor"            # [<bool>]
        #Option     "EnablePageFlip"      # [<bool>]
        #Option     "ColorTiling"        # [<bool>]
        #Option     "ColorTiling2D"      # [<bool>]
        #Option     "RenderAccel"        # [<bool>]
        #Option     "SubPixelOrder"      # [<str>]
        #Option     "AccelMethod"        # <str>
        #Option     "EXAVSync"            # [<bool>]
        #Option     "EXAPixmaps"          # [<bool>]
        #Option     "ZaphodHeads"        # <str>
        #Option     "EnablePageFlip"      # [<bool>]
        #Option     "SwapbuffersWait"    # [<bool>]
Identifier  "Card0"
Driver      "radeon"
BusID       "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
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
EndSubSection
EndSection
 
« Poslední změna: 04 Září 2014, 05:10:16 od Tazz »
Raspberry Pi 4: 8GiB RAM
HP Compaq 6730s: CPU Intel DualCore 2.17GHz, 3GiB RAM, ATI Mobility Radeon HD 3430

 

Provoz zaštiťuje spolek OpenAlt.