From: Nicolas Baranger <nicolas.baranger@3xo.fr>
To: Thomas Zimmermann <tzimmermann@suse.de>
Cc: dri-devel@lists.freedesktop.org, airlied@redhat.com
Subject: Re: Include ASPEED ast-drm 1.15.1 video driver in kernel tree
Date: Mon, 03 Mar 2025 09:07:48 +0100 [thread overview]
Message-ID: <183881a57671db7eebada5ac8cbcb8cf@3xo.fr> (raw)
In-Reply-To: <bc089e81-2e09-41e9-a9d1-68b2f4372e7f@suse.de>
Dear Thomas
> You are using NVidia's proprietary driver, right? Did you reach out to
> them wrt this problem? Or searched their support forums, online help,
> etc? If so, what are the results?
Yes I'm using NVidia propriétary driver.
Maybe I'm wrong but I did not ask their support directly because first,
for me it seems that there is no issue with the NVidia driver and
unfortunately NVidia is not as opensource mind as Linux kernel community
(as an example you can have a look on my last PR here
https://github.com/NVIDIA/open-gpu-kernel-modules/pull/783 which had not
been reviewed since 3+ weeks... and without this PR, it's impossible to
build open or closed source NVidia drivers on mainline)
Second, I thought I already report it here but on my system using a
recent kernel and embeded ast 0.1.0 driver has a very poor rendering and
graphic is very slow, twinkle is high, had poor colors and it's
happenning even if the NVidia driver is unloaded
The screen flickering is high too and it's like if I was using an old
cathode ray tube monitor (I'm using an LCD monitor which display a nice
and eyes confortable picture when using ast 1.15.1 driver or when
displaying directly the video output of the Nvidia GPU(using HDMI
output)).
Third, approximately from Linux 6.10+ using the embeded ast driver I
have some lag when sliding a window on Gnome desktop (Xorg not Wayland)
and CPU is highly used (some coreS at 100%), but I do not have those lag
with ast 1.15.1 and CPU is less used (1 core at less than 80% max)
For the moment, I think Linux 6.12.9 is the worst I constat
Last, I found that Linux 6.1.128 is working perfectly out of the box
with embeded ast 0.1.0 driver and there is a manifest lost of
performances with Vulkan and Nvidia prime render offload when upgrading
to Linux 6.2 (using same NVidia driver version, I did test those 3
versions 535.216.01, 550.142, and 550.144.03 with similar results).
But in Linux 6.2, except the lost of performances, I did not constat the
poor rendering and twinkle on the screen nor lag when sliding a window
on the desktop or too high CPU usage.
So I suspect there is something else introduced between Linux 6.2 and
mainline which cause this behavior.
I'm continuing bissection and I'm sorry, it's not as fast as I would as
each tests tooks some times and I must never tell something wrong to git
if I don't want to restart all the work...
Thanks again for answer and help
Kind regards
Nicolas Baranger
Le 2025-02-28 11:06, Thomas Zimmermann a écrit :
> Hi
>
> Am 11.02.25 um 19:15 schrieb Nicolas Baranger:
>
>> Dear maintener
>>
>> For my own usage, I did make work the ASPEED ast-drm 1.15.1 video
>> driver on mainline kernel (6.13.0 + 6.13.1).
>>
>> ASPEED video driver is availiable here:
>> https://www.aspeedtech.com/file/support/Linux_DRM_1.15.1_4.tar.gz
>>
>> But it only work for LTS kernel
>> So I modify the DKMS package and I build a new Debian DKMS package
>> with the adapted source.
>> My patch can be find here :
>> https://xba.soartist.net/ast-drm_nba_20250211/nba-dkms/astdiff.patch
>> See the README:
>> https://xba.soartist.net/ast-drm_nba_20250211/nba-dkms/README
>>
>> Using this new 'ast 1.15.1' driver, performance are amazing compared
>> to the 'ast' driver include in kernel tree, specially when using a
>> discrete GPU and offloading VULKAN / 3D on it but using AST VGA card
>> as the main video card and as the main and only video output (the
>> discrete GPU is used only for offloading 3D or for cuda/opencl)
>
> You are using NVidia's proprietary driver, right? Did you reach out to
> them wrt this problem? Or searched their support forums, online help,
> etc? If so, what are the results?
>
> Best regards
> Thomas
>
>> So to make things easier, I include the new 'ast 1.15.1' driver in
>> kernel tree as AST_NEW : linux-6.13.1-ast/drivers/gpu/drm/ast_new'
>> It's working fine as you can see on this video :
>> https://xba.soartist.net/ast-drm_nba_20250211/vulcan_nvidia_prime_render_offload_on_ast_vga_card.webm
>> I upload all the work I've done here :
>> https://xba.soartist.net/ast-drm_nba_20250211/
>>
>> See the global README :
>> https://xba.soartist.net/ast-drm_nba_20250211/README
>>
>> and the README in nba-kernel sub-directory :
>> https://xba.soartist.net/ast-drm_nba_20250211/nba-kernel/README
>>
>> I'm not a developer so please let me know if I made the things the
>> right way and if this new 'ast 1.15.1' driver can be ported to
>> linux-next or linux-? ?
>> If you need more explanations, do not hesitate to contact me, I would
>> be happy to help
>>
>> Kind regards
>> Nicolas Baranger
next prev parent reply other threads:[~2025-03-03 8:07 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-11 18:15 Include ASPEED ast-drm 1.15.1 video driver in kernel tree Nicolas Baranger
2025-02-12 18:58 ` Nicolas Baranger
2025-02-12 19:14 ` Maarten Lankhorst
2025-02-13 7:57 ` Thomas Zimmermann
2025-02-13 9:27 ` Nicolas Baranger
2025-02-13 9:36 ` Nicolas Baranger
2025-02-14 9:11 ` Jocelyn Falempe
2025-02-14 12:09 ` Nicolas Baranger
2025-02-14 12:36 ` Thomas Zimmermann
2025-02-14 15:01 ` Nicolas Baranger
2025-02-14 17:03 ` Nicolas Baranger
2025-02-14 17:52 ` Nicolas Baranger
2025-02-17 8:11 ` Thomas Zimmermann
2025-02-17 8:37 ` Nicolas Baranger
2025-02-21 11:57 ` Nicolas Baranger
2025-02-24 8:53 ` Jani Nikula
2025-02-24 9:57 ` Nicolas Baranger
2025-02-28 10:06 ` Thomas Zimmermann
2025-03-03 8:07 ` Nicolas Baranger [this message]
2025-03-03 8:19 ` Thomas Zimmermann
2025-03-03 8:44 ` Nicolas Baranger
2025-03-03 10:16 ` Thomas Zimmermann
2025-03-03 15:48 ` Nicolas Baranger
2025-03-15 10:33 ` Nicolas Baranger
-- strict thread matches above, loose matches on Subject: below --
2025-02-14 12:46 Thomas Zimmermann
2025-02-14 15:10 ` Nicolas Baranger
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=183881a57671db7eebada5ac8cbcb8cf@3xo.fr \
--to=nicolas.baranger@3xo.fr \
--cc=airlied@redhat.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=tzimmermann@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.