Добавил такие параметры в /etc/default/grub
Код: Выделить всё
radeon.si_support=0 amdgpu.si_support=1 radeon.cik_support=0 amdgpu.cik_support=1
inxi -G без подключенного монитора
[spoiler]
Код: Выделить всё
Graphics:
Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M] driver: amdgpu
v: kernel
Display: x11 server: X.Org 1.20.8 driver: none unloaded: amdgpu tty: N/A
OpenGL: renderer: Radeon RX 5500 XT (NAVI14 DRM 3.35.0 5.4.0-58-generic
LLVM 11.0.0)
v: 4.6 Mesa 20.3.0 - kisak-mesa PPA
[/spoiler]
inxi -G без подключенного монитора (при загрузке /etc/X11/xorg.conf)
[spoiler]
Код: Выделить всё
Graphics:
Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M] driver: amdgpu
v: kernel
Display: x11 server: X.Org 1.20.8 driver: none unloaded: amdgpu tty: N/A
OpenGL: renderer: Radeon RX 5500 XT (NAVI14 DRM 3.35.0 5.4.0-58-generic
LLVM 11.0.0)
v: 4.6 Mesa 20.3.0 - kisak-mesa PPA
[/spoiler]
inxi -G с подключенным монитором
[spoiler]
Код: Выделить всё
Graphics:
Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M] driver: amdgpu
v: kernel
Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati
unloaded: fbdev,modesetting,radeon,vesa resolution: 1360x768~60Hz
OpenGL: renderer: Radeon RX 5500 XT (NAVI14 DRM 3.35.0 5.4.0-58-generic
LLVM 11.0.0)
v: 4.6 Mesa 20.3.0 - kisak-mesa PPA
[/spoiler]
inxi -G с подключенным монитором (при загрузке /etc/X11/xorg.conf)
[spoiler]
Код: Выделить всё
Graphics:
Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M] driver: amdgpu
v: kernel
Display: x11 server: X.Org 1.20.8 driver: none resolution: 1024x768~75Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.0 128 bits)
v: 4.5 Mesa 20.3.0 - kisak-mesa PPA
[/spoiler]
inxi -G с подключенным драйвером dummy
[spoiler]
Код: Выделить всё
Graphics:
Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M] driver: amdgpu
v: kernel
Display: x11 server: X.Org 1.20.8 driver: none resolution: 1024x768~75Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.0 128 bits)
v: 4.5 Mesa 20.3.0 - kisak-mesa PPA
[/spoiler]
Вывод xrandr -q без подключенного монитора
[spoiler]
Код: Выделить всё
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 16384 x 16384
DisplayPort-0 disconnected primary (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
[/spoiler]
Вывод xrandr -q с подключенным монитором
[spoiler]
Код: Выделить всё
Screen 0: minimum 320 x 200, current 1360 x 768, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 connected 1360x768+0+0 (normal left inverted right x axis y axis) 760mm x 430mm
1360x768 60.02*+
1920x1080 60.00 50.00 59.94
1280x768 59.99
1280x720 60.00 50.00 59.94
1024x768 60.00
800x600 60.32
720x576 50.00
720x480 60.00 59.94
640x480 60.00 59.94
720x400 70.08
[/spoiler]
Вывод xrandr -q с подключенным драйвером dummy
[spoiler]
Код: Выделить всё
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 240, current 1024 x 768, maximum 2048 x 1200
default connected 1024x768+0+0 0mm x 0mm
2048x1152 60.00
1920x1200 60.00
1920x1080 60.00
1600x1200 60.00
1680x1050 70.00 60.00
1400x1050 70.00 60.00
1600x900 60.00
1280x1024 75.00 60.00
1440x900 60.00
1400x900 60.00
1280x960 60.00
1368x768 60.00
1360x768 60.00
1280x800 60.00
1152x864 75.00 70.00 60.00
1280x720 60.00
1024x768 75.00* 70.00 60.00
1024x576 60.00
960x600 60.00
832x624 75.00
960x540 60.00
800x600 75.00 72.00 60.00 56.00
840x525 70.00 60.00
864x486 60.00
700x525 70.00 60.00
800x450 60.00
640x512 75.00 60.00
720x450 60.00
700x450 60.00
640x480 75.00 73.00 60.00
684x384 60.00
680x384 60.00
640x400 60.00
576x432 75.00 70.00 60.00
640x360 60.00
512x384 75.00 70.00 60.00
512x288 60.00
416x312 75.00
480x270 60.00
400x300 75.00 72.00 60.00 56.00
432x243 60.00
320x240 75.00 73.00 60.00
2048x1200 60.00
[/spoiler]
Добавил такие параметры в /etc/default/grub
inxi -G без подключенного монитора
[spoiler]
Код: Выделить всё
Graphics:
Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M] driver: N/A
Display: x11 server: X.Org 1.20.8 driver: ati,fbdev
unloaded: modesetting,radeon,vesa resolution: 640x480~73Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.0 128 bits)
v: 4.5 Mesa 20.3.0 - kisak-mesa PPA
[/spoiler]
inxi -G с подключенным монитором
[spoiler]
Код: Выделить всё
Graphics:
Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M] driver: N/A
Display: x11 server: X.Org 1.20.8 driver: ati,fbdev
unloaded: modesetting,radeon,vesa resolution: 1360x768~76Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.0 128 bits)
v: 4.5 Mesa 20.3.0 - kisak-mesa PPA
[/spoiler]
Вывод xrandr -q без подключенного монитора
[spoiler]
Код: Выделить всё
Graphics:
Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M] driver: N/A
Display: x11 server: X.Org 1.20.8 driver: ati,fbdev
unloaded: modesetting,radeon,vesa resolution: 640x480~73Hz
OpenGL: renderer: llvmpipe (LLVM 11.0.0 128 bits)
v: 4.5 Mesa 20.3.0 - kisak-mesa PPA
[/spoiler]
Вывод xrandr -q с подключенным монитором
[spoiler]
Код: Выделить всё
Screen 0: minimum 1360 x 768, current 1360 x 768, maximum 1360 x 768
default connected 1360x768+0+0 0mm x 0mm
1360x768 76.00*
[/spoiler]
Пробовал варианты для видеокарт
nvidia,
Вводил такие значения в /usr/share/X11/xorg.conf.d/
10-amdgpu.conf:
[spoiler]
Код: Выделить всё
root@1:/# cat /usr/share/X11/xorg.conf.d/10-amdgpu.conf
Section "OutputClass"
Identifier "AMDgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
# BusID "PCI:5:0:0"
Option "Monitor-TV" "0-TV"
Option "PrefferedMode" "800x680"
EndSection
Section "Device"
Identifier "card0"
Driver "amdgpu"
Option "Monitor-TV" "0-TV"
Option "PrefferedMode" "800x600"
BusID "PCI:5:0:0"
EndSection
#Seciton "Monitor"
# Identifier "Conf Monitor"
# Vendorname "Generic LCD Display"
# Modelname "Try xto"
# Horizsync 30-81
# Vertrefresh 56-75
#modeline "800x680@60" 43.25 800 832 912 1024 680 683 693 707 -hsync +vsync
#EndSection
[/spoiler]
а было до моего вмешательства так:
[spoiler]
Код: Выделить всё
Section "OutputClass"
Identifier "AMDgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
EndSection
[/spoiler]
После этого установил
xf86-video-dummy
Сделал как посоветовали на arch wiki:
[spoiler]
Код: Выделить всё
Для системы без монитора необходим драйвер xf86-video-dummy. Установите его и создайте файл конфигурации, например, с таким содержанием:
/etc/X11/xorg.conf.d/10-headless.conf
Section "Monitor"
Identifier "dummy_monitor"
HorizSync 28.0-80.0
VertRefresh 48.0-75.0
Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118
EndSection
Section "Device"
Identifier "dummy_card"
VideoRam 256000
Driver "dummy"
EndSection
Section "Screen"
Identifier "dummy_screen"
Device "dummy_card"
Monitor "dummy_monitor"
SubSection "Display"
EndSubSection
EndSection
[/spoiler]
После перезагрузки, задержки прекратились, но видимо псевдо видеокарта стала определятся из драйвера dummy, а не admgpu (тонкостей не знаю, извините). В inxi -G результат display driver:none
С подключенным по hdmi телевизором ввёл команду Xorg --configure :1 и скопировал xorg.conf.new в /etc/X11 под именем xorg.conf, чтобы можно было эксперементировать с настройками.
Вот вывод xorg.conf:
[spoiler]
Код: Выделить всё
root@1:/etc/X11# cat xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
Screen 3 "Screen3" RightOf "Screen2"
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 "Monitor"
Identifier "Monitor2"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor3"
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 "SWcursor" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ZaphodHeads" # <str>
#Option "AccelMethod" # <str>
#Option "DRI3" # [<bool>]
#Option "DRI" # <i>
#Option "ShadowPrimary" # [<bool>]
#Option "TearFree" # [<bool>]
#Option "DeleteUnusedDP12Displays" # [<bool>]
#Option "VariableRefresh" # [<bool>]
Identifier "Card0"
Driver "amdgpu"
BusID "PCI:3:0: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 "Accel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ZaphodHeads" # <str>
#Option "AccelMethod" # <str>
#Option "DRI3" # [<bool>]
#Option "DRI" # <i>
#Option "ShadowPrimary" # [<bool>]
#Option "TearFree" # [<bool>]
#Option "DeleteUnusedDP12Displays" # [<bool>]
#Option "VariableRefresh" # [<bool>]
Identifier "Card1"
Driver "amdgpu"
BusID "PCI:4:0: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 "Accel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ZaphodHeads" # <str>
#Option "AccelMethod" # <str>
#Option "DRI3" # [<bool>]
#Option "DRI" # <i>
#Option "ShadowPrimary" # [<bool>]
#Option "TearFree" # [<bool>]
#Option "DeleteUnusedDP12Displays" # [<bool>]
#Option "VariableRefresh" # [<bool>]
Identifier "Card2"
Driver "amdgpu"
BusID "PCI:5:0: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 "Accel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ZaphodHeads" # <str>
#Option "AccelMethod" # <str>
#Option "DRI3" # [<bool>]
#Option "DRI" # <i>
#Option "ShadowPrimary" # [<bool>]
#Option "TearFree" # [<bool>]
#Option "DeleteUnusedDP12Displays" # [<bool>]
#Option "VariableRefresh" # [<bool>]
Identifier "Card3"
Driver "amdgpu"
BusID "PCI:5:0:1"
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
Section "Screen"
Identifier "Screen2"
Device "Card2"
Monitor "Monitor2"
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 "Screen3"
Device "Card3"
Monitor "Monitor3"
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
[/spoiler]
Добавлял "ConnectedMonitor" "TV-0" в xorg.conf
[spoiler]
Код: Выделить всё
Section "Device"
Identifier "Card2"
Driver "amdgpu"
Option "ConnectedMonitor" "TV-0"
BusID "PCI:5:0:0"
EndSection
[/spoiler]
Добавлял вывод на прошивку что я взял с телевизора:
[spoiler]
Код: Выделить всё
Section "Device"
Identifier "Card2"
Driver "amdgpu"
Option "CustomEDID" "TV-0:/edid.bin"
BusID "PCI:5:0:0"
EndSection
[/spoiler]
но без результатно.
Какие нужно указывать параметры? Потому что, это, я так понимаю, сделано для
nvidia, а у меня же
radeon.
Вот содержимое прошивки
xxd edid.bin:
[spoiler]
Код: Выделить всё
00000000: 00ff ffff ffff ff00 1296 0000 0101 0101 ................
00000010: 0517 0103 8000 0078 0ade bda3 5547 9926 .......x....UG.&
00000020: 0c47 4aa1 0800 81c0 0101 0101 0101 0101 .GJ.............
00000030: 0101 0101 0101 6621 50b0 5100 1b30 4070 ......f!P.Q..0@p
00000040: 3600 f8ae 2100 001e a91a 00a0 5000 1630 6...!.......P..0
00000050: 3020 3700 3f43 2100 001a 0000 00fd 0032 0 7.?C!........2
00000060: 4c1f 4b10 000a 2020 2020 2020 0000 00fc L.K... ....
00000070: 0044 6967 6974 616c 2054 560a 2020 0151 .Digital TV. .Q
00000080: 0203 2474 4f90 0504 0307 0206 011f 1413 ..$tO...........
00000090: 1216 1115 2309 0703 8301 0000 6703 0c00 ....#.......g...
000000a0: 1000 382d 011d 00bc 52d0 1e20 b828 5540 ..8-....R.. .(U@
000000b0: c48e 2100 001e 011d 80d0 721c 1620 102c ..!.......r.. .,
000000c0: 2580 c48e 2100 009e 8c0a d08a 20e0 2d10 %...!....... .-.
000000d0: 103e 9600 138e 2100 0018 8c0a d090 2040 .>....!....... @
000000e0: 3120 0c40 5500 138e 2100 0018 0000 0000 1 .@U...!.......
000000f0: 0000 0000 0000 0000 0000 0000 0000 00be ................
[/spoiler]
dmesg с подключенным телевизором
dmesg без телевизора
Вкючил только nomodeset
dmesg с подключенным телевизором
dmesg без телевизора
И добавлю файл во вложение. Если надо, то могу выло жить в облако
https://drive.google.com/drive/folders/ ... sp=sharing
или
https://mfd.sk/_eNl6h65c0orXNa_s1Wt6jX-
На этом форуме
https://ubuntuforums.org/showthread.php?t=2257456 пользователь хочет запустить два X сервера по-моему и там в xorg.conf он указывает интересные параметры, такие как:
Код: Выделить всё
Section "Monitor"
Identifier "0-TV"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "800x480"
Option "TargetRefresh" "30"
Option "Position" "0 0"
Option "Rotate" "normal"
Option "Disable" "false"
EndSection
Код: Выделить всё
Section Device
...
Option "Monitor-TV" "0-TV"
...
EndSection
Так вот, я ещё не проверил этот вариант, но
"Monitor-TV" это получается служебная функция или одна из его переменных? Просто там не указано чтобы она объявлялась, если это переменная.