[Desktop-packages] [Bug 2017463] Re: chromium 111 and 112 have the wrong architecture in the user agent

2023-11-08 Thread theofficialgman
working as intended according to google
https://bugs.chromium.org/p/chromium/issues/detail?id=1500114

this can be closed I guess

** Changed in: chromium-browser (Ubuntu)
   Status: New => Invalid

-- 
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:
  Invalid
Status in chromium-browser source package in Bionic:
  Won't Fix

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": 1329,
    "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


[Desktop-packages] [Bug 2017463] Re: chromium 111 and 112 have the wrong architecture in the user agent

2023-05-04 Thread Nathan Teodosio
Sorry, there won't be a new release for Bionic. Since there is no reason
this would not apply to the snap too, I leave the bug report for the
package open.

** Changed in: chromium-browser (Ubuntu Bionic)
   Status: New => Won't Fix

-- 
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
Status in chromium-browser source package in Bionic:
  Won't Fix

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": 1329,
    "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


[Desktop-packages] [Bug 2017463] Re: chromium 111 and 112 have the wrong architecture in the user agent

2023-05-01 Thread theofficialgman
Certain websites use the user agent architecture string to determine
what download link to show/serve to users on their websites. Having it
as x86_64 will cause these websites to give the wrong link.

When it comes to the YouTube playback issue, I think fixing this
behavior is a bit of a catch-22 situation. YouTube may not acknowledge
the issue if it isn't present in an official build. But fixing the user
agent will mean that users suffer from poor YouTube playback resolution
until YouTube fixes it.

If you (as a chromium packager at ubuntu) have any contacts at Google or
YouTube that you can reach out to I would appreciate if you could do so
for this YouTube issue. It has been ongoing for the past few months now
and did affect the chromium 110 release right out of the box when that
was the latest package from Ubuntu. My (and others) reaching out hasn't
yielded any response.

-- 
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
Status in chromium-browser source package in Bionic:
  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": 1329,
    "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:

[Desktop-packages] [Bug 2017463] Re: chromium 111 and 112 have the wrong architecture in the user agent

2023-05-01 Thread Nathan Teodosio
Thanks for the bug report and sorry for the delay responding to this.

Is there an unwanted behavior resulting from this mismatch? You mention
that the mismatch fixes Youtube playback so it wouldn't look worth
"fixing" this?

** Also affects: chromium-browser (Ubuntu Bionic)
   Importance: Undecided
   Status: New

-- 
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
Status in chromium-browser source package in Bionic:
  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": 1329,
    "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


[Desktop-packages] [Bug 2017463] Re: chromium 111 and 112 have the wrong architecture in the user agent

2023-04-29 Thread theofficialgman
** 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": 1329,
    "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 

[Desktop-packages] [Bug 2017463] Re: chromium 111 and 112 have the wrong architecture in the user agent

2023-04-29 Thread theofficialgman
** 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 should contain the string aarch64 however it
  contains the string x86_64. Many websites use the user agent to provide
  download links for the correct architecture that the system is running
  and this incorrect user agent will interfere with that process. 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.
  
  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
  ```
  ```
  {
    "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": 1329,
    "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.
  
- I would like for this to be corrected at YouTube as well as in chromium-
- browser debs.
+ If you have contacts at Google that would be great if the second issue
+ could be fixed at YouTube.

** 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 should contain the string aarch64 however it
- contains the string x86_64. Many websites use the user agent to provide
- download links for the correct architecture that the system is running
- and this incorrect user agent will interfere with that process. 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.
+ build, the user agent is expected to contain the string aarch64