Overv / vramfs

VRAM based file system for Linux
1.26k stars 65 forks source link

No suitable devices found. #30

Closed mizzunet closed 2 years ago

mizzunet commented 2 years ago

I'm having this output

usage: vramfs <mountdir> <size> [-d <device>] [-f]

  mountdir    - directory to mount file system, must be empty
  size        - size of the disk in bytes
  -d <device> - specifies identifier of device to use
  -f          - flag that forces mounting, with a smaller size if needed

The size may be followed by one of the following multiplicative suffixes: K=1024, KB=1000, M=1024*1024, MB=1000*1000, G=1024*1024*1024, GB=1000*1000*1000. It's rounded up to the nearest multiple of the block size.

No suitable devices found.

Output of lspci -vvv

...
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) (prog-if 00 [VGA controller])
    Subsystem: Acer Incorporated [ALI] Device 0866
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 46
    Region 0: Memory at b0000000 (64-bit, non-prefetchable) [size=4M]
    Region 2: Memory at a0000000 (64-bit, prefetchable) [size=256M]
    Region 4: I/O ports at 4000 [size=64]
    Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: i915
    Kernel modules: i915
...
absolutelynothelix commented 2 years ago

looks like you’re trying to use vramfs with integrated gpu, while it’s made for discrete ones. igpus tend to use a part of ram as vram, so vramfs is kinda pointless here and will be a useless bridge to actual ram, but through gpu. better use ramfs then.

sorry for being late, but it’s better than never ;)