** Description changed:

  Using chromium browser on ubuntu bionic (the apt version), the wrong
  user agent is present in chromium 111 and 112. When testing the arm64
  build, the user agent is expected to contain the string aarch64 however
  it contains the string x86_64. I am not aware if i386 and armhf builds
  are also affected by this or not. This was not an issue in chromium 110
- builds, they had the correct user agent.
+ builds, they had the correct user agent. I am assuming this is likely an
+ issue with chromium source and not packaging in particular.
  
- There is YouTube bug to go alongside this as well. In chromium 110+, YouTube 
is blocking higher than 480p content on Linux unless the user agent is x86_64. 
Here is the YouTube debug info from chromium 110 (using the default user agent 
which correctly has aarch64).
- ```
- Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/110.0.0.0 Safari/537.36
- ```
+ On the other hand, using x86_64 fixes a bug that youtube has on aarch64
+ user agent, where it thinks it's a Hisense TV and limits max resolution
+ to 480p since chromium 110+. playback debug info from youtube to show
+ that:
+ 
  ```
  {
    "ns": "yt",
    "el": "detailpage",
    "cpn": "HFfQQ5-Ud1Xq31GM",
    "ver": 2,
    "cmt": "0",
    "fmt": "247",
    "fs": "0",
    "rt": "3.724",
    "euri": "",
    "lact": 3,
    "cl": "525275539",
    "mos": 0,
    "state": "49",
    "volume": 100,
    "cbrand": "hisense",
    "cbr": "Chrome",
    "cbrver": "110.0.0.0",
    "c": "WEB",
    "cver": "2.20230421.01.00",
    "cplayer": "UNIPLAYER",
    "cmodel": "65a67gevs",
    "cos": "X11",
    "cplatform": "TV",
    "hl": "en_US",
    "cr": "US",
    "len": "41920.021",
    "fexp": 
"23776346,23983296,23986022,24004644,24007246,24080738,24135310,24169501,24219381,24255163,24406084,24415864,24416291,24433679,24437577,24439361,24449113,24462372,24468691,24499792,24516157,24532854,24539776,24550457,24556606,39323074",
    "feature": "g-high-rec",
    "afmt": "251",
    "muted": "0",
    "docid": "HA7emw-FIjs",
    "ei": "welFZNqxGPik0_wPjtWe6A4",
    "plid": "AAX6C8oUWaU74VL5",
    "referrer": "https://www.youtube.com/";,
    "sdetail": "p:/",
    "sourceid": "y",
    "of": "xjLV454MDgULLBhO4MUTig",
    "vm": 
"CAQQARgBOjJBTE03ZXZMUmtPVHNLMHhveDl3MHZNWDhrcW9jY0tuYVVCMnB5LUxwdzNfNW9pSUEtd2JTQVBta0tESV85bzU2Nlg2VmdHV2VRY09NOWxsZ284RUdLelRtTVdVZGxmZXJLanZOOGlWX1g0eGFiSUJOMUlGc0JjM1RwMzJGeHpGdElTdmhaVmNoAQ",
    "vct": "0.000",
    "vd": "41920.021",
    "vpl": "",
    "vbu": "0.000-7.000",
    "vpa": "0",
    "vsk": "0",
    "ven": "0",
    "vpr": "1",
    "vrs": "1",
    "vns": "2",
    "vec": "null",
    "vemsg": "",
    "vvol": "1",
    "vdom": "1",
    "vsrc": "1",
    "vw": "693",
    "vh": "390",
    "lct": "0.000",
    "lsk": false,
    "lmf": false,
    "lbw": "152435.812",
    "lhd": "1.635",
    "lst": "0.000",
    "laa": 
"itag_251_type_3_src_getRequestInfoForRange_segsrc_getRequestInfoForRange_seg_0_range_78167-212166_time_0.0-8.2_off_0_len_134000",
    "lva": 
"itag_247_type_3_src_getRequestInfoForRange_segsrc_getRequestInfoForRange_seg_0_range_130036-287966_time_0.0-7.0_off_0_len_157931_end_1",
    "lar": 
"itag_251_type_3_src_getRequestInfoForRange_segsrc_getRequestInfoForRange_seg_1_range_241354-432255_time_10.0-19.9_off_0_len_190902",
    "lvr": 
"itag_247_type_3_src_getRequestInfoForRange_segsrc_getRequestInfoForRange_seg_2_range_412688-502401_time_14.0-18.3_off_0_len_89714",
    "laq": "220089",
    "lvq": "214435",
    "lab": "0.000-8.461",
    "lvb": "0.000-7.000",
    "ismb": 13290000,
    "leader": 1,
    "relative_loudness": "-2.590",
    "optimal_format": "720p",
    "user_qual": 720,
    "release_version": "youtube.player.web_20230418_00_RC00",
    "debug_videoId": "HA7emw-FIjs",
    "0sz": "false",
    "op": "",
    "yof": "false",
    "dis": "",
    "gpu": 
"ANGLE_(NVIDIA_Corporation,_NVIDIA_Tegra_X1_(nvgpu)/integrated,_OpenGL_4.5.0)",
    "debug_playbackQuality": "hd720",
    "debug_date": "Sun Apr 23 2023 22:30:34 GMT-0400 (Eastern Daylight Time)"
  }
  ```
- 
- YouTube is reporting back that this is some random branded TV. Changing
- the user agent to x86_64 is a hack that allows for higher resolutions to
- be played back and the output from debug info is "normal" again.
- 
- If you have contacts at Google that would be great if the second issue
- could be fixed at YouTube.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/2017463

Title:
  chromium 111 and 112 have the wrong architecture in the user agent

Status in chromium-browser package in Ubuntu:
  New

Bug description:
  Using chromium browser on ubuntu bionic (the apt version), the wrong
  user agent is present in chromium 111 and 112. When testing the arm64
  build, the user agent is expected to contain the string aarch64
  however it contains the string x86_64. I am not aware if i386 and
  armhf builds are also affected by this or not. This was not an issue
  in chromium 110 builds, they had the correct user agent. I am assuming
  this is likely an issue with chromium source and not packaging in
  particular.

  On the other hand, using x86_64 fixes a bug that youtube has on
  aarch64 user agent, where it thinks it's a Hisense TV and limits max
  resolution to 480p since chromium 110+. playback debug info from
  youtube to show that:

  ```
  {
    "ns": "yt",
    "el": "detailpage",
    "cpn": "HFfQQ5-Ud1Xq31GM",
    "ver": 2,
    "cmt": "0",
    "fmt": "247",
    "fs": "0",
    "rt": "3.724",
    "euri": "",
    "lact": 3,
    "cl": "525275539",
    "mos": 0,
    "state": "49",
    "volume": 100,
    "cbrand": "hisense",
    "cbr": "Chrome",
    "cbrver": "110.0.0.0",
    "c": "WEB",
    "cver": "2.20230421.01.00",
    "cplayer": "UNIPLAYER",
    "cmodel": "65a67gevs",
    "cos": "X11",
    "cplatform": "TV",
    "hl": "en_US",
    "cr": "US",
    "len": "41920.021",
    "fexp": 
"23776346,23983296,23986022,24004644,24007246,24080738,24135310,24169501,24219381,24255163,24406084,24415864,24416291,24433679,24437577,24439361,24449113,24462372,24468691,24499792,24516157,24532854,24539776,24550457,24556606,39323074",
    "feature": "g-high-rec",
    "afmt": "251",
    "muted": "0",
    "docid": "HA7emw-FIjs",
    "ei": "welFZNqxGPik0_wPjtWe6A4",
    "plid": "AAX6C8oUWaU74VL5",
    "referrer": "https://www.youtube.com/";,
    "sdetail": "p:/",
    "sourceid": "y",
    "of": "xjLV454MDgULLBhO4MUTig",
    "vm": 
"CAQQARgBOjJBTE03ZXZMUmtPVHNLMHhveDl3MHZNWDhrcW9jY0tuYVVCMnB5LUxwdzNfNW9pSUEtd2JTQVBta0tESV85bzU2Nlg2VmdHV2VRY09NOWxsZ284RUdLelRtTVdVZGxmZXJLanZOOGlWX1g0eGFiSUJOMUlGc0JjM1RwMzJGeHpGdElTdmhaVmNoAQ",
    "vct": "0.000",
    "vd": "41920.021",
    "vpl": "",
    "vbu": "0.000-7.000",
    "vpa": "0",
    "vsk": "0",
    "ven": "0",
    "vpr": "1",
    "vrs": "1",
    "vns": "2",
    "vec": "null",
    "vemsg": "",
    "vvol": "1",
    "vdom": "1",
    "vsrc": "1",
    "vw": "693",
    "vh": "390",
    "lct": "0.000",
    "lsk": false,
    "lmf": false,
    "lbw": "152435.812",
    "lhd": "1.635",
    "lst": "0.000",
    "laa": 
"itag_251_type_3_src_getRequestInfoForRange_segsrc_getRequestInfoForRange_seg_0_range_78167-212166_time_0.0-8.2_off_0_len_134000",
    "lva": 
"itag_247_type_3_src_getRequestInfoForRange_segsrc_getRequestInfoForRange_seg_0_range_130036-287966_time_0.0-7.0_off_0_len_157931_end_1",
    "lar": 
"itag_251_type_3_src_getRequestInfoForRange_segsrc_getRequestInfoForRange_seg_1_range_241354-432255_time_10.0-19.9_off_0_len_190902",
    "lvr": 
"itag_247_type_3_src_getRequestInfoForRange_segsrc_getRequestInfoForRange_seg_2_range_412688-502401_time_14.0-18.3_off_0_len_89714",
    "laq": "220089",
    "lvq": "214435",
    "lab": "0.000-8.461",
    "lvb": "0.000-7.000",
    "ismb": 13290000,
    "leader": 1,
    "relative_loudness": "-2.590",
    "optimal_format": "720p",
    "user_qual": 720,
    "release_version": "youtube.player.web_20230418_00_RC00",
    "debug_videoId": "HA7emw-FIjs",
    "0sz": "false",
    "op": "",
    "yof": "false",
    "dis": "",
    "gpu": 
"ANGLE_(NVIDIA_Corporation,_NVIDIA_Tegra_X1_(nvgpu)/integrated,_OpenGL_4.5.0)",
    "debug_playbackQuality": "hd720",
    "debug_date": "Sun Apr 23 2023 22:30:34 GMT-0400 (Eastern Daylight Time)"
  }
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2017463/+subscriptions


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

Reply via email to