LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-04-2021, 03:47 PM   #76
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656

Quote:
Originally Posted by mrmazda View Post
"The" nouveau driver when discussing NVidia Graphics in Linux does not define of which you speak. There are two:

Above shows the Nouveau kernel driver in use.

Above shows the Modesetting DDX driver in use.

It might pay to digest this video driver primer.
You're diving way too much into a topic that doesn't need this type of detail. We don't need to understand the intricacies of X drivers as long as we understand what we need to do on our end (either use the open source nouveau kernel driver or the binary Nvidia driver).

If OP wants proprietary drivers, they need to disable the nouveau kernel driver and install the binary Nvidia drivers. They don't need to worry about everything else as it should handle everything automatically.
 
Old 01-04-2021, 10:10 PM   #77
baumei
Member
 
Registered: Feb 2019
Location: USA; North Carolina
Distribution: Slackware 15.0 (replacing 14.2)
Posts: 365

Rep: Reputation: 124Reputation: 124
In another thread, "denydias" says, "That totally did the trick to me! Running 5.10.4 with functional dual screens. System freeze is gone." --- "denydias" was talking about creating (as suggested by Petri Kaukasoina) a file with this name "/etc/modprobe.d/snd_hda.conf", and putting this in it
Code:
options snd_hda_codec_hdmi enable_silent_stream=N
.

Petri Kaukasoina supplied this URL as supplementary information https://mailman.alsa-project.org/pip...ry/178794.html

Last edited by baumei; 01-04-2021 at 10:17 PM.
 
Old 01-05-2021, 03:05 AM   #78
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,806

Rep: Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485
Yes, there is a kernel option CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM, with help text "Intel hardware has a feature called 'silent stream', that keeps external HDMI receiver's analog circuitry powered on avoiding 2-3 sec silence during playback start. This mechanism relies on setting channel_id as 0xf, sending info packet and preventing codec D3 entry (increasing platform static power consumption when HDMI receiver is plugged-in). 2-3 sec silence at the playback start is expected whenever there is format change. (default is 2 channel format). Say Y to enable Silent Stream feature."

That feature is buggy now in kernel 5.10.4, and that modprobe module option line turns it off.
 
Old 01-05-2021, 10:28 AM   #79
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 497

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by baumei View Post
In another thread, "denydias" says, "That totally did the trick to me! Running 5.10.4 with functional dual screens. System freeze is gone." --- "denydias" was talking about creating (as suggested by Petri Kaukasoina) a file with this name "/etc/modprobe.d/snd_hda.conf", and putting this in it
Code:
options snd_hda_codec_hdmi enable_silent_stream=N
.

Petri Kaukasoina supplied this URL as supplementary information https://mailman.alsa-project.org/pip...ry/178794.html
I just replied to that thread: no luck!

Quote:
bassmadrigal
You're diving way too much into a topic that doesn't need this type of detail. We don't need to understand the intricacies of X drivers as long as we understand what we need to do on our end (either use the open source nouveau kernel driver or the binary Nvidia driver).

If OP wants proprietary drivers, they need to disable the nouveau kernel driver and install the binary Nvidia drivers. They don't need to worry about everything else as it should handle everything automatically.
Gee! THANK YOU! Someone finally spelled it!
I know it's all done with good heart and intention but, going to the mechanic because your car doesn't start and having to hear all the engineering details on how a combustion engine works can sometime be very frustrating!

Quote:
Petri Kaukasoina
That feature is buggy now in kernel 5.10.4, and that modprobe module option line turns it off.
Just tried, very excitedly as I read it in the other thread currently going on about dual screens stopping with the kernel 5.10.X
No luck for me

Last edited by however; 01-06-2021 at 02:05 AM.
 
Old 01-05-2021, 02:50 PM   #80
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
however, did going back to the 5.4.XX Linux kernel fix your issue?
 
Old 01-05-2021, 04:41 PM   #81
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 497

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by RadicalDreamer View Post
however, did going back to the 5.4.XX Linux kernel fix your issue?
(sounds silly but) I have to be honest; i havent tried yet because i am terrified of a terrible no-return system crash and lose all my work (I know this 100% from previous experience on compiling and/or installing kernel).
Back up you say!
Yet still, if things go wrong, i will have to reinstall slackware -current then countless packages, dependencies and adjust all the settings to get things back to normal; and, since I haven't had a couple of days off work yet, I am still hoping that someone will find a solution to this issue or, maybe, gets fixed at the next kernel patch.

If kernel 5.11.X (i read in RC2) will not solve this then I will take my chances.
 
1 members found this post helpful.
Old 01-10-2021, 10:44 AM   #82
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 497

Original Poster
Rep: Reputation: Disabled
Just to keep up with my own thread (i have been posting more on other similar threads): latest patch, kernel 5.10.6, has not resolved the glitching/system freeze issue for me.
Still working well with Xrender as Rendering backend Compositor
 
Old 01-13-2021, 03:26 PM   #83
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 497

Original Poster
Rep: Reputation: Disabled
kernel 5.10.7 does not fix the issue.
Same problem as I change Settings>System Settings>Compositor>Rendering backend to OpenGL. Immediate glitching (didn't wait for system crash and switched back to Xrender straight away). Identical issue on laptop
Hoping for next patch update
 
Old 02-03-2021, 10:23 AM   #84
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 497

Original Poster
Rep: Reputation: Disabled
I upgraded to the latest kernel 5.10.12 and the problem still persisted so a famous phrase by a famous guy came to mind: "insanity is defined as repeating the same thing over and over expecting different results".
So, i tried something i didn't try before: i tried to install the nVidia legacy driver (NVIDIA-Linux-x86_64-390.141.run). I was led to understand, by searching&reading other posts, that the nVidia legacy driver was designed for older nVidia cards and considering that my card is relatively recent i never gave it too much notice.
Now, guess what happened? not only it installed flawlessly, it also solved the glitching/system freeze that happened before with the Nouveau drivers.
Nevertheless, the problem is not fully resolved. I have double screen on both my laptop and my desktop working well, with no glitching and great image resolution but after a cpl of hours there was a system stall that lasted only a few seconds and then it went back to "normal"; (even though the system didn't crash completely to hard-reset, it automatically disabled the OpenGL drivers and i lost all the desktop effects).
Investigating this further, on Setting>System Settings>Display and Monitor>Compositor this message appeared (screenshot attached).
I tried to look up for more recent version of OpenGL as suggested in the message but, there are aren't any for nVidia.
Attached Thumbnails
Click image for larger version

Name:	gpl_failure.png
Views:	20
Size:	107.6 KB
ID:	35479  
 
Old 02-03-2021, 01:34 PM   #85
Rod3775
Member
 
Registered: May 2008
Location: Washington State
Distribution: Slackware-current
Posts: 94
Blog Entries: 10

Rep: Reputation: 18
replying to RadicalDreamer's 1-21-21 post, I am experiencing the same freeze, unrelated to multiple screens or any other "fancy stuff". I started a new thread about it (which I will update in a few minutes). My system uses a VGA cable hookup to my HDMI monitor because an HDMI hookup causes the nouveau kernel driver to seize my audio and I've never spent the time to figure out how to fix that. I have a fully-installed backup partition running the 5.4.40 Slackware kernel from last May and it has always worked fine. So did all the later 5.4.x kernels, but they got lost with the December upgrade to 5.10.x This is the sketchiest Slackware -current I've ever dealt with since the 13.37 days, Many things changed all at once - mesa, xfce4, nouveau, and they seem to all have "issues". You can't run a 1920x1080 monitor without the nouveau kernel driver, and you can't turn off it's acceleration (noaccel=1 nofbaccel=1) without breaking other things, so I too am hoping for better times ahead. My system slows, them freezes entirely about once a day. At one point I thought it was repeatable and tied to mp4 video acceleration, but I was wrong, and will post a retraction on the other thread...

If this goes on, I'll shift to booting the 5.4 kernel and system, and symlink my home directory into the partition containing my current data - since I'd like to get some work done without random freezes all the time. "however" sent me a link to this thread, which boiled down to "try the proprietary driver". From what I've read, switching back and forth opens a whole new can of worms and flames, and I'm not willing to go through that. So much for Patrick's comment in December: "Linus says this is not a scary upgrade" LOL!
 
1 members found this post helpful.
Old 02-03-2021, 05:18 PM   #86
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Quote:
Originally Posted by Rod3775 View Post
replying to RadicalDreamer's 1-21-21 post, I am experiencing the same freeze, unrelated to multiple screens or any other "fancy stuff". I started a new thread about it (which I will update in a few minutes). My system uses a VGA cable hookup to my HDMI monitor because an HDMI hookup causes the nouveau kernel driver to seize my audio and I've never spent the time to figure out how to fix that. I have a fully-installed backup partition running the 5.4.40 Slackware kernel from last May and it has always worked fine. So did all the later 5.4.x kernels, but they got lost with the December upgrade to 5.10.x This is the sketchiest Slackware -current I've ever dealt with since the 13.37 days, Many things changed all at once - mesa, xfce4, nouveau, and they seem to all have "issues". You can't run a 1920x1080 monitor without the nouveau kernel driver, and you can't turn off it's acceleration (noaccel=1 nofbaccel=1) without breaking other things, so I too am hoping for better times ahead. My system slows, them freezes entirely about once a day. At one point I thought it was repeatable and tied to mp4 video acceleration, but I was wrong, and will post a retraction on the other thread...

If this goes on, I'll shift to booting the 5.4 kernel and system, and symlink my home directory into the partition containing my current data - since I'd like to get some work done without random freezes all the time. "however" sent me a link to this thread, which boiled down to "try the proprietary driver". From what I've read, switching back and forth opens a whole new can of worms and flames, and I'm not willing to go through that. So much for Patrick's comment in December: "Linus says this is not a scary upgrade" LOL!
It is the price for buying NVIDIA.
Report the bugs if you want:
https://nouveau.freedesktop.org/Bugs.html
https://docs.mesa3d.org/bugs.html

Your card is so old I don't think the proprietary driver will work.
https://www.nvidia.com/en-us/drivers/unix/

CUDA (CUVID) is a joy because I've never had a system freeze with it. QMPlay2:
Code:
Video streams:
Stream 1 - CUVID decoder, Vulkan (CUVID)
It is a shame people are having problems. Are you experiencing slowdown only in xfce?
 
Old 02-03-2021, 05:39 PM   #87
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 497

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by RadicalDreamer View Post
It is the price for buying NVIDIA.
unfortunately, in the case of most "modern" laptops, nVidia comes with it and not much of a specific card choice. Perhaps, if it is a custom built desktop I could see the point (price to pay) for choosing nVidia, even though this issue has been reported with AMD cards and Intel graphics as well as other distros (after kernel update)

I attached another screenshot (OpenGL3.1) but it doesn't give any bug-crash option to report.
Attached Thumbnails
Click image for larger version

Name:	gpl_failure_3_1.png
Views:	10
Size:	66.4 KB
ID:	35486  
 
1 members found this post helpful.
Old 02-03-2021, 08:14 PM   #88
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Quote:
Originally Posted by however View Post
unfortunately, in the case of most "modern" laptops, nVidia comes with it and not much of a specific card choice. Perhaps, if it is a custom built desktop I could see the point (price to pay) for choosing nVidia, even though this issue has been reported with AMD cards and Intel graphics as well as other distros (after kernel update)



I attached another screenshot (OpenGL3.1) but it doesn't give any bug-crash option to report.
You can send that screenshot to https://bugs.kde.org/
Report kernel bugs:
https://kernelnewbies.org/FoundBug

The Nouveau driver is mostly created from reverse engineering. With NVIDIA people are paying for their temporary binary driver support. Have you tried the latest 460.39 NVIDIA driver? https://www.nvidia.com/en-us/drivers/unix/
 
Old 02-04-2021, 02:40 AM   #89
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 497

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by RadicalDreamer View Post
You can send that screenshot to https://bugs.kde.org/
Report kernel bugs:
https://kernelnewbies.org/FoundBug
bug reported to KDE (bug no. Bug 432496)

Quote:
The Nouveau driver is mostly created from reverse engineering. With NVIDIA people are paying for their temporary binary driver support. Have you tried the latest 460.39 NVIDIA driver? https://www.nvidia.com/en-us/drivers/unix/
I tried with previous and current kernel from 5.10.4 to 5.10.12. The ./drvr.run from init3 would stop and give 'unable to build nvidia kernel' error. This was reported in several linux forums, not just on slackware distro and with other graphic cards too.
The legacy version of nVidia (also available on the page you linked) solved that problem and completed installation.

Now, perhaps, i could try installing again the nvidia.driver.460.tgz that I compiled and built from alien's repo on top of the legacy kernel&driver but, I am afraid that I will open a "can of worms" as mentioned by someone else.
Quote:
Originally Posted by Rod3775 View Post
... switching back and forth opens a whole new can of worms and flames, and I'm not willing to go through that.
if a PhD in computer science with 2 decades of experience with linux wants to avoid that, i certainly copy them

Last edited by however; 02-04-2021 at 02:46 AM.
 
Old 02-04-2021, 02:25 PM   #90
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Quote:
Originally Posted by however View Post
bug reported to KDE (bug no. Bug 432496)



I tried with previous and current kernel from 5.10.4 to 5.10.12. The ./drvr.run from init3 would stop and give 'unable to build nvidia kernel' error. This was reported in several linux forums, not just on slackware distro and with other graphic cards too.
The legacy version of nVidia (also available on the page you linked) solved that problem and completed installation.

Now, perhaps, i could try installing again the nvidia.driver.460.tgz that I compiled and built from alien's repo on top of the legacy kernel&driver but, I am afraid that I will open a "can of worms" as mentioned by someone else.

if a PhD in computer science with 2 decades of experience with linux wants to avoid that, i certainly copy them
To be honest the sbo slackbuilds for the NVIDIA binary stuff scares me. It overwhelms me. If it were me I'd install the 5.4.XX Linux kernel to see if things work with it. If not I'd reinstall and update Slackware64 Current using Slackware Live. Eric does a great job and the Slackware Live I installed for a relative a few years ago was tricked out with slackpkg+ and his alien repository. https://slackware.nl/slackware-live/latest/

Then I'd uninstall nouveau, install nouveau blacklist, and then install the nvidia driver using the .run file. I'm so paranoid after creating symbolic link spaghetti a few years ago that I uninstall the nvidia driver with --uninstall before updating xorg and mesa.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SARPI on Pi3 - Ran slackpkg update & slackpkg upgrade-all and now won't boot, can't find init petejc Slackware - ARM 11 03-25-2020 04:30 AM
[SOLVED] Slackpkg upgrade-all returns 'no packages to upgrade' after slackpkg-update has downloaded files san2ban Slackware 8 11-01-2019 05:44 AM
Get first day of last month and last day of last month in bash xowl Linux - Software 18 02-09-2017 09:49 AM
[SOLVED] [ENCHANCEMENT] slackpkg+: do not show the notices "pkglist is older than 24h..." and "remember to re-run 'slackpkg update''..."... yars Slackware 1 01-09-2016 09:56 AM
Yum & software updater stopped working and DVD rom gone after last update Stratofender Linux - Newbie 3 03-20-2007 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration