Some programs won't run- OpenGL/Nvidia driver issue?

#1

Hi all,

I’m brand new to Manjaro and am experiencing multiple issues that I can’t quite figure out the cause of, but seem to be graphical in nature. (Apologies if I sound ignorant or use wrong terminology, this is all kinda new to me.) This is on the KDE version.

CPU: Intel Core i7-8700
Graphics card: Nvidia GTX 1050, using the proprietary driver

$ inxi -G
Graphics:  Device-1: NVIDIA GP107 [GeForce GTX 1050] driver: nvidia v: 415.25 
           Display: x11 server: X.Org 1.20.3 driver: nvidia resolution: 1920x1080~60Hz 
           OpenGL: renderer: N/A v: N/A

$ uname -r
4.19.13-1-MANJARO
  • Yakuake not working at all; when I press F12 the panel comes down but it looks like this:

  • The system settings application was working fine at first, but now it won’t launch. Or rather, the window pops up for a brief moment and immediately closes. Running it from the terminal gives me this:

$ systemsettings5
QCoreApplication::arguments: Please instantiate the QApplication object first
failed to acquire GL context to resolve capabilities, using defaults..
WARNING: viewBackgroundColor is deprecated, use backgroundColor with colorSet: Theme.View instead
file:///usr/lib/qt/qml/QtQuick/Controls.2/org.kde.desktop/private/MobileTextActionsToolBar.qml:48: TypeError: Cannot read property 'height' of null
file:///usr/lib/qt/qml/QtQuick/Controls.2/org.kde.desktop/private/MobileTextActionsToolBar.qml:37: TypeError: Cannot read property 'width' of null
WARNING: viewBackgroundColor is deprecated, use backgroundColor with colorSet: Theme.View instead
KActivities: Database connection:  "kactivities_db_resources_140430443024448_readonly" 
    query_only:          QVariant(qlonglong, 1) 
    journal_mode:        QVariant(QString, "wal") 
    wal_autocheckpoint:  QVariant(qlonglong, 100) 
    synchronous:         QVariant(qlonglong, 0)
Nothing to load - the client id is empty
Nothing to load - the client id is empty
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
Aborted (core dumped)
  • glxinfo crashes with this:
$ glxinfo
name of display: :0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  85
  Current serial number in output stream:  86

Hope someone can help me figure all this out…

#2

I am just wondering why these values are all N/A for you.

My setup looks like this:

1# inxi -G

Graphics:  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 415.27 
           Display: server: X.Org 1.20.3 driver: nvidia resolution: 1920x1080~60Hz 
           OpenGL: renderer: llvmpipe (LLVM 7.0 256 bits) v: 3.3 Mesa 18.3.2
#3

can you report more

inxi -Fxxxz 

have you added multilib in pacman.conf ?

#4

mhwd -li

#5

aside from whatever config problem you may be having, 415.25 is not the latest in stable. you’re due for an update.

#6
$ inxi -Fxxxz 
System:    Host: home-pc Kernel: 4.19.13-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 
           Desktop: KDE Plasma 5.14.5 tk: Qt 5.12.0 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:   Type: Desktop System: System76 product: Wild Dog Pro v: wilp14 serial: <filter> Chassis: type: 3 
           v: wilp14 serial: <filter> 
           Mobo: Gigabyte model: Z370 HD3P-CF serial: <filter> UEFI: American Megatrends v: F5 Z5 
           date: 12/15/2017 
CPU:       Topology: 6-Core model: Intel Core i7-8700 bits: 64 type: MT MCP arch: Kaby Lake rev: A 
           L2 cache: 12.0 MiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 76632 
           Speed: 800 MHz min/max: 800/4600 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 801 
           7: 800 8: 801 9: 800 10: 800 11: 800 12: 801 
Graphics:  Device-1: NVIDIA GP107 [GeForce GTX 1050] vendor: eVga.com. driver: nvidia v: 415.25 bus ID: 01:00.0 
           chip ID: 10de:1c81 
           Display: x11 server: X.Org 1.20.3 driver: nvidia compositor: kwin_x11 resolution: 1920x1080~60Hz 
           OpenGL: renderer: N/A v: N/A direct render: N/A 
Audio:     Device-1: Intel 200 Series PCH HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 chip ID: 8086:a2f0 
           Device-2: NVIDIA GP107GL High Definition Audio vendor: eVga.com. driver: snd_hda_intel v: kernel 
           bus ID: 01:00.1 chip ID: 10de:0fb9 
           Sound Server: ALSA v: k4.19.13-1-MANJARO 
Network:   Device-1: Intel Ethernet I219-V vendor: Gigabyte driver: e1000e v: 3.2.6-k port: f000 bus ID: 00:1f.6 
           chip ID: 8086:15b8 
           IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: e000 bus ID: 09:00.0 
           chip ID: 8086:24fd 
           IF: wlp9s0 state: down mac: <filter> 
Drives:    Local Storage: total: 2.05 TiB used: 114.18 GiB (5.4%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO M.2 250GB size: 232.89 GiB speed: 6.0 Gb/s 
           serial: <filter> rev: 1B6Q scheme: GPT 
           ID-2: /dev/sdb vendor: Seagate model: ST2000DM006-2DM164 size: 1.82 TiB speed: 6.0 Gb/s 
           rotation: 7200 rpm serial: <filter> rev: CC26 scheme: GPT 
           ID-3: /dev/sdc type: USB vendor: Kingston model: DT 101 G2 size: 3.66 GiB serial: <filter> rev: PMAP 
           scheme: MBR 
Partition: ID-1: / size: 211.03 GiB used: 10.69 GiB (5.1%) fs: ext4 dev: /dev/dm-0 
           ID-2: swap-1 size: 17.17 GiB used: 3.5 MiB (0.0%) fs: swap dev: /dev/dm-1 
Sensors:   System Temperatures: cpu: 30.0 C mobo: 27.8 C gpu: nvidia temp: 38 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 30% 
Info:      Processes: 280 Uptime: 22h 10m Memory: 15.61 GiB used: 7.26 GiB (46.5%) Init: systemd v: 239 
           Compilers: gcc: 8.2.1 Shell: bash v: 5.0.0 running in: konsole inxi: 3.0.30 

[quote]
have you added multilib in pacman.conf ?[/quote]

No- I haven’t edited pacman.conf at all. This is a brand-new install

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2018.08.09               false            PCI


Warning: No installed USB configs!

That’s strange- I literally just downloaded and installed the OS fresh last night. I haven’t installed or changed anything other than the 300-ish updates it prompted me to do on first boot. Is it really out of date so quickly?

#7

no idea if you synced first, or where your mirrors were in the cycle for your branch, etc…
sudo pacman-mirrors -f && sudo pacman -Syyu
[make sure no other package managers are open first]

#8

But i’m wondering why yours looks like this when the renderer should be the GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 415.25 direct render: Yes ?

Please also share:
cat /etc/X11/mhwd.d/nvidia.conf

#9

[quote=“bogdancovaciu”] Please also share:
cat /etc/X11/mhwd.d/nvidia.conf[/quote]

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 415.25

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
        Option "NoLogo" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

“there is nothing to do” :confused:

#10

change mirrors

sudo pacman-mirrors -i
#11

Something is not quite as it should with that config.
Opening Nvidia X Server Settings and setting it manually then adding that part to the original file, is making a difference after reboot? Keep in mind to not remove the last lines from the original:

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

(and always keep a backup)
Not sure why Composite is all caps in your config …

closed #12

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.