Купил я Radeon RX 5500 XT и т.к. у меня нет монитора с разъёмами
hdmi и
display port, то я установил
ubuntu и
mint через виртуальную машину с помощью
porteus подключаясь по
vnc c ноутбука. Настроил
vnc и
ssh в
ubuntu/mint, и добавил в /etc/default/grub
nomodeset и сделал
update-grub.
Видеокарта работает в таком состоянии, только не работает видеодрайвер
amdgpu. Собственно и без
nomodeset работает, вентиляторы на видеокарте отключаются (без режима nomodeset), и появляются зависания (изображение выводится со скоростью 1 кадр в секунду), но в
inxi -G в поле
display, значение
driver: становится b]ati, fbdev[/b], а в поле Device-1 параметр
driver переходит в значение
N/A.
Решил подключить через
hdmi не рабочий телевизор
rubin, который постоянно перезагружается. Тут ситуация улучшилась, и экран стал зависать примерно 1 раз в 8-14 секунд (через такой промежуток перезагружается телевизор). После этого в
inxi -G в поле
display, значение driver:
amdgpu, ati. Но стоит выключить телефизор или отключить кабель, как оно снова переходит в значение
none, и начинаются зависания в 1 кадр в секунду.
Вариант с аппаратной заглушкой, "затычка" (эмуляция подключения монитора hdmi или display port) или
hdmi-vga не хочу использовать, потому что карту можно повредить таким образом. Поэтому решил использовать программный метод.
Добавил такие параметры в /etc/default/grub
radeon.si_support=0 amdgpu.si_support=1 radeon.cik_support=0 amdgpu.cik_support=1
inxi -G без подключенного монитора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
inxi -G без подключенного монитора (при загрузке /etc/X11/xorg.conf)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
inxi -G с подключенным монитором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
inxi -G с подключенным монитором (при загрузке /etc/X11/xorg.conf)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
inxi -G с подключенным драйвером dummyGraphics:
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
Вывод xrandr -q без подключенного монитора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)
Вывод xrandr -q с подключенным монитором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
Вывод xrandr -q с подключенным драйвером dummyxrandr: 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
Добавил такие параметры в /etc/default/grub
nomodeset
inxi -G без подключенного монитора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
inxi -G с подключенным монитором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
Вывод xrandr -q без подключенного монитора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
Вывод xrandr -q с подключенным монитором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*
Пробовал варианты для видеокарт
nvidia,
Вводил такие значения в /usr/share/X11/xorg.conf.d/
10-amdgpu.conf:
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
а было до моего вмешательства так:
Section "OutputClass"
Identifier "AMDgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
EndSection
После этого установил
xf86-video-dummyСделал как посоветовали на arch wiki:
Для системы без монитора необходим драйвер 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
После перезагрузки, задержки прекратились, но видимо псевдо видеокарта стала определятся из драйвера dummy, а не admgpu (тонкостей не знаю, извините). В inxi -G результат display driver:none
С подключенным по hdmi телевизором ввёл команду Xorg --configure :1 и скопировал xorg.conf.new в /etc/X11 под именем xorg.conf, чтобы можно было эксперементировать с настройками.
Вот вывод xorg.conf: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
Добавлял "ConnectedMonitor" "TV-0" в xorg.confSection "Device"
Identifier "Card2"
Driver "amdgpu"
Option "ConnectedMonitor" "TV-0"
BusID "PCI:5:0:0"
EndSection
Добавлял вывод на прошивку что я взял с телевизора:Section "Device"
Identifier "Card2"
Driver "amdgpu"
Option "CustomEDID" "TV-0:/edid.bin"
BusID "PCI:5:0:0"
EndSection
но без результатно.
Какие нужно указывать параметры? Потому что, это, я так понимаю, сделано для
nvidia, а у меня же
radeon.
Вот содержимое прошивки
xxd edid.bin:
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 ................
dmesg с подключенным телевизором
https://pastebin.com/zeQ68Ls1dmesg без телевизора
https://pastebin.com/iqcdXmCpВкючил только nomodeset
dmesg с подключенным телевизором
https://pastebin.com/bwnkvwuBdmesg без телевизора
https://pastebin.com/kNWAY8GhИ добавлю файл во вложение. Если надо, то могу выло жить в облако
https://drive.google.com/drive/folders/1KXjbQ6MYdaPMwDPWJCpxRWO-z7v1k-Vm?usp=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" это получается служебная функция или одна из его переменных? Просто там не указано чтобы она объявлялась, если это переменная.
Аналогичные темы:
https://www.linux.org.ru/forum/linux-hardware/16054049https://linuxmint.com.ru/viewtopic.php?t=6339Система: Ubuntu 20.04 x64 / Mint 20 ulyana x64
Видеокарта: Sapphire Radeon RX 5500 XT
Процессор: Phenom II x4 B95
Материнская плата: N68C-GS4 FX
Оперативная память: DDR2 4 GB
Блок питания: Hipro hpa-500W
Жёсткий диск; Western Digital 2 TB WD EZRZ