https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283182

            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: b...@freebsd.org
          Reporter: marietto2...@gmail.com

Hello.

What I did here has been to use scrcpy to connect and share my Android desktop
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 interferes
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]==> kldstat | grep nvidia
[root@marietto /home/marietto]==> 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 
192.168.1.6:5555        device

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

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=2)
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]==> pkg remove nvidia-driver-550.127.05

Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages
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]==> 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)

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

Reply via email to