You are not logged in.

#1 2017-04-02 05:28:20

Disco Dave
Member
Registered: 2014-12-31
Posts: 91

Anyone else having problems with latest linux-lts and nvidia-lts?

Hello,
    I'm using a laptop with a skylake intel chip and nvidia 960m. I've been using nvidia-lts and linux-lts with any problems for a while now. I recently tried updating my kernel from 4.9.18 to 4.9.20 and now my Xorg starts to a black screen. Downgrade back to 4.9.18 fixes the problem. I've also tried following the advice of this article https://wiki.archlinux.org/index.php/NV … X_shutdown sadly without success.

I also use nvidia-drm so I can have vsync, that I enabled with this following article. https://wiki.archlinux.org/index.php/NV … de_setting

I was just curious if anyone else had any issues with the latest linux-lts and nvidia-lts and if anyone could shed any light on how to fix this aside from sticking with an older kernel?

Thanks a lot,
     Disco

Offline

#2 2017-04-02 21:44:24

ultima12
Member
Registered: 2017-04-02
Posts: 7

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

I'm sorry if this is the wrong sub-forum to post in, it just seemed most relevant to my issue

I'm currently stuck on an older rig running with an i3 530 and a Quadro 600, but the main-line nvidia package works fine for me on the 4.9.18-1 LTS kernel. However, I have an update currently waiting for the kernel that just got pushed yesterday it seems.

When I try to use the kernel, I can't do anything with 3D acceleration. I'm assuming this is because drivers aren't up to date for it. Do I have to use the testing branch of drivers for this, or am I just being really dumb?

I have linux-lts, linux-lts-headers, and all important nvidia packages installed for both 64-bit and 32-bit support. The issue is non-existant on 4.9.18-1 but exists on the 4.9.20-1 kernel.

Thank you for your time.

EDIT: I just realized I'd forgotten to say, I did re-install nvidia drivers after the kernel update and it didn't seem to work.

Last edited by ultima12 (2017-04-02 21:46:15)

Offline

#3 2017-04-02 21:58:17

dreamersbrow
Member
From: Iowa
Registered: 2011-03-27
Posts: 24

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

Hello,

I have the same problem as you.  I have a skylake processor as well.  Haven't found a solution to it at this point.  For now, I've just switched to the regular kernel.

Offline

#4 2017-04-02 22:01:06

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

Welcome to the forums ultima12
https://bugs.archlinux.org/task/53527
You could rebuild nvidia-lts locally after installing and booting the linux-lts and linux-lts-headers 4.9.20-1.

Offline

#5 2017-04-02 22:02:57

ultima12
Member
Registered: 2017-04-02
Posts: 7

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

loqs wrote:

Welcome to the forums ultima12
https://bugs.archlinux.org/task/53527
You could rebuild nvidia-lts locally after installing and booting the linux-lts and linux-lts-headers 4.9.20-1.

It seems the user in that bug wasn't able to use the xserver at all, surprisingly I was -able- to use the xserver, but 3D performance was extremely slow. I.E. GZDoom went from perfectly playable, to less than 5FPS in OpenGL mode. Am I shooting at an entirely unrelated issue here, or is it indeed something to do with the kernel and driver incompatibility?

Offline

#6 2017-04-02 22:07:21

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

Does the system's journal / dmesg contain the noted error messages from the nvidida_drm module?

Offline

#7 2017-04-02 22:08:11

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,864
Website

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

Mod note: Moving to upgrade issues and merging.

Merged topic title was "Nvidia drivers not available for latest lts kernel?".

Last edited by WorMzy (2017-04-02 22:09:29)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2017-04-02 22:12:28

ultima12
Member
Registered: 2017-04-02
Posts: 7

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

loqs wrote:

Does the system's journal / dmesg contain the noted error messages from the nvidida_drm module?

I downgraded my kernel to the 4.9.18-1 build, so I would have to update to see if the issue were the same.

Offline

#9 2017-04-02 22:14:31

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

No just check the journal for a boot under 4.9.20 Systemd#Filtering_output
Edit:
This should work as well but passing all the output the journal around is not optimal

$ journalctl | grep "nvidia_drm: disagrees"

Last edited by loqs (2017-04-02 22:17:39)

Offline

#10 2017-04-02 22:20:54

ultima12
Member
Registered: 2017-04-02
Posts: 7

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

loqs wrote:

No just check the journal for a boot under 4.9.20 Systemd#Filtering_output
Edit:
This should work as well but passing all the output the journal around is not optimal

$ journalctl | grep "nvidia_drm: disagrees"

It looks like the problem is the same, as this is what I found in the journal:

Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_plane_destroy_state
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_plane_destroy_state (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_connector_register
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_connector_register (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_mode_probed_add
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_mode_probed_add (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_disable_plane
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_disable_plane (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_state_default_clear
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_state_default_clear (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_mode_config_init
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_mode_config_init (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_crtc_destroy_state
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_crtc_destroy_state (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_crtc_cleanup
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_crtc_cleanup (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_encoder_cleanup
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_encoder_cleanup (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_connector_unregister
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_connector_unregister (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_clean_old_fb
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_clean_old_fb (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_crtc_commit_put
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_crtc_commit_put (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_crtc_send_vblank_event
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_crtc_send_vblank_event (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_commit
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_commit (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_check
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_check (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_connector_destroy_state
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_connector_destroy_state (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_set_crtc_for_plane
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_set_crtc_for_plane (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_plane_duplicate_state
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_plane_duplicate_state (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_plane_cleanup
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_plane_cleanup (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_get_crtc_state
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_get_crtc_state (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_mode_connector_list_update
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_mode_connector_list_update (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_mode_connector_update_edid_property
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_mode_connector_update_edid_property (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_connector_init
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_connector_init (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_set_fb_for_plane
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_set_fb_for_plane (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_state_init
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_state_init (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_state_free
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_state_free (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_set_crtc_for_connector
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_set_crtc_for_connector (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_plane_reset
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_plane_reset (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_crtc_init_with_planes
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_crtc_init_with_planes (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_state_default_release
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_state_default_release (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_commit
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_commit (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_state_alloc
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_state_alloc (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_mode_connector_attach_encoder
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_mode_connector_attach_encoder (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_set_config
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_set_config (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_connector_duplicate_state
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_connector_duplicate_state (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_set_mode_for_crtc
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_set_mode_for_crtc (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_connector_cleanup
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_connector_cleanup (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_universal_plane_init
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_universal_plane_init (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_crtc_reset
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_crtc_reset (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_encoder_init
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_encoder_init (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_get_plane_state
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_get_plane_state (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_page_flip
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_page_flip (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_commit_hw_done
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_commit_hw_done (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_connector_reset
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_connector_reset (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_mode_config_cleanup
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_mode_config_cleanup (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_crtc_duplicate_state
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_crtc_duplicate_state (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_helper_update_plane
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_helper_update_plane (err -22)
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: disagrees about version of symbol drm_atomic_get_connector_state
Apr 01 22:08:48 Dev-Arch-Gateway kernel: nvidia_drm: Unknown symbol drm_atomic_get_connector_state (err -22)

How do I go about rebuilding the package? Apologies, I'm relatively new to all of this and have gotten pretty far just figuring things out myself.

Offline

#11 2017-04-02 22:25:40

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

Offline

#12 2017-04-02 22:35:35

ultima12
Member
Registered: 2017-04-02
Posts: 7

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

So if I'm understanding this correctly, I change the dependency in the PKGBUILD to be for the kernel I'm using? And then use makepkg to build it and pacman to install it?

Offline

#13 2017-04-02 22:42:29

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

makedepends=("nvidia-utils=$pkgver" 'linux-lts>=4.9.16' 'linux-lts-headers>=4.9.16')

Both entries with versions are => so any version greater than or equal to 4.9.16 will satisfy them so no need to change that.
You could increase the release by one if you wanted to.
Then yes as long as the running kernel is linux-lts 4.9.20 and the linux-lts-header 4.9.20 are also installed on the system,  run makepkg then install with pacman then reboot.
You could have makepkg automatically install the built package with -i see man makepkg for more details.
Edit:
Grammar

Last edited by loqs (2017-04-02 22:43:49)

Offline

#14 2017-04-02 22:48:21

ultima12
Member
Registered: 2017-04-02
Posts: 7

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

loqs wrote:
makedepends=("nvidia-utils=$pkgver" 'linux-lts>=4.9.16' 'linux-lts-headers>=4.9.16')

Both entries with versions are => so any version greater than or equal to 4.9.16 will satisfy them so no need to change that.
You could increase the release by one if you wanted to.
Then yes as long as the running kernel is linux-lts 4.9.20 and the linux-lts-header 4.9.20 are also installed on the system,  run makepkg then install with pacman then reboot.
You could have makepkg automatically install the built package with -i see man makepkg for more details.
Edit:
Grammar

Thank you for your help, I will try rebuilding the packages on the new kernel and see if my performance remains the same as it is now.

EDIT:

This seems to be the solution for the performance issues. Thank you again for the assistance!

Last edited by ultima12 (2017-04-02 23:09:02)

Offline

#15 2017-04-03 06:05:53

Disco Dave
Member
Registered: 2014-12-31
Posts: 91

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

Rebuilding the nvidia-lts from ABS solved my problem. Shall I mark this problem as solved?

Also, does this mean the binary in the repository is no longer any good and should be rebuilt?

Offline

#16 2017-04-03 08:58:34

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: Anyone else having problems with latest linux-lts and nvidia-lts?

Disco Dave wrote:

Also, does this mean the binary in the repository is no longer any good and should be rebuilt?

https://bugs.archlinux.org/task/53527

Offline

Board footer

Powered by FluxBB