ROCm / ROCm

AMD ROCm™ Software - GitHub Home

Home Page:https://rocm.docs.amd.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Issue]: Dotted I errors in amdgpu-install if one has Turkish or Azerbaijani as the locale

erkinalp opened this issue · comments

Problem Description

/usr/bin/amdgpu-install: satır 436: ${USECASE_GRAPHİCS_PACKAGES[*]}: hatalı ikame

Operating System

Ubuntu 22.04.3

CPU

Amd Ryzen 9 5950X

GPU

not relevant as this happens at ROCm installation

ROCm Version

ROCm 6.0.0

ROCm Component

No response

Steps to Reproduce

Run sudo amdgpu-install

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

Not relevant for this issue, as it happens while running the installer

Additional Information

No response

Hi @erkinalp, please provide the GPU info so that we can investigate the issue properly. Thank you.

RX 5500, but not relevant to reproduce this particular issue; the issue kicks in before any GPU code execution or even a GPU detection happens, thereby preventing installation in the first place.

More particularly, it sees USECASE_GRAPHİCS_PACKAGES instead of USECASE_GRAPHICS_PACKAGES (see the "İ" instead of "I"), and the former is a nonexistent variable.

@Mystro256 any thoughts?

How the driver has been installed? Specifically, where does the installer package comes from?

This applies to both .deb and compiled-from-source versions.

Status of the .rpm version unknown as I do not have a RPM-based testing machine.

Hi @erkinalp, can you please clarify (as requested by Slava) where did the installer package come from? Thanks.

In my case, it is the .deb version from repo.radeon.com

Are you using this one?
image

URL of the installer package would be more helpful.
Also, please upgrade the target system to Ubuntu 22.04.4.

Are you using this one?

Yes

Also, please upgrade the target system to Ubuntu 22.04.4.

Too late, already upgraded to 24.04 pre-release, but that detail is not relevant to the issue in hand, because shell expansions still work the same way as before, and there is still no variable called $USECASE_GRAPHİCS_PACKAGES

Agree, just wanted to make sure we will use the same package for repro.

@erkinalp, can you please check if your issue still exists with ROCm 6.1.0? Thanks.

yes, still persists in 6.1

offended line numbers changed but the error is still the same

/usr/bin/amdgpu-install: satır 490: ${USECASE_GRAPHİCS_PACKAGES[*]}: hatalı ikame

Sorry I didn't forget about this, I was just a bit busy. I'm not 100% sure why it's replacing the I with İ.

I opened the script with my system and it's clearly an "I".

not 100% sure why it's replacing the I with İ.

in Turkish and Azerbaijani, the uppercase form of i is İ and the lowercase form of I is ı.

I wonder whether the following commands help if added into beginning of the script:

export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
sudo dpkg-reconfigure locales

sudo dpkg-reconfigure locales

I get the first two, but why should I regenerate my locale?

sudo dpkg-reconfigure locales

I get the first two, but why should I regenerate my locale?

Fair enough.

Though does it help if you just set LC_ALL and LC_CTYPE?