{"action":"created","issue":{"url":"https://api.github.com/repos/linuxdeepin/developer-center/issues/648","repository_url":"https://api.github.com/repos/linuxdeepin/developer-center","labels_url":"https://api.github.com/repos/linuxdeepin/developer-center/issues/648/labels{/name}","comments_url":"https://api.github.com/repos/linuxdeepin/developer-center/issues/648/comments","events_url":"https://api.github.com/repos/linuxdeepin/developer-center/issues/648/events","html_url":"https://github.com/linuxdeepin/developer-center/issues/648","id":377066716,"node_id":"MDU6SXNzdWUzNzcwNjY3MTY=","number":648,"title":"deepin-daemon 无法关闭显示器","user":{"login":"chenjunyu19","id":15167799,"node_id":"MDQ6VXNlcjE1MTY3Nzk5","avatar_url":"https://avatars3.githubusercontent.com/u/15167799?v=4","gravatar_id":"","url":"https://api.github.com/users/chenjunyu19","html_url":"https://github.com/chenjunyu19","followers_url":"https://api.github.com/users/chenjunyu19/followers","following_url":"https://api.github.com/users/chenjunyu19/following{/other_user}","gists_url":"https://api.github.com/users/chenjunyu19/gists{/gist_id}","starred_url":"https://api.github.com/users/chenjunyu19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenjunyu19/subscriptions","organizations_url":"https://api.github.com/users/chenjunyu19/orgs","repos_url":"https://api.github.com/users/chenjunyu19/repos","events_url":"https://api.github.com/users/chenjunyu19/events{/privacy}","received_events_url":"https://api.github.com/users/chenjunyu19/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-03T15:50:32Z","updated_at":"2018-11-04T02:50:07Z","closed_at":null,"author_association":"NONE","body":"## 缺陷描述\r\n\r\n`deepin-daemon` 无法关闭显示器。\r\n\r\n## 复现步骤\r\n\r\n1. 使 DDE 关闭显示器（如超时、热区快速黑屏）\r\n2. 显示器画面先黑屏，后立即恢复\r\n\r\n## 期望行为\r\n\r\n显示器正常关闭\r\n\r\n## 复现环境:\r\n\r\n1. AMD Ryzen 5 2400G 附带的 Vega 11 核显\r\n2. HDMI 输出\r\n\r\n### 发行版以及版本\r\n\r\nArch Linux\r\n\r\n### 相关的软件包版本\r\n\r\n- `deepin-daemon` 3.4.0-1\r\n- `linux` 4.18.16.arch1-1\r\n\r\n### 其他内容\r\n\r\n1. 应该不是驱动问题，在 `lightdm-deepin-greeter` 中可以正常超时黑屏\r\n2. 高中狗一名，无法非假期时间段联系到我\r\n3. journalctl 如下\r\n\r\n```\r\n11月 03 23:26:59 chenjunyu19-Linux com.deepin.daemon.Display[591]: manager.go:628: Not found output: HDMI-A-0\r\n11月 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)}}\r\n11月 03 23:26:59 chenjunyu19-Linux com.deepin.daemon.Display[591]: manager.go:419: -----------[tryApplyConfig] will switch to mode: 2 HDMI-A-0\r\n11月 03 23:26:59 chenjunyu19-Linux com.deepin.daemon.Display[591]: manager.go:516: Invalid output name: HDMI-A-0\r\n                                                                      ->  handle_event.go:115\r\n                                                                      ->  handle_event.go:56\r\n                                                                      ->  asm_amd64.s:1333\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/linuxdeepin/developer-center/issues/comments/435637630","html_url":"https://github.com/linuxdeepin/developer-center/issues/648#issuecomment-435637630","issue_url":"https://api.github.com/repos/linuxdeepin/developer-center/issues/648","id":435637630,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTYzNzYzMA==","user":{"login":"felixonmars","id":1006477,"node_id":"MDQ6VXNlcjEwMDY0Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/1006477?v=4","gravatar_id":"","url":"https://api.github.com/users/felixonmars","html_url":"https://github.com/felixonmars","followers_url":"https://api.github.com/users/felixonmars/followers","following_url":"https://api.github.com/users/felixonmars/following{/other_user}","gists_url":"https://api.github.com/users/felixonmars/gists{/gist_id}","starred_url":"https://api.github.com/users/felixonmars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixonmars/subscriptions","organizations_url":"https://api.github.com/users/felixonmars/orgs","repos_url":"https://api.github.com/users/felixonmars/repos","events_url":"https://api.github.com/users/felixonmars/events{/privacy}","received_events_url":"https://api.github.com/users/felixonmars/received_events","type":"User","site_admin":false},"created_at":"2018-11-04T02:50:07Z","updated_at":"2018-11-04T02:50:07Z","author_association":"MEMBER","body":"我这里笔记本自带屏幕无法复现，大概只和外置屏幕有关。\r\n@electricface "}}
{"actor":{"display_login":"felixonmars"}}