[mythtv-users] Amdgpu disable power management?

Daniel Frey dmfrey at gmail.com
Sun Aug 27 18:57:42 UTC 2017


On Fri, Aug 25, 2017 at 5:08 PM glen <glenb at glenb.us> wrote:

>
>
> On Fri, 2017-08-25 at 21:56 +0200, Hika van den Hoven wrote:
>
> Hoi Hika,
>
> Friday, August 25, 2017, 8:22:57 PM, you wrote:
>
>
>
> Hoi Daniel,
>
>
>
> Friday, August 25, 2017, 4:42:53 PM, you wrote:
>
>
>
>
>
>
> On Thu, Aug 24, 2017 at 7:15 PM Hika van den Hoven <hikavdh at gmail.com> wrote:
>
>
>
> Hoi Daniel,
>
>  Friday, August 25, 2017, 12:57:13 AM, you wrote:
>
>
>
>  >>> Anyone know how to disable power management on the amdgpu driver?
>  >>> Whenever I turn off the TV it disconnects and I'm left with a black
>  >>> screen when I try to turn it back on. Sometimes I have to unplug the
>  >>> HDMI cable before restarting lighten.
>  >>> This is on xubuntu 16.04.
>  >>> I tried putting a minimal xorg config to disable hot plugging, but it had no effect.
>
>
>
>  I don't think it's a powermanagement thing, but a HDMI thing. There
>  have been maybe a year ago several threads about this.
>  I use in my boot manager:
>
>  modeset=1 video=DVI-I-1:e
>
>  to force the hdmi port to be enabled, independent of any connected
>  monitor. Which one will be your hdmi is dependent on your card.
>
>  Tot mails,
>    Hika                            mailto:hikavdh at gmail.com <hikavdh at gmail.com>
>
>
>
>
> Thanks Hika,
>
>
>
>
> Can you give a little more info on how to best detect these items?
> Also, Can I just add this to /etc/default/grub?  Or do I need to edit it on boot?
>
>
>
>
> Thanks,
> Dan
>
>
>
> I don't work with grub, but with lilo. These are boot parameters you
> apend to your kernel. modeset=1 enables the kernel managing the
> console videomodes. The second part enables that port (d disables it).
> You can also set te console resolution (for instance:
> "video=DVI-I-1:1024x768-32 at 60"), but that does not seem to work with
> the plug-in nvidia module.
>
>
>
> So you have to check grub documentation where to add boot parameters.
> The port names you can find in your bootlog or dmesg.
>
>
>
> See about Kernel Mode Setting or KMS:https://wiki.archlinux.org/index.php/kernel_mode_setting
>
>
> Tot mails,
>   Hika                            mailto:hikavdh at gmail.com <hikavdh at gmail.com>
>
> "Zonder hoop kun je niet leven
> Zonder leven is er geen hoop
> Het eeuwige dilemma
> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>
> De lerende Mens
>
> _______________________________________________
> mythtv-users mailing listmythtv-users at mythtv.orghttp://lists.mythtv.org/mailman/listinfo/mythtv-usershttp://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
>
> i think you can just set it as a parameter for the amdgpu module. 'modinfo
> amdgpu' shows a dpm parameter (1 on 0 off -1 auto) on this module which is
> present in a laptop i have, so maybe try setting it in your modprobe.d as a
> parameter setting or as a kernel option
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org


This seems to have resolved it

I modified /etc/default/grub. I changed the line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash modeset=1 video=HDMI-A-1:D"

Thanks all for your help and suggestions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170827/9aade2e1/attachment.html>


More information about the mythtv-users mailing list