Amdgpu/Radeon kernels and 60Hz refresh rate

I’m still new to Linux so please have patience lol.

So I downloaded a ton of Linux iso’s a few months back and tried them all out two at a time keeping Windows 10 as my go to if I screwed something up lol. It took about four weeks before Opensuse Tumbleweed emerged as my go to Linux distro. I do game some so I had to find something that would accommodate that. I muddled through and found out how to load amdgpu during boot, discovered Lutris and Steam, and learned what not to do after breaking Linux a few times. Now I only have Windows on a virtual machine and haven’t used it in weeks. I’m still testing other Linux distros which brought me here. Currently I’m using Tumbleweed, FX and Fedora. The only issue I couldn’t figure out was why I couldn’t get above 30 Hz refresh rate. After installing Fedora I enabled amdgpu then rebooted into Tumbleweed. Because when I saved the grub2 file in Fedora it said it made changes to Tumbleweed as well. Went to my display settings and now I can choose 60 Hz. My question is… Is it possible that when I saved the grub2 file in Fedora it made changes to my video settings in Tumbleweed? I only had 30 Hz refresh rate available in all three before saving that file. I was also under the impression that all three distros would operate independently. Is this not the case? I’m more interested in the “how did this happen?” than anything else. Any input would be greatly appreciated :slight_smile:

Would not think so. But a new install will change which OS (grub) controls the boot which may set things to a different state before chaining to the selected OS maybe??? Possibly need to add a parameter or two to the TW boot to achieve the same.

I thought about that but wasn’t sure. It’s changed in all three. I just wish I knew why. I was trying to modify amdgpu in TW to get 60hz but hadn’t made any headway. Then it just happened with Fedora. Guess I need to see why it happened in Fedora lol. Thank you for the response

Show graphics information:

**erlangen:~ #**  inxi -G 
**Graphics:  Device-1:** AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] **driver:** amdgpu **v:** kernel  
           **Display:****server:** X.Org 1.20.11 **driver:****loaded:** amdgpu,ati **unloaded:** fbdev,modesetting,vesa  
           **resolution:** 3840x2160~60Hz  
           **OpenGL:****renderer:** Radeon RX550/550 Series (POLARIS12 DRM 3.40.0 5.12.0-2-default LLVM 12.0.0) **v:** 4.6 Mesa 21.0.2  
**erlangen:~ #**

I use KDE and configure with System Settings > Display and Monitor > Display Configuration. Systems don’t share data. All distributions can share efi system partition. However data are stored in separate directories:

**erlangen:~ #** find /boot/efi/ -type d 
/boot/efi/ 
/boot/efi/EFI 
/boot/efi/EFI/BOOT 
/boot/efi/EFI/sled 
/boot/efi/EFI/fedora 
/boot/efi/EFI/fedora/fonts 
/boot/efi/EFI/tumbleweed-nvme0n1p3 
/boot/efi/EFI/ubuntu 
/boot/efi/EFI/opensuse 
**erlangen:~ #**

Are you using a 4K screen? It’s working here with lesser displays:

# xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 320 x 200, **current 2560 x 2520**, maximum 16384 x 16384
HDMI-A-0 connected 2560x1080+0+0 (normal left inverted right x axis y axis) 673mm x 284mm
DisplayPort-0 connected primary 2560x1440+0+1080 (normal left inverted right x axis y axis) 598mm x 336mm
   2560x1440     **59.95*+**  74.92
   2560x1080     **60.00*+**
# inxi -GSy
System:
  Host: asa88 Kernel: 5.11.16-1-default x86_64 bits: 64
  Desktop: Trinity R14.0.10 Distro: openSUSE **Tumbleweed 20210508**
Graphics:
  Device-1: **AMD Kaveri [Radeon R7 Graphics] driver: amdgpu** v: kernel
  Display: x11 server: X.Org 1.20.11 driver: loaded: amdgpu
  unloaded: fbdev,modesetting,vesa resolution: 1: 2560x1080~60Hz
  2: 2560x1440~60Hz
  OpenGL: renderer: AMD KAVERI (DRM 3.40.0 5.11.16-1-default LLVM 12.0.0)
  v: 4.6 Mesa 21.0.2
# grep -i menuentry /boot/grub2/grub.cfg | wc -l
40
**erlangen:~ #** hwinfo --monitor 
18: None 00.0: 10002 LCD Monitor                                 
  [Created at monitor.125] 
  Unique ID: rdCR.K1i5gxVmsEC 
  Parent ID: VCu0.P_htqVJZrTF 
  Hardware Class: monitor 
  Model: "SAMSUNG LU28R55" 
  Vendor: SAM "SAMSUNG" 
  Device: eisa 0x1017 "LU28R55" 
  Serial ID: "....................." 
  Resolution: 720x400@70Hz 
  Resolution: 640x480@60Hz 
  Resolution: 640x480@67Hz 
  Resolution: 640x480@72Hz 
  Resolution: 640x480@75Hz 
  Resolution: 800x600@56Hz 
  Resolution: 800x600@60Hz 
  Resolution: 800x600@72Hz 
  Resolution: 800x600@75Hz 
  Resolution: 832x624@75Hz 
  Resolution: 1024x768@60Hz 
  Resolution: 1024x768@70Hz 
  Resolution: 1024x768@75Hz 
  Resolution: 1280x1024@75Hz 
  Resolution: 1152x864@75Hz 
  Resolution: 1280x720@60Hz 
  Resolution: 1280x1024@60Hz 
  Resolution: 3840x2160@60Hz 
  Size: 632x360 mm 
  Year of Manufacture: 2038 
  Week of Manufacture: 50 
  Detailed Timings #0: 
     Resolution: 3840x2160 
     Horizontal: 3840 4016 4104 4400 (+176 +264 +560) +hsync 
       Vertical: 2160 2168 2178 2250 (+8 +18 +90) +vsync 
    Frequencies: 594.00 MHz, 135.00 kHz, 60.00 Hz 
  Driver Info #0: 
    Max. Resolution: 3840x2160 
    Vert. Sync Range: 50-75 Hz 
    Hor. Sync Range: 30-135 kHz 
    Bandwidth: 594 MHz 
  Config Status: cfg=new, avail=yes, need=no, active=unknown 
  Attached to: #7 (VGA compatible controller) 
**erlangen:~ #**

**erlangen:~ #** inxi -GSya                  
**System:**
  **Host:** erlangen **Kernel:** 5.12.0-2-default x86_64 **bits:** 64 **compiler:** gcc  
  **v:** 10.3.0  
  **parameters:** BOOT_IMAGE=/boot/vmlinuz-5.12.0-2-default  
  root=UUID=e7ad401f-4f60-42ff-a07e-f54372bc1dbc spash=silent quiet  
  mitigations=auto  
  **Console:** tty pts/1 **wm:** kwin_x11 **DM:** SDDM  
  **Distro:** openSUSE Tumbleweed 20210508  
**Graphics:**
  **Device-1:** AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X]  
  **vendor:** Sapphire Limited **driver:** amdgpu **v:** kernel **bus-ID:** 01:00.0  
  **chip-ID:** 1002:699f **class-ID:** 0300  
  **Display:****server:** X.Org 1.20.11 **compositor:** kwin_x11 **driver:**
  **loaded:** amdgpu,ati **unloaded:** fbdev,modesetting,vesa **display-ID:** :0  
  **screens:** 1  
  **Screen-1:** 0 **s-res:** 3840x2160 **s-dpi:** 144 **s-size:** 677x381mm (26.7x15.0")  
  **s-diag:** 777mm (30.6")  
  **Monitor-1:** HDMI-A-0 **res:** 3840x2160 **hz:** 60 **dpi:** 154  
  **size:** 632x360mm (24.9x14.2") **diag:** 727mm (28.6")  
  **OpenGL:****renderer:** Radeon RX550/550 Series (POLARIS12 DRM 3.40.0  
  5.12.0-2-default LLVM 12.0.0)  
  **v:** 4.6 Mesa 21.0.2 **direct render:** Yes  
**erlangen:~ #**

Post #4 wasn’t revealed to me until after submitting #5 that I expected to be #4. I was asking OP about his display. Post #4 reveals 3840x2160@60 on karlmistelberger’s system.

Graphics: Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics
driver: i915 v: kernel
Device-2: AMD Curacao PRO [Radeon R7 370 / R9 270/370 OEM] driver: amdgpu
v: kernel
Display: wayland server: SUSE LINUX 1.20.11 driver: loaded: amdgpu
note: n/a (using device driver) resolution: 1920x1080~60Hz
OpenGL: renderer: AMD Radeon HD8800 Series (PITCAIRN DRM 3.40.0
5.12.0-2-default LLVM 12.0.0)
v: 4.6 Mesa 21.0.2

xrandr | egrep ‘onnect|creen|*’ | grep -v disconn | sort -rXWAYLAND0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 1150mm x 650mm
Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
1920x1080 59.96*+

xrandr | egrep ‘onnect|creen|*’ | grep -v disconn | sort -r

XWAYLAND0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 1150mm x 650mm
Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
1920x1080 59.96*+
localhost:/home/joe # hwinfo --monitor
20: None 00.0: 10002 LCD Monitor
[Created at monitor.125]
Unique ID: rdCR.wCvUbbUOU2A
Parent ID: VCu0.aqiW3LbsC4A
Hardware Class: monitor
Model: “MONITOR”
Vendor: UTV
Device: eisa 0x002f “MONITOR”
Resolution: 640x480@60Hz
Resolution: 800x600@60Hz
Resolution: 1024x768@60Hz
Resolution: 1280x720@60Hz
Resolution: 1280x960@60Hz
Resolution: 1280x1024@60Hz
Resolution: 1920x1080@60Hz
Resolution: 3840x2160@60Hz
Size: 1872x1053 mm
Year of Manufacture: 2016
Week of Manufacture: 12
Detailed Timings #0:
Resolution: 3840x2160
Horizontal: 3840 4016 4104 4400 (+176 +264 +560) +hsync
Vertical: 2160 2168 2178 2250 (+8 +18 +90) +vsync
Frequencies: 297.00 MHz, 67.50 kHz, 30.00 Hz
Year of Manufacture: 2016
Week of Manufacture: 12
Detailed Timings #1:
Resolution: 1920x1080
Horizontal: 1920 2008 2052 2200 (+88 +132 +280) +hsync
Vertical: 1080 1084 1089 1125 (+4 +9 +45) +vsync
Frequencies: 148.50 MHz, 67.50 kHz, 60.00 Hz
Driver Info #0:
Max. Resolution: 3840x2160
Vert. Sync Range: 24-75 Hz
Hor. Sync Range: 15-81 kHz
Bandwidth: 297 MHz
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #7 (VGA compatible controller)

Is this a laptop?

Have you tried running your session in Xorg instead of Wayland?

Are suse-prime or suse-prime-bbswitch installed?

When you paste info request results here, please use code tags, and include each command. This preserves the formatting of the output, which clarifies it, and shows where it came from.

Some of what you pasted is confusing. It seems to say you are using two displays, one 1920x1080, the other 3840x2160. It does report dual graphics devices, one Intel, the other AMD.

The inxi -G command didn’t tell us enough. It should have been at least inxi -GS to report X session type. Better would have been inxi -GSazy.

This is a desktop. HP/Compaq elite 8300. The intel graphics is integrated and not being used. I’m using an AMD R9 270 card. I’ll get the output of inxi -GSazy and post it when I get home.

  # hwinfo --monitor20: None 00.0: 10002 LCD Monitor                                
  [Created at monitor.125]
  Unique ID: rdCR.wCvUbbUOU2A
  Parent ID: VCu0.aqiW3LbsC4A
  Hardware Class: monitor
  Model: "MONITOR"
  Vendor: UTV 
  Device: eisa 0x002f "MONITOR"
  Resolution: 640x480@60Hz
  Resolution: 800x600@60Hz
  Resolution: 1024x768@60Hz
  Resolution: 1280x720@60Hz
  Resolution: 1280x960@60Hz
  Resolution: 1280x1024@60Hz
  Resolution: 1920x1080@60Hz
  Resolution: 3840x2160@60Hz
  Size: 1872x1053 mm
  Year of Manufacture: 2016
  Week of Manufacture: 12
  Detailed Timings #0:
     Resolution: 3840x2160
     Horizontal: 3840 4016 4104 4400 (+176 +264 +560) +hsync
       Vertical: 2160 2168 2178 2250 (+8 +18 +90) +vsync
    Frequencies: 297.00 MHz, 67.50 kHz, 30.00 Hz
  Year of Manufacture: 2016
  Week of Manufacture: 12
  Detailed Timings #1:
     Resolution: 1920x1080
     Horizontal: 1920 2008 2052 2200 (+88 +132 +280) +hsync
       Vertical: 1080 1084 1089 1125 (+4 +9 +45) +vsync
    Frequencies: 148.50 MHz, 67.50 kHz, 60.00 Hz
  Driver Info #0:
    Max. Resolution: 3840x2160
    Vert. Sync Range: 24-75 Hz
    Hor. Sync Range: 15-81 kHz
    Bandwidth: 297 MHz
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #7 (VGA compatible controller) 
 # inxi -GSya
System:
  Host: localhost.localdomain Kernel: 5.12.0-2-default x86_64 bits: 64 
  compiler: gcc v: 10.3.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.12.0-2-default 
  root=UUID=a71bb06d-7557-43c0-8c65-b62bcf3ae806 amdgpu.si_support=1 
  radeon.si_support=0 amdgpu.dc=1 mitigations=off 
  Desktop: GNOME 40.0 tk: GTK 3.24.29 wm: gnome-shell dm: GDM 3.38.2 
  Distro: openSUSE Tumbleweed 20210510 
Graphics:
  Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics 
  vendor: Hewlett-Packard driver: i915 v: kernel bus-ID: 00:02.0 
  chip-ID: 8086:0162 class-ID: 0380 
  Device-2: AMD Curacao PRO [Radeon R7 370 / R9 270/370 OEM] vendor: Tul 
  driver: amdgpu v: kernel alternate: radeon bus-ID: 01:00.0 
  chip-ID: 1002:6811 class-ID: 0300 
  Display: x11 server: X.Org 1.20.11 compositor: gnome-shell driver: 
  loaded: amdgpu,ati,modesetting unloaded: fbdev,vesa alternate: intel 
  display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3") 
  s-diag: 583mm (23") 
  Monitor-1: HDMI-A-1 res: 1920x1080 hz: 60 dpi: 26 
  size: 1872x1053mm (73.7x41.5") diag: 2148mm (84.6") 
  OpenGL: renderer: AMD Radeon HD8800 Series (PITCAIRN DRM 3.40.0 
  5.12.0-2-default LLVM 12.0.0) 
  v: 4.6 Mesa 21.1.0 direct render: Yes  

You’re trying to get 60 Hz in GRUB session?
It depends on GRUB screen settings.

No, in gnome.

Turns out the problem was with my graphics card. The hdmi port is hdmi 1.4. 4K @ 60hz is possible using a display port to hdmi 2.0 adapter though. In the mean time, 1080 it is lol.