[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-06-25 Thread Franz Heinz
The Problem still seems not to have been solved with the current kernel
under Ubuntu 20.04. LTS

** Also affects: vlc (Ubuntu)
   Importance: Undecided
   Status: New

** Summary changed:

- [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API
+ [amdgpu] (X)ubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] (X)ubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-06-23 Thread Katan Maier
@alexander-s-m:
On a fresh install without any workarounds using VLC with the setting 
"Hardware-accelerated decoding" set to "VDPAU video decoder" (under Tools -> 
(Simple) Preferences -> Input/Codec) I experience the same low video quality on 
HDTV (H.264) video channels you are writing about. On UHD (H.265) channels the 
video is stuck.

Setting this to "disabled" in vlc gives good video quality on HD and UHD
(the cpu is used intensively though).

Oddly on Windows 10 this laptop (Lenovo Ideapad S540-14API) isn't able
to show these HD or UHD tv channels without big glitches, no matter
which settings, drivers or whatever. Reinstalling didn't help either. At
least it seems to work good on Linux. Only other major issue with the
laptop so far was the wifi card: Changing this to 01AX709 with an
atheros chipset made wifi great again...


But back to the topic:
I suggest everyone who thinks to be affected by this issue to try to change one 
line in "/etc/default/grub" to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash iommu=soft"
and run
update-grub
afterwards.

This seems to have fixed the black screen issue so far (at least I
haven't experienced the issue in the last 24 hours) and I didn't notice
negative effects of this change. I'm running Ubuntu Mate 20.04 with
5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 x86_64
x86_64 x86_64 GNU/Linux.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-06-23 Thread Alexander Mescheryakov
@katastic Interestingly I've also noticed video output problems in VLC
on my Lenovo Ideapad L340-17API.

In my case video is present in VLC but quality is quite poor, video
looks interlaced even though it is not.

Workaround: reconfigure VLC to use another video output module and probably 
restart VLC. This command made video quality in VLC normal for me:
sed -i 's/.*vout=.*/vout=gles2/' ~/.config/vlc/vlcrc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-06-22 Thread Katan Maier
Lenovo Ideapad S540-14API Ubuntu Mate 20.04 user here:
Same bug affects me very much. Black screen on boot, probably only when on 
battery-only during boot.
The workaround mentioned in #3 works for me, but the battery runtime is halved. 
The workaround in #5 has the effect of no video during vlc media player 
playback.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-06-21 Thread You-Sheng Yang
** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-06-20 Thread Dirk Rydvan
Hello dears - me too:

it is a ASUS with Ryzen and Kubuntu LTS 20.04 - It happens from my point of 
view only with battary power.
May be it is related to also happen 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1873325 with missing 
firmware, that also not can  found in git repo for Linux Firmware

notebook:~$ uname -a
Linux notebook 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 
x86_64 x86_64 x86_64 GNU/Linux


Jun 20 21:55:02 notebook systemd[1]: snapd.service: Succeeded.
Jun 20 21:55:08 notebook kernel: [   20.435116] [drm:amdgpu_job_timedout 
[amdgpu]] *ERROR* ring gfx timeout, signaled seq=1, emitted seq=3
Jun 20 21:55:08 notebook kernel: [   20.435251] [drm:amdgpu_job_timedout 
[amdgpu]] *ERROR* Process information: process Xorg pid 843 thread Xorg:cs0 pid 
850
Jun 20 21:55:08 notebook kernel: [   20.435259] amdgpu :03:00.0: GPU reset 
begin!
Jun 20 21:55:08 notebook systemd[1]: NetworkManager-dispatcher.service: 
Succeeded.
Jun 20 21:55:09 notebook kernel: [   21.587697] amdgpu :03:00.0: GPU reset 
succeeded, trying to resume
Jun 20 21:55:09 notebook kernel: [   21.588322] [drm] PCIE GART of 1024M 
enabled (table at 0x00F40090).
Jun 20 21:55:09 notebook kernel: [   21.588923] [drm] PSP is resuming...
Jun 20 21:55:09 notebook kernel: [   21.608781] [drm] reserve 0x40 from 
0xf47f80 for PSP TMR
Jun 20 21:55:09 notebook kernel: [   21.620978] [drm] psp command failed and 
response status is (0x7)
Jun 20 21:55:10 notebook kernel: [   22.254474] [drm] VCN decode and encode 
initialized successfully(under DPG Mode).
Jun 20 21:55:10 notebook kernel: [   22.254485] amdgpu :03:00.0: ring gfx 
uses VM inv eng 0 on hub 0
Jun 20 21:55:10 notebook kernel: [   22.254488] amdgpu :03:00.0: ring 
comp_1.0.0 uses VM inv eng 1 on hub 0
Jun 20 21:55:10 notebook kernel: [   22.254491] amdgpu :03:00.0: ring 
comp_1.1.0 uses VM inv eng 4 on hub 0
Jun 20 21:55:10 notebook kernel: [   22.254493] amdgpu :03:00.0: ring 
comp_1.2.0 uses VM inv eng 5 on hub 0
Jun 20 21:55:10 notebook kernel: [   22.254496] amdgpu :03:00.0: ring 
comp_1.3.0 uses VM inv eng 6 on hub 0
Jun 20 21:55:10 notebook kernel: [   22.254498] amdgpu :03:00.0: ring 
comp_1.0.1 uses VM inv eng 7 on hub 0
Jun 20 21:55:10 notebook kernel: [   22.254500] amdgpu :03:00.0: ring 
comp_1.1.1 uses VM inv eng 8 on hub 0
Jun 20 21:55:10 notebook kernel: [   22.254502] amdgpu :03:00.0: ring 
comp_1.2.1 uses VM inv eng 9 on hub 0
Jun 20 21:55:10 notebook kernel: [   22.254505] amdgpu :03:00.0: ring 
comp_1.3.1 uses VM inv eng 10 on hub 0
Jun 20 21:55:10 notebook kernel: [   22.254508] amdgpu :03:00.0: ring 
kiq_2.1.0 uses VM inv eng 11 on hub 0
Jun 20 21:55:10 notebook kernel: [   22.254510] amdgpu :03:00.0: ring sdma0 
uses VM inv eng 0 on hub 1
Jun 20 21:55:10 notebook kernel: [   22.254512] amdgpu :03:00.0: ring 
vcn_dec uses VM inv eng 1 on hub 1
Jun 20 21:55:10 notebook kernel: [   22.254514] amdgpu :03:00.0: ring 
vcn_enc0 uses VM inv eng 4 on hub 1
Jun 20 21:55:10 notebook kernel: [   22.254516] amdgpu :03:00.0: ring 
vcn_enc1 uses VM inv eng 5 on hub 1
Jun 20 21:55:10 notebook kernel: [   22.254518] amdgpu :03:00.0: ring 
vcn_jpeg uses VM inv eng 6 on hub 1
Jun 20 21:55:10 notebook kernel: [   22.266075] [drm] recover vram bo from 
shadow start
Jun 20 21:55:10 notebook kernel: [   22.266076] [drm] recover vram bo from 
shadow done
Jun 20 21:55:10 notebook kernel: [   22.266077] [drm] Skip scheduling IBs!
Jun 20 21:55:10 notebook kernel: [   22.266109] [ cut here 
]
Jun 20 21:55:10 notebook kernel: [   22.266116] WARNING: CPU: 2 PID: 597 at 
include/linux/dma-fence.h:533 drm_sched_resubmit_jobs+0x152/0x160 [gpu_sched]
Jun 20 21:55:10 notebook kernel: [   22.266116] Modules linked in: cmac 
algif_hash algif_skcipher af_alg bnep snd_hda_codec_realtek 
snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel 
snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep nls_iso8859_1 snd_pcm 
joydev rtsx_usb_ms snd_seq_midi memstick snd_seq_midi_event uvcvideo 
videobuf2_vmalloc edac_mce_amd btusb snd_rawmidi btrtl videobuf2_memops kvm_amd 
btbcm videobuf2_v4l2 ccp btintel videobuf2_common rtl8821ce(OE) bluetooth kvm 
videodev snd_seq mc input_leds snd_seq_device asus_nb_wmi serio_raw snd_timer 
asus_wmi wmi_bmof sparse_keymap ecdh_generic ecc hid_multitouch k10temp snd 
snd_pci_acp3x cfg80211 soundcore mac_hid sch_fq_codel parport_pc ppdev lp 
parport ip_tables x_tables autofs4 rtsx_usb_sdmmc rtsx_usb hid_generic amdgpu 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel amd_iommu_v2 gpu_sched 
i2c_algo_bit ttm drm_kms_helper aesni_intel crypto_simd syscopyarea cryptd 
sysfillrect glue_helper sysimgblt ahci fb_sys_fops libahci i2c_piix4 drm nvme
Jun 20 21:55:10 notebook kernel: [   22.266144]  nvme_core wmi video i2c_hid hid
Jun 20 21:55:10 notebook kernel: [   22.266148] CPU: 2 PID: 597 Comm: 
kworker/2:2 Tainted: G   OE 

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-06-20 Thread Klaus Rennecke
NOT fixed in 5.4.0; it just recurred here on cold start from battery
power.

 OS: Ubuntu 20.04 focal
 Kernel: x86_64 Linux 5.4.0-37-generic
 Uptime: 17m
 Packages: 2908
 Shell: bash 5.0.16
 Resolution: 5360x1440
 DE: GNOME 3.36.2
 WM: BudgieWM
 WM Theme: Pocillo
 GTK Theme: Pocillo-dark [GTK2/3]
 Icon Theme: Pocillo
 Font: Noto Sans 11
 Disk: 191G / 412G (49%)
 CPU: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx @ 8x 2.3GHz
 GPU: AMD RAVEN (DRM 3.35.0, 5.4.0-37-generic, LLVM 9.0.1)
 RAM: 3801MiB / 30049MiB

While sadly this event dashed my hopes that it went away, it also
confirmed that the hack from ~alexander-s-m works even with LUKS
present.

~vicamo can you please transition status back to confirmed? Not sure
what the etiquette here is or if I am supposed to change it myself.

...
Jun 20 20:54:34 redacted kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* 
ring gfx timeout, signaled seq=1, emitted seq=5
Jun 20 20:54:34 redacted kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* 
Process information: process Xorg pid 1367 thread Xorg:cs0 pid 1387
Jun 20 20:54:34 redacted kernel: amdgpu :05:00.0: GPU reset begin!
Jun 20 20:54:35 redacted kernel: amdgpu :05:00.0: GPU reset succeeded, 
trying to resume
Jun 20 20:54:35 redacted kernel: [drm] PCIE GART of 1024M enabled (table at 
0x00F40090).
Jun 20 20:54:35 redacted kernel: [drm] PSP is resuming...
Jun 20 20:54:35 redacted kernel: [drm] reserve 0x40 from 0xf47f80 for 
PSP TMR
Jun 20 20:54:36 redacted kernel: [drm] psp command failed and response status 
is (0x7)
Jun 20 20:54:36 redacted kernel: [drm] VCN decode and encode initialized 
successfully(under DPG Mode).
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring gfx uses VM inv eng 
0 on hub 0
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring comp_1.0.0 uses VM 
inv eng 1 on hub 0
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring comp_1.1.0 uses VM 
inv eng 4 on hub 0
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring comp_1.2.0 uses VM 
inv eng 5 on hub 0
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring comp_1.3.0 uses VM 
inv eng 6 on hub 0
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring comp_1.0.1 uses VM 
inv eng 7 on hub 0
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring comp_1.1.1 uses VM 
inv eng 8 on hub 0
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring comp_1.2.1 uses VM 
inv eng 9 on hub 0
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring comp_1.3.1 uses VM 
inv eng 10 on hub 0
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring kiq_2.1.0 uses VM 
inv eng 11 on hub 0
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring sdma0 uses VM inv 
eng 0 on hub 1
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring vcn_dec uses VM inv 
eng 1 on hub 1
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring vcn_enc0 uses VM inv 
eng 4 on hub 1
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring vcn_enc1 uses VM inv 
eng 5 on hub 1
Jun 20 20:54:36 redacted kernel: amdgpu :05:00.0: ring vcn_jpeg uses VM inv 
eng 6 on hub 1
Jun 20 20:54:36 redacted kernel: [drm] recover vram bo from shadow start
Jun 20 20:54:36 redacted kernel: [drm] recover vram bo from shadow done
Jun 20 20:54:36 redacted kernel: [drm] Skip scheduling IBs!
Jun 20 20:54:36 redacted kernel: [ cut here ]
Jun 20 20:54:36 redacted kernel: WARNING: CPU: 0 PID: 5 at 
include/linux/dma-fence.h:533 drm_sched_resubmit_jobs+0x152/0x160 [gpu_sched]
Jun 20 20:54:36 redacted kernel: Modules linked in: veth nft_masq nft_chain_nat 
bridge stp llc zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) 
spl(O) zlua(PO) ebtable_filter ebtables ip6table_raw ip6table_mangle 
ip6table_nat ip6table_filter ip6_tables iptable_raw iptable_mangle iptable_nat 
nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_filter bpfilter nf_>
Jun 20 20:54:36 redacted kernel:  ucsi_acpi typec_ucsi typec soundcore mac_hid 
sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor 
zstd_compress raid6_pq libcrc32c dm_crypt crct10dif_pclmul crc32_pclmul 
ghash_clmulni_intel amdgpu rtsx_pci_sdmmc amd_iommu_v2 gpu_sched i2c_algo_bit 
ttm aesni_intel drm_kms_helper crypto_simd cryptd syscopyarea glue_helper p>
Jun 20 20:54:36 redacted kernel: CPU: 0 PID: 5 Comm: kworker/0:0 Tainted: P 
  O  5.4.0-37-generic #41-Ubuntu
Jun 20 20:54:36 redacted kernel: Hardware name: LENOVO 20NE000BGE/20NE000BGE, 
BIOS R11ET36W (1.16 ) 03/30/2020
Jun 20 20:54:36 redacted kernel: Workqueue: events drm_sched_job_timedout 
[gpu_sched]
Jun 20 20:54:36 redacted kernel: RIP: 0010:drm_sched_resubmit_jobs+0x152/0x160 
[gpu_sched]
Jun 20 20:54:36 redacted kernel: Code: 41 5c 41 5d 41 5e 41 5f 5d c3 49 8b 46 
10 31 c9 48 c7 80 80 00 00 00 00 00 00 00 49 8b 7f 70 31 c0 83 e7 01 74 04 0f 
0b eb bf <0f> 0b eb c7 0f 0b eb 8b 66 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89
Jun 20 20:54:36 redacted kernel: RSP: 0018:b

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-06-18 Thread Klaus Rennecke
At the time of my first comment, and the occurrences, the kernel
installed was 5.4.0.33.38 on Ubuntu. On Jun 10 this was updated to
5.4.0.37.40 and so far I did not observe any recurrence. Note however
that the effect was intermittent. If it does not recur until end of the
month I guess it can be considered fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-06-18 Thread You-Sheng Yang
https://bugzilla.kernel.org/show_bug.cgi?id=205089

It seems this should have been fixed in vanilla kernel v5.4.35, which
maps to Ubuntu kernel 5.4.0-34. So could you have a try on the latest
kernel?

** Bug watch added: Linux Kernel Bug Tracker #205089
   https://bugzilla.kernel.org/show_bug.cgi?id=205089

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-06-18 Thread Jorge Rodríguez Flores
Alexander´s solution worked just fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-06-18 Thread Jorge Rodríguez Flores
This problem also occurs in my HP-CW1011la laptop (Ryzen 3500u) while
trying to boot on battery. Iĺl try Alexander´s workaround.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-06-18 Thread Franz Heinz
Can confirm that the problem occurs on my "Lenovo IdeaPad L340-17API"
regularly when power isn't plugged in.

On some occasions I got a corrupted root filesystem as a consequence of having 
to turn the system off "hard".
Furthermore I noticed that sometimes the Power-LED began to blink instead of 
glowing steadily.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-06-07 Thread Klaus Rennecke
Seen on ThinkPad E495. Updated BIOS to 1.16 -- good but did NOT solve
this particular issue. Still getting the boot-to-black issue on battery
power, on a random basis.

Attempting the workaround from Alexander in #3 and #5.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-05-19 Thread shura
I have exactly the same on lenovo ideapad S340 on AMD

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-05-14 Thread Thomas U.
I have the same issue on a Thinkpad X395: with power plugged in,
everything boots fine. However, on battery it will only boot to a black
screen once the display manager is started.

Plugging the power in, booting up and unplugging the power once the
login-screen appears does work, however. Also, using `nomodeset` as
kernel option works, but in that case, amdgpu won't be loaded (I assume
some generic VESA driver is used in that case).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-05-03 Thread Christian
Apologies, this only occurs from me when I don't have the POWER plugged
in. If I am on just battery it will just boot to a black screen, but
when plugged in to the charger it boots up just fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-04-25 Thread Christian
I am also experiencing this same issue on an Acer Aspire Slim 5. I
installed Ubuntu 20.04 server edition and then Mate-desktop on top of
that. It seems that I only experience this issue when I do not have
ethernet plugged in. With ethernet plugged in the system boots just fine
into the window manager. I get the same dmesg output as above. I will
try and collect all the relevant information and post it soon.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-04-19 Thread Alexander Mescheryakov
I noticed that after boot with badly initialized GPU idle power
consumption is 2-2.5 higher than after normal boots.

But this can be fixed by putting laptop to suspend and waking it.
Therefore I've extended my workaround from #3 to this:


[Service]
Type=oneshot
ExecCondition=/bin/sh -c "journalctl -fk | grep -Fm1 'amdgpu_cs_ioctl [amdgpu]] 
*ERROR* Failed to initialize parser'"

ExecStart=/usr/bin/echo 'Not good. Restarting display-manager'
ExecStart=/usr/bin/systemctl restart display-manager.service
ExecStart=/usr/bin/sleep 3
ExecStart=/usr/bin/echo 'Brief suspend to fix power consumption'
# Note that mode has to be "mem". "freeze" does not fix power consumption.
ExecStart=/usr/sbin/rtcwake --mode mem  --seconds 3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-04-06 Thread Daniel van Vugt
Ha, that's a great hack and not something you should need to do. But
great hack.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1870971] Re: [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad L340-17API

2020-04-06 Thread Alexander Mescheryakov
This issue is not 100% reproducible. It happens after 50% of reboots and
I can't figure out regularity.

But I managed to contrive a workaround!

```
$ cat /etc/systemd/system/fix-graphics-after-boot.service
[Unit]
Description=Restart display-manager if amdgpu initialization failed
After=display-manager.service
JobRunningTimeoutSec=30

[Install]
WantedBy=graphical.target

[Service]
Type=oneshot
ExecCondition=/usr/bin/dash -c "journalctl -fk | grep -Fm1 'amdgpu_cs_ioctl 
[amdgpu]] *ERROR* Failed to initialize parser'"
ExecStart=/usr/bin/systemctl restart display-manager.service
```

After you've created such file don't forget to enable it:
systemctl enable fix-graphics-after-boot.service

The idea of this service is to scan kernel logs for 30 seconds after
display-manager is started and if there is signs that amdgpu
initialization failed then restart display-manager. Works for me! Though
adds 15 seconds delay for 50% of boots.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870971

Title:
  [amdgpu] Xubuntu 20.04 boots to black screen on Lenovo Ideapad
  L340-17API

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs