Howto Generate x11-video-nvidiaG04 from nvidia-gfxG04 package?

All, Finally just resubscribed. I've branched, patched for the 6.12 kernel and built the nvidia-gfxG04 driver so I can upgrade my Tumbleweed install on my laptop: https://download.opensuse.org/repositories/home:/drankinatty:/branches:/X11:... The problem is that in the past, the build of the x11-video-nvidiaG04 packages would be triggered by rebuild of the driver, e.g. nvidia-computeG04-32bit-390.157-48.3.x86_64 nvidia-computeG04-390.157-48.3.x86_64 nvidia-glG04-32bit-390.157-48.3.x86_64 nvidia-glG04-390.157-48.3.x86_64 x11-video-nvidiaG04-32bit-390.157-48.3.x86_64 x11-video-nvidiaG04-390.157-48.3.x86_64 This may be trivial and a result of the fight I have with the web-interface for build-service each time - or - the X11:Drivers:Video of Stefan's I branched to update may not trigger the build of that subpackage. My question is how do I trigger the build of the x11-video-nvidiaG04 packages in buildservice? The x11-video-nvidiaG04.spec is included as part of the nvidia-gfxG04 package. However, in the past, there was a separate build-server package for generating the x11-video-nvidiaG04 packages. So can I: 1) trigger the build through the existing spec in the nvidia-gfxG04 package, or do I, 2) go re-branch an old version of that package (to work through the "bad link: conflict in xxxy" errors -- and then just trigger a rebuild in that subpackage? -- David C. Rankin, J.D.,P.E.

On 12/27/24 11:32 PM, David C. Rankin wrote:
My question is how do I trigger the build of the x11-video-nvidiaG04 packages in buildservice? The x11-video-nvidiaG04.spec is included as part of the nvidia-gfxG04 package. However, in the past, there was a separate build- server package for generating the x11-video-nvidiaG04 packages. So can I:
1) trigger the build through the existing spec in the nvidia-gfxG04 package, or do I,
2) go re-branch an old version of that package (to work through the "bad link: conflict in xxxy" errors -- and then just trigger a rebuild in that subpackage?
I had time today to do 2) - which worked fine. Nvidia G04 packages and x11-video-nvidiaG04 packages built and work just fine with TW and the 6.12 kernel. https://build.opensuse.org/project/show/home:drankinatty:branches:home:wkazu... -- David C. Rankin, J.D.,P.E.

Hi David, First of all, thank you for your effort. Although, please disable building packages in your branch project, it's forbidden to host proprietary NVIDIA drivers in OBS — see https://en.opensuse.org/openSUSE:Build_Service_application_blacklist (via https://build.opensuse.org/package/show/X11:Drivers:Video:Redesign/nvidia-dr... ). On Sat, Dec 28, 2024 at 6:32 AM David C. Rankin <drankinatty@gmail.com> wrote:
All,
Finally just resubscribed. I've branched, patched for the 6.12 kernel and built the nvidia-gfxG04 driver so I can upgrade my Tumbleweed install on my laptop:
https://download.opensuse.org/repositories/home:/drankinatty:/branches:/X11:...
The problem is that in the past, the build of the x11-video-nvidiaG04 packages would be triggered by rebuild of the driver, e.g.
nvidia-computeG04-32bit-390.157-48.3.x86_64 nvidia-computeG04-390.157-48.3.x86_64 nvidia-glG04-32bit-390.157-48.3.x86_64 nvidia-glG04-390.157-48.3.x86_64 x11-video-nvidiaG04-32bit-390.157-48.3.x86_64 x11-video-nvidiaG04-390.157-48.3.x86_64
This may be trivial and a result of the fight I have with the web-interface for build-service each time - or - the X11:Drivers:Video of Stefan's I branched to update may not trigger the build of that subpackage.
My question is how do I trigger the build of the x11-video-nvidiaG04 packages in buildservice? The x11-video-nvidiaG04.spec is included as part of the nvidia-gfxG04 package. However, in the past, there was a separate build-server package for generating the x11-video-nvidiaG04 packages. So can I:
1) trigger the build through the existing spec in the nvidia-gfxG04 package, or do I,
2) go re-branch an old version of that package (to work through the "bad link: conflict in xxxy" errors -- and then just trigger a rebuild in that subpackage?
-- David C. Rankin, J.D.,P.E.
-- Regards, Andrei Dziahel

30.12.2024 15:44, Andrei Dziahel wrote:
Hi David,
First of all, thank you for your effort. Although, please disable building packages in your branch project, it's forbidden to host proprietary NVIDIA drivers in OBS — see https://en.opensuse.org/openSUSE:Build_Service_application_blacklist (via https://build.opensuse.org/package/show/X11:Drivers:Video:Redesign/nvidia-dr... ).
Is it allowed to build without publishing? My understanding is that what is restricted is distribution.

Well the original project has building disabled altogether, probably because disabled publishing still allows you to osc getbin, so I guess we've got to follow the suit. Fortunately, osc build worked locally just fine, so we're not out of options. On Mon, Dec 30, 2024 at 1:56 PM Andrei Borzenkov <arvidjaar@gmail.com> wrote:
30.12.2024 15:44, Andrei Dziahel wrote:
Hi David,
First of all, thank you for your effort. Although, please disable building packages in your branch project, it's forbidden to host proprietary NVIDIA drivers in OBS — see https://en.opensuse.org/openSUSE:Build_Service_application_blacklist (via
https://build.opensuse.org/package/show/X11:Drivers:Video:Redesign/nvidia-dr...
).
Is it allowed to build without publishing? My understanding is that what is restricted is distribution.
-- Regards, Andrei Dziahel

On 12/30/24 11:36 AM, Andrei Dziahel wrote:
Well the original project has building disabled altogether, probably because disabled publishing still allows you to osc getbin, so I guess we've got to follow the suit. Fortunately, osc build worked locally just fine, so we're not out of options.
Okay, Will do. I don't want to run afoul of any rules. But how are Tumblweed users with cards requiring the G04 (390xx) or G05 (470) drivers supposed to upgrade? Tumbleweed moved to the 6.12 kernel over a week ago, but there are no updated legacy drivers in the official Nvidia repo? https://download.nvidia.com/opensuse/tumbleweed So when TW users with legacy graphics upgrade, they upgrade into a black-screen and broken graphics config? With laptops there is no option to rip the video card out and the nouveau driver performance isn't up to par. If I can just not publish and download the rpms, I can at least use them, but doesn't do any good for anybody else. What's the best way to make the patched rpms available until openSUSE catches up? -- David C. Rankin, J.D.,P.E.

On Mon 30 Dec 2024 03:46:46 PM CST, David C. Rankin wrote: <snip>
If I can just not publish and download the rpms, I can at least use them, but doesn't do any good for anybody else. What's the best way to make the patched rpms available until openSUSE catches up?
Hi Why not just branch the development ones, fix, test and submit back instead of waiting? -- Cheers Malcolm °¿° (Linux Counter #276890) Tumbleweed 20241226 | GNOME Shell 47.2 | 6.12.6-1-default HP Z440 | Xeon E5-2695 V4 X36 @ 2.10GHz | ARC A380 & Quadro T400 up 21:22, 2 users, load average: 0.41, 0.36, 0.21

On 12/30/24 4:41 PM, Malcolm wrote:
If I can just not publish and download the rpms, I can at least use them, but doesn't do any good for anybody else. What's the best way to make the patched rpms available until openSUSE catches up?
Hi Why not just branch the development ones, fix, test and submit back instead of waiting?
The only development ones I can find are from the X11:Drivers buildservice and the nvidia-gfxG04 driver there does not include the derived package of x11-drivers-nvidiaG04. (it includes the .spec for it, but doesn't have the derived package set to build as part of the driver for some reason) The official openSUSE drivers hosted on the nvidia site at: https://download.nvidia.com/opensuse/tumbleweed are built and provided by openSUSE, but I'm not sure what project they come from. I'm happy to use any project as a base. All nvidia does is host the packages built by openSUSE. Whatever is the right way to provide updated drivers in the interim within the openSUSE guidelines is they way I'd like to go. When I search buildservice for nvidia or nvidiaG04 I don't come up with anything that looks like the "official" repo to branch from. I'll have time tonight to read the information in the links Andrei Dziahel provided to try and better understand how using the binary provided by nvidia to the public to build packages from runs afoul of the openSUSE policy. I don't do anything to the binary other than use it as nvidia intended and add a patch to handle the kernel changes as all builds do. Like I said, I don't want to run afoul of any policy, so I've unpublished the repo until we can figure out how it should be done. The easiest solution is just to have openSUSE build the updated drivers and put them in the official repo above. But that took several months after the 6.10 kernel was included in Tumbleweed (where the legacy drivers required a patch) leaving those of us running Tumbleweed on a laptop with legacy nvidia cards kind of stuck. The 6.11 kernel required no changes, so there was no patch needed. The 6.12 kernel does require patching the legacy drivers -- so we are back in the same boat again leaving those who have legacy cards unable to upgrade Tumbleweed. Patching and building the nvidia 390xx driver isn't something I do for fun, but I do it as a stop-gap to patch a hole in Tumbleweed so others aren't left with either broken graphics or stuck with nouveau when a kernel update requires it. It's not something I mind doing either, I already work out the patch for the Arch AUR package, so I usually already have the patch before Tumbleweed jumps to the new kernel. I just want to figure out how to best do it for openSUSE, whether that be forwarding the patch to whoever in openSUSE builds the updated driver for the official site, or finding how to make the packages available as a stop-gap in a way that fits within all policies. I'll read through everything tonight and revisit if there is anything that I'm confused about. Thanks for your suggestion and help. -- David C. Rankin, J.D.,P.E.

On Mon 30 Dec 2024 05:11:32 PM CST, David C. Rankin wrote:
On 12/30/24 4:41 PM, Malcolm wrote:
If I can just not publish and download the rpms, I can at least use them, but doesn't do any good for anybody else. What's the best way to make the patched rpms available until openSUSE catches up?
Hi Why not just branch the development ones, fix, test and submit back instead of waiting?
The only development ones I can find are from the X11:Drivers buildservice and the nvidia-gfxG04 driver there does not include the derived package of x11-drivers-nvidiaG04. (it includes the .spec for it, but doesn't have the derived package set to build as part of the driver for some reason)
The official openSUSE drivers hosted on the nvidia site at:
https://download.nvidia.com/opensuse/tumbleweed
are built and provided by openSUSE, but I'm not sure what project they come from. I'm happy to use any project as a base. All nvidia does is host the packages built by openSUSE. Whatever is the right way to provide updated drivers in the interim within the openSUSE guidelines is they way I'd like to go. When I search buildservice for nvidia or nvidiaG04 I don't come up with anything that looks like the "official" repo to branch from.
I'll have time tonight to read the information in the links Andrei Dziahel provided to try and better understand how using the binary provided by nvidia to the public to build packages from runs afoul of the openSUSE policy. I don't do anything to the binary other than use it as nvidia intended and add a patch to handle the kernel changes as all builds do.
Like I said, I don't want to run afoul of any policy, so I've unpublished the repo until we can figure out how it should be done.
The easiest solution is just to have openSUSE build the updated drivers and put them in the official repo above. But that took several months after the 6.10 kernel was included in Tumbleweed (where the legacy drivers required a patch) leaving those of us running Tumbleweed on a laptop with legacy nvidia cards kind of stuck.
The 6.11 kernel required no changes, so there was no patch needed. The 6.12 kernel does require patching the legacy drivers -- so we are back in the same boat again leaving those who have legacy cards unable to upgrade Tumbleweed.
Patching and building the nvidia 390xx driver isn't something I do for fun, but I do it as a stop-gap to patch a hole in Tumbleweed so others aren't left with either broken graphics or stuck with nouveau when a kernel update requires it. It's not something I mind doing either, I already work out the patch for the Arch AUR package, so I usually already have the patch before Tumbleweed jumps to the new kernel. I just want to figure out how to best do it for openSUSE, whether that be forwarding the patch to whoever in openSUSE builds the updated driver for the official site, or finding how to make the packages available as a stop-gap in a way that fits within all policies.
I'll read through everything tonight and revisit if there is anything that I'm confused about. Thanks for your suggestion and help.
Hi The 6.12 patching was there 9 days ago for G04 (updated 12 hours ago)? <https://build.opensuse.org/projects/X11:Drivers:Video/packages/nvidia-gfxG04/files/nvidia-gfxG04.changes?expand=1> There was a previous thread a few months back about the newer drivers and the submission process? <https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/GX5IPGBUSXC45WCP7MJKDLGDMMBBDGS3/#PCL5RP7RNCLBAQKQDAVFP5MAPNCNUMXF> -- Cheers Malcolm °¿° (Linux Counter #276890) Tumbleweed 20241226 | GNOME Shell 47.2 | 6.12.6-1-default HP Z440 | Xeon E5-2695 V4 X36 @ 2.10GHz | ARC A380 & Quadro T400 up 22:20, 3 users, load average: 0.33, 0.52, 0.41

Just adding my $.02 . . . a year or two back when there was some problem with nvidia drivers on one of my machines I found my way to the Nvidia forums, and in there is a "linux" sub-forum. I think I was trying to get something for my Nvidia 780 card on my '12 MacPro . . . I did get a reply from one of the mods saying something profound like, "Since linux is a free OS we have almost no motivation for providing fixes for OLD cards . . . ." So there you have it, "low motivation" is coming from upstream . . . . I have a few machines with Nvidia cards, like the hardware . . . but their software does not keep pace with the speed of developments in linux, so if you are running TW it's going to be well behind the curve . . . . I run nouveau or default on all of my linux installs . . . on my OLD hardware running OLD nvidia cards. : - )

Hello, In the Message; Subject : Re: Howto Generate x11-video-nvidiaG04 from nvidia-gfxG04 package? Message-ID : <173560442746.162479.18111603156624658265@mailman3.infra.opensuse.org> Date & Time: Tue, 31 Dec 2024 00:20:27 -0000 [FH] == "Fritz Hudnut" <non.space.1@gmail.com> has written: FH> Just adding my $.02 . . . a year or two back when there was some FH> problem with nvidia drivers on one of my machines I found my way FH> to the Nvidia forums, and in there is a "linux" sub-forum. I FH> think I was trying to get something for my Nvidia 780 card on my FH> '12 MacPro . . . I did get a reply from one of the mods saying FH> something profound like, "Since linux is a free OS we have almost FH> no motivation for providing fixes for OLD cards . . . ." So FH> there you have it, "low motivation" is coming from upstream FH> . . . . If that's true, the moderator's comments are too inappropriate. There are two reasons why nvidia has ended support for the 470 driver. One is that Intel has developed and sold CPUs that do not support video cards that use the 470 driver. The other is that the developers of nouveau have changed the specifications for the accel mode to exclude cards that use the 470 driver. FH> I have a few machines with Nvidia cards, like the hardware FH> . . . but their software does not keep pace with the speed of FH> developments in linux, so if you are running TW it's going to be FH> well behind the curve . . . . I run nouveau or default on all of FH> my linux installs . . . on my OLD hardware running OLD nvidia FH> cards. : - ) Please show the results of; $ inxi -b Best Retards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ " Reading widely about things that don't seem immediately or practically useful, in the hope that what you learn now may prove meaningful later―that's pretty much the definition of a liberal- arts education. Who knew that one of its best defenders would turn out to be a computer scientist? " -- "What Does It Really Mean to Learn?" THE NEW YORKER --

MN: I am not seeking guidance for my nvidia stuff . . . I think I have had to lock nvidia at G05?? for my 780, but I am running nouveau, which is fine for my needs. My impression from the OPs posts is that he is running an older nvidia card, and there is a point in which the beast can't be flogged to perform where it might once have been able to. Plus, it seems like there are "issues" with trying to make it compatible with TW???
participants (6)
-
Andrei Borzenkov
-
Andrei Dziahel
-
David C. Rankin
-
Fritz Hudnut
-
Malcolm
-
Masaru Nomiya