Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

microsoft/surface: Update to kernel 6.11.4 breaks bluetooth #1235

Open
antoniocorbi opened this issue Nov 8, 2024 · 7 comments
Open

microsoft/surface: Update to kernel 6.11.4 breaks bluetooth #1235

antoniocorbi opened this issue Nov 8, 2024 · 7 comments

Comments

@antoniocorbi
Copy link

Kernel 6.11.4 breaks bluetooth connection of previously working devices in all the machines I've tried this particular kernel version.

It also does in the microsoft surface.

Kernel version >= 6.11.5 solves this problem, could it be possible to get an update?

@talhaHavadar
Copy link

talhaHavadar commented Nov 10, 2024

I am having the same problem, did you override the kernel in nixos-hardware to workaround the issue?

I was able to fix the issue by rolling back to 6.10.5

nixos-hardware = {
  url = "github:NixOS/nixos-hardware/feefc78"
};

@antoniocorbi
Copy link
Author

Hi @talhaHavadar ,

I am having the same problem, did you override the kernel in nixos-hardware to workaround the issue?

Nope, I'm relatively new to NixOS and I'm still struggling to understand how to do this kind of things.

I was able to fix the issue by rolling back to 6.10.5

nixos-hardware = {
  url = "github:NixOS/nixos-hardware/feefc78"
};

I simply boot into an older config based on 6.10.5 when I really need bluetooth. I like to use latest version in order to see if there is some kind of progress with the cameras in the surface pro, have you any news about this?

Thx!

@talhaHavadar
Copy link

talhaHavadar commented Nov 11, 2024

@antoniocorbi I would check https://github.com/linux-surface/linux-surface/wiki/Camera-Support
I am using Surface Pro 8 so I can confirm that the camera is still not working 6.10, need to check maybe thats an issue with teams will comeback to you once I check it again

@JackMatanky
Copy link

Thank you for confirming this, I have been driving myself crazy for the last few days trying to figure out why everything I tried won't fix my Surface's bluetooth

@talhaHavadar
Copy link

@antoniocorbi about camera, it seems like with 6.10 indeed we have ipu6 available in kernel

❯ lsmod | grep -i ipu
intel_ipu6_isys       143360  6
videobuf2_dma_contig    28672  1 intel_ipu6_isys
videobuf2_v4l2         40960  1 intel_ipu6_isys
videobuf2_common       94208  4 videobuf2_dma_contig,videobuf2_v4l2,intel_ipu6_isys,videobuf2_memops
v4l2_fwnode            32768  8 ov5693,intel_ipu6_isys,ov13858
v4l2_async             32768  4 v4l2_fwnode,ov5693,intel_ipu6_isys,ov13858
videodev              393216  14 v4l2_async,v4l2_fwnode,videobuf2_v4l2,ov5693,intel_ipu6_isys,ov13858
intel_ipu6             86016  7 intel_ipu6_isys
ipu_bridge             24576  2 intel_ipu6,intel_ipu6_isys
mc                     90112  9 v4l2_async,videodev,videobuf2_v4l2,ov5693,intel_ipu6_isys,ov13858,videobuf2_common

So first I tried a google meet call to see if chrome is able to detect the camera or not but it seems like it doesnt.

Next, I tried libcamera, via nix-shell -p libcamera-qcam seems like it is able to detect it, when I run libcamera's cam -c 1 -C I saw that the front camera led lid up

❯ cam -l
[0:06:37.072382686] [7626]  INFO IPAManager ipa_manager.cpp:137 libcamera is not installed. Adding '/nix/store/src/ipa' to the IPA search path
[0:06:37.073542515] [7626]  INFO Camera camera_manager.cpp:325 libcamera v0.3.2
[0:06:37.095011804] [7629] ERROR DmaBufAllocator dma_buf_allocator.cpp:116 Could not open any dma-buf provider
[0:06:37.095042312] [7629] ERROR SoftwareIsp software_isp.cpp:91 Failed to create DmaBufAllocator object
[0:06:37.095044948] [7629]  WARN SimplePipeline simple.cpp:531 Failed to create software ISP, disabling software debayering
Available cameras:
1: Internal front camera (\_SB_.PC00.I2C2.CAMF)
❯ cam -c 1 -C
[0:07:21.743946502] [7707]  INFO IPAManager ipa_manager.cpp:137 libcamera is not installed. Adding '/nix/store/src/ipa' to the IPA search path
[0:07:21.744147967] [7707]  INFO Camera camera_manager.cpp:325 libcamera v0.3.2
[0:07:21.763275801] [7710] ERROR DmaBufAllocator dma_buf_allocator.cpp:116 Could not open any dma-buf provider
[0:07:21.763303928] [7710] ERROR SoftwareIsp software_isp.cpp:91 Failed to create DmaBufAllocator object
[0:07:21.763307895] [7710]  WARN SimplePipeline simple.cpp:531 Failed to create software ISP, disabling software debayering
Using camera \_SB_.PC00.I2C2.CAMF as cam0
[0:07:21.763530775] [7707]  INFO Camera camera.cpp:1197 configuring streams: (0) 1296x972-SBGGR10
cam0: Capture until user interrupts by SIGINT
❯ cam -c 1 --capture=1000 --display
[0:17:17.367976911] [12014]  INFO IPAManager ipa_manager.cpp:137 libcamera is not installed. Adding '/nix/store/src/ipa' to the IPA search path
[0:17:17.368090918] [12014]  INFO Camera camera_manager.cpp:325 libcamera v0.3.2
[0:17:17.383223362] [12017] ERROR DmaBufAllocator dma_buf_allocator.cpp:116 Could not open any dma-buf provider
[0:17:17.383244956] [12017] ERROR SoftwareIsp software_isp.cpp:91 Failed to create DmaBufAllocator object
[0:17:17.383247817] [12017]  WARN SimplePipeline simple.cpp:531 Failed to create software ISP, disabling software debayering
Using camera \_SB_.PC00.I2C2.CAMF as cam0
[0:17:17.383373013] [12014]  INFO Camera camera.cpp:1197 configuring streams: (0) 1296x972-SBGGR10
Unable to find display pipeline for format SBGGR10
Failed to configure frame sink
Failed to start camera session

I also tried qcam to see if I can see something but it fails with failed to set viewfinder format so SBGGR10 maybe not supported? not sure

