From: Tomeu Vizoso <tomeu.vizoso@collabora.com>
To: Zhang Ning <zhangn1985@outlook.com>, linux-amlogic@lists.infradead.org
Subject: Re: failed to start gnome/gdm3 wayland session after apply NPU patches
Date: Tue, 3 Jan 2023 15:46:00 +0100 [thread overview]
Message-ID: <c8322c28-656a-64cc-58fe-668026723821@collabora.com> (raw)
In-Reply-To: <OS0P286MB0641E5D5C1CF9D1E100EFFB6CDED9@OS0P286MB0641.JPNP286.PROD.OUTLOOK.COM>
Hi Ning,
On 12/27/22 05:21, Zhang Ning wrote:
> Hi, Tomeu
>
> after apply your NPU patches:
> http://lists.infradead.org/pipermail/linux-amlogic/2022-December/014428.html
>
> VIM3 failed to start gnome/gdm3 wayland session.
>
> before:
>
> VIM3:~$ ls /dev/dri/by-path/ -l
> total 0
> lrwxrwxrwx 1 root root 8 Dec 27 04:06 platform-ff900000.vpu-card -> ../card0
> lrwxrwxrwx 1 root root 8 Dec 27 04:06 platform-ffe40000.gpu-card -> ../card1
> lrwxrwxrwx 1 root root 13 Dec 27 04:06 platform-ffe40000.gpu-render -> ../renderD128
>
> after:
>
> VIM3:~$ ls /dev/dri/by-path/ -l
> total 0
> lrwxrwxrwx 1 root root 8 Dec 27 04:10 platform-etnaviv-card -> ../card0
> lrwxrwxrwx 1 root root 13 Dec 27 04:10 platform-etnaviv-render -> ../renderD128
> lrwxrwxrwx 1 root root 8 Dec 27 04:10 platform-ff900000.vpu-card -> ../card1
> lrwxrwxrwx 1 root root 8 Dec 27 04:10 platform-ffe40000.gpu-card -> ../card2
> lrwxrwxrwx 1 root root 13 Dec 27 04:10 platform-ffe40000.gpu-render -> ../renderD129
>
> the fail log:
> Dec 27 04:10:42 VIM3 gnome-shell[673]: g_hash_table_destroy: assertion 'hash_table != NULL' failed
> Dec 27 04:10:42 VIM3 gnome-shell[673]: Failed to open gpu '/dev/dri/card0': No suitable mode setting backend found
> Dec 27 04:10:42 VIM3 gnome-shell[673]: Added device '/dev/dri/card1' (meson) using atomic mode setting.
> Dec 27 04:10:42 VIM3 gnome-shell[673]: g_hash_table_destroy: assertion 'hash_table != NULL' failed
> Dec 27 04:10:42 VIM3 gnome-shell[673]: Failed to open gpu '/dev/dri/card2': No suitable mode setting backend found
> Dec 27 04:10:42 VIM3 gnome-shell[673]: Failed to initialize accelerated iGPU/dGPU framebuffer sharing: No matching EGL configs
> Dec 27 04:10:42 VIM3 gnome-shell[673]: Created gbm renderer for '/dev/dri/card1'
> Dec 27 04:10:42 VIM3 gnome-shell[673]: Integrated GPU /dev/dri/card1 selected as primary
>
> how to configure system to boot to gui with npu enabled?
Maybe you can do that by setting the "mutter-device-preferred-primary"
udev tag for card2?
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1562
Regards,
Tomeu
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2023-01-03 17:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-27 4:21 failed to start gnome/gdm3 wayland session after apply NPU patches Zhang Ning
2023-01-03 14:46 ` Tomeu Vizoso [this message]
2023-01-08 2:32 ` Zhang Ning
2023-01-13 10:09 ` Tomeu Vizoso
2024-03-24 13:31 ` [Resolved]: " 张 宁
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c8322c28-656a-64cc-58fe-668026723821@collabora.com \
--to=tomeu.vizoso@collabora.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=zhangn1985@outlook.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox