Comment 0 for bug 2017463

Revision history for this message
theofficialgman (theofficialgman) wrote :

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 incrorrect 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": 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.

I would like for this to be corrected at YouTube as well as in chromium-browser debs.