Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems using VRAM as swap
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
darkduck
n00b
n00b


Joined: 08 May 2022
Posts: 3

PostPosted: Sun May 08, 2022 10:02 pm    Post subject: Problems using VRAM as swap Reply with quote

I have a gaming laptop that I am not using anymore and decided to use as a server, it has 8gb of RAM and a GTX 1050 4GB, sometime during the installation i had a revelation, could I use the VRAM as swap? I would have 4gb of super fast swap right? Not so fast, first i came upon this:https://wiki.archlinux.org/title/Swap_on_video_RAM
I tried to use mtd and slram as it seemed the most minimalistic approach. I installed the modules and all, but there is a problem: lspci only detects a 256M region (which I think is the VRAM taken from RAM) and I can map it and use it as swap perfectly, but if I go any further, though I know I have available 4gb, the kernel shits itself.
Any help going beyond 256M would be appreciated.[/url][/u]
Back to top
View user's profile Send private message
jpsollie
Guru
Guru


Joined: 17 Aug 2013
Posts: 323

PostPosted: Tue May 17, 2022 6:33 am    Post subject: Reply with quote

I tried that as well ... ended up using the opencl fuse version ... worked much better
_________________
The power of Gentoo optimization (not overclocked): [img]https://www.passmark.com/baselines/V10/images/503714802842.png[/img]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum