The officially official Devuan Forum!

You are not logged in.

#201 Re: Hardware & System Configuration » PulseAudio? Seriously!? » 2019-08-18 21:08:14

Yeah, I've seen that used in Ubuntu years ago. But wasn't sure how far along the "integration" of all the various components had gone. Systemd is impossible to dispense with now if you want Gnome. Sooner or later I'm going to try purging Pulseaudio and maybe reinstalling ALSA to correct anything broken. Still struggling with some other tweaks, though. smile

#202 Re: Hardware & System Configuration » UPS monitor » 2019-08-18 21:06:09

Well, the online database for the Debian repositories says there is a powstatd for CyberPower UPses. But it doesn't show up when searching with aptitude. On the other hand, the xfce "power manager" is installed by default. It does pop up a message soon after booting about noticing my UPS and that it is charged, but that quickly disappears. How do I get a widget to stay on the task bar where I can check it? There doesn't seem to be anything in the power manager preferences, but there is something or other that keeps a status icon on the task bar in Mint.

#203 Re: Hardware & System Configuration » UPS monitor » 2019-08-13 02:27:39

A Cyberpower UPS is what I have. There is apparently a Cyberpower driver in the Debian repositories, but I'm not running my Devuan install right now. I'll be looking for it next time I boot Linux.

#204 Re: Hardware & System Configuration » UPS monitor » 2019-08-12 04:02:50

Yeah, I found that in the repositories. But for some reason it's accessed through a metapackage named ups-monitor and simply putting that name on the command line causes aptitude to complain and refuse to install it. There are two packages, apcupsd and nut-client, and I have to "choose" one. Not sure what that means with a metapackage. Additional command line arguments?

#205 Hardware & System Configuration » UPS monitor » 2019-08-05 18:53:37

Micronaut
Replies: 5

Another convenience of Mint was that it just automatically noticed the UPS was connected and installed something to monitor battery status. Is this "something" or an equivalent available in Devuan?

#206 Re: Desktop and Multimedia » Random freezing on desktop » 2019-08-05 13:33:08

After the freeze problem hit again, I realized I would have to try different hardware. The test system is ~12-year-old hardware. If not for the huge amount of kernel modifications for the Spectre and Meltdown panic, I bet it would still work fine. But things have changed and some hardware is just going obsolete.

The next system is "only" ~5-year-old hardware. smile A Haswell generation CPU on an Asus motherboard rather than the ancient nForce. Since it is a completely different system, there might be other problems. But I'll be watching for the video freeze problem and report if this occurs again. What concerns me is some of my other systems are older than this, though not as old as the first test system. I hope they are still compatible with all these kernel tweaks.

#207 Re: Off-topic » Eben Moglen's presentation at re-publica in May » 2019-07-31 20:46:32

Very interesting talk! Thanks for the pointer, I'd never heard of this conference, though I've heard of EFF and Moglen before.

#208 Re: Desktop and Multimedia » Random freezing on desktop » 2019-07-31 20:45:22

Interesting that the entire system does not lock up, though. It does seem to be the display that gets interfered with even if it is not specific to the graphical driver. I ran my test system for a few more hours today, and it had more freezes. Once I figure out where to enable compositing, it froze the entire display solid instead of just one window. And yet the streaming audio I was playing continued. But interaction was not possible, and I had to hit the "Big Red Switch" to recover control of the system.

Finally, I went back through the list of things I added when I installed. Only one of them is graphics related, and I thought it was only a set of command line utilities. "mesa-utils" is a package that I've been using since I first learned about Linux. But it's graphics related, and not essential anymore, so I removed it. The system then ran for several more hours with no detectable problems. Hmmm... Could there be a library conflict? The Linux version of DLL Hell? I'll have to run it a few more days to be sure.

#209 Re: Desktop and Multimedia » Random freezing on desktop » 2019-07-29 16:47:48

No, it's not the video drivers at all. I had just finished running the installer, and was in the process of adding other things manually, when it happened again. This was with the default nouveau driver in place, and I wasn't using any graphical application like a browser or the image viewer. Just a text editor (mousepad) and the file manager. I can't imagine how any of the small things I like to add could have caused it, so it seems likely to be a compatibility problem with the system itself. Nothing like this occurred with Mint 17.3 on the same hardware. And it sure doesn't happen with Windows. Now I am wondering how to proceed with any further debugging to isolate it further. Is there some sort of "watchdog" you can install in Linux to monitor for some specific condition?

#210 Re: Desktop and Multimedia » Random freezing on desktop » 2019-07-25 22:59:17

Well, this is why I used a test system first.  It's a good way to learn that something sucks before getting to tangled up with it. It turns out the "tde-trinity" package used to install Trinity desktop is a meta package and does not allow uninstall. Aptitude just says it can't find the package. There is apparently no way to get rid of it other than a complete re-install of Devuan. Or maybe some sort of tedious search for all of the packages it pulls in and removing each one.

That leaves removing the nVidia drivers, which will be easier. And if that doesn't fix the problem I can go the full re-install route.

Edit: And things continue to get worse. The supposed command to remove the nVidia drivers doesn't work. Looks like it's re-install no matter what. Ugh... I guess I'll be trying an earlier version of the nVidia drivers after all this trouble.

#211 Re: Desktop and Multimedia » Random freezing on desktop » 2019-07-25 17:10:55

But I solved the problem in Windows. Just turn off "quick boot" and allow the MB and card to fully initialize and the problem goes away. Also, this machine is dual-boot, with a currently working Windows install. It works flawlessly, or as close to flawlessly as any Windows install can run. No freezing or other noticeable problems when running browsers and media players and many other tasks at the same time. Admittedly, this is using an older driver. I have not updated the driver in years. The Linux driver in the repository is probably newer and it could be that the current nVidia driver has grown more complex and error-prone with the need to support newer generation cards.

It looks like the best bet is to remove Trinity desktop first, because this is the odd thing that practically no one else has (apparently no one else on this board, anyway). Some sort of conflict could occur even if I am in Xfce rather than Trinity. If that doesn't fix it, I guess I'll go back to the OSS nouveau driver. I don't think that is suitable for actual gaming, but this is not the machine I plan to do much gaming on anymore. smile

#212 Re: Desktop and Multimedia » Random freezing on desktop » 2019-07-25 00:47:39

Well, I thought it was clear that I was using the nVidia driver since I compared it to the nVidia problems in Windows. But anyway:

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK106 [GeForce GTX 660] [10de:11c0] (rev a1)
    Subsystem: ASUSTeK Computer Inc. GK106 [GeForce GTX 660] [1043:8422]
    Kernel driver in use: nvidia
    Kernel modules: nvidia

The other cards I have are of the same generation. Well, one other machine has a GTX960 but I don't want to go disassembling machines to swap parts around. That's a considerable risk of damaging things. I guess I might install Devuan to that other machine and see if similar problems occur. But I was hoping to work out the problems on this "test" machine before installing on my other machines.

#213 Desktop and Multimedia » Random freezing on desktop » 2019-07-24 02:34:16

Micronaut
Replies: 20

My Ascii install has a strange problem. At random intervals an application I am using will freeze. The mouse does not stop moving, but the application(s) will not respond. Any sound that happens to be playing is also stopped. Fortunately, it is not permanent. The application resumes responding again after a few minutes. At first, it happened with the Firefox browser, and I suspected it was something to do with the extensions I had installed. After visiting the Mozillazine forums, I removed an extension at it seemed like the problem was gone.

But now it is occurring again, and this time not with the browser. I was looking at potential wallpapers in the Mirage image viewer and it froze. Again, the mouse did not stop working. The application simply would not respond. After a while, it returned and jumped all over the place to catch up with the mouse clicks it had been ignoring.

As I have posted elsewhere, I like to have Gkrellm on my desktop. I could see it as this happened. It did not stop updating, and it did not show any huge spike in CPU usage as some sort of loop problem might cause. When the freezing app was the browser, there was a large spike in processes. But when the image viewer was frozen, there was no spike in processes.

Now I am suspecting this has something to do with the video driver. There is a problem that occurs in Windows with nVidia drivers. The display will freeze, but only for a few seconds, and then an error is generated. "Display Driver Stopped Responding and has Recovered" is the error message. There are a number of threads about this error on various support boards out there. The recommended solution is to change the timer that triggers the error, but that just means your system freezes longer. The real solution is to make sure the card is properly initialized when loading the OS. I stopped this problem on my Windows systems by turning off "quick boot" so the BIOS had time to properly start everything. It was a frequent annoying problem, but has only hit me once or twice since making that change.

But it seems very possible that this sort of problem could be different in Linux than in Windows. Maybe the conflict can cause just a particular program to freeze instead of the whole display? Which log would I check for display driver errors?

The only other possibility I can think of is a conflict with the Trinity desktop resources. I wouldn't let it install the whole different desktop base it wanted to install. My system is still using the default desktop-base that comes with Xfce. So I would expect any problems to occur within Trinity, not Xfce. But these are very complex systems. I suppose it is very possible that some of the libraries conflict and could cause a problem like this. In which case I guess I would need to use "uninstall --purge" or something like that to get rid of everything?

#214 Re: Hardware & System Configuration » CPU microcode blacklisted by nvidia drivers » 2019-07-14 22:08:06

From what I have been reading on Slashdot, they have far fewer vulnerabilities than Intel, but not none. Broadly, they tend to have a few of the "Spectre" problems, but nothing in the "Meltdown" category, which is mostly an Intel-specific problem. Quite a bit is riding on how secure this next generation of Intel processors turns out to be.

#215 Re: Hardware & System Configuration » CPU microcode blacklisted by nvidia drivers » 2019-07-14 20:20:32

Yes, I have a very old CPU but I'm sure it has at least some vulnerabilities. There was a paper published back in the 90s describing the potential security problems with speculative execution. Apparently Intel ignored it. But the worst vulnerabilities are probably in the latest generations due to the increasing use of speculative execution and other tricks to get all that performance. It will be interesting to see what happens with their new generation of CPUs after this problem became public.

grep -R . /sys/devices/system/cpu/vulnerabilities/
/sys/devices/system/cpu/vulnerabilities/spectre_v2:Mitigation: Full generic retpoline, STIBP: disabled, RSB filling
/sys/devices/system/cpu/vulnerabilities/spec_store_bypass:Vulnerable
/sys/devices/system/cpu/vulnerabilities/mds:Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
/sys/devices/system/cpu/vulnerabilities/l1tf:Mitigation: PTE Inversion; VMX: EPT disabled
/sys/devices/system/cpu/vulnerabilities/spectre_v1:Mitigation: __user pointer sanitization
/sys/devices/system/cpu/vulnerabilities/meltdown:Mitigation: PTI

Gory details on the CPU itself:

cat /proc/cpuinfo

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping	: 11
microcode	: 0xba
cpu MHz		: 1800.000
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm kaiser tpr_shadow vnmi flexpriority dtherm
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips	: 5394.85
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping	: 11
microcode	: 0xba
cpu MHz		: 1800.000
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 2
cpu cores	: 4
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm kaiser tpr_shadow vnmi flexpriority dtherm
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips	: 5394.85
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping	: 11
microcode	: 0xba
cpu MHz		: 1800.000
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 4
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm kaiser tpr_shadow vnmi flexpriority dtherm
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips	: 5394.85
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping	: 11
microcode	: 0xba
cpu MHz		: 1800.000
cache size	: 4096 KB
physical id	: 0
siblings	: 4
core id		: 3
cpu cores	: 4
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm kaiser tpr_shadow vnmi flexpriority dtherm
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds
bogomips	: 5394.85
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

#216 Re: Hardware & System Configuration » [Solved] Grub "savedefault" not working » 2019-07-14 20:17:11

Wow, I am reluctant to use dd on a disk that has a working OS on it. Anyway, after going back and manually comparing the grub default on the new Devuan system with the one from the Mint system, I changed the parms to lower case. "saved" instead of "SAVED" and "true" instead of "TRUE". It seems to be working now. Odd that the control items are NAMED in upper case, but the parm apparently must be lower case to be recognized.

#217 Re: Hardware & System Configuration » Non-specific error message at boot from nVidia drivers » 2019-07-13 21:38:08

Hmm, some people just don't turn their computer off at night? smile

The only difference I can see is that mine has an extra "remove" line. What matters, of course, is how these lines are invoked during the boot process. Following that process is a very technical feat that I'm not sure I can figure out. I hate to the Windows-style "uninstall and reinstall" routine, but that may be my only recourse. Or just ignore the error since the drivers seem to be working fine.

#218 Re: Hardware & System Configuration » [Solved] Grub "savedefault" not working » 2019-07-13 21:25:57

"grub-editenv list" produced no output at all. Even when run in a root terminal. From what I can see about grub-editenv in the man pages, that is where the default should be saved. But it's clearly not getting saved. This was a re-install over the previous Linux (Mint 17.3) -- could differences between the different versions of grub have caused a problem?

#219 Re: Hardware & System Configuration » CPU microcode blacklisted by nvidia drivers » 2019-07-13 21:22:47

As I said, it's got one active line. And a comment that says it's not safe to allow microcode. Here is the full content:

# The microcode module attempts to apply a microcode update when
# it autoloads.  This is not always safe, so we block it by default.
blacklist microcode

#220 Re: Hardware & System Configuration » Non-specific error message at boot from nVidia drivers » 2019-07-13 01:07:59

Well, that's an interesting thought. If the modprobe.conf commands are in fact not working at all, maybe I can just comment them out and let this user-space fail-safe do the loading? What confuses me is that the message "udevd[*number*]" is always so different. Isn't that number supposed to tell you something useful about where in the boot process the error occurred? Is it really failing at wildly different points every time? Where in the boot process would this other load system be invoked? I am not familiar with the Linux boot process at such a low-level of detail.

#221 Hardware & System Configuration » CPU microcode blacklisted by nvidia drivers » 2019-07-13 01:02:21

Micronaut
Replies: 8

While researching the mysterious nvidia non-specific boot error message, I found something else annoying. The nvidia drivers install a blacklist that prevents microcode from being loaded for Intel CPUs! The file is named "intel-microcode-blacklist.conf" and it has a line that simply says "blacklist microcode" -- meaning it will block ALL microcode, I guess. Why? This is now very important with the meltdown/spectre issues. Granted, most cloud servers aren't going to be using nvidia video cards, so it's not an issue for them, but I am concerned that this might cause problems on a desktop with up-to-date kernels. Are there checks for the state of the CPU before the new security fixes are used? Or do they just assume that your Intel CPU is using the microcode that changes threading behavior?

#222 Hardware & System Configuration » [Solved] Grub "savedefault" not working » 2019-07-13 00:56:40

Micronaut
Replies: 8

It was great fun to discover Grub could be configured to save the last manual choice as the default for future boots. I used it with my Linux Mint Rosa (17.3) install and it worked fine. But now it won't work with Devuan Ascii. I can't figure out what is different. Just put:
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
in the /etc/default/grub config file and run update-grub. It worked with Mint. What is different about grub in Devuan?

#223 Hardware & System Configuration » Non-specific error message at boot from nVidia drivers » 2019-07-07 23:38:45

Micronaut
Replies: 4

Every time my Devuan Ascii system with recently installed nvidia proprietary drivers boots, I get the frankly useless "Error running install command for nvidia" message as the very first thing on the screen. Yet the driver seems to work perfectly. There are two threads I have found about this problem already. There may be more. I thought it a good idea to start a new thread because this is (hopefully) a different approach.
https://dev1galaxy.org/viewtopic.php?id=2311
https://dev1galaxy.org/viewtopic.php?pid=10922

As I said in the first thread, this looks to me like something that should have been removed being left behind by an installer.

The second thread, in the Hardware & System Configuration forums like this post, contains a suggestion to comment out a line of a config file in modprobe.d, but those files have been replaced by the install of the nvidia drivers on my system. The file with the module init commands is now named glx--nvidia-modprobe.conf and it's in the /alternatives directory instead of /etc/modprobe.d Since the original poster did not return and report his results, I can only guess if it worked. Here is the content of that file on my system.

install nvidia modprobe -i nvidia-current $CMDLINE_OPTS

install nvidia-modeset modprobe nvidia ; modprobe -i nvidia-current-modeset $CMDLINE_OPTS

install nvidia-drm modprobe nvidia-modeset ; modprobe -i nvidia-current-drm $CMDLINE_OPTS

install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-current-uvm $CMDLINE_OPTS

remove nvidia modprobe -r -i nvidia-drm nvidia-modeset nvidia-uvm nvidia

remove nvidia-modeset modprobe -r -i nvidia-drm nvidia-modeset

# These aliases are defined in *all* nvidia modules.
# Duplicating them here sets higher precedence and ensures the selected
# module gets loaded instead of a random first match if more than one
# version is installed. See #798207.
alias	pci:v000010DEd00000E00sv*sd*bc04sc80i00*	nvidia
alias	pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*	nvidia
alias	pci:v000010DEd*sv*sd*bc03sc02i00*		nvidia
alias	pci:v000010DEd*sv*sd*bc03sc00i00*		nvidia

Do any of those lines appear redundant to an expert who knows how this part of the boot process works? As I said, the generic "error running install command" message looks to me like an installer not completely removed. But I can't distinguish what all of these lines do. If not, is there anywhere else I could look for driver config commands that might be superfluous once the driver is installed?

#224 Re: Installation » Odd message on booting a new install » 2019-07-07 01:25:48

Well, it seemed to be the TDE widget, but when I removed network-manager-gnome it went away. Now I have re-installed network-manager-gnome and the little systray widget is in place. I'll not fuss about it anymore. That leaves the nvidia-driver spurious error message problem.

#225 Re: Hardware & System Configuration » Gkrellm and GkrellWeather » 2019-07-07 01:22:46

Well, it was not a permissions problem. It was a derp problem. The package maintainer did not keep the program config and the installation in sync. Once discovered, it was easily fixed with a manual edit. The GrabWeather script is installed to /usr/share/gkrellm/GrabWeather but the config file tells the program to run it from /usr/local/share/gkrellm/GrabWeather -- resulting in a fail. Despite the bug being reported more than a year ago, it still has not been fixed in the repository. See: https://bugs.debian.org/cgi-bin/bugrepo … bug=895851

Board footer

Forum Software