<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://lorwiki.zhbert.ru/index.php?action=history&amp;feed=atom&amp;title=%D0%A3%D0%B4%D0%BE%D0%B1%D0%BD%D0%BE%D0%B5_%D0%BF%D0%B5%D1%80%D0%B5%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BC%D0%B5%D0%B6%D0%B4%D1%83_radeon_%D0%B8_fglrx_%D0%B2_gentoo</id>
	<title>Удобное переключение между radeon и fglrx в gentoo - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://lorwiki.zhbert.ru/index.php?action=history&amp;feed=atom&amp;title=%D0%A3%D0%B4%D0%BE%D0%B1%D0%BD%D0%BE%D0%B5_%D0%BF%D0%B5%D1%80%D0%B5%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BC%D0%B5%D0%B6%D0%B4%D1%83_radeon_%D0%B8_fglrx_%D0%B2_gentoo"/>
	<link rel="alternate" type="text/html" href="http://lorwiki.zhbert.ru/index.php?title=%D0%A3%D0%B4%D0%BE%D0%B1%D0%BD%D0%BE%D0%B5_%D0%BF%D0%B5%D1%80%D0%B5%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BC%D0%B5%D0%B6%D0%B4%D1%83_radeon_%D0%B8_fglrx_%D0%B2_gentoo&amp;action=history"/>
	<updated>2026-10-12T23:48:21Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.39.0</generator>
	<entry>
		<id>http://lorwiki.zhbert.ru/index.php?title=%D0%A3%D0%B4%D0%BE%D0%B1%D0%BD%D0%BE%D0%B5_%D0%BF%D0%B5%D1%80%D0%B5%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BC%D0%B5%D0%B6%D0%B4%D1%83_radeon_%D0%B8_fglrx_%D0%B2_gentoo&amp;diff=379&amp;oldid=prev</id>
		<title>Admin: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://lorwiki.zhbert.ru/index.php?title=%D0%A3%D0%B4%D0%BE%D0%B1%D0%BD%D0%BE%D0%B5_%D0%BF%D0%B5%D1%80%D0%B5%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BC%D0%B5%D0%B6%D0%B4%D1%83_radeon_%D0%B8_fglrx_%D0%B2_gentoo&amp;diff=379&amp;oldid=prev"/>
		<updated>2023-02-27T18:39:19Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 21:39, 27 февраля 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://lorwiki.zhbert.ru/index.php?title=%D0%A3%D0%B4%D0%BE%D0%B1%D0%BD%D0%BE%D0%B5_%D0%BF%D0%B5%D1%80%D0%B5%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BC%D0%B5%D0%B6%D0%B4%D1%83_radeon_%D0%B8_fglrx_%D0%B2_gentoo&amp;diff=378&amp;oldid=prev</id>
		<title>lor&gt;Cetjs2: Откат правок 163.172.227.165 (обсуждение) к версии Mandala</title>
		<link rel="alternate" type="text/html" href="http://lorwiki.zhbert.ru/index.php?title=%D0%A3%D0%B4%D0%BE%D0%B1%D0%BD%D0%BE%D0%B5_%D0%BF%D0%B5%D1%80%D0%B5%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BC%D0%B5%D0%B6%D0%B4%D1%83_radeon_%D0%B8_fglrx_%D0%B2_gentoo&amp;diff=378&amp;oldid=prev"/>
		<updated>2018-05-13T08:29:58Z</updated>

		<summary type="html">&lt;p&gt;Откат правок &lt;a href=&quot;/index.php/%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%92%D0%BA%D0%BB%D0%B0%D0%B4/163.172.227.165&quot; title=&quot;Служебная:Вклад/163.172.227.165&quot;&gt;163.172.227.165&lt;/a&gt; (&lt;a href=&quot;/index.php?title=%D0%9E%D0%B1%D1%81%D1%83%D0%B6%D0%B4%D0%B5%D0%BD%D0%B8%D0%B5_%D1%83%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA%D0%B0:163.172.227.165&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Обсуждение участника:163.172.227.165 (страница не существует)&quot;&gt;обсуждение&lt;/a&gt;) к версии &lt;a href=&quot;/index.php?title=%D0%A3%D1%87%D0%B0%D1%81%D1%82%D0%BD%D0%B8%D0%BA:Mandala&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Участник:Mandala (страница не существует)&quot;&gt;Mandala&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Введение=&lt;br /&gt;
