nouveau opengl

After I said my home Manjaro was fully functional, nvidia discontinued support for my [GeForce GT 710] video card, so I had to install a video driver nouveau with support for it as well as opengl.
However, as I said in my two previous topics, something is definitely wrong with Manjaro libglvnd:

[root@vlada-kuci tmp 18:34:33]$ inxi --graphics
Graphics:  Device-1: NVIDIA GK208B [GeForce GT 710] driver: nouveau v: kernel 
           Display: x11 server: X.Org 1.20.7 driver: nouveau resolution: 1920x1080~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: N/A v: N/A 
[root@vlada-kuci tmp 18:35:45]$
[root@vlada-kuci tmp 18:35:45]$ glxinfo
name of display: :0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  37
  Current serial number in output stream:  38
[root@vlada-kuci tmp 18:46:05]$
[root@vlada-kuci tmp 18:47:02]$ LD_LIBRARY_PATH=/mnt/sdd1/home/src/mesa-demos-git/NVIDIA-libglvnd-git/libglvnd-install/lib glxinfo | less
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_no_error, 
...
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context,
...
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_no_error,
...
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: nouveau (0x10de)
    Device: NV106 (0x128b)
    Version: 19.3.3
    Accelerated: yes
    Video memory: 1007MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.3
    Max compat profile version: 4.3
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: nouveau
OpenGL renderer string: NV106
OpenGL core profile version string: 4.3 (Core Profile) Mesa 19.3.3
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
    GL_AMD_conservative_depth, GL_AMD_draw_buffers_blend,
...

Is there anyone on this planet who has an answer as to why this is happening?

the 340 driver is being dropped, but the 390 does support the gt 710. it's even listed as supported by the 435 and 440 series. why did you go to nouveau?

1 Like

I have to say that I didn't know that there was support for GeForce GT 710 in another nvidia driver, so I switched to nouveau.
However, having seen what Linus Torvalds says about the nvidia company, now I'm really glad I did!

I happened to notice!

Manjaro git repository for libglvnd:
https://github.com/NVIDIA/libglvnd
my libglvnd repository that works:
https://gitlab.freedesktop.org/mesa/demos.git

I have to apologize for the previous Reply, which is incorrect!
My git repository is also https://github.com/NVIDIA/libglvnd.git, and the only difference is that the build libglvnd is done locally and that glxinfo works with it.

[root@vlada-kuci mesa-demos-git 15:24:54]$ pwd
/mnt/sdd1/home/src/mesa-demos-git
[root@vlada-kuci mesa-demos-git 15:24:58]$ ll
total 32
drwxr-xr-x   4 root root  4096 Feb 14 15:10 .
drwxr-xr-x 227 root root 12288 Jan 29 13:27 ..
-rwxr-xr-x   1 root root   398 Oct 17 09:27 build.sh
-rwxr-xr-x   1 root root   112 Feb 14 15:06 checkout.sh
drwxr-xr-x   5 root root  4096 Feb 14 15:06 demos
drwxr-xr-x   4 root root  4096 Feb 14 15:16 NVIDIA-libglvnd-git
[root@vlada-kuci mesa-demos-git 15:25:01]$ cd NVIDIA-libglvnd-git/
[root@vlada-kuci NVIDIA-libglvnd-git 15:25:10]$ ll
total 76
drwxr-xr-x  4 root root  4096 Feb 14 15:16 .
drwxr-xr-x  4 root root  4096 Feb 14 15:10 ..
-rw-r--r--  1 root root  1089 Feb 14 15:15 autogen-out.log
-rwxr-xr-x  1 root root   341 Feb 14 15:15 build.sh
-rwxr-xr-x  1 root root   107 Feb 14 15:10 checkout.sh
-rw-r--r--  1 root root  7164 Feb 14 15:16 configure-out.log
drwxr-xr-x 10 root root  4096 Feb 14 15:16 libglvnd
drwxr-xr-x  4 root root  4096 Feb 14 15:16 libglvnd-install
-rw-r--r--  1 root root 32312 Feb 14 15:16 make-install-out.log
-rw-r--r--  1 root root  7889 Feb 14 15:16 make-out.log
[root@vlada-kuci NVIDIA-libglvnd-git 15:25:12]$

[root@vlada-kuci NVIDIA-libglvnd-git 15:38:42]$ cat checkout.sh 
#!/bin/bash

set -v
set -e

git clone https://github.com/NVIDIA/libglvnd.git

cd libglvnd
git pull

exit 0
[root@vlada-kuci NVIDIA-libglvnd-git 15:38:45]$

[root@vlada-kuci NVIDIA-libglvnd-git 15:38:45]$ cat build.sh 
#!/bin/sh

set -v
set -e

MY_PATH=/mnt/sdd1/home/src/mesa-demos-git/NVIDIA-libglvnd-git
cd $MY_PATH/libglvnd

./autogen.sh > ../autogen-out.log 2>&1
./configure --enable-debug=info prefix=$MY_PATH/libglvnd-install > ../configure-out.log 2>&1
make -j4 > ../make-out.log 2>&1
make install > ../make-install-out.log 2>&1

exit 0
[root@vlada-kuci NVIDIA-libglvnd-git 15:39:35]$

Today:

[root@vlada-kuci ~  07:08:41]$ pacman -Syyuu
:: Synchronizing package databases...
 core                                                       168,7 KiB  2,50 MiB/s 00:00 [###################################################] 100%
 extra                                                     1991,4 KiB  7,10 MiB/s 00:00 [###################################################] 100%
 community                                                    5,8 MiB  4,13 MiB/s 00:01 [###################################################] 100%
 multilib                                                   192,9 KiB  5,23 MiB/s 00:00 [###################################################] 100%
:: Starting full system upgrade...
 there is nothing to do
[root@vlada-kuci ~ 06:44:27]$ pacman -Syyuu
:: Synchronizing package databases...
 core                                                       168,7 KiB  2,23 MiB/s 00:00 [###################################################] 100%
 extra                                                     1991,4 KiB  5,40 MiB/s 00:00 [###################################################] 100%
 community                                                    5,8 MiB  3,69 MiB/s 00:02 [###################################################] 100%
 multilib                                                   193,0 KiB  4,71 MiB/s 00:00 [###################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (3) firefox-73.0-0.1  lib32-mesa-19.3.4-0.2  mesa-19.3.4-0.2

Total Download Size:    74,57 MiB
Total Installed Size:  333,91 MiB
Net Upgrade Size:        0,25 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 mesa-19.3.4-0.2-x86_64                                      11,6 MiB  3,49 MiB/s 00:03 [###################################################] 100%
 firefox-73.0-0.1-x86_64                                     52,9 MiB  3,38 MiB/s 00:16 [###################################################] 100%
 lib32-mesa-19.3.4-0.2-x86_64                                10,1 MiB  3,57 MiB/s 00:03 [###################################################] 100%
(3/3) checking keys in keyring                                                          [###################################################] 100%
(3/3) checking package integrity                                                        [###################################################] 100%
(3/3) loading package files                                                             [###################################################] 100%
(3/3) checking for file conflicts                                                       [###################################################] 100%
(3/3) checking available disk space                                                     [###################################################] 100%
:: Processing package changes...
(1/3) upgrading mesa                                                                    [###################################################] 100%
(2/3) upgrading firefox                                                                 [###################################################] 100%
(3/3) upgrading lib32-mesa                                                              [###################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...
[root@vlada-kuci ~ 07:09:30]$ glxinfo
name of display: :0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  37
  Current serial number in output stream:  38
[root@vlada-kuci ~ 07:09:41]$

Since no one is answering my question about Manjaro libglvnd, I have a suggestion that I create a new package called libglvnd-non-nvidia, but I need to know if that package would be accepted by Manjaro.

I compared the contents of ARCH LINUX libglvnd and my local build for libgvnd.
ARCH LINUX libglvnd is missing gles1 and I believe that is the only reason why ARCH LINUX libglvnd doesn't work for nouveau !


                 VK                                          ARCH LINUX
--------------------------------------------     --------------------------------------------
.                                                .
..                                               ..
libEGL.so -> libEGL.so.1.1.0                     libEGL.so -> libEGL.so.1
libEGL.so.1 -> libEGL.so.1.1.0                   libEGL.so.1 -> libEGL.so.1.1.0
libEGL.so.1.1.0                                  libEGL.so.1.1.0
libGLdispatch.so -> libGLdispatch.so.0.0.0       libGLdispatch.so -> libGLdispatch.so.0
libGLdispatch.so.0 -> libGLdispatch.so.0.0.0     libGLdispatch.so.0 -> libGLdispatch.so.0.0.0
libGLdispatch.so.0.0.0                           libGLdispatch.so.0.0.0
libGLESv1_CM.so -> libGLESv1_CM.so.1.2.0         
libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.2.0       
libGLESv1_CM.so.1.2.0                            
libGLESv2.so -> libGLESv2.so.2.1.0               libGLESv2.so -> libGLESv2.so.2
libGLESv2.so.2 -> libGLESv2.so.2.1.0             libGLESv2.so.2 -> libGLESv2.so.2.1.0
libGLESv2.so.2.1.0                               libGLESv2.so.2.1.0
libGL.so -> libGL.so.1.7.0                       libGL.so -> libGL.so.1
libGL.so.1 -> libGL.so.1.7.0                     libGL.so.1 -> libGL.so.1.7.0
libGL.so.1.7.0                                   libGL.so.1.7.0
libGLX.so -> libGLX.so.0.0.0                     libGLX.so -> libGLX.so.0
libGLX.so.0 -> libGLX.so.0.0.0                   libGLX.so.0 -> libGLX.so.0.0.0
libGLX.so.0.0.0                                  libGLX.so.0.0.0
libOpenGL.so -> libOpenGL.so.0.0.0               libOpenGL.so -> libOpenGL.so.0
libOpenGL.so.0 -> libOpenGL.so.0.0.0             libOpenGL.so.0 -> libOpenGL.so.0.0.0
libOpenGL.so.0.0.0                               libOpenGL.so.0.0.0
pkgconfig                                        pkgconfig

I would ask someone from the Manjaro team to come up with a solution to this problem - nouveau/radeon opengl.

You posted a lot but it tells nothing to us... I'm too tired today to think, but:

  1. We need to know hardware info
  2. Ho do you install drivers? If manually, you did it all wrong (it's a recipe for black screen or discrete GPU not working). Remove them and install via mhwd, preferably those with nvidia-390xx, depending on your hardware (so either video-nvidia-390xx or video-hybrid-intel-nvidia-390xx bumblebee).

It feels like you are overcomplicating. Use mhwd in terminal or in GUI to remove current configuration and install a recommended one. If that fails, it is usually a sign you need to uninstall some packages first. Note, do this in one session, otherwise system won't boot to graphical session.

Read:

https://wiki.manjaro.org/index.php/Configure_Graphics_Cards

I finally found the reason why opengl and sddm didn't work on Manjaro with a radeon video card!

When the following is done:
pacman -R nvidia-340xx-utils linux54-nvidia-340xx

then Manjaro is at work again 'Super Manjaro'.

I have to confirm this at home with a nouveau driver and nvidia video card.

Same thing is on Manjaro with a nouveau driver and nvidia video card!

When the following is done:
pacman -R nvidia-340xx-utils linux54-nvidia-340xx

then Manjaro is at home again 'Super Manjaro'.

I managed to remember, and I think I know the reason why there is nvidia software (nvidia-340xx-utils) on a computer with a radeon driver.

I installed the first Manjaro at work in April 2015 on my computer where nvidia was, which is now at home, so it's normal for this nvidia software to be installed as standard.
A few days later, I tried to install Manjaro at home on an Intel card that did not want to work, so I moved my nvidia video card to home from work, and put another motherboard with an integrated card (radeon) at work, which is normally Manjaro accepted but remained nvidia software (nvidia-340xx-utils).
That combination worked until the appearance of kernel 5.5 when nvidia software became dysfunctional.
When I did remove that nvidia software (nvidia-340xx-utils) today, things went back to normal.

It's a different story at home, because it was always the nvidia driver until kernel 5.5 appeared when nvidia stopped supporting that driver, when I switched to the nouveau driver and the nvidia software (nvidia-340xx-utils) remained.

In both cases, the forgotten nvidia-340xx-utils package failed to determine if OpenGL was functional.

Forum kindly sponsored by