<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=33310&amp;type=atom" />
	<updated>2014-01-24T09:54:35Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=33310</id>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=389724#p389724" />
			<content type="html"><![CDATA[<p>Патчи <strong>kernel_v3.13.patch</strong> для блобов nvidia <strong>331.38</strong>, <strong>304.117(119)</strong> и <strong>173.14.39</strong>:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;331.38</div><div class="fancy_spoiler"><div class="codebox"><pre><code>--- a/kernel/nv-acpi.c
+++ b/kernel/nv-acpi.c
@@ -303,7 +307,10 @@ static int nv_acpi_remove(struct acpi_de
 
     if (pNvAcpiObject-&gt;notify_handler_installed)
     {
+#if LINUX_VERSION_CODE &lt; KERNEL_VERSION(3, 13, 0)
+ /* beginning with 3.13, acpi_remove_notify_handler() waits for events to finish */
         NV_ACPI_OS_WAIT_EVENTS_COMPLETE();
+#endif
 
         // remove event notifier
         status = acpi_remove_notify_handler(device-&gt;handle, ACPI_DEVICE_NOTIFY, nv_acpi_event);
--- a/kernel/uvm/nvidia_uvm_linux.h
+++ b/kernel/uvm/nvidia_uvm_linux.h
@@ -405,11 +405,17 @@ typedef void irqreturn_t;
 // not require the RCU&#039;s read lock on current-&gt;cred.
 //
 //
+#if LINUX_VERSION_CODE &gt;= KERNEL_VERSION(3, 5, 0)
+#define NV_KUID_TO_UID(value) (__kuid_val(value))
+#else
+#define NV_KUID_TO_UID(value) (value)
+#endif
+
 #if defined(NV_TASK_STRUCT_HAS_CRED)
 #define NV_CURRENT_EUID() \
-    (((typeof(*current-&gt;cred) __force __kernel *)current-&gt;cred)-&gt;euid)
+        NV_KUID_TO_UID(((typeof(*current-&gt;cred) __force __kernel *)current-&gt;cred)-&gt;euid)
 #else
-#define NV_CURRENT_EUID() (current-&gt;euid)
+#define NV_CURRENT_EUID() NV_KUID_TO_UID(current-&gt;euid)
 #endif
 
 #define NV_ATOMIC_SET(data,val)         atomic_set(&amp;(data), (val))</code></pre></div></div></div><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;304.117, 304.119</div><div class="fancy_spoiler"><div class="codebox"><pre><code>--- a/kernel/nv-acpi.c
+++ b/kernel/nv-acpi.c
@@ -299,7 +299,10 @@ static int nv_acpi_remove(struct acpi_de
 
     if (pNvAcpiObject-&gt;notify_handler_installed)
     {
+#if LINUX_VERSION_CODE &lt; KERNEL_VERSION(3, 13, 0)
+ /* beginning with 3.13, acpi_remove_notify_handler() waits for events to finish */
         NV_ACPI_OS_WAIT_EVENTS_COMPLETE();
+#endif
 
         // remove event notifier
         status = acpi_remove_notify_handler(device-&gt;handle, ACPI_DEVICE_NOTIFY, nv_acpi_event);</code></pre></div></div></div><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;173.14.39</div><div class="fancy_spoiler"><div class="codebox"><pre><code>--- a/usr/src/nv/nvacpi.c
+++ b/usr/src/nv/nvacpi.c
@@ -259,7 +259,10 @@ static int nv_acpi_remove(struct acpi_de
 
     if (pNvAcpiObject-&gt;notify_handler_installed)
     {
+#if LINUX_VERSION_CODE &lt; KERNEL_VERSION(3, 13, 0)
+ /* beginning with 3.13, acpi_remove_notify_handler() waits for events to finish */
         NV_ACPI_OS_WAIT_EVENTS_COMPLETE();
+#endif
 
         // remove event notifier
         status = acpi_remove_notify_handler(device-&gt;handle, ACPI_DEVICE_NOTIFY, nv_acpi_event);</code></pre></div></div></div><p><span class="bbu"><strong>Установка:</strong></span><br />1) Распаковать *.run файл:<br /></p><div class="codebox"><pre><code>sh NVIDIA-Linux-XXX.run -x</code></pre></div><p>3) Перейти в распакованный каталог:<br /></p><div class="codebox"><pre><code>cd NVIDIA-Linux-XXX</code></pre></div><p>4) Установить патч:<br /></p><div class="codebox"><pre><code>patch -p1 &lt; /путь_до_патча/kernel_v3.13.patch</code></pre></div><p>5) Установка драйвера из полноэкранной консоли:<br /></p><div class="codebox"><pre><code># /путь_до_распакованного_каталога_с_драйвером/nvidia-installer</code></pre></div>]]></content>
			<author>
				<name><![CDATA[verg]]></name>
				<uri>https://linuxforum.ru/profile.php?id=10709</uri>
			</author>
			<updated>2014-01-24T09:54:35Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=389724#p389724</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=389336#p389336" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Wolfenberg пишет:</cite><blockquote><p>Скачал файл .run. Исходный код - вижу....</p></blockquote></div><p>Нет там никаких исходников драйвера.<br />Пруф: </p><div class="codebox"><pre><code>wget ftp://download.nvidia.com/XFree86/Linux-x86/173.14.37/NVIDIA-Linux-x86-173.14.39-pkg1.run
./NVIDIA-Linux-x86-173.14.39-pkg1.run --extract-only</code></pre></div><p>Там только headers, заголовки к интерфейсам драйвера c ядром и исходники этого самого интерфейса. А драйвер - это заранее скомпилированный shared object, библиотека.</p>]]></content>
			<author>
				<name><![CDATA[yars]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22799</uri>
			</author>
			<updated>2014-01-22T10:10:32Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=389336#p389336</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=389329#p389329" />
			<content type="html"><![CDATA[<p>Вот этот кастрат (новость о частичном открытии спеков) <a href="http://liquidat.wordpress.com/2013/09/24/nvidia-to-partially-open-up-their-gpu-specification/">http://liquidat.wordpress.com/2013/09/2 … ification/</a><br />Конечно странно, но такова Нвидиа на сегодняшний момент.</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2014-01-22T09:47:12Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=389329#p389329</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=389326#p389326" />
			<content type="html"><![CDATA[<p><strong>Vascom</strong>, почему же, верю.<br />Только вот не странно ли выпускать кастрата для Linux?<br />Скачал файл .run. Исходный код - вижу....</p>]]></content>
			<author>
				<name><![CDATA[Wolfenberg]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9425</uri>
			</author>
			<updated>2014-01-22T09:42:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=389326#p389326</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=389324#p389324" />
			<content type="html"><![CDATA[<p>Вероятно что-то неполноценное и малоценное.<br />Или ты не веришь мне?</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2014-01-22T09:40:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=389324#p389324</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=389322#p389322" />
			<content type="html"><![CDATA[<p><strong>Vascom</strong>, ух ты! А что тогда за архивчики на сайте <a href="http://www.nvidia.ru">www.nvidia.ru</a> лежат?</p>]]></content>
			<author>
				<name><![CDATA[Wolfenberg]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9425</uri>
			</author>
			<updated>2014-01-22T09:39:56Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=389322#p389322</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=389319#p389319" />
			<content type="html"><![CDATA[<p>Аналогией он быть не может. <br />Спеки АМД открыты, драйвер radeon полноценный. Спеки Нвидиа закрыты, nouveau реверсинжиниринговый драйвер.</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2014-01-22T09:37:08Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=389319#p389319</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=389313#p389313" />
			<content type="html"><![CDATA[<p><strong>Vascom</strong>, если бы AMD выпускало свои драйвера в нормальном виде, то свободный драйвер был бы аналогией nouveau.</p>]]></content>
			<author>
				<name><![CDATA[Wolfenberg]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9425</uri>
			</author>
			<updated>2014-01-22T09:32:01Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=389313#p389313</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=389249#p389249" />
			<content type="html"><![CDATA[<p>Не аналогично, а совсем по другому. Всё-таки radeon свободный драйвер всё это умеет. А нвидиа лишь проприетарщину свою пилит.<br />Надеюсь все понимают, что вклад Нвидиа в ядро относится только к их процессорам Tegra.</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2014-01-22T04:19:11Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=389249#p389249</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=389243#p389243" />
			<content type="html"><![CDATA[<p><strong>Quarck</strong>, аналогично Nvidia <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></content>
			<author>
				<name><![CDATA[Wolfenberg]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9425</uri>
			</author>
			<updated>2014-01-22T02:03:38Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=389243#p389243</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=389231#p389231" />
			<content type="html"><![CDATA[<p><strong>Wolfenberg</strong>, Поддержкой uvd, реализацией dpm, повышенной производительностью</p>]]></content>
			<author>
				<name><![CDATA[Quarck]]></name>
				<uri>https://linuxforum.ru/profile.php?id=32729</uri>
			</author>
			<updated>2014-01-21T22:58:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=389231#p389231</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=389196#p389196" />
			<content type="html"><![CDATA[<p><strong>Vascom</strong>, ценой? <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></content>
			<author>
				<name><![CDATA[Wolfenberg]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9425</uri>
			</author>
			<updated>2014-01-21T17:22:05Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=389196#p389196</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=389074#p389074" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>redix пишет:</cite><blockquote><div class="quotebox"><cite>verg пишет:</cite><blockquote><p>Intel, 9.7% - Linaro, 9% - Red Hat, 5% - Samsung, 3.5% - IBM, 2.7% - SUSE, 1.7% - Google, 1.5% - NVIDIA, 1.1% - Oracle, 1.0% - Huawei, 0.9% - ARM.</p></blockquote></div><p>Отсутствие в данном спиcке AMD, не удивило, и в принципе было ожидаемым.</p></blockquote></div><p>Как и Canonical <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p><p>А прогресс радеонов продолжает радовать.</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2014-01-21T05:16:15Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=389074#p389074</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=389014#p389014" />
			<content type="html"><![CDATA[<p>Вообще-то они есть, видимо вклад совсем мизерный по сравнению с другими компаниями. Свободный драйвер radeon пилится и становится лучше от релиза к релизу.</p>]]></content>
			<author>
				<name><![CDATA[Quarck]]></name>
				<uri>https://linuxforum.ru/profile.php?id=32729</uri>
			</author>
			<updated>2014-01-20T13:11:05Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=389014#p389014</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Релиз ядра Linux 3.13 + патчи для драйверов NVIDIA]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=388980#p388980" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>verg пишет:</cite><blockquote><p>Intel, 9.7% - Linaro, 9% - Red Hat, 5% - Samsung, 3.5% - IBM, 2.7% - SUSE, 1.7% - Google, 1.5% - NVIDIA, 1.1% - Oracle, 1.0% - Huawei, 0.9% - ARM.</p></blockquote></div><p>Отсутствие в данном спиcке AMD, не удивило, и в принципе было ожидаемым.</p>]]></content>
			<author>
				<name><![CDATA[redix]]></name>
				<uri>https://linuxforum.ru/profile.php?id=29254</uri>
			</author>
			<updated>2014-01-20T11:53:35Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=388980#p388980</id>
		</entry>
</feed>
