缺陷描述
deepin-daemon 无法关闭显示器。
复现步骤
使 DDE 关闭显示器(如超时、热区快速黑屏)
显示器画面先黑屏,后立即恢复
期望行为
显示器正常关闭
复现环境:
AMD Ryzen 5 2400G 附带的 Vega 11 核显
HDMI 输出
发行版以及版本
Arch Linux
相关的软件包版本
deepin-daemon 3.4.0-1
linux 4.18.16.arch1-1
其他内容
应该不是驱动问题,在 lightdm-deepin-greeter 中可以正常超时黑屏
高中狗一名,无法非假期时间段联系到我
journalctl 如下
11月 03 23:26:59 chenjunyu19-Linux com.deepin.daemon.Display[591]: manager.go:628: Not found output: HDMI-A-0
11月 03 23:26:59 chenjunyu19-Linux com.deepin.daemon.Display[591]: handle_event.go:107: Detect new output config, try to apply it: drandr.OutputInfos{drandr.OutputInfo{Name:"HDMI-A-0", Id:0x53, MmWidth:0x0, MmHeight:0x0, Crtc:drandr.CrtcInfo{Id:0x4f, Mode:0x57, X:0, Y:0, Width:0x780, Height:0x438, Rotation:0x1, Reflect:0x0, Rotations:[]uint16{0x1, 0x2, 0x4, 0x8}, Reflects:[]uint16{0x0, 0x10, 0x20, 0x30}}, Connection:false, Timestamp:0x131562c, EDID:[]uint8{}, Clones:drandr.randrIdList(nil), Crtcs:drandr.randrIdList{0x4f, 0x50, 0x51, 0x52}, Modes:drandr.randrIdList(nil), PreferredModes:drandr.randrIdList(nil)}, drandr.OutputInfo{Name:"DVI-D-0", Id:0x54, MmWidth:0x0, MmHeight:0x0, Crtc:drandr.CrtcInfo{Id:0x0, Mode:0x0, X:0, Y:0, Width:0x0, Height:0x0, Rotation:0x0, Reflect:0x0, Rotations:[]uint16(nil), Reflects:[]uint16(nil)}, Connection:false, Timestamp:0x131562c, EDID:[]uint8{}, Clones:drandr.randrIdList(nil), Crtcs:drandr.randrIdList{0x4f, 0x50, 0x51, 0x52}, Modes:drandr.randrIdList(nil), PreferredModes:drandr.randrIdList(nil)}, drandr.OutputInfo{Name:"DisplayPort-0", Id:0x55, MmWidth:0x0, MmHeight:0x0, Crtc:drandr.CrtcInfo{Id:0x0, Mode:0x0, X:0, Y:0, Width:0x0, Height:0x0, Rotation:0x0, Reflect:0x0, Rotations:[]uint16(nil), Reflects:[]uint16(nil)}, Connection:false, Timestamp:0x131562c, EDID:[]uint8{}, Clones:drandr.randrIdList(nil), Crtcs:drandr.randrIdList{0x4f, 0x50, 0x51, 0x52}, Modes:drandr.randrIdList(nil), PreferredModes:drandr.randrIdList(nil)}}
11月 03 23:26:59 chenjunyu19-Linux com.deepin.daemon.Display[591]: manager.go:419: -----------[tryApplyConfig] will switch to mode: 2 HDMI-A-0
11月 03 23:26:59 chenjunyu19-Linux com.deepin.daemon.Display[591]: manager.go:516: Invalid output name: HDMI-A-0
-> handle_event.go:115
-> handle_event.go:56
-> asm_amd64.s:1333