LINUX.ORG.RU

Переключение графики на десктопе

 , , , ,


0

3

Привет ЛОР. Так вышло что в BIOSе у меня выставлена intel-овская встройка по умолчанию, но иногда нужно использовать как основную - AMD (rx480 если важно). Существует адекватный способ переключаться без необходимости руками лезть в BIOS, переставить карту и тд ?

вот что использую для видео:

λ  ~ → lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 630 [8086:5912] (rev 04)
	Subsystem: Gigabyte Technology Co., Ltd HD Graphics 630 [1458:d000]
	Kernel driver in use: i915
	Kernel modules: i915
--
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] [1002:67df] (rev c7)
	Subsystem: XFX Pine Group Inc. Radeon RX 480 [1682:9480]
	Kernel modules: amdgpu
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 580] [1002:aaf0]

Пробовал делать

rmmod -f i915; rmmod -f amdgpu;
modprobe amdgpu
Но это не помогло. modprobe i915 вернул все как было. Ну и кабеля я проверял, все работает

★★★★★

Последнее исправление: Dred (всего исправлений: 1)

Ответ на: комментарий от BceM_IIpuBeT

А я пробовал на самом деле. Не сильно разбирался, это разве не для мобильной графики ? В обоще вот ( xDShot)

λ  → ~ → xrandr --listproviders                      
Providers: number : 2
Provider 0: id: 0x92 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 6 associated providers: 1 name:Intel
Provider 1: id: 0x4a cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 5 associated providers: 1 name:AMD Radeon (TM) RX 480 Graphics @ pci:0000:01:00.0
λ  → ~ → xrandr --setprovideroffloadsink 1 0        
λ  → ~ → DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2) 
λ  → ~ → xrandr -q
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP1 disconnected primary (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 530mm x 300mm
   1920x1080     60.00*+  50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   720x576       50.00  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
DisplayPort-1-2 disconnected (normal left inverted right x axis y axis)
DisplayPort-1-3 disconnected (normal left inverted right x axis y axis)
DisplayPort-1-4 disconnected (normal left inverted right x axis y axis)
HDMI-A-1-3 disconnected (normal left inverted right x axis y axis)
DVI-D-1-0 disconnected (normal left inverted right x axis y axis)


Dred ★★★★★
() автор топика
Ответ на: комментарий от Dred

Ладно, поправил(создал) Xorg.conf и заработало

Dred ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.