&lt;br /&gt;
Для видеокарт AMD существует два драйвера: открытый [http://en.gentoo-wiki.com/wiki/Radeon radeon] и проприетарный [http://en.gentoo-wiki.com/wiki/Fglrx fglrx]. У каждого из них есть свои плюсы и минусы. Задача использовать эти драйверы параллельно, так, чтобы один не мешал другому, при максимально удобном переключении между ними.&lt;br /&gt;
&lt;br /&gt;
=Входные данные=&lt;br /&gt;
&lt;br /&gt;
Данную задачу будем решать в gentoo linux. Будем считать, что драйвер [http://en.gentoo-wiki.com/wiki/Radeon radeon] уже установлен.&lt;br /&gt;
&lt;br /&gt;
=Реализация=&lt;br /&gt;
&lt;br /&gt;
==Добавим драйвер [http://en.gentoo-wiki.com/wiki/Fglrx fglrx] в ''/etc/make.conf''==&lt;br /&gt;
&amp;lt;pre&amp;gt;# grep VIDEO /etc/make.conf&lt;br /&gt;
VIDEO_CARDS=&amp;quot;radeon fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Установим необходимые компоненты==&lt;br /&gt;
&amp;lt;pre&amp;gt;root@linux# emerge -uDNv world&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Настроим загрузчик==&lt;br /&gt;
Нужно, чтобы для каждого ядра генерировалось два пункта загрузчика:&lt;br /&gt;
*Для открытого драйвера (с использованием [https://wiki.archlinux.org/index.php/Kernel_Mode_Setting KMS]) в cmdline необходимо добавить&lt;br /&gt;
&amp;lt;pre&amp;gt;radeon.modeset=1 modprobe.blacklist=fglrx&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Для закрытого драйвера нужно добавить&lt;br /&gt;
&amp;lt;pre&amp;gt;modprobe.blacklist=drm,drm_kms_helper,radeon,uvcvideo,ttm,videodev,videobuf2_core,videobuf2_memops,videobuf2_vmalloc&amp;lt;/pre&amp;gt;&lt;br /&gt;
Сгенерируйте файл настроек загрузчика после внесения изменений.-&lt;br /&gt;
==Настроим X11==&lt;br /&gt;
&amp;lt;pre&amp;gt;root@linux# /opt/bin/aticonfig --initial --input=/etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
Скопируем полученный файл в ''xorg.conf.fglrx-0''&lt;br /&gt;
&amp;lt;pre&amp;gt;root@linux# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.fglrx-0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Обеспечим автоматическое переключение между драйверами, в зависимости от загруженных модулей ядра==&lt;br /&gt;
Создадим файл ''/etc/local.d/radeon.start''&lt;br /&gt;
&amp;lt;pre&amp;gt;root@linux# cat /etc/local.d/radeon.start  &lt;br /&gt;
#!/bin/sh&lt;br /&gt;
if ((`lsmod | grep fglrx | wc -l` &amp;gt; 0))&lt;br /&gt;
        then if ((`eselect opengl list | grep ati | grep \* | wc -l` == 0))&lt;br /&gt;
                then eselect opengl set ati&lt;br /&gt;
                cp -f /etc/X11/xorg.conf.fglrx-0 /etc/X11/xorg.conf&lt;br /&gt;
        fi&lt;br /&gt;
else &lt;br /&gt;
        if ((`eselect opengl list | grep xorg-x11 | grep \* | wc -l` == 0))&lt;br /&gt;
                then eselect opengl set xorg-x11&lt;br /&gt;
        fi&lt;br /&gt;
        rm /etc/X11/xorg.conf&lt;br /&gt;
        #следующая строка необязательна - она меняет профиль на low&lt;br /&gt;
        echo low &amp;gt; /sys/class/drm/card0/device/power_profile&lt;br /&gt;
fi &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
и сделаем его исполняемым&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;chmod +x /etc/local.d/radeon.start&amp;lt;/pre&amp;gt;&lt;br /&gt;
Разумеется, сервис local должен быть добавлен в уровень исполнения default&lt;br /&gt;
&amp;lt;pre&amp;gt;root@linux# rc-update add local default &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Теперь после перезагрузки вы можете выбрать в меню вашего любимого загрузчика, какой драйвер запускать. Для удобства также можно установить из оверлея stuff (спасибо megabaks'у) dkms-gentoo.&lt;/div&gt;</summary>
		<author><name>lor&gt;Cetjs2</name></author>
	</entry>
</feed>