[Bug 1164020] New: The ability to adjust gamma is lost after upgrade to 15.2
http://bugzilla.opensuse.org/show_bug.cgi?id=1164020 Bug ID: 1164020 Summary: The ability to adjust gamma is lost after upgrade to 15.2 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: copas.space@gmail.com QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- Created attachment 830403 --> http://bugzilla.opensuse.org/attachment.cgi?id=830403&action=edit Content of: /var/log/Xorg.0.log As the title said, the ability to adjust gamma is lost after upgrade to Leap 15.2 . The systemsettings in KDE does not work, informing me "Your hardware or driver not support gamma correction". I also tried "xgamma" command, and it said Xlib: extension "XFree86-VidModeExtension" missing on display ":0. But everything works fine on Leap 15.1. Some games with gamma correction function still act perfectly on 15.2. When I run them in window mode, them do successfully change the gamma value of all screen, including my wallpaper. More importantly, the command "xrandr --current --output HDMI-A-1 --gamma 1.5:1.5:1.5" still works I don't know they used which API to do this, but it suggested my hardware and driver works normally. And by the way, AMDGPU is creating warnings in dmesg since 15.1. But I guess this is not the source of the problem. --------- My hardware info: Operating System: openSUSE Leap 15.2 KDE Plasma Version: 5.17.5 KDE Frameworks Version: 5.66.0 Qt Version: 5.12.6 Kernel Version: 5.3.18-lp152.3-default OS Type: 64-bit Processors: 8 × AMD Ryzen 5 2400G with Radeon Vega Graphics Memory: 17.3 GiB --------- The out put of "hwinfo --gfx": 21: PCI 700.0: 0300 VGA compatible controller (VGA) [Created at pci.386] Unique ID: aK5u.bOxIpYwciZD Parent ID: JZZT.A_VqgZKlSp2 SysFS ID: /devices/pci0000:00/0000:00:08.1/0000:07:00.0 SysFS BusID: 0000:07:00.0 Hardware Class: graphics card Model: "ATI Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]" Vendor: pci 0x1002 "ATI Technologies Inc" Device: pci 0x15dd "Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]" SubVendor: pci 0x1002 "ATI Technologies Inc" SubDevice: pci 0x15dd Revision: 0xc6 Driver: "amdgpu" Driver Modules: "amdgpu" Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable) Memory Range: 0xf0000000-0xf01fffff (ro,non-prefetchable) I/O Ports: 0xe000-0xefff (rw) Memory Range: 0xfcc00000-0xfcc7ffff (rw,non-prefetchable) IRQ: 61 (914054 events) Module Alias: "pci:v00001002d000015DDsv00001002sd000015DDbc03sc00i00" Driver Info #0: Driver Status: amdgpu is active Driver Activation Cmd: "modprobe amdgpu" Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #25 (PCI bridge) Primary display adapter: #21 --------- The out put of "xrandr": Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384 DisplayPort-0 disconnected (normal left inverted right x axis y axis) HDMI-A-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 298mm 1920x1080 60.00*+ 74.99 50.00 59.94 1680x1050 59.88 1600x900 60.00 1280x1024 75.02 60.02 1440x900 59.90 1280x960 60.00 1280x800 59.91 1280x720 60.00 50.00 59.94 1024x768 75.03 70.07 60.00 800x600 72.19 75.00 60.32 56.25 720x576 50.00 720x480 60.00 59.94 640x480 75.00 72.81 60.00 59.94 720x400 70.08 HDMI-A-1 disconnected (normal left inverted right x axis y axis) HDMI-A-2 disconnected (normal left inverted right x axis y axis) --------- Warning log of amdgpu: 18.02.2020 11:14:59:256 ------------[ cut here ]------------ 18.02.2020 11:14:59:256 WARNING CPU: 4 PID: 1732 at ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1758 write_i2c_retimer_setting+0x15b/0x460 [amdgpu] 18.02.2020 11:14:59:256 Modules linked in fuse af_packet rfkill scsi_transport_iscsi vboxnetadp(O) binfmt_misc vboxnetflt(O) vboxdrv(O) dmi_sysfs msr usblp edac_mce_amd kvm_amd ccp snd_hda_codec_realtek kvm snd_hda_codec_generic irqbypass ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_hda_codec crct10dif_pclmul nls_iso8859_1 crc32_pclmul nls_cp936 snd_hda_core snd_hwdep vfat fat ghash_clmulni_intel snd_pcm snd_timer aesni_intel joydev snd aes_x86_64 crypto_simd sp5100_tco cryptd soundcore igb glue_helper wmi_bmof pcspkr k10temp i2c_piix4 dca gpio_amdpt gpio_generic button btrfs libcrc32c xor hid_generic usbhid amdgpu raid6_pq amd_iommu_v2 gpu_sched i2c_algo_bit ttm drm_kms_helper crc32c_intel syscopyarea sysfillrect sysimgblt fb_sys_fops xhci_pci xhci_hcd drm usbcore wmi video pinctrl_amd sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua efivarfs 18.02.2020 11:14:59:256 CPU 4 PID: 1732 Comm: X Tainted: G W O 5.3.18-lp152.3-default #1 openSUSE Leap 15.2 (unreleased) 18.02.2020 11:14:59:256 Hardware name To Be Filled By O.E.M. To Be Filled By O.E.M./A320M-ITX, BIOS P5.70 06/26/2019 18.02.2020 11:14:59:256 RIP 0010:write_i2c_retimer_setting+0x15b/0x460 [amdgpu] 18.02.2020 11:14:59:256 Code 72 91 c0 bf 04 00 00 00 88 44 24 06 e8 ee 42 c7 ff 0f b6 44 24 06 84 c0 0f 85 0f ff ff ff 48 c7 c7 88 71 91 c0 e8 e3 d8 6c c9 <0f> 0b 0f b6 55 01 89 d8 48 83 c3 01 39 c2 0f 8f 01 ff ff ff 45 84 18.02.2020 11:14:59:256 RSP 0018:ffffab08007e7680 EFLAGS: 00010282 18.02.2020 11:14:59:256 RAX 0000000000000024 RBX: 0000000000000003 RCX: 0000000000000006 18.02.2020 11:14:59:256 RDX 0000000000000000 RSI: 0000000000000002 RDI: ffff8d629e719a10 18.02.2020 11:14:59:256 RBP ffffab08007e76ec R08: 0000000000000002 R09: 000000000002c500 18.02.2020 11:14:59:256 R10 ffffffffc08bf4a0 R11: 0000000000000000 R12: 000000000000005d 18.02.2020 11:14:59:256 R13 ffff8d5ffe3301b8 R14: 0000000000000000 R15: 0000000000000000 18.02.2020 11:14:59:256 FS 00007f010b3f7ec0(0000) GS:ffff8d629e700000(0000) knlGS:0000000000000000 18.02.2020 11:14:59:256 CS 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 18.02.2020 11:14:59:256 CR2 00005647d44c1000 CR3: 00000003fe7fc000 CR4: 00000000003406e0 18.02.2020 11:14:59:256 Call Trace 18.02.2020 11:14:59:256 core_link_enable_stream+0x854/0x8b0 [amdgpu] 18.02.2020 11:14:59:256 ? dce110_apply_ctx_to_hw+0x48d/0x520 [amdgpu] 18.02.2020 11:14:59:256 dce110_apply_ctx_to_hw+0x48d/0x520 [amdgpu] 18.02.2020 11:14:59:256 dc_commit_state+0x2cc/0x5d0 [amdgpu] 18.02.2020 11:14:59:256 amdgpu_dm_atomic_commit_tail+0x393/0x1e20 [amdgpu] 18.02.2020 11:14:59:256 ? ttm_bo_mem_compat+0x23/0x60 [ttm] 18.02.2020 11:14:59:256 ? ttm_bo_validate+0x37/0x130 [ttm] 18.02.2020 11:14:59:257 ? dm_plane_helper_prepare_fb+0x1b6/0x280 [amdgpu] 18.02.2020 11:14:59:257 ? wait_for_completion_timeout+0x129/0x160 18.02.2020 11:14:59:257 ? wait_for_completion_interruptible+0x13f/0x190 18.02.2020 11:14:59:257 ? commit_tail+0x3d/0x80 [drm_kms_helper] 18.02.2020 11:14:59:257 commit_tail+0x3d/0x80 [drm_kms_helper] 18.02.2020 11:14:59:257 drm_atomic_helper_commit+0x107/0x130 [drm_kms_helper] 18.02.2020 11:14:59:257 drm_atomic_helper_set_config+0x5c/0xb0 [drm_kms_helper] 18.02.2020 11:14:59:257 drm_mode_setcrtc+0x17b/0x6e0 [drm] 18.02.2020 11:14:59:257 ? unix_stream_recvmsg+0x53/0x70 18.02.2020 11:14:59:257 ? unix_set_peek_off+0x50/0x50 18.02.2020 11:14:59:257 ? drm_mode_getcrtc+0x180/0x180 [drm] 18.02.2020 11:14:59:257 drm_ioctl_kernel+0xac/0xf0 [drm] 18.02.2020 11:14:59:257 drm_ioctl+0x2eb/0x3b0 [drm] 18.02.2020 11:14:59:257 ? drm_mode_getcrtc+0x180/0x180 [drm] 18.02.2020 11:14:59:257 amdgpu_drm_ioctl+0x49/0x80 [amdgpu] 18.02.2020 11:14:59:257 do_vfs_ioctl+0xa4/0x640 18.02.2020 11:14:59:257 ? __sys_recvmsg+0x8a/0xa0 18.02.2020 11:14:59:257 ksys_ioctl+0x70/0x80 18.02.2020 11:14:59:257 __x64_sys_ioctl+0x16/0x20 18.02.2020 11:14:59:257 do_syscall_64+0x6a/0x1f0 18.02.2020 11:14:59:257 entry_SYSCALL_64_after_hwframe+0x49/0xbe 18.02.2020 11:14:59:257 RIP 0033:0x7f0108d12a87 18.02.2020 11:14:59:257 Code b3 66 90 48 8b 05 11 14 2c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 13 2c 00 f7 d8 64 89 01 48 18.02.2020 11:14:59:257 RSP 002b:00007ffc7f31abe8 EFLAGS: 00003246 ORIG_RAX: 0000000000000010 18.02.2020 11:14:59:257 RAX ffffffffffffffda RBX: 00007ffc7f31ac20 RCX: 00007f0108d12a87 18.02.2020 11:14:59:257 RDX 00007ffc7f31ac20 RSI: 00000000c06864a2 RDI: 000000000000000d 18.02.2020 11:14:59:257 RBP 00007ffc7f31ac20 R08: 0000000000000000 R09: 00005588af005470 18.02.2020 11:14:59:257 R10 00007ffc7f31ace0 R11: 0000000000003246 R12: 00000000c06864a2 18.02.2020 11:14:59:257 R13 000000000000000d R14: 0000000000000000 R15: 00005588af005470 18.02.2020 11:14:59:257 ---[ end trace 9c214a37de51fcba ]--- -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164020 Malcolm Lewis <malcolmlewis@cableone.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |malcolmlewis@cableone.net -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164020 http://bugzilla.opensuse.org/show_bug.cgi?id=1164020#c1 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |IN_PROGRESS Summary|The ability to adjust gamma |XFree86-VidModeExtension |is lost after upgrade to |missing in Xserver after |15.2 |upgrade to 15.2 --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> --- This sounds weird since Leap 15.2 uses the same Xserver version as Leap 15.1, but indeed I can reproduce this. Looks like VIDMODE extension is missing on Leap 15.2 for some reason. As you already figured out gamma can be set via RANDR extension, which is what the games are using I suppose. The warnings in dmesg you're seing are unrelated to this. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com