Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-drivers series 173.* and >=linux-3.17 [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6281

PostPosted: Sun Nov 09, 2014 10:19 am    Post subject: nvidia-drivers series 173.* and >=linux-3.17 [solved] Reply with quote

Hello,

does anybody know a patch for the nvidia-drivers series 173.*with current kernels (>=3.17)?

Thanks in advance.

Edit: Removed question about 340.* series since this was a ccache problem (despite similar error messages).


Last edited by mv on Mon Nov 10, 2014 10:47 am; edited 2 times in total
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1374

PostPosted: Sun Nov 09, 2014 3:01 pm    Post subject: Reply with quote

/Me also cannot run nvidia-drivers-340.58 on my system. And I don't have hardened.
_________________
fun2gen2
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2541
Location: Near Toronto

PostPosted: Sun Nov 09, 2014 4:41 pm    Post subject: Reply with quote

It is very strange, then, because I have no problem:

Quote:
$ uname -a
Linux olorin 3.17.2-gentoo #2 SMP PREEMPT Fri Oct 31 09:50:16 EDT 2014 x86_64 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz GenuineIntel GNU/Linux


but

Quote:
eix -I nvidia-driv
[I] x11-drivers/nvidia-drivers
Available versions: 96.43.23^msd 173.14.39^msd 304.123^msd 331.104^msd 334.21-r3^msd 337.25^msd 340.46^msd (~)340.58^msd [m]343.22-r2^msd {+X acpi custom-cflags gtk multilib pax_kernel (+)tools uvm KERNEL="FreeBSD linux"}
Installed versions: 340.58^msd(08:25:37 AM 11/06/2014)(X acpi multilib tools -pax_kernel -uvm KERNEL="linux -FreeBSD")


So this is just an extra "data point" ... I have no solutions
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6281

PostPosted: Sun Nov 09, 2014 5:07 pm    Post subject: Reply with quote

Here are some of the compilation errors with nvidia-drivers-340.58:
Quote:
/var/tmp/portage/x11-drivers/nvidia-drivers-340.58/work/kernel/nv-linux.h:199:2: error: #error "This driver requires the ability to change memory types!"
/var/tmp/portage/x11-drivers/nvidia-drivers-340.58/work/kernel/nv-linux.h:314:2: error: #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
/var/tmp/portage/x11-drivers/nvidia-drivers-340.58/work/kernel/nv-linux.h:746:2: error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-340.58/work/kernel/nv-linux.h:804:2: error: #error "NV_VMAP() undefined (vmap() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-340.58/work/kernel/nv-linux.h:861:2: error: #error "NV_SMP_CALL_FUNCTION() undefined (smp_call_function() unavailable)!"
...

Due to the first error I suppose that hardened-sources is the problem.

EDIT: Nope, same errors with gentoo-sources. Apparently, nvidia-drivers does not like one of my kernel options...

Here are some of the compilation errors with nvidia-drivers-173.14.39:
Quote:
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.39/work/usr/src/nv/conftest.h:34:2: error: #error acpi_walk_namespace() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.39/work/usr/src/nv/conftest.h:35:2: error: #error acpi_os_wait_events_complete() conftest failed!
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.39/work/usr/src/nv/nv-linux.h:224:2: error: #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.39/work/usr/src/nv/nv-linux.h:685:2: error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.39/work/usr/src/nv/nv-linux.h:1042:2: error: #error "NV_REMAP_PAGE_RANGE() undefined!"
[...]
/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.39/work/usr/src/nv/os-agp.c:49:43: error: too few arguments to function 'agp_backend_acquire'

Partially rather similar, but there are also other errors, and there is not the error which hints to hardened-sources.
The vidia-drivers-173.14.39 issue appears more severe to me since nvidia has officially dropped support, and thus I cannot expect patches from nvidia.
I could perhaps adapt some patches, but I am not enough a kernel hacker to understand which changes in linux-3.17 are responsible for the problems.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6281

PostPosted: Sun Nov 09, 2014 6:26 pm    Post subject: Reply with quote

Disabling ccache solves the problem for the 340.* series (Not too surprising, but I had only tried for 173.* without success)

Changing the topc. No solution for 173.* yet, not even with gentoo-sources...
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6281

PostPosted: Mon Nov 10, 2014 10:48 am    Post subject: Reply with quote

Marking as solved: I was able to do some patches manually.
The patches will probably appear in the mv overlay in the next days.
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1676
Location: Edinburgh, UK

PostPosted: Wed Jan 21, 2015 5:07 am    Post subject: Reply with quote

Hi there,

I was away from home for a bit and came back to see this problem. I need to get the 173.14.39 drivers running. The alternative is, of course, nouveau, but it does something ugly to my console fonts, changed my tty console fonts to graphic as opposed to the older style that I prefer, etc. As such, I reverted back to nvidia and am presently stuck in an older kernel. Any help in getting this working again would be appreciated.

Alex
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6281

PostPosted: Wed Jan 21, 2015 9:24 am    Post subject: Reply with quote

As mentioned, the ebuild with patches is in the mv overlay.
However, nvidia-173* will probably never be able to run with the upcoming xorg-server-1.16, so in the long run (I guess one year latest) you are doomed to trash your card. I took the consequence and have now bought a new machine - now nvidia-free, of course.
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1676
Location: Edinburgh, UK

PostPosted: Wed Jan 21, 2015 10:00 am    Post subject: Reply with quote

mv wrote:
As mentioned, the ebuild with patches is in the mv overlay.
However, nvidia-173* will probably never be able to run with the upcoming xorg-server-1.16, so in the long run (I guess one year latest) you are doomed to trash your card. I took the consequence and have now bought a new machine - now nvidia-free, of course.


Thanks for getting back to me on this. I guess I'll just migrate to nouveau for the time being.

With respect to xorg-server-1.16, would that work with nouveau and my older card or is it a dead end, period?

Best,

Alex
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6281

PostPosted: Wed Jan 21, 2015 7:34 pm    Post subject: Reply with quote

evoweiss wrote:
With respect to xorg-server-1.16, would that work with nouveau and my older card or is it a dead end, period?

I think it depends on your luck. For me, nouveau is completely unusable (it just keeps crashing), but I guess if you have exactly the same card model as one of the nouveau developers, you will have more luck. Maybe, things will be fixed over time, but I am not optimistic about the cards supported by 173 because apparenty all nouveau developers have newer cards and are only interested in these newer ones: For these, you find fixes in every kernel and xorg release, and even fancy features get activated - at least according to the news.
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1676
Location: Edinburgh, UK

PostPosted: Wed Jan 21, 2015 8:37 pm    Post subject: Reply with quote

mv wrote:
evoweiss wrote:
With respect to xorg-server-1.16, would that work with nouveau and my older card or is it a dead end, period?

I think it depends on your luck. For me, nouveau is completely unusable (it just keeps crashing), but I guess if you have exactly the same card model as one of the nouveau developers, you will have more luck. Maybe, things will be fixed over time, but I am not optimistic about the cards supported by 173 because apparenty all nouveau developers have newer cards and are only interested in these newer ones: For these, you find fixes in every kernel and xorg release, and even fancy features get activated - at least according to the news.


Interesting. I had no idea, though I can't say I'm surprised to hear this.

In any event, I've not had any crashes so far, so fingers crossed. Moreover, should it come down to it, I can always pick up one of the new nvidia cards that are made for or reported to work on older systems. Thus, I'll be able to use the updated binary blobs. However, when this computer dies, I won't be replacing it with another that uses nvidia.

Thanks!

Best,

Alex
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1676
Location: Edinburgh, UK

PostPosted: Wed Jan 21, 2015 11:17 pm    Post subject: Reply with quote

Hey there,

Just tried the overlay and it worked like a charm. Thanks for your efforts. I'm good for until the new xorg with this card.

Best,

Alex
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum