[opensuse] Tumbleweed and NVIDIA's drivers
A couple weeks ago, an update of the kernel in Tumbleweed caused problems if one was using the NVIDIA drivers. I now find that I need to start using those drivers (NVIDIA GPU code that I need to use). Has the problem been resolved? That is, will the NVIDIA drivers and a current Tumbleweed play nice together? Since there has been so little discussion, I suspect that all is working as expected. I have been happily using the Nouveau driver. But I guess I cannot do so any more... -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Roger Oberholtzer wrote:
A couple weeks ago, an update of the kernel in Tumbleweed caused problems if one was using the NVIDIA drivers. I now find that I need to start using those drivers (NVIDIA GPU code that I need to use). Has the problem been resolved? That is, will the NVIDIA drivers and a current Tumbleweed play nice together? Since there has been so little discussion, I suspect that all is working as expected.
My home machine is running TW 20200213 (kernel 5.5.2) and the G05 driver series (440.59) from the TW nvidia repo without issues(*) (*)unless self-created. Installing and updating is fine -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Peter Suetterlin <pit@astro.su.se> [03-02-20 06:54]:
Roger Oberholtzer wrote:
A couple weeks ago, an update of the kernel in Tumbleweed caused problems if one was using the NVIDIA drivers. I now find that I need to start using those drivers (NVIDIA GPU code that I need to use). Has the problem been resolved? That is, will the NVIDIA drivers and a current Tumbleweed play nice together? Since there has been so little discussion, I suspect that all is working as expected.
My home machine is running TW 20200213 (kernel 5.5.2) and the G05 driver series (440.59) from the TW nvidia repo without issues(*)
(*)unless self-created. Installing and updating is fine
unfortunately, I cannot run later than 5.4.14-2-default as I am unable to install and utilize NVIDIA-Linux-x86_64-390.132.run nor the nvidia-gfxG04-kmp-default-390.132_k5.5.4_1-9.9.x86_64.rpm. the NV*.run fails to build the kernel modules and the rpm only provides 1280x1024 display which is unsatisfactory for photography work. unhappy! -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
hi, Am 03.03.20 um 02:27 schrieb Patrick Shanahan:
unfortunately, I cannot run later than 5.4.14-2-default as I am unable to install and utilize NVIDIA-Linux-x86_64-390.132.run nor the nvidia-gfxG04-kmp-default-390.132_k5.5.4_1-9.9.x86_64.rpm.
why not use the latest https://download.nvidia.com/XFree86/Linux-x86_64/440.64/ ? i use it with latest kernel 5.5.7 on a geforce gtx 765m -- Best Regards | Freundliche Grüße | Cordialement | Cordiali Saluti | Atenciosamente | Saludos Cordiales *DI Rainer Klier* DevOps, Research & Development -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, In the Message; Subject : Re: [opensuse] Tumbleweed and NVIDIA's drivers Message-ID : <efa5f518-bf1b-23a4-3488-4ab5dd5db924@namirial.com> Date & Time: Tue, 3 Mar 2020 12:22:38 +0100 [RK] == Rainer Klier <r.klier@namirial.com> has written: RK> hi, RK> Am 03.03.20 um 02:27 schrieb Patrick Shanahan: RK> > RK> > unfortunately, I cannot run later than 5.4.14-2-default as I am unable to RK> > install and utilize NVIDIA-Linux-x86_64-390.132.run nor the RK> > nvidia-gfxG04-kmp-default-390.132_k5.5.4_1-9.9.x86_64.rpm. RK> why not use the latest RK> https://download.nvidia.com/XFree86/Linux-x86_64/440.64/ ? No, he uses the legacy video card, so he must try with 390.132. Patrick, which video card are you using? Regards, --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Three young men died for Rationalization. Yet, Margaret Bloody Thatcher LIVES!" 'Brassed Off' -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Masaru Nomiya <nomiya@galaxy.dti.ne.jp> [03-03-20 07:01]:
Hello,
In the Message;
Subject : Re: [opensuse] Tumbleweed and NVIDIA's drivers Message-ID : <efa5f518-bf1b-23a4-3488-4ab5dd5db924@namirial.com> Date & Time: Tue, 3 Mar 2020 12:22:38 +0100
[RK] == Rainer Klier <r.klier@namirial.com> has written:
RK> hi,
RK> Am 03.03.20 um 02:27 schrieb Patrick Shanahan: RK> > RK> > unfortunately, I cannot run later than 5.4.14-2-default as I am unable to RK> > install and utilize NVIDIA-Linux-x86_64-390.132.run nor the RK> > nvidia-gfxG04-kmp-default-390.132_k5.5.4_1-9.9.x86_64.rpm.
RK> why not use the latest RK> https://download.nvidia.com/XFree86/Linux-x86_64/440.64/ ?
No, he uses the legacy video card, so he must try with 390.132.
Patrick, which video card are you using?
NVIDIA GF106 [GeForce GTS 450] tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, In the Message; Subject : Re: [opensuse] Tumbleweed and NVIDIA's drivers Message-ID : <20200303140907.GY25664@wahoo.no-ip.org> Date & Time: Tue, 3 Mar 2020 09:09:07 -0500 [PS] == Patrick Shanahan <paka@opensuse.org> has written: [...] PS> > Patrick, which video card are you using? PS> NVIDIA GF106 [GeForce GTS 450] Is this on a notebook pc? Regards, --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Bill! You married with Computer. Not with Me!" "No..., with money." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Masaru Nomiya <nomiya@galaxy.dti.ne.jp> [03-03-20 19:48]:
Hello,
In the Message;
Subject : Re: [opensuse] Tumbleweed and NVIDIA's drivers Message-ID : <20200303140907.GY25664@wahoo.no-ip.org> Date & Time: Tue, 3 Mar 2020 09:09:07 -0500
[PS] == Patrick Shanahan <paka@opensuse.org> has written:
[...] PS> > Patrick, which video card are you using?
PS> NVIDIA GF106 [GeForce GTS 450]
Is this on a notebook pc?
desktop Type: Desktop Mobo: Intel model: DX58SO2 v: AAG10925-205 6-Core: Intel Core i7 970 type: MT MCP arch: Nehalem speed: 2136 MHz min/max: 1596/3193 MHz -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, In the Message; Subject : Re: [opensuse] Tumbleweed and NVIDIA's drivers Message-ID : <20200304010053.GG25664@wahoo.no-ip.org> Date & Time: Tue, 3 Mar 2020 20:00:53 -0500 [PS] == Patrick Shanahan <paka@opensuse.org> has written: PS> * Masaru Nomiya <nomiya@galaxy.dti.ne.jp> [03-03-20 19:48]: [...] MN>> Is this on a notebook pc? PS> desktop PS> Type: Desktop Mobo: Intel model: DX58SO2 v: AAG10925-205 PS> 6-Core: Intel Core i7 970 type: MT MCP arch: Nehalem speed: 2136 PS> MHz min/max: 1596/3193 MHz Is it? Of course, you've tried with the 'nouveau driver'. I suspect the video card, but as you may know, we can't test the video card's health. Sorry, I've got no idea. Regards, --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Bill! You married with Computer. Not with Me!" "No..., with money." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Masaru Nomiya <nomiya@galaxy.dti.ne.jp> [03-03-20 22:26]:
Hello,
In the Message;
Subject : Re: [opensuse] Tumbleweed and NVIDIA's drivers Message-ID : <20200304010053.GG25664@wahoo.no-ip.org> Date & Time: Tue, 3 Mar 2020 20:00:53 -0500
[PS] == Patrick Shanahan <paka@opensuse.org> has written:
PS> * Masaru Nomiya <nomiya@galaxy.dti.ne.jp> [03-03-20 19:48]:
[...] MN>> Is this on a notebook pc?
PS> desktop PS> Type: Desktop Mobo: Intel model: DX58SO2 v: AAG10925-205 PS> 6-Core: Intel Core i7 970 type: MT MCP arch: Nehalem speed: 2136 PS> MHz min/max: 1596/3193 MHz
Is it?
Of course, you've tried with the 'nouveau driver'.
I suspect the video card, but as you may know, we can't test the video card's health.
don't believe so, works fine with 5.4.14 and previous kernels. Just no driver for later kernels. Even nvidia's forums say that. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, In the Message; Subject : Re: [opensuse] Tumbleweed and NVIDIA's drivers Message-ID : <20200304044434.GI25664@wahoo.no-ip.org> Date & Time: Tue, 3 Mar 2020 23:44:34 -0500 [PS] == Patrick Shanahan <paka@opensuse.org> has written: PS> * Masaru Nomiya <nomiya@galaxy.dti.ne.jp> [03-03-20 22:26]: [...] PS> > I suspect the video card, but as you may know, we can't test the video PS> > card's health. PS> don't believe so, works fine with 5.4.14 and previous kernels. Just no PS> driver for later kernels. Even nvidia's forums say that. 1st. Where did you get the kernel-default-5.4.14-2 I could find kernel-default-5.4.14, only. 2nd. Why are you particular about kernel 5.4.xx That is, there exists the kernel 5.5's patch for 390.132. Regards, --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Bill! You married with Computer. Not with Me!" "No..., with money." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Masaru Nomiya <nomiya@galaxy.dti.ne.jp> [03-04-20 00:45]:
Hello,
In the Message;
Subject : Re: [opensuse] Tumbleweed and NVIDIA's drivers Message-ID : <20200304044434.GI25664@wahoo.no-ip.org> Date & Time: Tue, 3 Mar 2020 23:44:34 -0500
[PS] == Patrick Shanahan <paka@opensuse.org> has written:
PS> * Masaru Nomiya <nomiya@galaxy.dti.ne.jp> [03-03-20 22:26]:
[...] PS> > I suspect the video card, but as you may know, we can't test the video PS> > card's health.
PS> don't believe so, works fine with 5.4.14 and previous kernels. Just no PS> driver for later kernels. Even nvidia's forums say that.
1st.
Where did you get the kernel-default-5.4.14-2
I could find kernel-default-5.4.14, only.
I retain *working* kernels until I am sure my graphics works with newer kernels. 5.4.14 is the last working kernel with NVIDIA-Linux-x86_64-390.132.run I also have: kernel-default-5.5.1-1.1.x86_64 kernel-default-5.5.2-1.1.x86_64 kernel-default-5.5.4-1.2.x86_64 kernel-default-5.5.5-1.1.x86_64 kernel-default-5.5.6-1.1.x86_64 and will probably remove kernel-default-5.5.1-1.1.x86_64 kernel-default-5.5.2-1.1.x86_64 shortly.
2nd.
Why are you particular about kernel 5.4.xx
That is, there exists the kernel 5.5's patch for 390.132.
the patch is for 390.132 and kern3l 5.5+? where is this "patch" and does it work? I have successfully compiled the nvidia driver using obs instructions, nvidia-gfxG04-kmp-default-390.132_k5.5.4_1-9.9.x86_64.rpm and it fails to provide resolution above 1280x1024 which is not sufficient for my work. tks -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, In the Message; Subject : Re: [opensuse] Tumbleweed and NVIDIA's drivers Message-ID : <20200304130514.GO25664@wahoo.no-ip.org> Date & Time: Wed, 4 Mar 2020 08:05:14 -0500 [PS] == Patrick Shanahan <paka@opensuse.org> has written: [...] MN> > 1st. MN> > MN> > Where did you get the kernel-default-5.4.14-2 MN> > MN> > I could find kernel-default-5.4.14, only. PS> I retain *working* kernels until I am sure my graphics works with newer PS> kernels. 5.4.14 is the last working kernel with PS> NVIDIA-Linux-x86_64-390.132.run PS> I also have: PS> kernel-default-5.5.1-1.1.x86_64 PS> kernel-default-5.5.2-1.1.x86_64 PS> kernel-default-5.5.4-1.2.x86_64 PS> kernel-default-5.5.5-1.1.x86_64 PS> kernel-default-5.5.6-1.1.x86_64 PS> and will probably remove PS> kernel-default-5.5.1-1.1.x86_64 PS> kernel-default-5.5.2-1.1.x86_64 PS> shortly. Thanks. MN> > 2nd. MN> > MN> > Why are you particular about kernel 5.4.xx MN> > MN> > That is, there exists the kernel 5.5's patch for 390.132. PS> the patch is for 390.132 and kern3l 5.5+? PS> where is this "patch" and does it work? The patch is here; https://git.archlinux.org/svntogit/packages.git/plain/trunk/kernel-5.5.patch... But, I arranged it; With this, you can get the patched driver; sh ./NVIDIA-Linux-x86_64-390.132.run --apply-patch kernel-5.5.patch I could imagine that you are a skillful user. This is just a extra care. (^^;; Anyway, I've got no idea wheter the patched driver works or not. PS> I have successfully compiled the nvidia driver using obs instructions, PS> nvidia-gfxG04-kmp-default-390.132_k5.5.4_1-9.9.x86_64.rpm PS> and it fails to provide resolution above 1280x1024 which is not PS> sufficient for my work. Maybe, developpers chaged the kernel source from 5.4.14. This happened on kernel 5.6.rc3, it required the remake of patch for Nvidia driver 440.59. ===File /tmp/kernel-5.5.patch.gz============================ diff --git a/.manifest b/.manifest index a53265d..bc46234 100644 --- .manifest +++ .manifest @@ -36,6 +36,7 @@ kernel/nvidia/nv-rsync.c 0644 KERNEL_MODULE_SRC INHERIT_PATH_DEPTH:1 MODULE:resm kernel/nvidia/nv-report-err.c 0644 KERNEL_MODULE_SRC INHERIT_PATH_DEPTH:1 MODULE:resman kernel/conftest.sh 0644 KERNEL_MODULE_SRC INHERIT_PATH_DEPTH:1 MODULE:resman kernel/common/inc/nv.h 0644 KERNEL_MODULE_SRC INHERIT_PATH_DEPTH:1 MODULE:resman +kernel/common/inc/nv-drm.h 0644 KERNEL_MODULE_SRC INHERIT_PATH_DEPTH:1 MODULE:resman kernel/common/inc/nv-pgprot.h 0644 KERNEL_MODULE_SRC INHERIT_PATH_DEPTH:1 MODULE:resman kernel/common/inc/nv-mm.h 0644 KERNEL_MODULE_SRC INHERIT_PATH_DEPTH:1 MODULE:resman kernel/common/inc/nv-timer.h 0644 KERNEL_MODULE_SRC INHERIT_PATH_DEPTH:1 MODULE:resman diff --git kernel/common/inc/nv-drm.h kernel/common/inc/nv-drm.h new file mode 100644 index 0000000..07e9f3c --- /dev/null +++ kernel/common/inc/nv-drm.h @@ -0,0 +1,36 @@ +#ifndef _NV_DRM_H_ +#define _NV_DRM_H_ + +#include "conftest.h" + +#if defined(NV_DRM_DRMP_H_PRESENT) +#include <drm/drmP.h> +#else +#include <linux/agp_backend.h> +#include <linux/file.h> +#include <linux/init.h> +#include <linux/jiffies.h> +#include <linux/kernel.h> +#include <linux/mutex.h> +#include <linux/slab.h> +#include <linux/types.h> +#include <asm/pgalloc.h> +#include <linux/uaccess.h> + +#include <uapi/drm/drm.h> +#include <uapi/drm/drm_mode.h> + +#include <drm/drm_agpsupport.h> +#include <drm/drm_crtc.h> +#include <drm/drm_drv.h> +#include <drm/drm_prime.h> +#include <drm/drm_pci.h> +#include <drm/drm_ioctl.h> +#include <drm/drm_sysfs.h> +#include <drm/drm_vblank.h> +#include <drm/drm_device.h> + +#include <drm/drm_gem.h> +#endif + +#endif diff --git kernel/conftest.sh kernel/conftest.sh index c9c2db3..dd22bb0 100755 --- kernel/conftest.sh +++ kernel/conftest.sh @@ -1150,6 +1150,9 @@ compile_test() { CODE=" #if defined(NV_DRM_DRMP_H_PRESENT) #include <drm/drmP.h> + #else + #include <drm/drm_drv.h> + #include <drm/drm_prime.h> #endif #if !defined(CONFIG_DRM) && !defined(CONFIG_DRM_MODULE) #error DRM not enabled @@ -1781,6 +1784,8 @@ compile_test() { echo "$CONFTEST_PREAMBLE #if defined(NV_DRM_DRMP_H_PRESENT) #include <drm/drmP.h> + #else + #include <drm/drm_drv.h> #endif #include <drm/drm_atomic.h> #if !defined(CONFIG_DRM) && !defined(CONFIG_DRM_MODULE) @@ -1909,7 +1914,11 @@ compile_test() { # attached drivers") in v3.14 (2013-12-11) # CODE=" + #if defined(NV_DRM_DRMP_H_PRESENT) #include <drm/drmP.h> + #else + #include <drm/drm_drv.h> + #endif int conftest_drm_driver_has_legacy_dev_list(void) { return offsetof(struct drm_driver, legacy_dev_list); }" @@ -1933,7 +1942,11 @@ compile_test() { # 2017-07-23 e6fc3b68558e4c6d8d160b5daf2511b99afa8814 # CODE=" + #if defined(NV_DRM_DRMP_H_PRESENT) #include <drm/drmP.h> + #else + #include <drm/drm_crtc.h> + #endif int conftest_drm_crtc_init_with_planes_has_name_arg(void) { return @@ -1949,7 +1962,11 @@ compile_test() { compile_check_conftest "$CODE" "NV_DRM_CRTC_INIT_WITH_PLANES_HAS_NAME_ARG" "" "types" CODE=" + #if defined(NV_DRM_DRMP_H_PRESENT) #include <drm/drmP.h> + #else + #include <drm/drm_encoder.h> + #endif int conftest_drm_encoder_init_has_name_arg(void) { return @@ -1964,7 +1981,11 @@ compile_test() { compile_check_conftest "$CODE" "NV_DRM_ENCODER_INIT_HAS_NAME_ARG" "" "types" echo "$CONFTEST_PREAMBLE + #if defined(NV_DRM_DRMP_H_PRESENT) #include <drm/drmP.h> + #else + #include <drm/drm_plane.h> + #endif int conftest_drm_universal_plane_init_has_format_modifiers_arg(void) { return @@ -1991,7 +2012,11 @@ compile_test() { echo "#undef NV_DRM_UNIVERSAL_PLANE_INIT_HAS_FORMAT_MODIFIERS_ARG" | append_conftest "types" echo "$CONFTEST_PREAMBLE + #if defined(NV_DRM_DRMP_H_PRESENT) #include <drm/drmP.h> + #else + #include <drm/drm_plane.h> + #endif int conftest_drm_universal_plane_init_has_name_arg(void) { return @@ -3084,7 +3109,9 @@ compile_test() { # drm_framebuffer_{get,put}()") in v4.12 (2017-02-28). # CODE=" + #if defined(NV_DRM_DRMP_H_PRESENT) #include <drm/drmP.h> + #endif #if defined(NV_DRM_DRM_FRAMEBUFFER_H_PRESENT) #include <drm/drm_framebuffer.h> #endif @@ -3103,7 +3130,9 @@ compile_test() { # drm_gem_object_{get,put}()") in v4.12 (2017-02-28). # CODE=" + #if defined(NV_DRM_DRMP_H_PRESENT) #include <drm/drmP.h> + #endif #if defined(NV_DRM_DRM_GEM_H_PRESENT) #include <drm/drm_gem.h> #endif @@ -3122,7 +3151,9 @@ compile_test() { # functions") in v4.15 (2017-09-26). # CODE=" + #if defined(NV_DRM_DRMP_H_PRESENT) #include <drm/drmP.h> + #endif #if defined(NV_DRM_DRM_DRV_H_PRESENT) #include <drm/drm_drv.h> #endif diff --git kernel/nvidia-drm/nvidia-drm-connector.c kernel/nvidia-drm/nvidia-drm-connector.c index 1553ebc..f851561 100644 --- kernel/nvidia-drm/nvidia-drm-connector.c +++ kernel/nvidia-drm/nvidia-drm-connector.c @@ -20,6 +20,8 @@ * DEALINGS IN THE SOFTWARE. */ +#include <linux/version.h> + #include "nvidia-drm-conftest.h" /* NV_DRM_ATOMIC_MODESET_AVAILABLE */ #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE) @@ -71,7 +73,11 @@ static enum drm_connector_status __nv_drm_connector_detect_internal( struct nv_drm_encoder *nv_detected_encoder = NULL; struct NvKmsKapiDynamicDisplayParams *pDetectParams = NULL; +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 0) unsigned int i; +#else + struct drm_encoder *encoder = NULL; +#endif BUG_ON(!mutex_is_locked(&dev->mode_config.mutex)); @@ -87,11 +93,16 @@ static enum drm_connector_status __nv_drm_connector_detect_internal( goto done; } +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 0) for (i = 0; i < DRM_CONNECTOR_MAX_ENCODER && detected_encoder == NULL; i++) { struct drm_encoder *encoder; +#else + drm_connector_for_each_possible_encoder(connector, encoder) { +#endif struct nv_drm_encoder *nv_encoder; +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 0) if (connector->encoder_ids[i] == 0) { break; } @@ -102,6 +113,7 @@ static enum drm_connector_status __nv_drm_connector_detect_internal( BUG_ON(encoder != NULL); continue; } +#endif /* * DVI-I connectors can drive both digital and analog @@ -169,6 +181,8 @@ static enum drm_connector_status __nv_drm_connector_detect_internal( } detected_encoder = encoder; + + break; } } diff --git kernel/nvidia-drm/nvidia-drm-connector.h kernel/nvidia-drm/nvidia-drm-connector.h index f74e22c..099390d 100644 --- kernel/nvidia-drm/nvidia-drm-connector.h +++ kernel/nvidia-drm/nvidia-drm-connector.h @@ -27,7 +27,7 @@ #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE) -#include <drm/drmP.h> +#include "nv-drm.h" #include "nvtypes.h" #include "nvkms-api-types.h" diff --git kernel/nvidia-drm/nvidia-drm-crtc.h kernel/nvidia-drm/nvidia-drm-crtc.h index 31ef3b5..5de3a51 100644 --- kernel/nvidia-drm/nvidia-drm-crtc.h +++ kernel/nvidia-drm/nvidia-drm-crtc.h @@ -29,7 +29,7 @@ #include "nvidia-drm-helper.h" -#include <drm/drmP.h> +#include "nv-drm.h" #include "nvtypes.h" #include "nvkms-kapi.h" diff --git kernel/nvidia-drm/nvidia-drm-drv.c kernel/nvidia-drm/nvidia-drm-drv.c index a66d3cc..06bf859 100644 --- kernel/nvidia-drm/nvidia-drm-drv.c +++ kernel/nvidia-drm/nvidia-drm-drv.c @@ -39,7 +39,7 @@ #include "nvidia-drm-ioctl.h" -#include <drm/drmP.h> +#include "nv-drm.h" /* * Commit fcd70cd36b9b ("drm: Split out drm_probe_helper.h") diff --git kernel/nvidia-drm/nvidia-drm-encoder.h kernel/nvidia-drm/nvidia-drm-encoder.h index bbaf986..af341a8 100644 --- kernel/nvidia-drm/nvidia-drm-encoder.h +++ kernel/nvidia-drm/nvidia-drm-encoder.h @@ -32,7 +32,7 @@ #if defined(NV_DRM_DRM_ENCODER_H_PRESENT) #include <drm/drm_encoder.h> #else -#include <drm/drmP.h> +#include "nv-drm.h" #endif #include "nvkms-kapi.h" diff --git kernel/nvidia-drm/nvidia-drm-fb.h kernel/nvidia-drm/nvidia-drm-fb.h index 7f292ce..d13bc4c 100644 --- kernel/nvidia-drm/nvidia-drm-fb.h +++ kernel/nvidia-drm/nvidia-drm-fb.h @@ -27,7 +27,7 @@ #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE) -#include <drm/drmP.h> +#include "nv-drm.h" #include "nvidia-drm-gem-nvkms-memory.h" #include "nvkms-kapi.h" diff --git kernel/nvidia-drm/nvidia-drm-gem.h kernel/nvidia-drm/nvidia-drm-gem.h index b621969..326f810 100644 --- kernel/nvidia-drm/nvidia-drm-gem.h +++ kernel/nvidia-drm/nvidia-drm-gem.h @@ -29,7 +29,7 @@ #include "nvidia-drm-priv.h" -#include <drm/drmP.h> +#include "nv-drm.h" #include "nvkms-kapi.h" #if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ) diff --git kernel/nvidia-drm/nvidia-drm-helper.c kernel/nvidia-drm/nvidia-drm-helper.c index da602ac..e5d6daa 100644 --- kernel/nvidia-drm/nvidia-drm-helper.c +++ kernel/nvidia-drm/nvidia-drm-helper.c @@ -31,7 +31,7 @@ #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE) -#include <drm/drmP.h> +#include "nv-drm.h" #if defined(NV_DRM_DRM_ATOMIC_UAPI_H_PRESENT) #include <drm/drm_atomic_uapi.h> #endif diff --git kernel/nvidia-drm/nvidia-drm-helper.h kernel/nvidia-drm/nvidia-drm-helper.h index 8f050d8..71c4b90 100644 --- kernel/nvidia-drm/nvidia-drm-helper.h +++ kernel/nvidia-drm/nvidia-drm-helper.h @@ -27,7 +27,7 @@ #if defined(NV_DRM_AVAILABLE) -#include <drm/drmP.h> +#include "nv-drm.h" /* * drm_dev_put() is added by commit 9a96f55034e41b4e002b767e9218d55f03bdff7d diff --git kernel/nvidia-drm/nvidia-drm-modeset.h kernel/nvidia-drm/nvidia-drm-modeset.h index 06659c5..e9d7b70 100644 --- kernel/nvidia-drm/nvidia-drm-modeset.h +++ kernel/nvidia-drm/nvidia-drm-modeset.h @@ -27,7 +27,7 @@ #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE) -#include <drm/drmP.h> +#include "nv-drm.h" struct drm_atomic_state *nv_drm_atomic_state_alloc(struct drm_device *dev); void nv_drm_atomic_state_clear(struct drm_atomic_state *state); diff --git kernel/nvidia-drm/nvidia-drm-os-interface.h kernel/nvidia-drm/nvidia-drm-os-interface.h index f43f851..7f4ff8b 100644 --- kernel/nvidia-drm/nvidia-drm-os-interface.h +++ kernel/nvidia-drm/nvidia-drm-os-interface.h @@ -29,7 +29,7 @@ #if defined(NV_DRM_AVAILABLE) -#include <drm/drmP.h> +#include "nv-drm.h" /* Set to true when the atomic modeset feature is enabled. */ extern bool nv_drm_modeset_module_param; diff --git kernel/nvidia-drm/nvidia-drm-prime-fence.h kernel/nvidia-drm/nvidia-drm-prime-fence.h index 20da923..f3cc2b4 100644 --- kernel/nvidia-drm/nvidia-drm-prime-fence.h +++ kernel/nvidia-drm/nvidia-drm-prime-fence.h @@ -27,7 +27,7 @@ #if defined(NV_DRM_AVAILABLE) -#include <drm/drmP.h> +#include "nv-drm.h" #if defined(NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ) diff --git kernel/nvidia-drm/nvidia-drm-priv.h kernel/nvidia-drm/nvidia-drm-priv.h index 9076835..77a95f3 100644 --- kernel/nvidia-drm/nvidia-drm-priv.h +++ kernel/nvidia-drm/nvidia-drm-priv.h @@ -27,7 +27,7 @@ #if defined(NV_DRM_AVAILABLE) -#include <drm/drmP.h> +#include "nv-drm.h" #if defined(NV_DRM_DRM_GEM_H_PRESENT) #include <drm/drm_gem.h> diff --git kernel/nvidia-drm/nvidia-drm-utils.h kernel/nvidia-drm/nvidia-drm-utils.h index 6d24120..95190c4 100644 --- kernel/nvidia-drm/nvidia-drm-utils.h +++ kernel/nvidia-drm/nvidia-drm-utils.h @@ -27,7 +27,7 @@ #if defined(NV_DRM_ATOMIC_MODESET_AVAILABLE) -#include <drm/drmP.h> +#include "nv-drm.h" #include "nvkms-kapi.h" struct NvKmsKapiConnectorInfo* ============================================================ --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "No Windows, no gains!" ..... "Why, I am wrong?" -- Bill --
* Masaru Nomiya <nomiya@galaxy.dti.ne.jp> [03-04-20 18:24]:
Hello, [...] The patch is here;
https://git.archlinux.org/svntogit/packages.git/plain/trunk/kernel-5.5.patch...
But, I arranged it;
With this, you can get the patched driver;
sh ./NVIDIA-Linux-x86_64-390.132.run --apply-patch kernel-5.5.patch
I could imagine that you are a skillful user. This is just a extra care. (^^;;
appreciated
Anyway, I've got no idea wheter the patched driver works or not.
will advise, tks -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Patrick Shanahan <paka@opensuse.org> [03-04-20 19:22]:
* Masaru Nomiya <nomiya@galaxy.dti.ne.jp> [03-04-20 18:24]:
Hello, [...] The patch is here;
https://git.archlinux.org/svntogit/packages.git/plain/trunk/kernel-5.5.patch...
But, I arranged it;
With this, you can get the patched driver;
sh ./NVIDIA-Linux-x86_64-390.132.run --apply-patch kernel-5.5.patch
I could imagine that you are a skillful user. This is just a extra care. (^^;;
appreciated
Anyway, I've got no idea wheter the patched driver works or not.
will advise, tks
tks much. patch worked fine for me, currently running kernel-default-5.5.6-1.1.x86_64 at 1920x1080 my working patched 390.132 is available at: http://wahoo.no-ip.org/~paka/NVIDIA-Linux-x86_64-390.132-custom.run tks again -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 03/04/2020 07:10 PM, Patrick Shanahan wrote:
tks much. patch worked fine for me, currently running kernel-default-5.5.6-1.1.x86_64 at 1920x1080
my working patched 390.132 is available at: http://wahoo.no-ip.org/~paka/NVIDIA-Linux-x86_64-390.132-custom.run
Great work Patrick. It is always frustrating having to manage software for something as basic as your Nvidia card on a kernel version change. The GeForce 4XX series is a damn good series of card with plenty of life left. (all anyone not a gamer would ever need). This exemplifies one of the shortcomings of the closed source relationships with open-source. Just because the card companies want to sell more of their latest cards, doesn't mean every user is willing (or has the spare $1k) to go drop on what is an unnecessary expense to them. When the closed source manfs don't update drivers when kernel versions change, that gives open-source a black-eye. "My XYZ card I got 4 years ago isn't supported anymore?" is most users take-away (along with, "I can still get the driver for windows") While patching and building as Patrick did isn't all that difficult for experienced users, if we are honest, that's is probably less than 1% of Linux community. To someone that is just trying to use Linux as a desktop -- asking them to patch and rebuild to support a kernel version change -- is like asking them to sit for an exam in differential equations. (producing the same doe-in-the-headlights look) There is a whole lot of work involved in keeping a system current with upstream -- (as the devs will attest) and that often goes unnoticed and unrealized by a majority of users -- until something with a closed-source package like this occurs. It's not like Linux 5.5 is new, and to not have a working driver build without needing to patch-and-build is a bit remarkable. Thanks again Patrick, I have several 460 and 560 cards in boxes, this helps. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/03/2020 01.06, David C. Rankin wrote:
On 03/04/2020 07:10 PM, Patrick Shanahan wrote:
tks much. patch worked fine for me, currently running kernel-default-5.5.6-1.1.x86_64 at 1920x1080
my working patched 390.132 is available at: http://wahoo.no-ip.org/~paka/NVIDIA-Linux-x86_64-390.132-custom.run
Great work Patrick. It is always frustrating having to manage software for something as basic as your Nvidia card on a kernel version change. The GeForce 4XX series is a damn good series of card with plenty of life left. (all anyone not a gamer would ever need).
This exemplifies one of the shortcomings of the closed source relationships with open-source. Just because the card companies want to sell more of their latest cards, doesn't mean every user is willing (or has the spare $1k) to go drop on what is an unnecessary expense to them.
When the closed source manfs don't update drivers when kernel versions change, that gives open-source a black-eye. "My XYZ card I got 4 years ago isn't supported anymore?" is most users take-away (along with, "I can still get the driver for windows")
While patching and building as Patrick did isn't all that difficult for experienced users, if we are honest, that's is probably less than 1% of Linux community. To someone that is just trying to use Linux as a desktop -- asking them to patch and rebuild to support a kernel version change -- is like asking them to sit for an exam in differential equations. (producing the same doe-in-the-headlights look)
Which is why I'm building my new machine with AMD hardware. -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.0 x86_64 (Minas Tirith))
* Carlos E. R. <robin.listas@telefonica.net> [03-08-20 21:16]:
On 06/03/2020 01.06, David C. Rankin wrote:
On 03/04/2020 07:10 PM, Patrick Shanahan wrote:
tks much. patch worked fine for me, currently running kernel-default-5.5.6-1.1.x86_64 at 1920x1080
my working patched 390.132 is available at: http://wahoo.no-ip.org/~paka/NVIDIA-Linux-x86_64-390.132-custom.run
Great work Patrick. It is always frustrating having to manage software for something as basic as your Nvidia card on a kernel version change. The GeForce 4XX series is a damn good series of card with plenty of life left. (all anyone not a gamer would ever need).
This exemplifies one of the shortcomings of the closed source relationships with open-source. Just because the card companies want to sell more of their latest cards, doesn't mean every user is willing (or has the spare $1k) to go drop on what is an unnecessary expense to them.
When the closed source manfs don't update drivers when kernel versions change, that gives open-source a black-eye. "My XYZ card I got 4 years ago isn't supported anymore?" is most users take-away (along with, "I can still get the driver for windows")
While patching and building as Patrick did isn't all that difficult for experienced users, if we are honest, that's is probably less than 1% of Linux community. To someone that is just trying to use Linux as a desktop -- asking them to patch and rebuild to support a kernel version change -- is like asking them to sit for an exam in differential equations. (producing the same doe-in-the-headlights look)
Which is why I'm building my new machine with AMD hardware.
good luck with that! -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Patrick Shanahan composed on 2020-03-08 23:02 (UTC-0400):
* Carlos E. R. composed: ...
Which is why I'm building my new machine with AMD hardware.
good luck with that!
I just did built with Ryzen 3/Vega 8 3200G, Asus motherboard, 8GB DDR4 RAM, a month ago, to replace a fried 5 year old AMD, using its HDs. There was teething trouble solved via forum thread, and 15.1 and 15.2 were fully functional when owner took it home. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2020-03-08 a las 23:02 -0400, Patrick Shanahan escribió:
* Carlos E. R. <> [03-08-20 21:16]:
On 06/03/2020 01.06, David C. Rankin wrote:
On 03/04/2020 07:10 PM, Patrick Shanahan wrote:
tks much. patch worked fine for me, currently running kernel-default-5.5.6-1.1.x86_64 at 1920x1080
my working patched 390.132 is available at: http://wahoo.no-ip.org/~paka/NVIDIA-Linux-x86_64-390.132-custom.run
Great work Patrick. It is always frustrating having to manage software for something as basic as your Nvidia card on a kernel version change. The GeForce 4XX series is a damn good series of card with plenty of life left. (all anyone not a gamer would ever need).
This exemplifies one of the shortcomings of the closed source relationships with open-source. Just because the card companies want to sell more of their latest cards, doesn't mean every user is willing (or has the spare $1k) to go drop on what is an unnecessary expense to them.
...
Which is why I'm building my new machine with AMD hardware.
good luck with that!
Well, my old nvidia card no longer fully functions, because of the obsolete driver nvidia provides. As a result, I can not even install the flight simulator game. - -- Cheers Carlos E. R. (from openSUSE Leap 15.0 x86_64 (Minas Tirith)) -----BEGIN PGP SIGNATURE----- iJIEAREIADoWIQQt/vKEw5659AgM/X2NrxRtxRYzXAUCXmYm6Bwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJEI2vFG3FFjNcarIA/jVWO2t6UZwBtKlbxIhN JJhcQb0cFpkCgnlE+G4jY60TAQCdKr7Z+EFIY3IALnRHxzue34/XSBs//Ov1F3ys 1+VlHA== =aEGW -----END PGP SIGNATURE-----
* David C. Rankin <drankinatty@suddenlinkmail.com> [01-01-70 12:34]:
On 03/04/2020 07:10 PM, Patrick Shanahan wrote:
tks much. patch worked fine for me, currently running kernel-default-5.5.6-1.1.x86_64 at 1920x1080
my working patched 390.132 is available at: http://wahoo.no-ip.org/~paka/NVIDIA-Linux-x86_64-390.132-custom.run
Great work Patrick. It is always frustrating having to manage software for something as basic as your Nvidia card on a kernel version change. The GeForce 4XX series is a damn good series of card with plenty of life left. (all anyone not a gamer would ever need).
This exemplifies one of the shortcomings of the closed source relationships with open-source. Just because the card companies want to sell more of their latest cards, doesn't mean every user is willing (or has the spare $1k) to go drop on what is an unnecessary expense to them.
When the closed source manfs don't update drivers when kernel versions change, that gives open-source a black-eye. "My XYZ card I got 4 years ago isn't supported anymore?" is most users take-away (along with, "I can still get the driver for windows")
While patching and building as Patrick did isn't all that difficult for experienced users, if we are honest, that's is probably less than 1% of Linux community. To someone that is just trying to use Linux as a desktop -- asking them to patch and rebuild to support a kernel version change -- is like asking them to sit for an exam in differential equations. (producing the same doe-in-the-headlights look)
There is a whole lot of work involved in keeping a system current with upstream -- (as the devs will attest) and that often goes unnoticed and unrealized by a majority of users -- until something with a closed-source package like this occurs.
It's not like Linux 5.5 is new, and to not have a working driver build without needing to patch-and-build is a bit remarkable.
Thanks again Patrick, I have several 460 and 560 cards in boxes, this helps.
amazing the number of downloads since I provided the driver, 4G and counting, and while I really do not care, you are the only one who expressed appreciation. tks -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Rainer Klier <r.klier@namirial.com> [03-03-20 06:24]:
hi,
Am 03.03.20 um 02:27 schrieb Patrick Shanahan:
unfortunately, I cannot run later than 5.4.14-2-default as I am unable to install and utilize NVIDIA-Linux-x86_64-390.132.run nor the nvidia-gfxG04-kmp-default-390.132_k5.5.4_1-9.9.x86_64.rpm.
why not use the latest https://download.nvidia.com/XFree86/Linux-x86_64/440.64/ ?
i use it with latest kernel 5.5.7 on a geforce gtx 765m
my card, NVIDIA GF106 [GeForce GTS 450], is too old. Latest support is 390.132 -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (8)
-
Carlos E. R.
-
David C. Rankin
-
Felix Miata
-
Masaru Nomiya
-
Patrick Shanahan
-
Peter Suetterlin
-
Rainer Klier
-
Roger Oberholtzer