❯ LIBCAMERA_LOG_LEVELS=*:0 qcam -s "width=1296,height=972"
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
[0:11:02.837694872] [8033]  INFO IPAManager ipa_manager.cpp:137 libcamera is not installed. Adding '/nix/store/src/ipa' to the IPA search path
[0:11:02.837763759] [8033] DEBUG IPAModule ipa_module.cpp:333 ipa_ipu3.so: IPA module /nix/store/3f1qq9mrrqc3paig3wirdbbqakgx3bxb-libcamera-0.3.2/lib/libcamera/ipa_ipu3.so is signed
[0:11:02.837775861] [8033] DEBUG IPAManager ipa_manager.cpp:235 Loaded IPA module '/nix/store/3f1qq9mrrqc3paig3wirdbbqakgx3bxb-libcamera-0.3.2/lib/libcamera/ipa_ipu3.so'
[0:11:02.837795780] [8033] DEBUG IPAModule ipa_module.cpp:333 ipa_soft_simple.so: IPA module /nix/store/3f1qq9mrrqc3paig3wirdbbqakgx3bxb-libcamera-0.3.2/lib/libcamera/ipa_soft_simple.so is signed
[0:11:02.837803502] [8033] DEBUG IPAManager ipa_manager.cpp:235 Loaded IPA module '/nix/store/3f1qq9mrrqc3paig3wirdbbqakgx3bxb-libcamera-0.3.2/lib/libcamera/ipa_soft_simple.so'
[0:11:02.837807154] [8033]  INFO Camera camera_manager.cpp:325 libcamera v0.3.2
[0:11:02.837854389] [8038] DEBUG Camera camera_manager.cpp:73 Starting camera manager
[0:11:02.849096958] [8038] DEBUG DeviceEnumerator device_enumerator.cpp:230 New media device "intel-ipu6" created from /dev/media0
[0:11:02.851334060] [8038] DEBUG DeviceEnumerator device_enumerator_udev.cpp:96 Defer media device /dev/media0 due to 1 missing dependencies
[0:11:02.851402098] [8038] DEBUG DeviceEnumerator device_enumerator_udev.cpp:322 All dependencies for media device /dev/media0 found
[0:11:02.851404820] [8038] DEBUG DeviceEnumerator device_enumerator.cpp:258 Added device /dev/media0: intel-ipu6
[0:11:02.851635595] [8038] DEBUG Camera camera_manager.cpp:138 Found registered pipeline handler 'ipu3'
[0:11:02.851652111] [8038] DEBUG Camera camera_manager.cpp:138 Found registered pipeline handler 'simple'
[0:11:02.851656085] [8038] DEBUG DeviceEnumerator device_enumerator.cpp:318 Successful match for media device "intel-ipu6"
[0:11:02.851662891] [8038] DEBUG SimplePipeline simple.cpp:1552 Sensor found for /dev/media0
[0:11:02.851682195] [8038] DEBUG SimplePipeline simple.cpp:416 Found capture device Intel IPU6 ISYS Capture 32
[0:11:02.851695958] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Exposure (0x00980911)
[0:11:02.851702589] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Horizontal Flip (0x00980914)
[0:11:02.851706613] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Vertical Flip (0x00980915)
[0:11:02.851710488] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Camera Orientation (0x009a0922)
[0:11:02.851716636] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Camera Sensor Rotation (0x009a0923)
[0:11:02.851720551] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Vertical Blanking (0x009e0901)
[0:11:02.851723879] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Horizontal Blanking (0x009e0902)
[0:11:02.851727603] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Analogue Gain (0x009e0903)
[0:11:02.851731834] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Link Frequency (0x009f0901)
[0:11:02.851735857] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Pixel Rate (0x009f0902)
[0:11:02.851739185] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Test Pattern (0x009f0903)
[0:11:02.851744340] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Digital Gain (0x009f0905)
[0:11:02.851910195] [8038] DEBUG CameraSensor camera_sensor.cpp:429 'ov5693 15-0036': Test pattern mode 1 ignored
[0:11:02.851914516] [8038] DEBUG CameraSensor camera_sensor.cpp:429 'ov5693 15-0036': Test pattern mode 3 ignored
[0:11:02.851918249] [8038] DEBUG CameraSensor camera_sensor.cpp:1185 'ov5693 15-0036': Apply test pattern mode 0
[0:11:02.851922756] [8038] DEBUG SimplePipeline simple.cpp:486 Found pipeline: [ov5693 15-0036|0] -> [0|Intel IPU6 CSI2 4|1] -> [0|Intel IPU6 ISYS Capture 32]
[0:11:02.851933874] [8038] DEBUG V4L2 v4l2_videodevice.cpp:631 /dev/video32[16:cap]: Opened device : isys: ipu6
[0:11:02.851957437] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Exposure (0x00980911)
[0:11:02.851961726] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Horizontal Flip (0x00980914)
[0:11:02.851965158] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Vertical Flip (0x00980915)
[0:11:02.851969239] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Camera Orientation (0x009a0922)
[0:11:02.851974195] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Camera Sensor Rotation (0x009a0923)
[0:11:02.851977992] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Vertical Blanking (0x009e0901)
[0:11:02.851981464] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Horizontal Blanking (0x009e0902)
[0:11:02.851984779] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Analogue Gain (0x009e0903)
[0:11:02.851988731] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Link Frequency (0x009f0901)
[0:11:02.851992765] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Pixel Rate (0x009f0902)
[0:11:02.851996325] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Test Pattern (0x009f0903)
[0:11:02.852005680] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Digital Gain (0x009f0905)
[0:11:02.852016638] [8038] DEBUG DmaBufAllocator dma_buf_allocator.cpp:103 Failed to open /dev/dma_heap/linux,cma: No such file or directory
[0:11:02.852063203] [8038] DEBUG DmaBufAllocator dma_buf_allocator.cpp:103 Failed to open /dev/dma_heap/reserved: No such file or directory
[0:11:02.852067210] [8038] DEBUG DmaBufAllocator dma_buf_allocator.cpp:103 Failed to open /dev/dma_heap/system: No such file or directory
[0:11:02.852071449] [8038] DEBUG DmaBufAllocator dma_buf_allocator.cpp:103 Failed to open /dev/udmabuf: Permission denied
[0:11:02.852074334] [8038] ERROR DmaBufAllocator dma_buf_allocator.cpp:116 Could not open any dma-buf provider
[0:11:02.852088691] [8038] ERROR SoftwareIsp software_isp.cpp:91 Failed to create DmaBufAllocator object
[0:11:02.852091664] [8038]  WARN SimplePipeline simple.cpp:531 Failed to create software ISP, disabling software debayering
[0:11:02.852097568] [8038] DEBUG MediaDevice media_device.cpp:826 /dev/media0[intel-ipu6]: 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: 0
[0:11:02.852101554] [8038] DEBUG MediaDevice media_device.cpp:826 /dev/media0[intel-ipu6]: 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: 1
[0:11:02.852119544] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'ov5693 15-0036'[0] -> 'Intel IPU6 CSI2 4'[0]: configured with format 1296x972-SBGGR10_1X10
[0:11:02.852123445] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: configured with format 1296x972-SBGGR10_1X10
[0:11:02.852129464] [8038] DEBUG SimplePipeline simple.cpp:626 Adding configuration for 1296x972 in pixel formats [ BG10, pBAA ]
[0:11:02.852145744] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'ov5693 15-0036'[0] -> 'Intel IPU6 CSI2 4'[0]: configured with format 2592x1944-SBGGR10_1X10
[0:11:02.852148737] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: configured with format 2592x1944-SBGGR10_1X10
[0:11:02.852153318] [8038] DEBUG SimplePipeline simple.cpp:626 Adding configuration for 2592x1944 in pixel formats [ BG10, pBAA ]
[0:11:02.852161687] [8038] DEBUG Camera camera_manager.cpp:159 Pipeline handler "simple" matched
[0:11:02.852165606] [8038] DEBUG Camera camera_manager.cpp:138 Found registered pipeline handler 'uvcvideo'
[0:11:05.437824699] [8033] DEBUG SimplePipeline simple.cpp:1002 Largest stream size is 1296x972
[0:11:05.437867652] [8033] DEBUG SimplePipeline simple.cpp:1054 Picked 1296x972-SBGGR10_1X10 -> 1296x972-SBGGR10 for max stream size 1296x972
[0:11:05.437907974] [8033] DEBUG Camera camera.cpp:1132 streams configuration: (0) 1296x972-SBGGR10
[0:11:05.437924538] [8033] DEBUG SimplePipeline simple.cpp:1002 Largest stream size is 1296x972
[0:11:05.437933063] [8033] DEBUG SimplePipeline simple.cpp:1054 Picked 1296x972-SBGGR10_1X10 -> 1296x972-SBGGR10 for max stream size 1296x972
[0:11:05.437944083] [8033] DEBUG SimplePipeline simple.cpp:1002 Largest stream size is 1296x972
[0:11:05.437950978] [8033] DEBUG SimplePipeline simple.cpp:1054 Picked 1296x972-SBGGR10_1X10 -> 1296x972-SBGGR10 for max stream size 1296x972
[0:11:05.437962513] [8033]  INFO Camera camera.cpp:1197 configuring streams: (0) 1296x972-SBGGR10
[0:11:05.438041472] [8038] DEBUG MediaDevice media_device.cpp:826 /dev/media0[intel-ipu6]: 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: 0
[0:11:05.438074456] [8038] DEBUG MediaDevice media_device.cpp:826 /dev/media0[intel-ipu6]: 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: 1
[0:11:05.438167451] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'ov5693 15-0036'[0] -> 'Intel IPU6 CSI2 4'[0]: configured with format 1296x972-SBGGR10_1X10
[0:11:05.438183621] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: configured with format 1296x972-SBGGR10_1X10
Failed to set viewfinder format
[0:11:08.228241842] [8033] DEBUG SimplePipeline simple.cpp:1002 Largest stream size is 1296x972
[0:11:08.228288792] [8033] DEBUG SimplePipeline simple.cpp:1054 Picked 1296x972-SBGGR10_1X10 -> 1296x972-SBGGR10 for max stream size 1296x972
[0:11:08.228327203] [8033] DEBUG Camera camera.cpp:1132 streams configuration: (0) 1296x972-SBGGR10
[0:11:08.228343757] [8033] DEBUG SimplePipeline simple.cpp:1002 Largest stream size is 1296x972
[0:11:08.228350186] [8033] DEBUG SimplePipeline simple.cpp:1054 Picked 1296x972-SBGGR10_1X10 -> 1296x972-SBGGR10 for max stream size 1296x972
[0:11:08.228359688] [8033] DEBUG SimplePipeline simple.cpp:1002 Largest stream size is 1296x972
[0:11:08.228365118] [8033] DEBUG SimplePipeline simple.cpp:1054 Picked 1296x972-SBGGR10_1X10 -> 1296x972-SBGGR10 for max stream size 1296x972
[0:11:08.228375043] [8033]  INFO Camera camera.cpp:1197 configuring streams: (0) 1296x972-SBGGR10
[0:11:08.228453934] [8038] DEBUG MediaDevice media_device.cpp:826 /dev/media0[intel-ipu6]: 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: 0
[0:11:08.228475672] [8038] DEBUG MediaDevice media_device.cpp:826 /dev/media0[intel-ipu6]: 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: 1
[0:11:08.228558251] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'ov5693 15-0036'[0] -> 'Intel IPU6 CSI2 4'[0]: configured with format 1296x972-SBGGR10_1X10
[0:11:08.228569769] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: configured with format 1296x972-SBGGR10_1X10
Failed to set viewfinder format

@antoniocorbi
Copy link
Author

@antoniocorbi about camera, it seems like with 6.10 indeed we have ipu6 available in kernel

❯ lsmod | grep -i ipu
intel_ipu6_isys       143360  6
videobuf2_dma_contig    28672  1 intel_ipu6_isys
videobuf2_v4l2         40960  1 intel_ipu6_isys
videobuf2_common       94208  4 videobuf2_dma_contig,videobuf2_v4l2,intel_ipu6_isys,videobuf2_memops
v4l2_fwnode            32768  8 ov5693,intel_ipu6_isys,ov13858
v4l2_async             32768  4 v4l2_fwnode,ov5693,intel_ipu6_isys,ov13858
videodev              393216  14 v4l2_async,v4l2_fwnode,videobuf2_v4l2,ov5693,intel_ipu6_isys,ov13858
intel_ipu6             86016  7 intel_ipu6_isys
ipu_bridge             24576  2 intel_ipu6,intel_ipu6_isys
mc                     90112  9 v4l2_async,videodev,videobuf2_v4l2,ov5693,intel_ipu6_isys,ov13858,videobuf2_common

So first I tried a google meet call to see if chrome is able to detect the camera or not but it seems like it doesnt.

Next, I tried libcamera, via nix-shell -p libcamera-qcam seems like it is able to detect it, when I run libcamera's cam -c 1 -C I saw that the front camera led lid up

❯ cam -l
[0:06:37.072382686] [7626]  INFO IPAManager ipa_manager.cpp:137 libcamera is not installed. Adding '/nix/store/src/ipa' to the IPA search path
[0:06:37.073542515] [7626]  INFO Camera camera_manager.cpp:325 libcamera v0.3.2
[0:06:37.095011804] [7629] ERROR DmaBufAllocator dma_buf_allocator.cpp:116 Could not open any dma-buf provider
[0:06:37.095042312] [7629] ERROR SoftwareIsp software_isp.cpp:91 Failed to create DmaBufAllocator object
[0:06:37.095044948] [7629]  WARN SimplePipeline simple.cpp:531 Failed to create software ISP, disabling software debayering
Available cameras:
1: Internal front camera (\_SB_.PC00.I2C2.CAMF)
❯ cam -c 1 -C
[0:07:21.743946502] [7707]  INFO IPAManager ipa_manager.cpp:137 libcamera is not installed. Adding '/nix/store/src/ipa' to the IPA search path
[0:07:21.744147967] [7707]  INFO Camera camera_manager.cpp:325 libcamera v0.3.2
[0:07:21.763275801] [7710] ERROR DmaBufAllocator dma_buf_allocator.cpp:116 Could not open any dma-buf provider
[0:07:21.763303928] [7710] ERROR SoftwareIsp software_isp.cpp:91 Failed to create DmaBufAllocator object
[0:07:21.763307895] [7710]  WARN SimplePipeline simple.cpp:531 Failed to create software ISP, disabling software debayering
Using camera \_SB_.PC00.I2C2.CAMF as cam0
[0:07:21.763530775] [7707]  INFO Camera camera.cpp:1197 configuring streams: (0) 1296x972-SBGGR10
cam0: Capture until user interrupts by SIGINT
❯ cam -c 1 --capture=1000 --display
[0:17:17.367976911] [12014]  INFO IPAManager ipa_manager.cpp:137 libcamera is not installed. Adding '/nix/store/src/ipa' to the IPA search path
[0:17:17.368090918] [12014]  INFO Camera camera_manager.cpp:325 libcamera v0.3.2
[0:17:17.383223362] [12017] ERROR DmaBufAllocator dma_buf_allocator.cpp:116 Could not open any dma-buf provider
[0:17:17.383244956] [12017] ERROR SoftwareIsp software_isp.cpp:91 Failed to create DmaBufAllocator object
[0:17:17.383247817] [12017]  WARN SimplePipeline simple.cpp:531 Failed to create software ISP, disabling software debayering
Using camera \_SB_.PC00.I2C2.CAMF as cam0
[0:17:17.383373013] [12014]  INFO Camera camera.cpp:1197 configuring streams: (0) 1296x972-SBGGR10
Unable to find display pipeline for format SBGGR10
Failed to configure frame sink
Failed to start camera session

