LinuxForum.Fans
Тема

Как убрать тиринг на lubuntu?

Автор: dynastini 46 сообщений 5310 просмотров
#377950
dynastini написал:
Попытался сделать Xorg -configure
Пишет:
Показать
text

X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
Current Operating System: Linux n550jv 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic.efi.signed root=UUID=aea9030d-b16a-4ace-b15b-2f460b11e1e9 ro splash quiet vt.handoff=7
Build Date: 16 April 2014  01:36:29PM
xorg-server 2:1.15.1-0ubuntu2 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.30.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr 27 22:24:19 2014
List of video drivers:
    neomagic
    modesetting
    sis
    intel
    r128
    spiceqxl
    siliconmotion
    openchrome
    nvidia
    qxl
    fbdev
    trident
    cirrus
    ati
    radeon
    mga
    nouveau
    s3
    sisusb
    savage
    vmware
    mach64
    tdfx
    vesa
(++) Using config file: "/home/dyn/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Number of created screens does not match number of detected devices.
  Configuration failed.
(EE) Server terminated with error (2). Closing log file.

и создает:

"xorg.conf.new"
text

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    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 "Monitor" Identifier "Monitor1" 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 "SWcursor" # [<bool>] #Option "kmsdev" # <str> #Option "ShadowFB" # [<bool>] Identifier "Card0" Driver "modesetting" BusID "PCI:0:2:0" 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 "SWcursor" # [<bool>] #Option "kmsdev" # <str> #Option "ShadowFB" # [<bool>] Identifier "Card1" Driver "modesetting" 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

Section "Screen" Identifier "Screen1" Device "Card1" Monitor "Monitor1" 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

при этом разрешение у меня сейчас 640х480. Бида.Идеи?

Вы сами хоть эту фигню читали? Где написано, что драйвер nvidia? Причём здесь "Xorg -configure"?

dynastini написал:
Using system config directory "/usr/share/X11/xorg.conf.d

А что делать системе, если вы какую-то фигню написали? Берёт стандарт... Из запаса...
Не, вы напишите чётко мой вариант и скажите, что не вышло. Вместе подправим.

#377955

Для того что бы не сбрасывался xorg.conf помогло обновление драйверов:
[console]sudo apt-add-repository ppa:xorg-edgers/ppa[/console]
[console]sudo apt-get update[/console]
[console]sudo apt-get install nvidia-current nvidia-settings[/console]
И собственно исправление тиринга наконец сработало:

xorg.conf
text

...
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TripleBuffer" "1"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
...

Кирилову спасибо за triplebuffer.
Ксюше пожелаю внимательней читать, что пишут другие.

#377956

Не надо меня так. Я думала, что вы основы знаете...
А
Option "TripleBuffer" "1" #Прикольно. никогда не сталкивалась, но спасибо. Пригодится :)
А я старлась вам помочь... Простите, что не вышло.

#377967

конфиг сбрасывается

kirillov3798, вы man nvidia-xconfig читали? А это он, между прочим, при повторном вызове делает резервную копию xorg.conf и создает файл заново.

#377969
dynastini написал:
Пугает:
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Разве /etc/X11/xorg.conf не основной конфиг?

Это нормально и правильно. Как раз в случае Optimus удобно иметь несколько конфигов, для каждой карточки свой, настройки иксов в части раскладок клавиатуры мыши лежат отдельно от настроек видеокарт.

#377970
"yars" написал:
резервную копию xorg.conf и создает файл заново

Я знаю.

Войдите или зарегистрируйтесь, чтобы ответить.