Bug 29693

Summary: xosview not showing all cpus (just 1)
Product: Mageia Reporter: Hoyt Duff <hoyt>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, rolfpedersen
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: xosview-1.22-1.mga8.src.rpm CVE:
Status comment:

Description Hoyt Duff 2021-11-24 18:02:47 CET
Description of problem:
I have an Intel i7 CPU, 4 cores, 8 threads. Previously (Mageia7), xosview would show all 8 threads with the command

/usr/bin/xosview "xosview*cpuFormat: all"

and now it does not with the error message 

"Ignoring unknown option 'xosview*cpuFormat: all'."


Version-Release number of selected component (if applicable):
xosview-1.22-1.mga8

How reproducible:


Steps to Reproduce:
1. urpmi xosview
2. /usr/bin/xosview "xosview*cpuFormat: all"
3. Error Message: Ignoring unknown option 'xosview*cpuFormat: all'.

cpuFormat does appear in the man page as an option.

This appears to have been an issue many years ago. This is all I could discover.

https://forums.opensuse.org/showthread.php/492271-xosview-not-showing-all-cpus-(just-1)

https://sourceforge.net/p/xosview/discussion/104955/thread/801d7911/
Comment 1 Rolf Pedersen 2021-11-24 18:38:21 CET
Hi,
I see the man page includes:

+cpus
              Force the display of all CPUs in the system. This option is equivalent to setting xosview*cpuFor‐
              mat to "all".

and running

/usr/bin/xosview "xosview*cpuFormat: all"

here does give the Error message you report, only one CPU displayed, while

/usr/bin/xosview +cpus

displays all 16 threads.

CC: (none) => rolfpedersen

Comment 2 Dave Hodgins 2021-11-24 18:49:19 CET
"xosview*cpuFormat: all" is not a valid command line option.

From "man xosview" the X RESOURCES specifications go in a file. From the man
page ...
"They can be overridden in the usual places (/usr/lib/X11/app-defaults/XOsview, $HOME/.Xdefaults, etc.)."

If you run xosview without any options, does it display all cpus?

CC: (none) => davidwhodgins

Comment 3 Hoyt Duff 2021-11-24 18:57:59 CET
Running xosview without any options does indeed display all cpus as does "xosview +cpus", leaving me puzzled as to the change but grateful for your help. 

Thank you both. This bug report can be closed.

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME