Public bug reported:

The ov08x40 front sensor (ACPI \_SB_.LNK1, HID OVTI08F4, IPU7 on Panther
Lake) is mounted upside down, but the kernel reports
camera_sensor_rotation = 0, so libcamera and other apps show an inverted
image (Dell's own v4l2-relayd config doesn't flip it either).

 ACPI analysis (SSDT, \_SB_.LNK1): both _PLD Rotation (RPOS = L1DG) and
SSDB degree (PAR[0x54] = CDEG (L1DG)) derive from the BIOS variable
L1DG, which is 0 on this machine. So the firmware reports "not rotated"
in both places.

Two ways to fix it:

1. Kernel: add a DMI quirk to upside_down_sensor_dmi_ids in 
drivers/media/pci/intel/ipu-bridge.c ("Dell Inc." / "XPS 16 DA16260" → 
"OVTI08F4"), as was done for the DA16250 (f4d4912e7f06), and as proposed for 
the Pro 14 Premium PA14260 with the same sensor (linux-media, 2026-09-04).
2. Generic: have the BIOS set L1DG = 4. Note that CDEG encodes the SSDB degree 
as literal degrees (180 = 0xB4), while ipu_bridge_parse_rotation() only accepts 
0/1, so the kernel would also need to accept 180 for this to work on Dell 
firmware.

Hardware: Dell XPS 16 DA16260, SKU 0DBA, BIOS 1.9.0, kernel
7.0.0-1013-oem.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-oem-26.04 (not installed)
ProcVersionSignature: Ubuntu 7.0.0-1013.13-oem 7.0.14
Uname: Linux 7.0.0-1013-oem x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: GNOME
Date: Wed Sep 23 16:06:07 2026
InstallationDate: Installed on 2026-06-02 (113 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423.1)
ProcEnviron:
 LANG=es_ES.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-ghostty
 XDG_RUNTIME_DIR=<set>
SourcePackage: linux-meta-oem-7.0
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: linux-meta-oem-7.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

** Description changed:

  The ov08x40 front sensor (ACPI \_SB_.LNK1, HID OVTI08F4, IPU7 on Panther
  Lake) is mounted upside down, but the kernel reports
  camera_sensor_rotation = 0, so libcamera and other apps show an inverted
  image (Dell's own v4l2-relayd config doesn't flip it either).
  
-  ACPI analysis (SSDT, \_SB_.LNK1): both _PLD Rotation (RPOS = L1DG) and
+  ACPI analysis (SSDT, \_SB_.LNK1): both _PLD Rotation (RPOS = L1DG) and
  SSDB degree (PAR[0x54] = CDEG (L1DG)) derive from the BIOS variable
  L1DG, which is 0 on this machine. So the firmware reports "not rotated"
  in both places.
  
  Two ways to fix it:
  
  1. Kernel: add a DMI quirk to upside_down_sensor_dmi_ids in 
drivers/media/pci/intel/ipu-bridge.c ("Dell Inc." / "XPS 16 DA16260" → 
"OVTI08F4"), as was done for the DA16250 (f4d4912e7f06), and as proposed for 
the Pro 14 Premium PA14260 with the same sensor (linux-media, 2026-09-04).
  2. Generic: have the BIOS set L1DG = 4. Note that CDEG encodes the SSDB 
degree as literal degrees (180 = 0xB4), while ipu_bridge_parse_rotation() only 
accepts 0/1, so the kernel would also need to accept 180 for this to work on 
Dell firmware.
  
- Hardware: Dell XPS 16 DA16260, SKU 0DBA, BIOS 1.5.1, kernel
+ Hardware: Dell XPS 16 DA16260, SKU 0DBA, BIOS 1.9.0, kernel
  7.0.0-1013-oem.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: linux-oem-26.04 (not installed)
  ProcVersionSignature: Ubuntu 7.0.0-1013.13-oem 7.0.14
  Uname: Linux 7.0.0-1013-oem x86_64
  ApportVersion: 2.34.1-0ubuntu0.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: GNOME
  Date: Wed Sep 23 16:06:07 2026
  InstallationDate: Installed on 2026-06-02 (113 days ago)
  InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 
(20260423.1)
  ProcEnviron:
-  LANG=es_ES.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  TERM=xterm-ghostty
-  XDG_RUNTIME_DIR=<set>
+  LANG=es_ES.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-ghostty
+  XDG_RUNTIME_DIR=<set>
  SourcePackage: linux-meta-oem-7.0
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2168145

Title:
  Dell XPS 16 DA16260: internal camera (ov08x40, OVTI08F4) image upside
  down — BIOS reports 0° rotation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-meta-oem-7.0/+bug/2168145/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to