* [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers
@ 2013-03-03 21:39 Doug Goldstein
2013-03-03 22:07 ` Mike Gilbert
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Doug Goldstein @ 2013-03-03 21:39 UTC (permalink / raw
To: gentoo-dev
One of the reasons people volunteer in open source projects is to
scratch their personal itch. When that itch develops into a festering,
gangrenous limb it becomes time to amputate it. That is what I am
doing with my involvement in x11-drivers/nvidia-drivers. As a result
someone will need to work with spock and rej to figure out what
aspects they are able to maintain and then maintain the components
they aren't able to. For example, different hardware has different
series of drivers to support it.
--
Doug Goldstein
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers
2013-03-03 21:39 [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers Doug Goldstein
@ 2013-03-03 22:07 ` Mike Gilbert
2013-03-03 22:08 ` Andreas K. Huettel
` (2 subsequent siblings)
3 siblings, 0 replies; 13+ messages in thread
From: Mike Gilbert @ 2013-03-03 22:07 UTC (permalink / raw
To: gentoo-dev
On Sun, Mar 3, 2013 at 4:39 PM, Doug Goldstein <cardoe@gentoo.org> wrote:
> One of the reasons people volunteer in open source projects is to
> scratch their personal itch. When that itch develops into a festering,
> gangrenous limb it becomes time to amputate it. That is what I am
> doing with my involvement in x11-drivers/nvidia-drivers. As a result
> someone will need to work with spock and rej to figure out what
> aspects they are able to maintain and then maintain the components
> they aren't able to. For example, different hardware has different
> series of drivers to support it.
Thanks for sticking with it as long as you have.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers
2013-03-03 21:39 [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers Doug Goldstein
2013-03-03 22:07 ` Mike Gilbert
@ 2013-03-03 22:08 ` Andreas K. Huettel
2013-03-04 3:48 ` Rick "Zero_Chaos" Farina
2013-03-04 11:34 ` [gentoo-dev] " Jeroen Roovers
3 siblings, 0 replies; 13+ messages in thread
From: Andreas K. Huettel @ 2013-03-03 22:08 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 759 bytes --]
Am Sonntag, 3. März 2013, 15:39:16 schrieb Doug Goldstein:
> One of the reasons people volunteer in open source projects is to
> scratch their personal itch. When that itch develops into a festering,
> gangrenous limb it becomes time to amputate it. That is what I am
> doing with my involvement in x11-drivers/nvidia-drivers. As a result
> someone will need to work with spock and rej to figure out what
> aspects they are able to maintain and then maintain the components
> they aren't able to. For example, different hardware has different
> series of drivers to support it.
Just as a side note spock was retired (bug closed about a week ago).
--
Andreas K. Huettel
Gentoo Linux developer
dilfridge@gentoo.org
http://www.akhuettel.de/
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers
2013-03-03 21:39 [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers Doug Goldstein
2013-03-03 22:07 ` Mike Gilbert
2013-03-03 22:08 ` Andreas K. Huettel
@ 2013-03-04 3:48 ` Rick "Zero_Chaos" Farina
2013-03-04 16:28 ` Walter Dnes
2013-03-04 11:34 ` [gentoo-dev] " Jeroen Roovers
3 siblings, 1 reply; 13+ messages in thread
From: Rick "Zero_Chaos" Farina @ 2013-03-04 3:48 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/03/2013 04:39 PM, Doug Goldstein wrote:
> One of the reasons people volunteer in open source projects is to
> scratch their personal itch. When that itch develops into a festering,
> gangrenous limb it becomes time to amputate it. That is what I am
> doing with my involvement in x11-drivers/nvidia-drivers. As a result
> someone will need to work with spock and rej to figure out what
> aspects they are able to maintain and then maintain the components
> they aren't able to. For example, different hardware has different
> series of drivers to support it.
>
Cardoe,
I am sorry that this package has been such a headache for you,
unfortunately binary drivers (especially) are often like that. Thanks
for all your hard work keeping this usable.
I make no promises as to my level of success, but I am willing to fight
the fight. I'm adding myself as maintainer, but as always, I welcome
help from others.
- -Zero
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJRNBl3AAoJEKXdFCfdEflKPHkQAI+DYLY+Hh25CYuNQYzVpMpx
yjHboJRa7JTt+/oiZb9S9vGZMj2IkWfEcBXJvfJQVYX/jS/ud1pqaJ2d+iFBrLEk
mfVdUKXJ0T1TXpItBQquylteivNxLiDnAddM2ZX1CJ5q3zFFgqy0twZUbOCCHhTe
nvhvIxa6yBlWKN1Qg+qQyBUGaKgGNM8h2iiYY1GzEuS82WK5uyYynXN8qLZS3aKQ
ILU4DyFCCtaLGKwdbmkYDAnRFXTaCmXulZkp1M43I6sXECmX6WYfWFn1DRDi4ya4
7cO6ieG1gSJB2VptzZB9MeAe5Gr+U8Whk1L35bk8HGTNDf1VdazUdVVDPVaklCGY
JaK5NUWb5HffA8TudUuSN838pYOo8k79K/zWUr7uTuv87e2eP7P1pa0kiAc7km2y
dpOpsPWdByCuOl8KmpJIGfYj2FzyOXh5rELheR/Ki7CDkPukQOdEqqG3zpi5ECLA
7kuMn+FmlwTU2jIe2+1Bb8BxpIHhp4YJjUvu0kHwKFdPMl4ormJo+M4JFK3jXeCL
4Wp6tk41TAXQH4R2+Hz04yyvd6V6gtFAOtRkigxfByphmskiUdMmvN6NQ5Diohi8
sa+u+WhHTzswPSm1V4SfB05VHyPZRU+IA4PcfjYk4qcXHbIFFgOeJATwykF8PQZK
6tq87DNKZuZCIH7UE91g
=5i9p
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers
2013-03-03 21:39 [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers Doug Goldstein
` (2 preceding siblings ...)
2013-03-04 3:48 ` Rick "Zero_Chaos" Farina
@ 2013-03-04 11:34 ` Jeroen Roovers
3 siblings, 0 replies; 13+ messages in thread
From: Jeroen Roovers @ 2013-03-04 11:34 UTC (permalink / raw
To: gentoo-dev
On Sun, 3 Mar 2013 15:39:16 -0600
Doug Goldstein <cardoe@gentoo.org> wrote:
> One of the reasons people volunteer in open source projects is to
> scratch their personal itch. When that itch develops into a festering,
> gangrenous limb it becomes time to amputate it. That is what I am
> doing with my involvement in x11-drivers/nvidia-drivers.
Sad, but understandable.
> As a result someone will need to work with spock and rej to figure
jer and xarthisius
> out what aspects they are able to maintain and then maintain the
> components they aren't able to. For example, different hardware has
> different series of drivers to support it.
I still happen to run all the hardware to test all of the major versions
currently supported upstream.
jer
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers
2013-03-04 3:48 ` Rick "Zero_Chaos" Farina
@ 2013-03-04 16:28 ` Walter Dnes
2013-03-04 16:44 ` Carlos Silva
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Walter Dnes @ 2013-03-04 16:28 UTC (permalink / raw
To: gentoo-dev
On Sun, Mar 03, 2013 at 10:48:07PM -0500, Rick "Zero_Chaos" Farina wrote
> I am sorry that this package has been such a headache for you,
> unfortunately binary drivers (especially) are often like that. Thanks
> for all your hard work keeping this usable.
I'm not a C programmer, let alone a developer, so this may be a stupid
question, but here goes... has anyone ever tried doing a HAL (Hardware
Abstraction Layer) to present a reasonably stable interface to binary
video drivers? Think of it as a shim translating a "pseudo-API" into
"the real API" that the kernel exposes directly. Surely, we can do
better than VESA. Give drivers 2 options...
1) direct kernel access like now
2) access via the HAL/shim
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers
2013-03-04 16:28 ` Walter Dnes
@ 2013-03-04 16:44 ` Carlos Silva
2013-03-05 7:01 ` Walter Dnes
2013-03-04 17:18 ` Alexandre Rostovtsev
2013-03-04 19:15 ` [gentoo-dev] " Duncan
2 siblings, 1 reply; 13+ messages in thread
From: Carlos Silva @ 2013-03-04 16:44 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 652 bytes --]
On Mon, Mar 4, 2013 at 3:28 PM, Walter Dnes <waltdnes@waltdnes.org> wrote:
> I'm not a C programmer, let alone a developer, so this may be a stupid
> question, but here goes... has anyone ever tried doing a HAL (Hardware
> Abstraction Layer) to present a reasonably stable interface to binary
> video drivers? Think of it as a shim translating a "pseudo-API" into
> "the real API" that the kernel exposes directly. Surely, we can do
> better than VESA. Give drivers 2 options...
> 1) direct kernel access like now
> 2) access via the HAL/shim
Just read this file and you'll have the answer:
/usr/src/linux/Documentation/stable_api_nonsense.txt
[-- Attachment #2: Type: text/html, Size: 1165 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers
2013-03-04 16:28 ` Walter Dnes
2013-03-04 16:44 ` Carlos Silva
@ 2013-03-04 17:18 ` Alexandre Rostovtsev
2013-03-04 19:15 ` [gentoo-dev] " Duncan
2 siblings, 0 replies; 13+ messages in thread
From: Alexandre Rostovtsev @ 2013-03-04 17:18 UTC (permalink / raw
To: gentoo-dev
On Mon, 2013-03-04 at 11:28 -0500, Walter Dnes wrote:
> On Sun, Mar 03, 2013 at 10:48:07PM -0500, Rick "Zero_Chaos" Farina wrote
>
> > I am sorry that this package has been such a headache for you,
> > unfortunately binary drivers (especially) are often like that. Thanks
> > for all your hard work keeping this usable.
>
> I'm not a C programmer, let alone a developer, so this may be a stupid
> question, but here goes... has anyone ever tried doing a HAL (Hardware
> Abstraction Layer) to present a reasonably stable interface to binary
> video drivers? Think of it as a shim translating a "pseudo-API" into
> "the real API" that the kernel exposes directly. Surely, we can do
> better than VESA. Give drivers 2 options...
> 1) direct kernel access like now
> 2) access via the HAL/shim
For video drivers, there are only a few things that can be abstracted
away, e.g. hardware access synchronization, DMA, power management, a
memory manager for GPUs without dedicated video memory. And the kernel
already does have an API for this, called DRM (direct rendering
manager); see https://www.kernel.org/doc/htmldocs/drm.html
However, nvidia-drivers does not use this API, probably because they
want to share code between their Linux and Windows drivers, and the
Linux kernel's DRM API is too different from what Windows does. In
addition, there might be licensing issues: I once read an argument that
if a proprietary kernel module is too closely integrated with features
that exists only in the Linux kernel and that cannot be applicable to
other operating systems, the module might legally become a derived work
of the Linux kernel, and so would need to be open-sourced under the GPL.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-dev] Re: maintainer-wanted: x11-drivers/nvidia-drivers
2013-03-04 16:28 ` Walter Dnes
2013-03-04 16:44 ` Carlos Silva
2013-03-04 17:18 ` Alexandre Rostovtsev
@ 2013-03-04 19:15 ` Duncan
2 siblings, 0 replies; 13+ messages in thread
From: Duncan @ 2013-03-04 19:15 UTC (permalink / raw
To: gentoo-dev
Walter Dnes posted on Mon, 04 Mar 2013 11:28:50 -0500 as excerpted:
> On Sun, Mar 03, 2013 at 10:48:07PM -0500, Rick "Zero_Chaos" Farina wrote
>
>> I am sorry that this package has been such a headache for you,
>> unfortunately binary drivers (especially) are often like that. Thanks
>> for all your hard work keeping this usable.
>
> I'm not a C programmer, let alone a developer, so this may be a stupid
> question, but here goes... has anyone ever tried doing a HAL (Hardware
> Abstraction Layer) to present a reasonably stable interface to binary
> video drivers? Think of it as a shim translating a "pseudo-API" into
> "the real API" that the kernel exposes directly. Surely, we can do
> better than VESA. Give drivers 2 options...
> 1) direct kernel access like now 2) access via the HAL/shim
Actually, I believe that's pretty much what the nvidia driver
(specifically, in contrast to some other binary kernel modules) does.
They have their binary core which is common between supported platforms,
and an open-source kernel shim[1] that is what people build when they
"build" the nvidia kernel module.
However, due to the kernel's specifically NOT declared stable kernel-
space-API[2], the shim code must change with nearly every kernel to match
the new kernel code. As might be expected from a proprietary upstream
that refuses to open their code and thus must support it themselves,
upstream nvidia often falls behind, sometimes quite some way behind, both
the kernel and xorg. Thus this thread...
Of course it's possible to implement a userspace driver that wouldn't
have the same issues as it'd use the stable userspace API, but that's
generally accepted to be far too high a performance cost for graphics
drivers, regardless of the kernel involved (MS tried it too for stability
reasons and gave up at the performance penalty they were taking).
---
[1] The shim is licensed MIT or the like, such that the code can link to
both the kernel and the binary-core-black-box. So far, it has been
allowed by the kernel folks under certain conditions, including that it
not ship /with/ the kernel (various distros have run into that issue
trying to ship it on their distribution media), and that it not attempt
to link to the exported-as-GPL kernel symbols, just the general exported
symbols. But the nvidia driver is in somewhat better legal shape than
many binary drivers because it /does/ use the same common core, which
thus can be argued not to be a derivative of the kernel and thus not to
fall under the copyright law which gives the GPL its legal teeth.
Between that and the open-sourcing of the shim, as long as they stick to
the general exported symbols and don't try to use the GPL-exported
symbols, they should be fine.
[2] Ever-changing kernel-space-API: This is in contrast to user-space,
which they put a LOT of effort into keeping stable. Also see the stable-
api-nonsense document another reply already linked. Among other things,
this both allows faster development and encourages the open-sourcing and
upstreaming of code, since then the person doing the API changes must
take care of it.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers
2013-03-04 16:44 ` Carlos Silva
@ 2013-03-05 7:01 ` Walter Dnes
2013-03-05 8:47 ` Greg KH
2013-03-05 9:00 ` Alexander Berntsen
0 siblings, 2 replies; 13+ messages in thread
From: Walter Dnes @ 2013-03-05 7:01 UTC (permalink / raw
To: gentoo-dev
On Mon, Mar 04, 2013 at 03:44:33PM -0100, Carlos Silva wrote
> On Mon, Mar 4, 2013 at 3:28 PM, Walter Dnes <waltdnes@waltdnes.org> wrote:
>
> > I'm not a C programmer, let alone a developer, so this may be a stupid
> > question, but here goes... has anyone ever tried doing a HAL (Hardware
> > Abstraction Layer) to present a reasonably stable interface to binary
> > video drivers? Think of it as a shim translating a "pseudo-API" into
> > "the real API" that the kernel exposes directly. Surely, we can do
> > better than VESA. Give drivers 2 options...
> > 1) direct kernel access like now
> > 2) access via the HAL/shim
>
>
> Just read this file and you'll have the answer:
> /usr/src/linux/Documentation/stable_api_nonsense.txt
Thanks. That was an eye-opener. If user-space drivers are really
that slow, we may as well stick with VESA as a fallback.
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers
2013-03-05 7:01 ` Walter Dnes
@ 2013-03-05 8:47 ` Greg KH
2013-03-06 3:33 ` Walter Dnes
2013-03-05 9:00 ` Alexander Berntsen
1 sibling, 1 reply; 13+ messages in thread
From: Greg KH @ 2013-03-05 8:47 UTC (permalink / raw
To: gentoo-dev
On Tue, Mar 05, 2013 at 02:01:31AM -0500, Walter Dnes wrote:
> On Mon, Mar 04, 2013 at 03:44:33PM -0100, Carlos Silva wrote
> > On Mon, Mar 4, 2013 at 3:28 PM, Walter Dnes <waltdnes@waltdnes.org> wrote:
> >
> > > I'm not a C programmer, let alone a developer, so this may be a stupid
> > > question, but here goes... has anyone ever tried doing a HAL (Hardware
> > > Abstraction Layer) to present a reasonably stable interface to binary
> > > video drivers? Think of it as a shim translating a "pseudo-API" into
> > > "the real API" that the kernel exposes directly. Surely, we can do
> > > better than VESA. Give drivers 2 options...
> > > 1) direct kernel access like now
> > > 2) access via the HAL/shim
> >
> >
> > Just read this file and you'll have the answer:
> > /usr/src/linux/Documentation/stable_api_nonsense.txt
>
> Thanks. That was an eye-opener. If user-space drivers are really
> that slow, we may as well stick with VESA as a fallback.
Ok, I'll bite, What do you mean by that? Where does the
stable_api_nonsense.txt file talk about userspace drivers?
greg "I wrote that file" k-h
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers
2013-03-05 7:01 ` Walter Dnes
2013-03-05 8:47 ` Greg KH
@ 2013-03-05 9:00 ` Alexander Berntsen
1 sibling, 0 replies; 13+ messages in thread
From: Alexander Berntsen @ 2013-03-05 9:00 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 05/03/13 08:01, Walter Dnes wrote:
> If user-space drivers are really that slow, we may as well stick
> with VESA as a fallback.
You misunderstood something.
«Please realize that this article describes the _in kernel_
interfaces, not the kernel to userspace interfaces.»
- --
Alexander
alexander@plaimi.net
http://plaimi.net/~alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iF4EAREIAAYFAlE1tDUACgkQRtClrXBQc7WDCgD/UKpbHP6MFTBZZruGIXIkeNfy
qkNTPS/0c5QaoLSrDZ0A/jmyPwUDTybYVnHC3JvSyxQuicc6vNK+bfFSnJP8vIyB
=j6Io
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers
2013-03-05 8:47 ` Greg KH
@ 2013-03-06 3:33 ` Walter Dnes
0 siblings, 0 replies; 13+ messages in thread
From: Walter Dnes @ 2013-03-06 3:33 UTC (permalink / raw
To: gentoo-dev
On Tue, Mar 05, 2013 at 04:47:09PM +0800, Greg KH wrote
> On Tue, Mar 05, 2013 at 02:01:31AM -0500, Walter Dnes wrote:
> > On Mon, Mar 04, 2013 at 03:44:33PM -0100, Carlos Silva wrote
> > > On Mon, Mar 4, 2013 at 3:28 PM, Walter Dnes <waltdnes@waltdnes.org> wrote:
> > >
> > > > I'm not a C programmer, let alone a developer, so this may be a stupid
> > > > question, but here goes... has anyone ever tried doing a HAL (Hardware
> > > > Abstraction Layer) to present a reasonably stable interface to binary
> > > > video drivers? Think of it as a shim translating a "pseudo-API" into
> > > > "the real API" that the kernel exposes directly. Surely, we can do
> > > > better than VESA. Give drivers 2 options...
> > > > 1) direct kernel access like now
> > > > 2) access via the HAL/shim
> > >
> > >
> > > Just read this file and you'll have the answer:
> > > /usr/src/linux/Documentation/stable_api_nonsense.txt
> >
> > Thanks. That was an eye-opener. If user-space drivers are really
> > that slow, we may as well stick with VESA as a fallback.
>
> Ok, I'll bite, What do you mean by that? Where does the
> stable_api_nonsense.txt file talk about userspace drivers?
>
> greg "I wrote that file" k-h
My statement was a general response to the entire thread. Sorry, I
should've retitled it [REDUX whatever]
* stable_api_nonsense.txt explained lack of a stable *KERNEL* api
* Duncan's message talked about slow *USERSPACE* API...
> Of course it's possible to implement a userspace driver that
> wouldn't have the same issues as it'd use the stable userspace API,
> but that's generally accepted to be far too high a performance cost
> for graphics drivers, regardless of the kernel involved (MS tried
> it too for stability reasons and gave up at the performance penalty
> they were taking).
So between your file, and Duncan's message, I saw that...
1) a stable kernel API is not possible
2) a userspace API is too slow.
I apologize again for the vagueness in my previous reply.
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2013-03-06 3:34 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-03 21:39 [gentoo-dev] maintainer-wanted: x11-drivers/nvidia-drivers Doug Goldstein
2013-03-03 22:07 ` Mike Gilbert
2013-03-03 22:08 ` Andreas K. Huettel
2013-03-04 3:48 ` Rick "Zero_Chaos" Farina
2013-03-04 16:28 ` Walter Dnes
2013-03-04 16:44 ` Carlos Silva
2013-03-05 7:01 ` Walter Dnes
2013-03-05 8:47 ` Greg KH
2013-03-06 3:33 ` Walter Dnes
2013-03-05 9:00 ` Alexander Berntsen
2013-03-04 17:18 ` Alexandre Rostovtsev
2013-03-04 19:15 ` [gentoo-dev] " Duncan
2013-03-04 11:34 ` [gentoo-dev] " Jeroen Roovers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox