Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Dec 2024 14:35:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 283182] the nvidia-driver package interferes with the Mesa libs even if the nvidia driver is not loaded in memory. To have again the mesa libs working we should remove the nvidia-driver package...
Message-ID:  <bug-283182-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283182

            Bug ID: 283182
           Summary: the nvidia-driver package interferes with the Mesa
                    libs even if the nvidia driver is not loaded in
                    memory. To have again the mesa libs working we should
                    remove the nvidia-driver package...
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: marietto2008@gmail.com

Hello.

What I did here has been to use scrcpy to connect and share my Android desk=
top
screen. scrcpy needs the Mesa libs. But it does not work if it finds the
nvidia-driver package installed in the system (I'm using 14.1-RELEASE-p5) ;
once removed the nvidia-driver,Mesa Libs will start working. Take in
consideration that it's not the nvidia driver loaded in memory that interfe=
res
with the Mesa libs,but the package. Infact on the experiment below,I haven't
any nvidia driver loaded in memory :

[root@marietto /home/marietto]=3D=3D> kldstat | grep nvidia
[root@marietto /home/marietto]=3D=3D> nothing

So :

root@noble:/home/marietto/Downloads/scrcpy-linux-x86_64-v3.0.2# adb connect
192.168.1.6
connected to 192.168.1.6:5555

root@noble:/home/marietto/Downloads/scrcpy-linux-x86_64-v3.0.2# adb devices
List of devices attached=20
192.168.1.6:5555        device

root@noble:/home/marietto/Downloads/scrcpy-linux-x86_64-v3.0.2# scrcpy
--new-display=3D1920x1080

scrcpy 3.0.2 <https://github.com/Genymobile/scrcpy>;
INFO: ADB device found:
INFO:     --> (tcpip)  192.168.1.6:5555                device  Raspberry_Pi=
_4
1845 KB/s (90396 bytes in 0.047s)
[server] INFO: Device: [Raspberry] Raspberry Raspberry Pi 4 (Android 14)
ERROR: Could not open icon image: /usr/bin/icon.png
WARN: Could not load icon

[server] INFO: New display: 1920x1080/240 (id=3D2)
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:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  144
  Current serial number in output stream:  145

[root@marietto /home/marietto]=3D=3D> pkg remove nvidia-driver-550.127.05

Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packag=
es
in the universe):

Installed packages to be REMOVED:
        nvidia-driver: 550.127.05

Number of packages to be removed: 1

The operation will free 287 MiB.

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling nvidia-driver-550.127.05...
[1/1] Deleting files for nvidia-driver-550.127.05: 100%

[root@marietto /home/marietto]=3D=3D> glxinfo | grep Mesa

client glx vendor string: Mesa Project and SGI
    Device: Mesa Intel(R) UHD Graphics 630 (CFL GT2) (0x3e98)
OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 25.0.0-devel
(git-128caf94cac)
OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.0.0-devel
(git-128caf94cac)
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 25.0.0-devel
(git-128caf94cac)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283182-227>