** Tags added: kernel-daily-bug

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-hwe-6.2 in Ubuntu.
https://bugs.launchpad.net/bugs/2031581

Title:
  HDMI out to HDMI monitors: Overscan vs Force-dvi audio (**Reopen
  40748**)

Status in linux-hwe-6.2 package in Ubuntu:
  New
Status in xorg-server package in Ubuntu:
  New

Bug description:
  This is essentially a re-open of bug
  https://bugs.freedesktop.org/show_bug.cgi?id=40748

  What's the problem: Given a TV monitor, with an HDMI to HDMI cable, I
  have two options for this TV.

  1. TV mode -- overscan erases the edges of what's displayed.
  2. Monitor mode: No overscan (good).

  As far as I can tell, going into monitor mode requires using DVI mode through 
xrandr.
  But, X seems to tie both DVI mode, and "no audio exists" to the same switch.

  Even to the point that the DVI mode is listed as an audio setting
  option.

  Repeat-bys:

  1. Full monitor quality display, audio disabled:
    173  xrandr --output HDMI-1 --set audio force-dvi

  2. Overscan TV quality, audio working:
    174  xrandr --output HDMI-1 --set audio on

  What I want: DVI display with audio still enabled.

  Note the issue with the old bug (40748):

  The person had a DVI to HDMI cable, and was unable to send audio over
  it -- and needed a way to force the X system to treat it as non HDMI
  and non audio.

  
  diff --git a/drivers/gpu/drm/i915/intel_hdmi.c 
b/drivers/gpu/drm/i915/intel_hdmi
  index 226ba83..1bb6996 100644
  --- a/drivers/gpu/drm/i915/intel_hdmi.c
  +++ b/drivers/gpu/drm/i915/intel_hdmi.c
  @@ -335,8 +335,8 @@ intel_hdmi_detect(struct drm_connector *connector, bool 
forc
          if (edid) {
                  if (edid->input & DRM_EDID_INPUT_DIGITAL) {
                          status = connector_status_connected;
  -                       intel_hdmi->has_hdmi_sink = 
drm_detect_hdmi_monitor(edid
  -                       intel_hdmi->has_audio = 
drm_detect_monitor_audio(edid);
  +                       //intel_hdmi->has_hdmi_sink = 
drm_detect_hdmi_monitor(ed
  +                       //intel_hdmi->has_audio = 
drm_detect_monitor_audio(edid)
                  }
                  connector->display_info.raw_edid = NULL;
                  kfree(edid);

  
  So ... yeah, there are existing issues that need both of these, to treat it 
as just a DVI connection; and then, mine (a Vizio) needs it to be treated as a 
DVI **with audio**.

  In other words, the "audio force-dvi" needs to support separate
  "display force-dvi" and "audio off".

  Because, looking over docs online, it really does seem that audio over
  DVI can happen, and a physical HDMI to HDMI cable can, and it seems
  this TV/monitor wants the video signal sent as DVI, not as HDMI (which
  triggers TV overscan.)

  Ubuntu version LTS 22.04

  Description:    Ubuntu 22.04.3 LTS
  Release:        22.04

  Hardware: Nova Custom NS70
  Vizio VX32 L

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: xorg 1:7.7+23ubuntu2
  ProcVersionSignature: Ubuntu 6.2.0-26.26~22.04.1-generic 6.2.13
  Uname: Linux 6.2.0-26-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: KDE
  Date: Wed Aug 16 18:10:40 2023
  DistUpgraded: Fresh install
  DistroCodename: jammy
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Intel Corporation Alder Lake-P Integrated Graphics Controller [8086:46a6] 
(rev 0c) (prog-if 00 [VGA controller])
     Subsystem: CLEVO/KAPOK Computer Device [1558:7716]
  InstallationDate: Installed on 2023-07-31 (16 days ago)
  InstallationMedia: Kubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 
(20220419)
  MachineType: Notebook NS5x_NS7xPU
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-26-generic 
root=UUID=131e58eb-f234-4ae1-8e00-88dd3d1e86c9 ro quiet splash 
resume=UUID=f1b99458-d1ad-4a98-a615-b09474c3c7bd vt.handoff=7
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/30/2023
  dmi.bios.release: 1.6
  dmi.bios.vendor: 3mdeb
  dmi.bios.version: Dasharo (coreboot+UEFI) v1.6.0
  dmi.board.name: NS5x_NS7xPU
  dmi.board.vendor: Notebook
  dmi.board.version: v2.1
  dmi.chassis.type: 10
  dmi.chassis.vendor: Notebook
  dmi.ec.firmware.release: 0.0
  dmi.modalias: 
dmi:bvn3mdeb:bvrDasharo(coreboot+UEFI)v1.6.0:bd03/30/2023:br1.6:efr0.0:svnNotebook:pnNS5x_NS7xPU:pvrv2.1:rvnNotebook:rnNS5x_NS7xPU:rvrv2.1:cvnNotebook:ct10:cvr:skuNotApplicable:
  dmi.product.family: Not Applicable
  dmi.product.name: NS5x_NS7xPU
  dmi.product.sku: Not Applicable
  dmi.product.version: v2.1
  dmi.sys.vendor: Notebook
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1
  version.libgl1-mesa-dri: libgl1-mesa-dri 23.0.4-0ubuntu1~22.04.1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.17-2build1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.2/+bug/2031581/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to