Disable GPU to free RAM

Post Reply
evrflx
Posts: 5
Joined: Fri Apr 05, 2019 4:16 am
languages_spoken: english
ODROIDs: 4 C2, 2 XU4, 5 N2
Has thanked: 0
Been thanked: 0
Contact:

Disable GPU to free RAM

Unread post by evrflx » Tue Apr 30, 2019 3:10 pm

Hi,

for the C2 I need to set the 'nographics' option in order to free up the RAM allocated to the GPU.
Is the same possible for the N2?

Currently only about 3.7GB are usable - since the 4GB option was the primary driver for me to upgrade to the N2 it would be really appreciated if the RAM could be maximized.

Code: Select all

free -m
              total        used        free      shared  buff/cache   available
Mem:           3710         168        3472           0          68        3507

User avatar
odroid
Site Admin
Posts: 30638
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 13 times
Been thanked: 91 times
Contact:

Re: Disable GPU to free RAM

Unread post by odroid » Tue Apr 30, 2019 3:14 pm

We have a plan to implement that Kernel option in May or June.
These users thanked the author odroid for the post:
xabolcs (Tue Apr 30, 2019 5:48 pm)

evrflx
Posts: 5
Joined: Fri Apr 05, 2019 4:16 am
languages_spoken: english
ODROIDs: 4 C2, 2 XU4, 5 N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Disable GPU to free RAM

Unread post by evrflx » Tue May 21, 2019 5:02 pm

Will this become part of the mainline linux kernel (5.2 ?) as well, or is it specific for the odroid kernel for the time beeing?

User avatar
odroid
Site Admin
Posts: 30638
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 13 times
Been thanked: 91 times
Contact:

Re: Disable GPU to free RAM

Unread post by odroid » Tue May 21, 2019 5:35 pm

We've tried with on our own Kernel tree 4.9.
But there were many negative side effects and it is very hard to tell you when it is available.

evrflx
Posts: 5
Joined: Fri Apr 05, 2019 4:16 am
languages_spoken: english
ODROIDs: 4 C2, 2 XU4, 5 N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Disable GPU to free RAM

Unread post by evrflx » Tue May 21, 2019 6:40 pm

Thanks for working on that!
I would appreciate it very much if it was at least possible to limit the amount of memory dedicated to the GPU, f.e. to 64mb instead of the 300mb which is about 10% of the 4GB board.
Though I am not a kernel developer, is there any way to help to get that feature shipped?

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests