LinuxQuestions.org
Help answer threads with 0 replies.
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-15-2022, 04:16 PM   #316
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320

That's the safest solution. I'm glad to hear that my failure to find a better way is echoed by the f2fs group, who work much more closely with these questions than I do in inxi.
 
1 members found this post helpful.
Old 01-19-2022, 06:32 PM   #317
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
The various corner case partition issues that were spotted here, and a few other small fixes, are now out in inxi 3.3.12.
 
4 members found this post helpful.
Old 01-19-2022, 07:07 PM   #318
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,439

Rep: Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186Reputation: 4186
Quote:
Originally Posted by h2-1 View Post
The various corner case partition issues that were spotted here, and a few other small fixes, are now out in inxi 3.3.12.
And, thanks to you (& Patrick of course), we have it
Code:
Wed Jan 19 18:18:02 UTC 2022
ap/inxi-3.3.12_1-noarch-1.txz:  Upgraded.
 
2 members found this post helpful.
Old 02-10-2022, 07:00 PM   #319
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
I should probably start a new thread, but I'm getting the finishing touches done on a similar full refactor, to -G / Graphics this time.

Fairly stable as of today I think, features significant inroads to Wayland support, and almost complete data/output abstraction, and ability to switch between data sources seamlessly.

pinxi -U then pinxi -Gay1 if you want to check the new stuff out.

Monitors now show as -Gxx, and -Ga is much more focused on admin type data for -G.

Your output for monitors will be significantly enhanced if you install the perl module Parse::EDID which is roughly what gave me a lot of the missing data for wayland, and a lot of new data for X.org desktops.

It has some fallbacks, if neither that perl module or read-edid/parse-edid are present, it tries a very basic 'strings' type read of the edid binary blob, which actually results in ok results for monitor model in many cases, at least, in some cases. But Parse::EDID gives really good results. Note that not all monitors have edid data, I was fortunate in my tests to have a good test setup with 2 monitors, one with no edid, one with, which let me debug a lot of missing data issues.

The initial plan, now largely working, was to get at least one wayland compositor reporting the required data, then building up the internal logic to handle these data source changes, then start adding compositors as I learn, or they make, the tools required to get some basic data. Note that most monitors and displays should have fairly complete data for single monitor systems, and will be missing the position data, which has to come from the compositor (or xrandr for xorg), as long as Parse::EDID is available. I tried to find a way to do this without that tool, but it just wasn't possible, so grudgingly, I'm going to recommend to maintainers and packagers that they install a dependency to get full support for this feature, though it's not required, and a lot of the data will still work ok.

Sway was a very pleasant surprise, it wasn't random picking it as the first wayland compositor to create the core logic with, as with i3, it's apparently quite well done, and feature complete. There was talk of wlroot, sort of the core logic used by many compositors now, also having wlrandr, but I haven't seen any sign that project took on a life of its own after the initial talk, but that would have been an ideal solution to trying to handle all those compositors that popup every time someone feels like making another one.

This example is with Sway and Xwayland, which is also the only apparently complete compositor/tools I am aware of so far for wayland, with swaymsg giving quite good output data, sort of like xrandr. If you know of comparable tools for gnome (or any other wayland compositor with cli tools to get data, particularly KDE/kwin_wayland), I haven't been able to find anything, odd given that ubuntu/debian/fedora are shipping gnome with wayland as default, but unless I've missed something, still no cli tools to get this sort of data. Main thing I need per compositor is a cli way to determine it's x / y position if > 1 monitors, most of the rest of the data can come from /sys now, if you have Parse::EDID installed.

Code:
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: Lenovo driver: i915 v: kernel ports: active: LVDS-1,VGA-1
    empty: DP-1, DP-2, DP-3, HDMI-A-1, HDMI-A-2, HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:0126 class-ID: 0300
  Device-2: Chicony Lenovo Integrated Camera (0.3MP) type: USB driver: uvcvideo
    bus-ID: 1-1.6:4 chip-ID: 04f2:b217 class-ID: 0e02
  Display: wayland server: Xwayland v: 21.1.4 compositor: sway v: 1.6.1
    driver: i915 d-rect: 2390x768 display-ID: 1
  Monitor-1: LVDS-1 pos: right model: Seiko Epson 0x3047 built: 2010
    res: 1366x768 hz: 60 dpi: 125 gamma: 1.2 scale: 1 size: 277x156mm (10.9x6.1")
    diag: 318mm (12.5") ratio: 16/9 modes: 1366x768
  Monitor-2: VGA-1 pos: primary,left res: 1024x768 hz: 60 scale: 1 size: N/A
    modes: max: 1024x768 min: 640x480
  Message: Wayland EGL data currently not available.
Like -C, this started with a seemingly innocent feature request, but morphed into a full refactor and rewrite, very similar to the CPU stuff, with a huge improvement in output and reliability.

Sure to be some bugs and failures, and if no /sys/class/drm data, then not much new data will be there, but what is found is more reliable and better organized.

Also can get monitor data out of display now, in console, that's totally new, that was a sort of result of the initial wayland stuff, which enabled a lot of new output features.

Not as intrinsically interesting as cpu stuff unless you are really into the graphics part, but still was a big fix, and with cpu, probably the two oldest, and worst, parts of inxi, with the most legacy carryover logic, which is now largely completely gone. The less said about total lines of code required to achieve these results, the better, sigh...

And yes, Xvesa support was enhanced quite a bit as well, that was useful to present several possible ways of creating the display, Xorg, Xvesa, Wayland, that helped create the abstraction rules, and added some nice features for TinyCore and anyone else who uses Xvesa.

Last edited by h2-1; 02-10-2022 at 07:32 PM.
 
3 members found this post helpful.
Old 02-12-2022, 10:19 AM   #320
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 328

Rep: Reputation: 217Reputation: 217Reputation: 217
You're timing could have been a bit better as I think the new slackware release is keeping everyone busy.

Found a bug running it on a rpi and macos

Code:
$ /iso/pinxi/pinxi --version | grep ^pinxi
pinxi 3.3.12-25 (2022-02-11)

$ /iso/pinxi/pinxi -Gazy1
Can't use an undefined value as an ARRAY reference at /iso/pinxi/pinxi line 14799.
Here's an sdiff before and after adding the Parse::EDID module

Code:
# /iso/pinxi/pinxi --version | grep ^pinxi
pinxi 3.3.12-25 (2022-02-11)

# sdiff -w 180  m-Gazy1.edid-pre m-Gazy1.edid-post
Graphics:                                                                               Graphics:
  Device-1: AMD Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]                             Device-1: AMD Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]
    vendor: PC Partner Limited                                                              vendor: PC Partner Limited
    driver: amdgpu                                                                          driver: amdgpu
      v: kernel                                                                               v: kernel
      alternate: radeon                                                                       alternate: radeon
    pcie:                                                                                   pcie:
      gen: 3                                                                                  gen: 3
      speed: 8 GT/s                                                                           speed: 8 GT/s
      lanes: 8                                                                                lanes: 8
      link-max:                                                                               link-max:
        lanes: 16                                                                               lanes: 16
    ports:                                                                                  ports:
      active: DP-1,DVI-I-1                                                                    active: DP-1,DVI-I-1
      empty: DP-2,HDMI-A-1                                                                    empty: DP-2,HDMI-A-1
    bus-ID: 02:00.0                                                                         bus-ID: 02:00.0
    chip-ID: 1002:679a                                                                      chip-ID: 1002:679a
    class-ID: 0300                                                                          class-ID: 0300
  Display:                                                                                Display:
    server: X.Org                                                                           server: X.Org
      v: 1.20.14                                                                              v: 1.20.14
    compositor: kwin_x11                                                                    compositor: kwin_x11
    driver:                                                                                 driver:
      loaded: amdgpu,ati                                                                      loaded: amdgpu,ati
      unloaded: modesetting,vesa                                                              unloaded: modesetting,vesa
      alternate: fbdev                                                                        alternate: fbdev
    display-ID: :0                                                                          display-ID: :0
    screens: 1                                                                              screens: 1
    Screen-1: 0                                                                             Screen-1: 0
      s-res: 4480x1440                                                                        s-res: 4480x1440
      s-dpi: 96                                                                               s-dpi: 96
      s-size: 1185x381mm (46.7x15.0")                                                         s-size: 1185x381mm (46.7x15.0")
      s-diag: 1245mm (49")                                                                    s-diag: 1245mm (49")
      Monitor-1: DVI-I-0                                                                      Monitor-1: DVI-I-0
        mapped: DVI-I-1                                                                         mapped: DVI-I-1
        pos: right                                                                              pos: right
        model: 8LQ                                                                    |         model: DELL 2405FPW
                                                                                      >         serial: <filter>
                                                                                      >         built: 2006
        res: 1920x1200                                                                          res: 1920x1200
        hz: 60                                                                                  hz: 60
        dpi: 94                                                                                 dpi: 94
                                                                                      >         gamma: 1.2
        size: 519x324mm (20.4x12.8")                                                            size: 519x324mm (20.4x12.8")
                                                                                      >         diag: 616mm (24.2")
                                                                                      >         ratio: 16/10
        modes:                                                                                  modes:
          max: 1920x1200                                                                          max: 1920x1200
          min: 720x400                                                                            min: 720x400
      Monitor-2: DisplayPort-0                                                                Monitor-2: DisplayPort-0
        mapped: DP-1                                                                            mapped: DP-1
        pos: primary,left                                                                       pos: primary,left
        model: DELL U2711                                                                       model: DELL U2711
                                                                                      >         serial: <filter>
                                                                                      >         built: 2012
        res: 2560x1440                                                                          res: 2560x1440
        hz: 60                                                                                  hz: 60
        dpi: 109                                                                                dpi: 109
                                                                                      >         gamma: 1.2
        size: 597x336mm (23.5x13.2")                                                            size: 597x336mm (23.5x13.2")
                                                                                      >         diag: 685mm (27")
                                                                                      >         ratio: 16/9
        modes:                                                                                  modes:
          max: 2560x1440                                                                          max: 2560x1440
          min: 720x400                                                                            min: 720x400
  OpenGL:                                                                                 OpenGL:
    renderer: AMD Radeon HD 7900 Series (TAHITI DRM 3.42.0 5.15.19 LLVM 13.0.0)             renderer: AMD Radeon HD 7900 Series (TAHITI DRM 3.42.0 5.15.19 LLVM 13.0.0)
    v: 4.6 Mesa 21.3.5                                                                      v: 4.6 Mesa 21.3.5
    direct render: Yes                                                                      direct render: Yes
And on an Asus K53e that gives a weird monitor model without Parse::EDID

Code:
# /iso/pinxi/pinxi --version | grep ^pinxi
pinxi 3.3.12-25 (2022-02-11)

# sdiff -w 170 k53e-Gazy1.edid-pre k53e-Gazy1.edid-post 
Graphics:                                                                               Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics                Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: ASUSTeK                                                                         vendor: ASUSTeK
    driver: i915                                                                            driver: i915
      v: kernel                                                                               v: kernel
    ports:                                                                                  ports:
      active: LVDS-1                                                                          active: LVDS-1
      empty: DP-1,HDMI-A-1,VGA-1                                                              empty: DP-1,HDMI-A-1,VGA-1
    bus-ID: 00:02.0                                                                         bus-ID: 00:02.0
    chip-ID: 8086:0116                                                                      chip-ID: 8086:0116
    class-ID: 0300                                                                          class-ID: 0300
  Device-2: IMC Networks UVC VGA Webcam                                                   Device-2: IMC Networks UVC VGA Webcam
    type: USB                                                                               type: USB
    driver: uvcvideo                                                                        driver: uvcvideo
    bus-ID: 1-1.2:3                                                                         bus-ID: 1-1.2:3
    chip-ID: 13d3:5710                                                                      chip-ID: 13d3:5710
    class-ID: 0e02                                                                          class-ID: 0e02
    serial: <filter>                                                                        serial: <filter>
  Display:                                                                                Display:
    server: X.org                                                                           server: X.org
      v: 1.20.14                                                                              v: 1.20.14
      with: Xwayland                                                                          with: Xwayland
        v: Project                                                                              v: Project
    driver:                                                                                 driver:
      loaded: modesetting                                                                     loaded: modesetting
      unloaded: vesa                                                                          unloaded: vesa
      alternate: fbdev                                                                        alternate: fbdev
    tty: 200x61                                                                             tty: 200x61
    Monitor-1: LVDS-1                                                                       Monitor-1: LVDS-1
      model: ^X&PTXV~P0$05XLG Display                                               |         built: 2010
      size-res: N/A in console                                                      |         res: 1366x768
                                                                                    >         dpi: 101
                                                                                    >         gamma: 1.2
                                                                                    >         size: 344x194mm (13.5x7.6")
                                                                                    >         diag: 395mm (15.5")
                                                                                    >         ratio: 16/9
      modes: 1366x768                                                                         modes: 1366x768
  Message: GL data unavailable in console for root.                                       Message: GL data unavailable in console for root.
 
1 members found this post helpful.
Old 02-12-2022, 02:11 PM   #321
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Congratulations on the new slackware by the way, I should have said that, I just realized it had come out.

Timing is hard, this graphics stuff took a lot longer to get working than I'd hoped, the state of wayland tools, if you can even use such a term, is, outside of swaymsg, dismal, so I've had to add more robust data tools, which is why Parse::EDID was a bitter pill I had to swallow, that is the only way to get consistent data across platforms and across display protocols, that works just as well for console mode out of X as it does in wayland.

The string parsing method actually worked super well on all my monitors and systems, at least all with edid data, but of course, as soon as some other people tested it, that string method didn't work very well. I've added filters in it, the assumption being if a certain set of characters is in the string, that data is not useful. The annoying thing is for me, after stripping off the non printing characters, the data was actually very good, at least for monitor name, but it's not useful if it corrupts output for some systems. I'll add more filters, it looks like ^ and & are the signs there, the basic rule there is if contains any one of a known set of bad characters, it's suspect so don't use the data.

pinxi -Ga --dbg 44

will show the raw edid data, most of it's non printing characters.

I did a small change which may have resulted in some of that issue, before I was only cleaning out non printing characters at start of line, the change was to clean them all out. I've never seen an example with linebreaks, but I wonder if by cleaning out all of them, inxi somehow changed them to be linebreaks, that's possible.

Many thanks, this stuff is raw, I really only got enough working a day or two ago to present it in public. Sadly as always, it's a given that my small data sample for these things is not adequate given the inevitable variations to be found between systems.

line 14799. was something left over I forgot to remove, was an earlier method I was trying, and that was the cleanup for the earlier method. I don't actually even understand why that tripped an error, since you do in fact have an xorg server, that was where the error was, the server / server version block.

It's possible that the Xorg version string differed, might be that, which would have led to an empty value where it's always full in my tests.

Yes, I see something there:

What is:
Xwayland -version

and:
Xorg -version

My test systems all return:

Code:
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
and

Code:
The X.Org Foundation Xwayland Version 21.1.4 (12101004)
X Protocol Version 11, Revision 0
It looks like your Xwayland string is something like this:

The X.Org Foundation Xwayland Project Version 21.1.4

Maybe. inxi never grabbed xwayland data before, but for wayland support it's of course important to know the xwayland version, since true wayland systems don't run x.org at all, just xwayland.

inxi shows xwayland if found as well if in console, since it has no way of knowing if it's a wayland system or not in that case. Your xwayland must have a different syntax then.

Last edited by h2-1; 02-12-2022 at 08:28 PM.
 
1 members found this post helpful.
Old 02-12-2022, 03:08 PM   #322
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Oh, sorry, I realized that the sdiff thing must be producing the empty lines. I've fixed the bug that was exposed on rpi, I forgot to ask someone to test on rpi for me, slipped my mind, thanks for thinking of that one. The mac os and pi I assume had similar issues there.

Still don't understand why it failed to deliver a result and thus triggered that glitch, but that was just a line of leftover code which served no purpose anyway, but it puzzles me slightly how that could have been triggered at all.
 
1 members found this post helpful.
Old 02-12-2022, 04:07 PM   #323
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 328

Rep: Reputation: 217Reputation: 217Reputation: 217
The line 14799 issue was just on Raspbian Buster(headless) and Mojave but seems to be fixed now with pinxi 3.3.12-26 (2022-02-12).

Code:
$ uname -a
Linux rasp3 5.10.63-v7+ #1496 SMP Wed Dec 1 15:58:11 GMT 2021 armv7l GNU/Linux

$ /iso/pinxi/pinxi -Gazy1
Graphics:
  Device-1: bcm2708-fb
    driver: bcm2708_fb
      v: kernel
    bus-ID: N/A
    chip-ID: brcm:soc
    class-ID: fb
  Device-2: bcm2835-hdmi
    driver: N/A
    bus-ID: N/A
    chip-ID: brcm:soc
    class-ID: hdmi
  Display:
    server: No display server data found. Headless machine?
    tty: 200x61
  Message: Unable to show GL data. Required tool glxinfo missing.
Code:
# uname -rs
Darwin 18.7.0

# /iso/pinxi/pinxi -Gazy1
Graphics:
  Message: No device data found.
  Display:
    server: No display server data found. Headless machine?
    tty: 200x61
  Message: Unable to show GL data. Required tool glxinfo missing.
 
Old 02-12-2022, 04:09 PM   #324
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 328

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by h2-1 View Post
Oh, sorry, I realized that the sdiff thing must be producing the empty lines. I've fixed the bug that was exposed on rpi, I forgot to ask someone to test on rpi for me, slipped my mind, thanks for thinking of that one. The mac os and pi I assume had similar issues there.

Still don't understand why it failed to deliver a result and thus triggered that glitch, but that was just a line of leftover code which served no purpose anyway, but it puzzles me slightly how that could have been triggered at all.
Np, I was just trying to show the differences with and without the Parse:EDID plugin installed. I can give you the output separately if needed.
 
Old 02-12-2022, 05:26 PM   #325
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
What about the Xwayland -version output?

That seems to be different on your setups, at least the one that had xwayland in the results.

Glad there wasn't some string type newline corruption however in the basic edid binary parsing, otherwise I'd have to debate removing that as the last fallback for monitor model info.

Thanks for confirming the other parts, I see what happened now on the headless systems, or the systems pinxi perceived as possibly headless, that was the single scenario I didn't test, when there was no data at all for server, no xorg, no xvesa, and no xwayland, that explains it. But that's removed and was not needed anyway, so glad you caught that one, thanks.

I'm tracking down the options for wayland resolution and screen position in > 1 monitor setups, and think I'll go with the really bad weston-info output, which has also been split, with I do not know what degree of success, currently in no repo I found, to standalone wayland-info. That also, with some convoluted parsing (because that's not meant for machine parsing as far as I can tell), I can work up into the barebones data needed, without having to wrestle with random compositor tools that usually don't exist anyway.

I'm really glad I held off for 10 years plus on trying to support wayland, even at this relatively late stage, the stuff is not good to put it mildely, except sway, which for some reason seem to have an actual idea how to program and develop software, and did a really good job, swaymsg outputs in either human readable or json, swaymsg is the only tool I've found I'd consider ready for prime time in the wayland space. They also created the wayland backend wlroots, with its attendant but low quality wlr-randr tool, which also gives barebones output which is sort of usable.

Last edited by h2-1; 02-12-2022 at 05:29 PM.
 
1 members found this post helpful.
Old 02-12-2022, 06:39 PM   #326
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 328

Rep: Reputation: 217Reputation: 217Reputation: 217
This is from the K53e with Wayland running.

I was just testing building sway in a VM but had issues with no cursor. Might have to look into it further and try it on a physical machine.

I'll see about testing on the other older hardware when I can too.

Code:
# Xwayland -version
Slackware Linux Project Xwayland Version 21.1.4 (12101004)
X Protocol Version 11, Revision 0
Build ID: xorg-server-xwayland 21.1.4-1

# Xorg -version

X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
Build Operating System: Slackware 15.0 Slackware Linux Project
Current Operating System: Linux k53e.int 5.15.19 #1 SMP PREEMPT Wed Feb 2 01:50:51 CST 2022 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-generic-5.15.19 root=UUID=bd3be2d5-ff20-45a8-8758-e1be914a2c54 ro quiet splash
Build Date: 26 December 2021  04:51:07PM
 
Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Here's a 32bit P4 with slackware 15. Left=no perl EDID module, Right=with perl EDID module

Code:
# sdiff -w 160 p4dell-Gazy1.txt.pre p4dell-Gazy1.txt.post
Graphics:                                                                       Graphics:
  Device-1: Intel 82865G Integrated Graphics                                      Device-1: Intel 82865G Integrated Graphics
    vendor: Dell Dimension 3000                                                     vendor: Dell Dimension 3000
    driver: i915                                                                    driver: i915
      v: kernel                                                                       v: kernel
      alternate: intelfb                                                              alternate: intelfb
    ports:                                                                          ports:
      active: VGA-1                                                                   active: VGA-1
      empty: none                                                                     empty: none
    bus-ID: 00:02.0                                                                 bus-ID: 00:02.0
    chip-ID: 8086:2572                                                              chip-ID: 8086:2572
    class-ID: 0300                                                                  class-ID: 0300
  Display:                                                                        Display:
    server: X.org                                                                   server: X.org
      v: 1.20.14                                                                      v: 1.20.14
      with: Xwayland                                                                  with: Xwayland
        v: Project                                                                      v: Project
    driver:                                                                         driver:
      loaded: i915                                                                    loaded: i915
        note: n/a (using gpu driver)                                                    note: n/a (using gpu driver)
    tty: 230x61                                                                     tty: 230x61
    Monitor-1: VGA-1                                                                Monitor-1: VGA-1
      model: 2F                                                               |       model: Optiquest V55
                                                                              >       serial: <filter>
                                                                              >       built: 1998
      size-res: N/A in console                                                        size-res: N/A in console
                                                                              >       gamma: 1.12
                                                                              >       diag: 350mm (13.8")
                                                                              >       ratio: 4/3 or 5/4
      modes:                                                                          modes:
        max: 1280x1024                                                                  max: 1280x1024
        min: 720x400                                                                    min: 720x400
  Message: GL data unavailable in console for root.                               Message: GL data unavailable in console for root.
Slackware 14.2 32bit XP1800+. No difference in output with EDID module.

Code:
Graphics:
  Device-1: AMD 3D Rage PRO AGP 2X
    driver: N/A
      alternate: atyfb
    bus-ID: 01:00.0
    chip-ID: 1002:4742
    class-ID: 0300
  Display:
    server: X.org
      v: 1.18.3
    driver:
      loaded: N/A
    tty: 230x61
  Message: GL data unavailable in console for root.
 
Old 02-12-2022, 08:22 PM   #327
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Oh, great, thanks, I had to redo the Xwayland version info, which isn't a surprise, I have to treat x server versioning differently in inxi than I do with other application version numbers because of these string variances.

Since that variation could well occur anywhere, I've used a more reliable method to grab the version string now, that's in pinxi.

I'm glad this one didn't make it into the new Slackware, lol, since inxi 3.3.12 doesn't have xwayland data.

note also I'm redoing the -Sxxx desktop/window manager data, which because wayland compositors are window managers, I had to pretty much totally redo internally, so I just finished that off. I'm hoping I didn't break some legacy wm handling, which is possible, I'll have to give those a recheck on my wm vms.

Sway in vm had the same issue for me, no mouse, I just used keyboard controls to do it, actually I had partial mouse, but no cursor, so I have to sort of guess where the mouse cursor is.

I ended up doing a mixture of live usb boot for 2 wayland isos and vm testing. My fedora gnome vm wouldn't even start wayland in vm at all, that one only works if I put it on a usb stick and boot it on a machine.

While researching this, I did find mention that wayland has issues with the way vms create screens, and one of the symptoms is that mouse stuff doesn't work right, that may be why fedora decided to just disable the vm load of wayland completely, with no way to select that option that I could find. Wayland is still very very beta, very sketchy. sway is the only one I've seen so far that feels 'done', and 'non-beta', but I haven't actually used it for anything but testing so can't say if it actually is ready for real use or not.

Xwayland version should work fine now.

This one: model: 2F is the risk of having the fallback to the binary string parsing for the edid blob, I've seen that type of result too in testing, and is why I'm debating if I should just dump it as a fallback. The neat thing about it is when it works you get your monitor model string reasonably right, with no dependencies to install, the bad thing is, sometimes the string is partial, incomplete, or gibberish. That fallback may have to go, though strings has worked quite well for years for SysVinit version numbers. But I'm not using strings. Maybe I should try that instead, I was just doing a direct binary perl read of the file.
 
1 members found this post helpful.
Old 02-12-2022, 08:35 PM   #328
JayByrd
Member
 
Registered: Aug 2021
Location: Seattle, WA
Distribution: Slackware
Posts: 302

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
Looking good, h2!
Code:
~/tmp/inxi$./pinxi --version
pinxi 3.3.12-243 (2022-02-10)

~/tmp/inxi$./pinxi -Gay1
Graphics:
  Device-1: NVIDIA G71GL [Quadro FX 3500]
    driver: nvidia
      v: 304.137
      alternate: nvidiafb,nouveau
    bus-ID: 07:00.0
    chip-ID: 10de:029d
    class-ID: 0300
  Display:
    server: X.Org
      v: 1.18.3
    compositor: xfwm
      v: 4.12.3
    driver:
      loaded: nvidia
    display-ID: :0.0
    screens: 1
    Screen-1: 0
      s-res: 1024x768
      s-dpi: 96
      s-size: 271x203mm (10.7x8.0")
      s-diag: 339mm (13.3")
      Monitor-1: DVI-I-0
        res: 1024x768
        hz: 60
        size: N/A
  OpenGL:
    renderer: Gallium 0.4 on llvmpipe (LLVM 3.8 128 bits)
    v: 3.3 Mesa 11.2.2
    compat-v: 3.0
    direct render: Yes
Note: If the "s-size" refers to the physical size of the monitor, then it's a little off, as mine is about 14.75" x 12". (If that represents some other quantity, please ignore. )

Last edited by JayByrd; 02-12-2022 at 08:38 PM. Reason: 2nd thoughts.
 
Old 02-12-2022, 09:27 PM   #329
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
The terminology is slightly confusing, the 'Screen-1:' item is referring to an X.org 'Screen', that 'screen' is what controls the monitors within it. The dimensions there are what xorg 'thinks' or 'believes' about the space it has to work with, which is composed of one or more monitors, arranged in a rectangular grid, in your case, that grid is composed of one monitor. I have also noticed that xorg considers it's 'screen' to often have slightly different size than the actual monitor screen.

In Xorg, the hierarchy is this, if I get it right:

Display, only 1 > Screens, 1 or more > each screen > monitors, 1 or more.

Some may recall setting up dual monitors as 1 per xorg screen, though that's not common now, very rate I believe.

Wayland has no 'screens', it has a display, which I 'believe' is a 'seat', though I"m not totally sure about that, wayland docs are somewhat dismal and hard to really find clearly stated, that display, or 'seat', again, I may be wrong on the 'seat' thing, but I think that's what it refers to, controls one or more monitors, so they got rid of the 'screen' part of that system in wayland. That part I am sure about because I saw that documented in black and white.

That is why 'screen' disappears for wayland displays, by the way, and you only get Display: with monitors.

JayByrd, if you install Parse::EDID perl module, you may get a lot more monitor data, unless it has no EDID, then you won't get any more.

the direct cpan way to install modules is:

as root, or sudo:

install make, first of all, make sure you have make on the system

then:

sudo cpan App::cpanminus
then
sudo cpanm Parse::EDID

if it complains about missing local lib, you would need to install that module first:
local::lib

Only do this if Parse::EDID is not packaged,however.

I think if you start out making sure you have make and local::lib installed, the install should 'just work', and I found that each time it failed, it made no difference, I'd install the missing thing, then run the cpanm Parse::EDID again, until it worked.

Last edited by h2-1; 02-13-2022 at 01:07 AM.
 
1 members found this post helpful.
Old 02-13-2022, 04:19 PM   #330
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 328

Rep: Reputation: 217Reputation: 217Reputation: 217
I see you fixed the "line 15080" error that creeped in (with no EDID module installed) in -28 before I could get around to posting.

You might be interested to know that that error didn't show up on slackware 11 with either 2.4 or 2.6 kernels. Will see about the SUN box yet...

I tried a couple of different display controllers for the VM, but didn't seem to make any difference with Sway.

Here's updated output on the K53e with -28. Noticed the output changes depending on what state the display(s) are in. (on/blank/sleep)

## NO EDID module (via ssh)
Code:
# time /iso/pinxi/pinxi -Gazy1
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: ASUSTeK
    driver: i915
      v: kernel
    ports:
      active: none
      off: LVDS-1
      empty: DP-1,HDMI-A-1,VGA-1
    bus-ID: 00:02.0
    chip-ID: 8086:0116
    class-ID: 0300
  Device-2: IMC Networks UVC VGA Webcam
    type: USB
    driver: uvcvideo
    bus-ID: 1-1.2:3
    chip-ID: 13d3:5710
    class-ID: 0e02
    serial: <filter>
  Display:
    server: X.org
      v: 1.20.14
      with: Xwayland
        v: 21.1.4
    compositor: kwin_wayland
    driver:
      loaded: modesetting
      unloaded: vesa
      alternate: fbdev
    tty: 200x61
  Message: GL data unavailable in console for root.


real    0m0.493s
user    0m0.390s
sys     0m0.103s
And with (from within kde)
Code:
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: ASUSTeK
    driver: i915
      v: kernel
    ports:
      active: LVDS-1
      empty: DP-1,HDMI-A-1,VGA-1
    bus-ID: 00:02.0
    chip-ID: 8086:0116
    class-ID: 0300
  Device-2: IMC Networks UVC VGA Webcam
    type: USB
    driver: uvcvideo
    bus-ID: 1-1.2:3
    chip-ID: 13d3:5710
    class-ID: 0e02
    serial: <filter>
  Display:
    server: X.org
      v: 1.20.14
    compositor: kwin_wayland
    driver:
      loaded: modesetting
      unloaded: vesa
      alternate: fbdev
    display-ID: :1
    screens: 1
    Screen-1: 0
      s-res: 1366x768
      s-dpi: 96
      s-size: 361x203mm (14.2x8.0")
      s-diag: 414mm (16.3")
      Monitor-1: XWAYLAND0
        mapped: LVDS-1
        built: 2010
        res: 1366x768
        hz: 60
        dpi: 102
        gamma: 1.2
        size: 340x190mm (13.4x7.5")
        diag: 395mm (15.5")
        ratio: 16/9
        modes: 1366x768
  OpenGL:
    renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2)
    v: 3.3 Mesa 21.3.5
    compat-v: 3.0
    direct render: Yes

Last edited by fourtysixandtwo; 02-13-2022 at 04:23 PM.
 
  


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
pinxi/inxi huge BSD updates, testers? h2-1 *BSD 0 03-08-2021 11:54 PM
Testersfeedback for new pinxi/inxi feature -E/--bluetooth h2-1 Slackware 2 01-29-2021 06:53 PM
Huge inxi/pinxi upgrade, new features, Logical volumes, raid rewrite, beta testers? h2-1 Slackware 12 12-17-2020 05:04 PM
Beta testers for Perl inxi requested h2-1 Slackware 147 12-14-2020 09:00 PM

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

All times are GMT -5. The time now is 08:49 PM.

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