<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Please file a bug (<a href="https://bugs.freedesktop.org" class="OWAAutoLink" id="LPlnk197565" previewremoved="true">https://bugs.freedesktop.org</a>) and attach your xorg log (if using X) and your dmesg output along
 with a description of the problem.  Please also specify what GPU you are using.  If this a a Raven system, you'll need to make sure <span>CONFIG_DRM_AMD_DC_DCN1_0</span> and <span>CONFIG_DRM_AMD_DC are set in your kernel config.</span></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Alex<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Min Xu <min.xu.public@gmail.com><br>
<b>Sent:</b> Monday, January 29, 2018 3:03:40 PM<br>
<b>To:</b> Bridgman, John<br>
<b>Cc:</b> amd-gfx@lists.freedesktop.org<br>
<b>Subject:</b> Re: Strange issue on Vega 8 Mobile (HP Envy x360 Laptop)</font>
<div> </div>
</div>
<div>
<div dir="ltr">Thanks for explaining that firmware is not permanently loaded. Then, I have no ideas. Do you need my dmesg output?</div>
<div class="x_gmail_extra"><br>
<div class="x_gmail_quote">On Mon, Jan 29, 2018 at 12:02 PM, Min Xu <span dir="ltr">
<<a href="mailto:min.xu.public@gmail.com" target="_blank">min.xu.public@gmail.com</a>></span> wrote:<br>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">I am running archlinux, the firmware version is very new:
<div><br>
</div>
<div>linux-firmware-20180119.<wbr>2a713be-1<br>
</div>
<div><br>
</div>
</div>
<div class="x_HOEnZb">
<div class="x_h5">
<div class="x_gmail_extra"><br>
<div class="x_gmail_quote">On Mon, Jan 29, 2018 at 12:01 PM, Bridgman, John <span dir="ltr">
<<a href="mailto:John.Bridgman@amd.com" target="_blank">John.Bridgman@amd.com</a>></span> wrote:<br>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div lang="EN-US">
<div class="x_m_7672285436398560458m_-6995857010834165525WordSection1">
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1f497d">Microcode for the GPU hardware blocks is not permanently updated in the chip, but rather is loaded at power-up. Usually the files will be distributed via
 a package with a name like linux-firmware. <u></u><u></u></span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1f497d"><u></u> <u></u></span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1f497d">I didn't see a mention of which distro/version you are using but along with new kernel you will need a relatively new version of linux-firmware.<u></u><u></u></span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none; border-left:solid blue 1.5pt; padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none; border-top:solid #b5c4df 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> amd-gfx [mailto:<a href="mailto:amd-gfx-bounces@lists.freedesktop.org" target="_blank">amd-gfx-bounces@lists.<wbr>freedesktop.org</a>]
<b>On Behalf Of </b>Min Xu<br>
<b>Sent:</b> Monday, January 29, 2018 2:57 PM<br>
<b>To:</b> <a href="mailto:amd-gfx@lists.freedesktop.org" target="_blank">amd-gfx@lists.freedesktop.org</a><br>
<b>Subject:</b> Strange issue on Vega 8 Mobile (HP Envy x360 Laptop)<u></u><u></u></span></p>
</div>
</div>
<div>
<div class="x_m_7672285436398560458h5">
<p class="x_MsoNormal"><u></u> <u></u></p>
<div>
<p class="x_MsoNormal">Dear AMD GFX developers,<u></u><u></u></p>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="x_MsoNormal">I just got a HP Envy x360 laptop and I am trying to run linux on it. I want to first thank you all for the great work on the amdgpu driver. Without it, people like me wants to run Linux would be stuck with windows.<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="x_MsoNormal">I suspect that my issue is a new issue that hasn't been reported before, therefore, I am writing to you to see if there indeed is a new issue and whether there is a workaround.<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="x_MsoNormal">I have compiled the latest kernel from the amd-staging-drm-next branch last night. I think the kernel "works" with my GPU. The previous two kernels I tried (4.14 and 4.15 final release) either doesn't support this card or just simply
 hang the system most of the time.<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="x_MsoNormal">The issue I have is that the graphic card seems to never switch to the high resolution mode of the monitor. The kernel would boot with the default 800x600 VGA graphics and then stuck. The monitor continuous to display the content written
 to the 800x600 console (some kernel booting messages) after amdgpu takes over. I can see from kernel dmesg the amdgpu driver found my card and initialized it and seems to be all happy about it. Yet, nothing new is displayed on the monitor. The monitor just
 stuck at the content of the 800x600 graphics.<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="x_MsoNormal">The keyboard works in this situation. Kernel is alive and I can reboot it by pressing <ctrl>+<alt>+<del> and I saw from the log file the system restarts just fine.<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="x_MsoNormal">I have tried different noobs of the amdgpu driver, like amdgpu.exp_hw_support=1, si_support=0, etc. Nothing seems to work. I just stuck with not able to switch to 1920x1080.<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="x_MsoNormal">I suspect that this is related to my firmware version. I confirmed the latest firmware is installed on my /usr/lib/firmware/ dir. The reason I suspect that it is a firmware issue is that I got the machine just 2 days ago and I have updated
 windows 10 to build 1709, which is very new. I suspect that windows have updated the GPU's firmware and the linux driver isn't working with it. If so, is there a way to force a firmware load from the linux side (i.e. a downgrade).<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="x_MsoNormal">Other users on the internet has report success with this particular machine with 4.15 kernel. Given that 4.15 doesn't work for me, the only thing that I could think of is the firmware version.<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="x_MsoNormal">Any other ideas?<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="x_MsoNormal">Thanks a lot,<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal">Min<u></u><u></u></p>
</div>
<div>
<p class="x_MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>