You are not logged in.

#1 2022-11-11 18:56:17

AndreyTarkovsky
Member
Registered: 2017-03-26
Posts: 77

Can't set the proper resolution on my RX 5700 XT

I have a desktop pc running ArchLinux for some months, no problems with my display, but after I updated the system some days ago, my machine is setting the resolution to 640x480 when I boot into my XFCE(also other DEs).
Also there is an interesting fact: I can not get my BIOS SETUP output when my PC is turned on and even my bootloader doesn't shows up(refind)

What I tried:

1 - Disconnect and reconnect the HDMI cable - Didn't work.
2 - Set the correct resolution(1920x1080) using a xrandr script like this below:

xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr --addmode HDMI-A-0 1920x1080_60.00
xrandr --output HDMI-A-0 --mode 1920x1080_60.00

the output:

xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  16 (RRCreateMode)
  Serial number of failed request:  41
  Current serial number in output stream:  41

cvt command used to get the modeline used above:

cvt 1920 1080 
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

/var/log/Xorg.0.log below
https://hastebin.com/kepafahaco.yaml

another log:

sudo lshw -C display
  *-display                 
       description: VGA compatible controller
       product: Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:03:00.0
       version: c1
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=amdgpu latency=0
       resources: irq:131 memory:c0000000-cfffffff memory:d0000000-d01fffff ioport:e000(size=256) memory:dfc00000-dfc7ffff memory:c0000-dffff

Offline

#2 2022-11-11 19:06:03

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Can't set the proper resolution on my RX 5700 XT

What if you try another output port on your GPU?

Also, this could seem weird, but: shutdown the computer, unplug the cable from PSU and leave it unplugged for about 1 minute (let any residual currents / voltages go away). Then replug the cable into the PSU and start your machine.


( such a cool nickname you have! wink )


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2022-11-11 20:26:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,786

Re: Can't set the proper resolution on my RX 5700 XT

[    47.265] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul  2 11:42:26 2022

The log is dated, https://wiki.archlinux.org/title/Xorg#General but you had

[    47.361] (II) AMDGPU(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    47.361] (II) AMDGPU(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    47.361] (II) AMDGPU(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[    47.361] (II) AMDGPU(0): Modeline "1920x1080"x24.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[    47.361] (II) AMDGPU(0): Modeline "1920x1080"x24.0   74.18  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)

back then.

Please post a current log and also the output of "xrandr -q"

Offline

#4 2022-11-13 22:24:15

AndreyTarkovsky
Member
Registered: 2017-03-26
Posts: 77

Re: Can't set the proper resolution on my RX 5700 XT

d.ALT wrote:

What if you try another output port on your GPU?

Also, this could seem weird, but: shutdown the computer, unplug the cable from PSU and leave it unplugged for about 1 minute (let any residual currents / voltages go away). Then replug the cable into the PSU and start your machine.


( such a cool nickname you have! wink )

Unfortunately my GPU only has one HDMI output and the 3 others are display port outputs... I only have HDMI/VGA/DVI displays here.

I tried what you recommended, I turned my PC off and then unplugged literally everything on it: all USB devices, Ethernet cable, Power cord.... It didn't work sad

P.S. Tarkovsky was a great Director haha

Last edited by AndreyTarkovsky (2022-11-13 22:36:20)

Offline

#5 2022-11-13 22:35:48

AndreyTarkovsky
Member
Registered: 2017-03-26
Posts: 77

Re: Can't set the proper resolution on my RX 5700 XT

seth wrote:
[    47.265] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul  2 11:42:26 2022

The log is dated, https://wiki.archlinux.org/title/Xorg#General but you had

[    47.361] (II) AMDGPU(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[    47.361] (II) AMDGPU(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[    47.361] (II) AMDGPU(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[    47.361] (II) AMDGPU(0): Modeline "1920x1080"x24.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[    47.361] (II) AMDGPU(0): Modeline "1920x1080"x24.0   74.18  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)

back then.

Please post a current log and also the output of "xrandr -q"

Ok, take a look, please.

xrandr -q
Screen 0: minimum 320 x 200, current 1360 x 850, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 connected 1360x850+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   640x480       59.94  
   1360x850_60.00  59.88* 

As you can see, I can set my resolution to 1360x850 which my display also accepts, but I want a 1920x1080 as I had before...

And the updated Xorg log file:

https://hastebin.com/efuqatuyul.yaml

and there is another issue... I'm not getting any sound from my HDMI output:
https://imgur.com/a/Y95ZjGL

https://imgur.com/a/b1RTNZR

Last edited by AndreyTarkovsky (2022-11-13 23:04:36)

Offline

#6 2022-11-14 07:08:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,786

Re: Can't set the proper resolution on my RX 5700 XT

There's no EDID

[     6.400] (II) AMDGPU(0): EDID for output HDMI-A-0
[     6.400] (II) AMDGPU(0): Printing probed modes for output HDMI-A-0
[     6.400] (II) AMDGPU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)

Could be the output (Tv? Adapter?) or the cable - if you can somehow extract the EDID from the output, you can force it into the system:
https://wiki.archlinux.org/title/Kernel … s_and_EDID

However:

[     5.911] Current Operating System: Linux steambox 6.0.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 10 Nov 2022 21:14:24 +0000 x86_64

https://bbs.archlinux.org/misc.php?action=rules

Offline

#7 2022-11-15 16:27:51

AndreyTarkovsky
Member
Registered: 2017-03-26
Posts: 77

Re: Can't set the proper resolution on my RX 5700 XT

seth wrote:

There's no EDID

[     6.400] (II) AMDGPU(0): EDID for output HDMI-A-0
[     6.400] (II) AMDGPU(0): Printing probed modes for output HDMI-A-0
[     6.400] (II) AMDGPU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)

Could be the output (Tv? Adapter?) or the cable - if you can somehow extract the EDID from the output, you can force it into the system:
https://wiki.archlinux.org/title/Kernel … s_and_EDID

However:

[     5.911] Current Operating System: Linux steambox 6.0.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 10 Nov 2022 21:14:24 +0000 x86_64

https://bbs.archlinux.org/misc.php?action=rules

So, I connected a cable to my TV's HDMI input and then to my laptop and other PC with an NVIDIA GPU and looking at dmsg, it says the EDID file is corrupted. Ok, so the problem is on my display(TV) side, but if that is true, Why am I able to use my Android TV Box device on my TV without issues? This Android device is able to recognize the 1080p resolution of my TV whereas my PC's with Linux can't.... Any idea?

steambox is the name of my machine, it's not another operating system...

Last edited by AndreyTarkovsky (2022-11-15 16:40:39)

Offline

#8 2022-11-15 16:35:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,786

Re: Can't set the proper resolution on my RX 5700 XT

"cable" - or android simply uses the default EDID.
However, since this is SteamOS, it's really hard to tell for anyone here.

Offline

#9 2022-11-15 16:41:51

AndreyTarkovsky
Member
Registered: 2017-03-26
Posts: 77

Re: Can't set the proper resolution on my RX 5700 XT

seth wrote:

"cable" - or android simply uses the default EDID.
However, since this is SteamOS, it's really hard to tell for anyone here.

It's not SteamOS, dude, steambox is just the name of my machine. And yes, I changed the cable and the problem persists

Offline

Board footer

Powered by FluxBB