Ошибка с драйвером Xorg + Intel

Я пытаюсь удалить разрывное видео, используя настраиваемую конфигурацию драйвера Intel

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     "Accel"                 # [<bool>]
        Option     "AccelMethod" "sna"          # <str>
        #Option     "Backlight"             # <str>
        #Option     "CustomEDID"            # <str>
        #Option     "DRI"                   # <str>
        #Option     "Present"               # [<bool>]
        #Option     "ColorKey"              # <i>
        #Option     "VideoKey"              # <i>
        #Option     "Tiling"                # [<bool>]
        #Option     "LinearFramebuffer"     # [<bool>]
        #Option     "HWRotation"            # [<bool>]
        #Option     "VSync"                 # [<bool>]
        #Option     "PageFlip"              # [<bool>]
        #Option     "SwapbuffersWait"       # [<bool>]
        #Option     "TripleBuffer"          # [<bool>]
        #Option     "XvPreferOverlay"       # [<bool>]
        #Option     "HotPlug"               # [<bool>]
        #Option     "ReprobeOutputs"        # [<bool>]
        #Option     "XvMC"                  # [<bool>]
        #Option     "ZaphodHeads"           # <str>
        #Option     "VirtualHeads"          # <i>
        Option      "TearFree" "True"           # [<bool>]
        #Option     "PerCrtcPixmaps"        # [<bool>]
        #Option     "FallbackDebug"         # [<bool>]
        #Option     "DebugFlushBatches"     # [<bool>]
        #Option     "DebugFlushCaches"      # [<bool>]
        #Option     "DebugWait"             # [<bool>]
        #Option     "BufferCache"           # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    BusID       "PCI:0:2: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

Я начал сеанс X с помощью startx

startx -- -config ./xorg.conf.new -logverbose 6

Но у меня есть видимые артефакты (см. Img)

I есть некоторые видимые артефакты, когда я использую пользовательскую конфигурацию Intel

Также я отправляю свой файл Xorg.0.log сюда

Без дополнительной конфигурации Intel Xorg работает нормально (с разрывом), возможно, потому что Xorg загружает modesetting_drv.so, не intel_drv.so.

Мой процессор - Intel (R) Core (TM) i5-10210U, только встроенная видеокарта Intel (без NVIDIA и AMD)

Но я не могу понять, как решить эту проблему.

РЕДАКТИРОВАТЬ 1 Мой ноутбук - Dell Vostro 3590 Встроенная видеокарта - Intel UHD Graphics 620 (информация из здесь )

Также я запускал lspci для контроллера VGA

aleksey@aleksey-Vostro-3590:~$ sudo lspci -vnnnn | grep VGA -A 16
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9b41] (rev 02) (prog-if 00 [VGA controller])
    Subsystem: Dell Device [1028:096a]
    Flags: bus master, fast devsel, latency 0, IRQ 138
    Memory at b0000000 (64-bit, non-prefetchable) [size=16M]
    Memory at a0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at 4000 [size=64]
    [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: [40] Vendor Specific Information: Len=0c <?>
    Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
    Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [d0] Power Management version 2
    Capabilities: [100] Process Address Space ID (PASID)
    Capabilities: [200] Address Translation Service (ATS)
    Capabilities: [300] Page Request Interface (PRI)
    Kernel driver in use: i915
    Kernel modules: i915
1
задан 7 April 2020 в 19:10

1 ответ

У меня была точно такая же проблема, и сегодня я начал тестировать разные вещи. В конце концов, что решило проблему для меня (по крайней мере, на видео на YouTube, где ошибка наиболее заметна — например, здесь https://www.youtube.com/watch?v=MfL_JkcEFbE) было просто использовать compton в качестве механизма оконного композитинга.

Не вмешивайтесь в конфигурацию X11. Если вы используете драйверы modesetting, все готово.

Просто отключите компоновщик XFCE, если он активирован, и запустите на терминале:

compton --backend=glx

Если это решит проблему, заставьте compton запускаться с каждой сессии XFCE. Я следовал инструкциям на этой странице, но не использовал их конфигурационный файл, а только настройки бэкенда glx.

1
ответ дан 22 April 2020 в 20:09

Другие вопросы по тегам:

Похожие вопросы: