Skip to contentSkip to conversation

New: Low frame rates and unrecognized monitor after kernel upgrade

Bug 192921 [email protected] 1 participant 12 messages Jan 20, 2017

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=192921

            Bug ID: 192921
           Summary: Low frame rates and unrecognized monitor after kernel
                    upgrade
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.10.0
          Hardware: x86-64
                OS: Linux
              Tree: Fedora
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Before upgrading my kernel (4.8.16), there was always a problem where at boot the refresh rate was too high, so my screen would flicker. I could only set the refresh rate to 120Hz max without any flickering. This was due to a bug or feature that had yet to be added to the kernel (was fixed in the DAL patched unofficial kernel).

After upgrading the kernel to 4.9.3 I noticed that on boot there was no flickering at 144Hz anymore, but when trying to play games and videos there are issues with low frame rates. I then went to the display menu to check settings and noticed that the monitor now says "unknown". I installed 4.10.0 rc 3 from the rawhide repo with the same results.

Distro: Fedora 25
GPU: ASUS Strix AMD R9 380 4GB
Monitor: MG278Q (2560 x 1440 @ 144Hz)

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 192921] Low frame rates and unrecognized monitor after kernel upgrade

https://bugzilla.kernel.org/show_bug.cgi?id=192921

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
Regression|No |Yes

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 192921] Low frame rates and unrecognized monitor after kernel upgrade

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=192921

--- Comment #1 from Michel Dänzer <[email protected]> --- Please attach the dmesg output.

Can you bisect?

What does xrandr say about the mode, and what framerate does e.g. glxgears report?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 192921] Low frame rates and unrecognized monitor after kernel upgrade

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=192921

--- Comment #2 from Michel Dänzer <[email protected]> --- Please attach the Xorg log file and output of glxinfo as well.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 192921] Low frame rates and unrecognized monitor after kernel upgrade

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=192921

--- Comment #3 from [email protected] ---
Created attachment 252491
--> https://bugzilla.kernel.org/attachment.cgi?id=252491&action=edit
Dmesg Output

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 192921] Low frame rates and unrecognized monitor after kernel upgrade

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=192921

--- Comment #4 from [email protected] ---
xrandr
[CODE]
xrandr: Failed to get size of gamma for output default Screen 0: minimum 2560 x 1440, current 2560 x 1440, maximum 2560 x 1440 default connected primary 2560x1440+0+0 0mm x 0mm
2560x1440 0.00*
[/CODE]

Glxgears
[CODE]
2799 frames in 5.0 seconds = 559.599 FPS
3023 frames in 5.0 seconds = 604.556 FPS
2909 frames in 5.0 seconds = 581.332 FPS
2969 frames in 5.0 seconds = 593.634 FPS
2996 frames in 5.0 seconds = 598.985 FPS
[/CODE]

I am using wayland, so what is the equivalent of the xorg log file?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 192921] Low frame rates and unrecognized monitor after kernel upgrade

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=192921

--- Comment #5 from [email protected] ---
Created attachment 252501
--> https://bugzilla.kernel.org/attachment.cgi?id=252501&action=edit
Glxinfo

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 192921] Low frame rates and unrecognized monitor after kernel upgrade

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=192921

--- Comment #6 from Michel Dänzer <[email protected]> --- dmesg shows that the amdgpu driver fails to initialize due to missing microcode:

amdgpu 0000:01:00.0: Direct firmware load for amdgpu/tonga_k_smc.bin failed
with error -2

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 192921] Low frame rates and unrecognized monitor after kernel upgrade

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=192921

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #7 from Alex Deucher <[email protected]> --- You need updated firmware:
http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

[Bug 192921] Low frame rates and unrecognized monitor after kernel upgrade

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=192921

--- Comment #8 from [email protected] ---
I have never had to deal with the firmware before. Where do I place them? Do I need to recompile the kernel?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 192921] Low frame rates and unrecognized monitor after kernel upgrade

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=192921

--- Comment #9 from Alex Deucher <[email protected]> ---
grab the latest firmware from the linux firmware git tree. Then copy it to where ever your distro stores it (usually /lib/firmware/amdgpu). If you are using an initrd, please make sure you've updated the initrd to include the new firmware. If you build the driver into the kernel image (rather than as a module), you'll need to include the firmware in the kernel image as well.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#11 lore raw

[Bug 192921] Low frame rates and unrecognized monitor after kernel upgrade

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=192921

--- Comment #10 from [email protected] ---
Works now. Like you said, just needed to add the latest firmware to /lib/firmware/amdgpu/ and then run mkinitrd /boot/initramfs-4.9.3-200.fc25.x86_64.img 4.9.3-200.fc25.x86_64 --force. Still not able to handle 144Hz, but works just as it did before the update to the kernel.

Thanks for the help you two!

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel