Askannz / gaming-flightcheck

MIT License
8 stars 1 forks source link

Some executables not detected #5

Open tuxayo opened 5 years ago

tuxayo commented 5 years ago

Xubuntu 18.04 with default drivers.

/t/gaming-flightcheck ❯❯❯ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:15.0 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Serial IO I2C Controller #0 (rev 31)
00:15.1 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Serial IO I2C Controller #1 (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:16.3 Serial controller: Intel Corporation 100 Series/C230 Series Chipset Family KT Redirection (rev 31)
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #2 (rev f1)
00:1c.2 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #3 (rev f1)
00:1c.4 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #5 (rev f1)
00:1f.0 ISA bridge: Intel Corporation CM238 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (5) I219-LM (rev 31)
01:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
/t/gaming-flightcheck ❯❯❯ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
[...]
0x144 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x145 32 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None

/t/gaming-flightcheck ❯❯❯ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary (normal left inverted right x axis y axis)
   1920x1080     60.01 +  60.01    59.97    59.96    59.93    48.01  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
[...]
   720x400       70.08  
HDMI-3 disconnected (normal left inverted right x axis y axis)
/t/gaming-flightcheck ❯❯❯ vulkaninfo
===========
VULKAN INFO
===========

Vulkan Instance Version: 1.1.70

Cannot create Vulkan instance.
/build/vulkan-UL09PJ/vulkan-1.1.70+dfsg1/demos/vulkaninfo.c:768: failed with VK_ERROR_INCOMPATIBLE_DRIVER
/t/gaming-flightcheck ❯❯❯ lsb_release -a                                                                                                                                               ✘ 255 
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:    18.04
Codename:   bionic
/t/gaming-flightcheck ❯❯❯ hostnamectl
   Static hostname: another-laptop
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: 4ab61b920d2f40a0bd382943fa7715cf
           Boot ID: 58451f63ebbd4b95aa18eb033ffa5352
  Operating System: Ubuntu 18.04.2 LTS
            Kernel: Linux 4.15.0-50-generic
      Architecture: x86-64
/t/gaming-flightcheck ❯❯❯ ./print_system_info.py
ERROR : distribution detection : no distribution name found

Distribution : 

GPU list :

OpenGL :
    Renderer: 
    OpenGL version: 
    OpenGL vendor version: 

Available CPU governors: performance/powersave
Current CPU governor: powersave

System file limit : 1048576

Nvidia Page Attribute Table usage enabled : no

PRIME Sync : supported on 0 monitor(s), enabled on 0

Vulkan :
    libvulkan present :
        32-bit : no
        64-bit : yes
    Available ICDs :
    Extensions :

Packages checking is not supported for this distribution.

The full system info cannot be printed because some executables are missing. Here is the list of executables this tool uses :

- ldconfig (installed)
- lspci (not installed)
- glxinfo (not installed)
- xrandr (not installed)
- vulkaninfo (not installed)
- either lsb_release or hostnamectl (not installed)

Please install the packages providing those executables and run the program again.
Askannz commented 5 years ago

Odd. Do you use an alternative shell, such as fish ? Also, what happens if you run which xrandr, for instance ?

tuxayo commented 5 years ago

what happens if you run which xrandr, for instance ?

/t/gaming-flightcheck ❯❯❯ which xrandr /usr/bin/xrandr

tuxayo commented 5 years ago

Odd. Do you use an alternative shell, such as fish ?

indeed!

I use Zsh with the Prezto config https://github.com/sorin-ionescu/prezto (Prezto shouldn't matter I guess)

Askannz commented 5 years ago

Is the bash executable in your $PATH ? Try the command which bash.

tuxayo commented 5 years ago

Yes it is.

~ ❯❯❯ which bash
/bin/bash
~ ❯❯❯ 

Tested with latest version (67cdf8757ad7af8fd00cb64346ac6d6ff98270be) and bash -c

/t/gaming-flightcheck ❯❯❯ bash -c "./print_system_info.py"
ERROR : distribution detection : no distribution name found

Distribution : 

GPU list :

OpenGL :
    Renderer: 
    Vendor: 
    OpenGL version: 
    OpenGL vendor version: 

Available CPU governors: performance/powersave
Current CPU governor: powersave

System file limit : 1048576

Nvidia Page Attribute Table usage enabled : no

PRIME Sync : supported on 0 monitor(s), enabled on 0

Vulkan :
    libvulkan present :
        32-bit : no
        64-bit : yes
    Available ICDs :
    Extensions :

Packages checking is not supported for this distribution.

The full system info cannot be printed because some executables are missing. Here is the list of executables this tool uses :

- ldconfig (installed)
- lspci (not installed)
- glxinfo (not installed)
- xrandr (not installed)
- vulkaninfo (not installed)
- either lsb_release or hostnamectl (not installed)

Please install the packages providing those executables and run the program again.
tuxayo commented 5 years ago

Maybe related issue:

/t/gaming-flightcheck ❯❯❯ ./print_checklist.py
ERROR : distribution detection : no distribution name found
[OK] System file limit ok for Esync
[WARNING] CPU governor not set to performance
/t/gaming-flightcheck ❯❯❯ lsb_release -d
Description:    Ubuntu 18.04.2 LTS
/t/gaming-flightcheck ❯❯❯ hostnamectl
   Static hostname: another-laptop
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: 4ab61b920d2f40a0bd382943fa7715cf
           Boot ID: 086434d21e3e43c1beeb47d4b7a653e5
  Operating System: Ubuntu 18.04.2 LTS
            Kernel: Linux 4.15.0-50-generic
      Architecture: x86-64