Intel-media-driver update

I’ve just done an update and after the downloads had completed I was greeted by the following error message:

error: failed retrieving file 'intel-media-driver-24.2.1-1-x86_64.pkg.tar.zst' from mirrors.uni-plovdiv.net : OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to mirrors.uni-plovdiv.net:443 

The update then installed all of the other files from the update.

Is this error because I’m using an AMD CPU?

System:
  Kernel: 6.6.28-1-lts arch: x86_64 bits: 64 compiler: gcc v: 13.2.1 clocksource: tsc
    avail: hpet,acpi_pm parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
    root=UUID=f60f6675-0606-42d7-9815-e0fbe7be0409 rw rootflags=subvol=@ quiet
    resume=UUID=d807950b-e01b-4ea5-b73f-d50f5ae401e3 loglevel=3 ibt=off
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 wm: xfwm4 v: 4.18.0 with: xfce4-panel
    tools: xfce4-screensaver avail: xautolock vt: 7 dm: LightDM v: 1.32.0 Distro: Garuda
    base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X513UA_M513UA v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: X513UA v: 1.0 serial: <superuser required> uuid: <superuser required>
    UEFI: American Megatrends LLC. v: X513UA.312 date: 04/26/2022
Battery:
  ID-1: BAT0 charge: 23.5 Wh (68.1%) condition: 34.5/42.1 Wh (82.0%) power: 7.6 W volts: 11.8
    min: 11.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: discharging cycles: 767
CPU:
  Info: model: AMD Ryzen 5 5500U with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2 gen: 3
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
    model-id: 0x68 (104) stepping: 1 microcode: 0x8608103
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache: L1: 384 KiB
    desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 8 MiB desc: 2x4 MiB
  Speed (MHz): avg: 835 high: 2046 min/max: 400/4056 scaling: driver: amd-pstate-epp
    governor: powersave cores: 1: 2046 2: 2046 3: 400 4: 1364 5: 1364 6: 400 7: 400 8: 400 9: 400
    10: 400 11: 400 12: 400 bogomips: 50327
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Lucienne vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:164c
    class-ID: 0300 temp: 35.0 C
  Device-2: Quanta USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 mode: 2.0 bus-ID: 3-3:3 chip-ID: 0408:30d4 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.13 compositor: xfwm4 v: 4.18.0 driver: X: loaded: amdgpu
    unloaded: modesetting alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP model: Samsung 0x4161 built: 2020 res: 1920x1080 hz: 60 dpi: 142
    gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9 modes: max: 1920x1080
    min: 640x480
  API: Vulkan v: 1.3.279 layers: 5 device: 0 type: integrated-gpu name: AMD Radeon Graphics
    (RADV RENOIR) driver: mesa radv v: 24.0.5-arch1.1 device-ID: 1002:164c surfaces: xcb,xlib
    device: 1 type: cpu name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
    v: 24.0.5-arch1.1 (LLVM 17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci,
    snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh
    pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  API: ALSA v: k6.6.28-1-lts status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak] driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 01:00.0 chip-ID: 8086:2725 class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1
    mode: 1.1 bus-ID: 3-2:2 chip-ID: 8087:0032 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 2 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter> bt-v: 5.3 lmp-v: 12 status: discoverable: yes
    pairing: yes
Drives:
  Local Storage: total: 476.94 GiB used: 26.41 GiB (5.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLQ512HALU-00000 size: 476.94 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: FXV7101Q temp: 24.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 156.25 GiB size: 156.25 GiB (100.00%) used: 17.25 GiB (11.0%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) used: 584 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 312.18 GiB size: 312.18 GiB (100.00%) used: 9.15 GiB (2.9%) fs: btrfs
    dev: /dev/nvme0n1p4 maj-min: 259:4
  ID-4: /var/log raw-size: 156.25 GiB size: 156.25 GiB (100.00%) used: 17.25 GiB (11.0%)
    fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 156.25 GiB size: 156.25 GiB (100.00%) used: 17.25 GiB (11.0%)
    fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3
    maj-min: 259:3
  ID-2: swap-2 type: zram size: 7.15 GiB used: 0 KiB (0.0%) priority: 100 comp: zstd
    avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 37.4 C mobo: N/A gpu: amdgpu temp: 35.0 C
  Fan Speeds (rpm): cpu: 0
Info:
  Memory: total: 8 GiB note: est. available: 7.15 GiB used: 3.09 GiB (43.1%)
  Processes: 353 Power: uptime: 10h 49m states: freeze,mem,disk suspend: deep avail: s2idle
    wakeups: 3 hibernate: platform avail: shutdown, reboot, suspend, test_resume image: 2.85 GiB
    services: power-profiles-daemon, upowerd, xfce4-power-manager Init: systemd v: 255
    default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1356 libs: 434 tools: paru Compilers: gcc: 13.2.1
    Client: shell wrapper v: 5.2.26-release inxi: 3.3.34
Garuda (2.6.26-1):
  System install date:     2024-01-29
  Last full system update: 2024-04-20 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            

It’s because you need better mirrors.

4 Likes

At the beginning of my Garuda time, I constantly had timeouts when updating due to a lack of sufficient connectivity. But since I had already chosen the optimal mirror server, the solution was to increase the timeout from one second to 5 seconds.

Is my case the same as the one discussed here or are these two different things?

Its a port error

1 Like

Thank you SGS for the clarification and the link to port 443.

I could have whoogled myself. :face_with_head_bandage:

1 Like

Here’s my Arch Mirrorlist:

I’m in the UK so my guess is UK would be the best choice.

Here’s my reflector-simple.conf:

### Default 'reflector options' for reflector-simple.
#
#
# Below you'll find the *default* values
# used by reflector-simple. The values below are shown as
# commented out since they are the defaults.
# These are simply options of the reflector app.
# Use command 'reflector --help' for more info about the options.
#
# Note:
# if your detected location (country) has Arch mirror(s),
# then (by default) it will be selected in reflector-simple.
#
# If your country has no Arch mirrors, then you must give
# one or more countries here or select in reflector-simple.
#
# Regardless of the above, you may give any selection
# of countries here.

############# Now the default values: ###############

## Which protocols should be supported (https preferred):
#--protocol https

## Max number of most recently synchronized mirrors you want in the list:
#--latest 10

## How to sort the ranked mirrorlist
## (e.g. 'rate' for speed, 'age' for newest packages):
#--sort rate

## Choose countries. By default your local country will likely be detected.
## To see supported countries, use command 'reflector --list-countries'.
## Examples (note the different syntaxes):
##    --country Brazil,Finland,Germany,Netherlands
##    -cBR,FI,DE,NL
##    --country CA,"United States"

It looks like it is still in its default state for some reason.

Here’s the output from reflector --list-countries:

Traceback (most recent call last):
  File "/usr/lib/python3.11/urllib/request.py", line 1348, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.11/http/client.py", line 1298, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1344, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1293, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1052, in _send_output
    self.send(msg)
  File "/usr/lib/python3.11/http/client.py", line 990, in send
    self.connect()
  File "/usr/lib/python3.11/http/client.py", line 1470, in connect
    self.sock = self._context.wrap_socket(self.sock,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/ssl.py", line 517, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/ssl.py", line 1104, in _create
    self.do_handshake()
  File "/usr/lib/python3.11/ssl.py", line 1382, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLEOFError: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/Reflector.py", line 121, in get_mirrorstatus
    with urllib.request.urlopen(url, None, connection_timeout) as handle:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 519, in open
    response = self._open(req, data)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 1391, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 1351, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006)>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/bin/reflector", line 4, in <module>
    sys.exit(Reflector.run_main(configure_logging=True))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/Reflector.py", line 1159, in run_main
    main(args, **kwargs)
  File "/usr/lib/python3.11/site-packages/Reflector.py", line 1105, in main
    options = parse_args(args)
              ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/Reflector.py", line 1031, in parse_args
    options = parser.parse_args(args)
              ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/argparse.py", line 1869, in parse_args
    args, argv = self.parse_known_args(args, namespace)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/argparse.py", line 1902, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/argparse.py", line 2114, in _parse_known_args
    start_index = consume_optional(start_index)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/argparse.py", line 2054, in consume_optional
    take_action(action, args, option_string)
  File "/usr/lib/python3.11/argparse.py", line 1978, in take_action
    action(self, namespace, argument_values, option_string)
  File "/usr/lib/python3.11/site-packages/Reflector.py", line 776, in __call__
    countries = ms.list_countries()
                ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/Reflector.py", line 763, in list_countries
    mirrors = self.get_mirrors()
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/Reflector.py", line 711, in get_mirrors
    obj = self.get_obj()
          ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/Reflector.py", line 704, in get_obj
    self.retrieve()
  File "/usr/lib/python3.11/site-packages/Reflector.py", line 692, in retrieve
    self.mirror_status, self.ms_mtime = get_mirrorstatus(
                                        ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/Reflector.py", line 132, in get_mirrorstatus
    raise MirrorStatusError(
Reflector.MirrorStatusError: 'failed to retrieve mirrorstatus data: URLError: <urlopen error [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006)>'

:man_shrugging:

If that’s the only mirror in your mirrorlist, what do you do when it’s offline or not frequently updated?

What does your real mirrorlist read?

It’s shown above.

This is why you need more than one mirror. :slight_smile:

I’ve added more mirrors. Strangely enough the one at the bottom of the list is the UK one which is closest to me. :confused:

I’ll see how things go…

I’m now getting another error:

[sudo] password for colin:         
:: Synchronising package databases...
 garuda                           72.4 KiB  11.7 KiB/s 00:06 [--------------------------------] 100%
 core                            127.4 KiB   253 KiB/s 00:01 [--------------------------------] 100%
 extra                             8.1 MiB  2.08 MiB/s 00:04 [--------------------------------] 100%
 multilib is up to date
 chaotic-aur                    1993.2 KiB   279 KiB/s 00:07 [--------------------------------] 100%
error: failed retrieving file 'extra.db' from archlinux.thaller.ws : Recv failure: Connection reset by peer

--> Refreshing mirrorlists using rate-mirrors, please be patient..🍵
Error: error sending request for url (https://www.archlinux.org/mirrors/status/json/): error trying to connect: unexpected EOF
Failed to update mirrorlist

Use

sudo reflector --country Germany --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist && bat /etc/pacman.d/mirrorlist && sudo pacman -Syu
1 Like

Here’s the full output from the above:

sudo reflector --country Germany --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist && bat /etc/pacman.d/mirrorlist && sudo pacman -Syu
[sudo] password for colin:         
[2024-04-21 22:49:15] WARNING: failed to rate http(s) download (https://archlinux.thaller.ws/extra/os/x86_64/extra.db): IncompleteRead(4493312 bytes read, 3964501 more expected)
[2024-04-21 22:49:18] WARNING: failed to rate http(s) download (https://mirror.f4st.host/archlinux/extra/os/x86_64/extra.db): IncompleteRead(4521736 bytes read, 3936077 more expected)
[2024-04-21 22:49:21] WARNING: failed to rate http(s) download (https://mirror.sunred.org/archlinux/extra/os/x86_64/extra.db): IncompleteRead(5422762 bytes read, 3035051 more expected)
[2024-04-21 22:49:25] WARNING: failed to rate http(s) download (https://mirror.moson.org/arch/extra/os/x86_64/extra.db): IncompleteRead(4620033 bytes read, 3837780 more expected)
[2024-04-21 22:49:27] WARNING: failed to rate http(s) download (https://mirror.pseudoform.org/extra/os/x86_64/extra.db): IncompleteRead(4685824 bytes read, 3771989 more expected)
───────┬────────────────────────────────────────────────────────────────────────────────────────────
       │ File: /etc/pacman.d/mirrorlist
───────┼────────────────────────────────────────────────────────────────────────────────────────────
   1   │ ################################################################################
   2   │ ################# Arch Linux mirrorlist generated by Reflector #################
   3   │ ################################################################################
   4   │ 
   5   │ # With:       reflector --country Germany --latest 5 --age 2 --fastest 5 --protocol https -
       │ -sort rate --save /etc/pacman.d/mirrorlist
   6   │ # When:       2024-04-21 21:49:27 UTC
   7   │ # From:       https://archlinux.org/mirrors/status/json/
   8   │ # Retrieved:  2024-04-21 21:49:12 UTC
   9   │ # Last Check: 2024-04-21 21:42:10 UTC
  10   │ 
  11   │ Server = https://archlinux.thaller.ws/$repo/os/$arch
  12   │ Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
  13   │ Server = https://mirror.sunred.org/archlinux/$repo/os/$arch
  14   │ Server = https://mirror.moson.org/arch/$repo/os/$arch
  15   │ Server = https://mirror.pseudoform.org/$repo/os/$arch
───────┴────────────────────────────────────────────────────────────────────────────────────────────
:: Synchronising package databases...
 garuda is up to date
 core is up to date
 extra                             8.1 MiB  2.08 MiB/s 00:04 [--------------------------------] 100%
 multilib is up to date
 chaotic-aur                    1993.2 KiB   629 KiB/s 00:03 [--------------------------------] 100%
error: failed retrieving file 'extra.db' from archlinux.thaller.ws : Recv failure: Connection reset by peer
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (5)         Old Version     New Version     Net Change  Download Size

extra/imagemagick   7.1.1.30-2      7.1.1.31-1        0.00 MiB       8.64 MiB
garuda/mhwd-nvidia  550.67.1-1      550.76.1-1        0.00 MiB       0.01 MiB
core/ncurses        6.4_20230520-1  6.4_20230520-2   -0.03 MiB       1.11 MiB
extra/vte-common    0.76.0-2        0.76.1-1          0.00 MiB       0.05 MiB
extra/vte3          0.76.0-2        0.76.1-1          0.00 MiB       0.31 MiB

Total Download Size:   10.12 MiB
Total Installed Size:  28.14 MiB
Net Upgrade Size:      -0.03 MiB

:: Proceed with installation? [Y/n] 

1 Like

Really? Just press Enter.

1 Like

I just thought I’d show the full output - I pressed enter after I copied it :nerd_face:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.