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)
Some questions and suggestions on filing bug. First of all, nvidia-driver is NOT AT ALL FreeBSD base system. It's in ports/pkgs. So no one would notice and attempt to work on this, unless happen to find this as a result of quite rough and intentional search with word "nvidia" or "nvidia-driver". So you should have filed this with product ports and component with individual ports. And put x11/nvidia-driver: at the top of summary line. This way, it would be auto-assigned to the maintainer. Assignee: freebsd-bugs is not an individual and/or group assignee, but everything not properly assigned is sent to, thus, quite easily overlooked/unnoticed. And a question and suggestion. You aren't using comms/scrcpy port (or pkg) [1], but Linux version in the wild (from the view from FreeBSD, including official Linux packages) manually, right? If so, have you installed x11/linux-nvidia-libs? For Linux apps running on Linuxulator of FreeBSD requiring nvidia libraries (including replacements for Mesa by nvidia) should need the port/pkg. [1] https://www.freshports.org/comms/scrcpy/
Not sure this help for your issue, but a thread named "scrcpy success stories sought" was created at forums.freebsd.org yesterday (not by me). [2] In this thread, Bug 278264 'devel/android-tools: 'adb sideload' freezes at "Verifying update package..."' [3] is introduced. [2] https://forums.freebsd.org/threads/scrcpy-success-stories-sought.96196/ [3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278264
This problem disappeared on 14.2...