I also tried qcam to see if I can see something but it fails with failed to set viewfinder format so SBGGR10 maybe not supported? not sure

❯ LIBCAMERA_LOG_LEVELS=*:0 qcam -s "width=1296,height=972"
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
[0:11:02.837694872] [8033]  INFO IPAManager ipa_manager.cpp:137 libcamera is not installed. Adding '/nix/store/src/ipa' to the IPA search path
[0:11:02.837763759] [8033] DEBUG IPAModule ipa_module.cpp:333 ipa_ipu3.so: IPA module /nix/store/3f1qq9mrrqc3paig3wirdbbqakgx3bxb-libcamera-0.3.2/lib/libcamera/ipa_ipu3.so is signed
[0:11:02.837775861] [8033] DEBUG IPAManager ipa_manager.cpp:235 Loaded IPA module '/nix/store/3f1qq9mrrqc3paig3wirdbbqakgx3bxb-libcamera-0.3.2/lib/libcamera/ipa_ipu3.so'
[0:11:02.837795780] [8033] DEBUG IPAModule ipa_module.cpp:333 ipa_soft_simple.so: IPA module /nix/store/3f1qq9mrrqc3paig3wirdbbqakgx3bxb-libcamera-0.3.2/lib/libcamera/ipa_soft_simple.so is signed
[0:11:02.837803502] [8033] DEBUG IPAManager ipa_manager.cpp:235 Loaded IPA module '/nix/store/3f1qq9mrrqc3paig3wirdbbqakgx3bxb-libcamera-0.3.2/lib/libcamera/ipa_soft_simple.so'
[0:11:02.837807154] [8033]  INFO Camera camera_manager.cpp:325 libcamera v0.3.2
[0:11:02.837854389] [8038] DEBUG Camera camera_manager.cpp:73 Starting camera manager
[0:11:02.849096958] [8038] DEBUG DeviceEnumerator device_enumerator.cpp:230 New media device "intel-ipu6" created from /dev/media0
[0:11:02.851334060] [8038] DEBUG DeviceEnumerator device_enumerator_udev.cpp:96 Defer media device /dev/media0 due to 1 missing dependencies
[0:11:02.851402098] [8038] DEBUG DeviceEnumerator device_enumerator_udev.cpp:322 All dependencies for media device /dev/media0 found
[0:11:02.851404820] [8038] DEBUG DeviceEnumerator device_enumerator.cpp:258 Added device /dev/media0: intel-ipu6
[0:11:02.851635595] [8038] DEBUG Camera camera_manager.cpp:138 Found registered pipeline handler 'ipu3'
[0:11:02.851652111] [8038] DEBUG Camera camera_manager.cpp:138 Found registered pipeline handler 'simple'
[0:11:02.851656085] [8038] DEBUG DeviceEnumerator device_enumerator.cpp:318 Successful match for media device "intel-ipu6"
[0:11:02.851662891] [8038] DEBUG SimplePipeline simple.cpp:1552 Sensor found for /dev/media0
[0:11:02.851682195] [8038] DEBUG SimplePipeline simple.cpp:416 Found capture device Intel IPU6 ISYS Capture 32
[0:11:02.851695958] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Exposure (0x00980911)
[0:11:02.851702589] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Horizontal Flip (0x00980914)
[0:11:02.851706613] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Vertical Flip (0x00980915)
[0:11:02.851710488] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Camera Orientation (0x009a0922)
[0:11:02.851716636] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Camera Sensor Rotation (0x009a0923)
[0:11:02.851720551] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Vertical Blanking (0x009e0901)
[0:11:02.851723879] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Horizontal Blanking (0x009e0902)
[0:11:02.851727603] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Analogue Gain (0x009e0903)
[0:11:02.851731834] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Link Frequency (0x009f0901)
[0:11:02.851735857] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Pixel Rate (0x009f0902)
[0:11:02.851739185] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Test Pattern (0x009f0903)
[0:11:02.851744340] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Digital Gain (0x009f0905)
[0:11:02.851910195] [8038] DEBUG CameraSensor camera_sensor.cpp:429 'ov5693 15-0036': Test pattern mode 1 ignored
[0:11:02.851914516] [8038] DEBUG CameraSensor camera_sensor.cpp:429 'ov5693 15-0036': Test pattern mode 3 ignored
[0:11:02.851918249] [8038] DEBUG CameraSensor camera_sensor.cpp:1185 'ov5693 15-0036': Apply test pattern mode 0
[0:11:02.851922756] [8038] DEBUG SimplePipeline simple.cpp:486 Found pipeline: [ov5693 15-0036|0] -> [0|Intel IPU6 CSI2 4|1] -> [0|Intel IPU6 ISYS Capture 32]
[0:11:02.851933874] [8038] DEBUG V4L2 v4l2_videodevice.cpp:631 /dev/video32[16:cap]: Opened device : isys: ipu6
[0:11:02.851957437] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Exposure (0x00980911)
[0:11:02.851961726] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Horizontal Flip (0x00980914)
[0:11:02.851965158] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Vertical Flip (0x00980915)
[0:11:02.851969239] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Camera Orientation (0x009a0922)
[0:11:02.851974195] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Camera Sensor Rotation (0x009a0923)
[0:11:02.851977992] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Vertical Blanking (0x009e0901)
[0:11:02.851981464] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Horizontal Blanking (0x009e0902)
[0:11:02.851984779] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Analogue Gain (0x009e0903)
[0:11:02.851988731] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Link Frequency (0x009f0901)
[0:11:02.851992765] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Pixel Rate (0x009f0902)
[0:11:02.851996325] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Test Pattern (0x009f0903)
[0:11:02.852005680] [8038] DEBUG V4L2 v4l2_device.cpp:634 'ov5693 15-0036': Control: Digital Gain (0x009f0905)
[0:11:02.852016638] [8038] DEBUG DmaBufAllocator dma_buf_allocator.cpp:103 Failed to open /dev/dma_heap/linux,cma: No such file or directory
[0:11:02.852063203] [8038] DEBUG DmaBufAllocator dma_buf_allocator.cpp:103 Failed to open /dev/dma_heap/reserved: No such file or directory
[0:11:02.852067210] [8038] DEBUG DmaBufAllocator dma_buf_allocator.cpp:103 Failed to open /dev/dma_heap/system: No such file or directory
[0:11:02.852071449] [8038] DEBUG DmaBufAllocator dma_buf_allocator.cpp:103 Failed to open /dev/udmabuf: Permission denied
[0:11:02.852074334] [8038] ERROR DmaBufAllocator dma_buf_allocator.cpp:116 Could not open any dma-buf provider
[0:11:02.852088691] [8038] ERROR SoftwareIsp software_isp.cpp:91 Failed to create DmaBufAllocator object
[0:11:02.852091664] [8038]  WARN SimplePipeline simple.cpp:531 Failed to create software ISP, disabling software debayering
[0:11:02.852097568] [8038] DEBUG MediaDevice media_device.cpp:826 /dev/media0[intel-ipu6]: 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: 0
[0:11:02.852101554] [8038] DEBUG MediaDevice media_device.cpp:826 /dev/media0[intel-ipu6]: 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: 1
[0:11:02.852119544] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'ov5693 15-0036'[0] -> 'Intel IPU6 CSI2 4'[0]: configured with format 1296x972-SBGGR10_1X10
[0:11:02.852123445] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: configured with format 1296x972-SBGGR10_1X10
[0:11:02.852129464] [8038] DEBUG SimplePipeline simple.cpp:626 Adding configuration for 1296x972 in pixel formats [ BG10, pBAA ]
[0:11:02.852145744] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'ov5693 15-0036'[0] -> 'Intel IPU6 CSI2 4'[0]: configured with format 2592x1944-SBGGR10_1X10
[0:11:02.852148737] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: configured with format 2592x1944-SBGGR10_1X10
[0:11:02.852153318] [8038] DEBUG SimplePipeline simple.cpp:626 Adding configuration for 2592x1944 in pixel formats [ BG10, pBAA ]
[0:11:02.852161687] [8038] DEBUG Camera camera_manager.cpp:159 Pipeline handler "simple" matched
[0:11:02.852165606] [8038] DEBUG Camera camera_manager.cpp:138 Found registered pipeline handler 'uvcvideo'
[0:11:05.437824699] [8033] DEBUG SimplePipeline simple.cpp:1002 Largest stream size is 1296x972
[0:11:05.437867652] [8033] DEBUG SimplePipeline simple.cpp:1054 Picked 1296x972-SBGGR10_1X10 -> 1296x972-SBGGR10 for max stream size 1296x972
[0:11:05.437907974] [8033] DEBUG Camera camera.cpp:1132 streams configuration: (0) 1296x972-SBGGR10
[0:11:05.437924538] [8033] DEBUG SimplePipeline simple.cpp:1002 Largest stream size is 1296x972
[0:11:05.437933063] [8033] DEBUG SimplePipeline simple.cpp:1054 Picked 1296x972-SBGGR10_1X10 -> 1296x972-SBGGR10 for max stream size 1296x972
[0:11:05.437944083] [8033] DEBUG SimplePipeline simple.cpp:1002 Largest stream size is 1296x972
[0:11:05.437950978] [8033] DEBUG SimplePipeline simple.cpp:1054 Picked 1296x972-SBGGR10_1X10 -> 1296x972-SBGGR10 for max stream size 1296x972
[0:11:05.437962513] [8033]  INFO Camera camera.cpp:1197 configuring streams: (0) 1296x972-SBGGR10
[0:11:05.438041472] [8038] DEBUG MediaDevice media_device.cpp:826 /dev/media0[intel-ipu6]: 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: 0
[0:11:05.438074456] [8038] DEBUG MediaDevice media_device.cpp:826 /dev/media0[intel-ipu6]: 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: 1
[0:11:05.438167451] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'ov5693 15-0036'[0] -> 'Intel IPU6 CSI2 4'[0]: configured with format 1296x972-SBGGR10_1X10
[0:11:05.438183621] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: configured with format 1296x972-SBGGR10_1X10
Failed to set viewfinder format
[0:11:08.228241842] [8033] DEBUG SimplePipeline simple.cpp:1002 Largest stream size is 1296x972
[0:11:08.228288792] [8033] DEBUG SimplePipeline simple.cpp:1054 Picked 1296x972-SBGGR10_1X10 -> 1296x972-SBGGR10 for max stream size 1296x972
[0:11:08.228327203] [8033] DEBUG Camera camera.cpp:1132 streams configuration: (0) 1296x972-SBGGR10
[0:11:08.228343757] [8033] DEBUG SimplePipeline simple.cpp:1002 Largest stream size is 1296x972
[0:11:08.228350186] [8033] DEBUG SimplePipeline simple.cpp:1054 Picked 1296x972-SBGGR10_1X10 -> 1296x972-SBGGR10 for max stream size 1296x972
[0:11:08.228359688] [8033] DEBUG SimplePipeline simple.cpp:1002 Largest stream size is 1296x972
[0:11:08.228365118] [8033] DEBUG SimplePipeline simple.cpp:1054 Picked 1296x972-SBGGR10_1X10 -> 1296x972-SBGGR10 for max stream size 1296x972
[0:11:08.228375043] [8033]  INFO Camera camera.cpp:1197 configuring streams: (0) 1296x972-SBGGR10
[0:11:08.228453934] [8038] DEBUG MediaDevice media_device.cpp:826 /dev/media0[intel-ipu6]: 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: 0
[0:11:08.228475672] [8038] DEBUG MediaDevice media_device.cpp:826 /dev/media0[intel-ipu6]: 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: 1
[0:11:08.228558251] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'ov5693 15-0036'[0] -> 'Intel IPU6 CSI2 4'[0]: configured with format 1296x972-SBGGR10_1X10
[0:11:08.228569769] [8038] DEBUG SimplePipeline simple.cpp:775 Link 'Intel IPU6 CSI2 4'[1] -> 'Intel IPU6 ISYS Capture 32'[0]: configured with format 1296x972-SBGGR10_1X10
Failed to set viewfinder format

Thanks @talhaHavadar ,
Surface Pro 7 here. In 6.11 I had to manually modprobe all the intel ipu modules I saw in your output but neither cheese nor qcam found any camenra on this machine.

 cam -c 1 --capture=1000 --display
[0:12:11.911943321] [23163]  INFO IPAManager ipa_manager.cpp:137 libcamera is not installed. Adding '/nix/store/src/ipa' to the IPA search path
[0:12:11.912156799] [23163]  INFO Camera camera_manager.cpp:325 libcamera v0.3.2
Camera 1 not found
Failed to create camera session

I'll keep trying with newer kernels or if you have any idea about what to test/try I'll give it a try.
Thx for your help!

@ryuheechul
Copy link

My report is not about Bluetooth but it's related to 6.11.4 which (partially) breaks tailscale (linking for visibility)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants