Skip to content

[Infrastructure] Does running this project requires GPU (external / non integrated)? #318

@luckyAkbar

Description

@luckyAkbar

Describe the bug
I tried to run ConvertX on my machine, but got error message related to VGA support. Because I didn't see warning / requirement section for infrastructure, I wonder does running this project requires GPU (external / non integrated)?

error log

stdout: 1% Converting input to HTML...

stderr: QRhiGles2: Failed to create temporary context
QRhiGles2: Failed to create context
This plugin does not support createPlatformVulkanInstance
QVulkanInstance: Failed to initialize Vulkan
Unable to detect GPU vendor.
WebEngineContext is used before QtWebEngineQuick::initialize() or OpenGL context creation failed.
[117:117:0606/135210.193092:ERROR:zygote_host_impl_linux.cc(100)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

Failed to convert ./data/uploads/1/5/redacted.epub from epub to pdf using calibre. error: Error: Command failed: ebook-convert ./data/uploads/1/5/redacted.epub ./data/output/1/5/redacted.pdf
QRhiGles2: Failed to create temporary context
QRhiGles2: Failed to create context
This plugin does not support createPlatformVulkanInstance
QVulkanInstance: Failed to initialize Vulkan
Unable to detect GPU vendor.
WebEngineContext is used before QtWebEngineQuick::initialize() or OpenGL context creation failed.
[117:117:0606/135210.193092:ERROR:zygote_host_impl_linux.cc(100)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

below are the specs of my machine:

CPU

Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit
  Address sizes:          36 bits physical, 48 bits virtual
  Byte Order:             Little Endian
CPU(s):                   4
  On-line CPU(s) list:    0-3
Vendor ID:                GenuineIntel
  Model name:             Intel(R) Core(TM) i3 CPU       M 350  @ 2.27GHz

VGA

lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12)

my compose.yaml

services:
  convertx:
    image: ghcr.io/c4illin/convertx:v0.14.1@sha256:346589f154332997329fdc888417d4b24c49cc9140eab80e637a68cfbdd8041b
    container_name: "converter"
    restart: unless-stopped
    expose:
      - 3000
    ports:
      - "3008:3000"
    environment:
      - JWT_SECRET=secret
      - AUTO_DELETE_EVERY_N_HOURS=1
      - HTTP_ALLOWED=true
    volumes:
      - ./data:/app/data

To Reproduce
Steps to reproduce the behavior:

  1. Go to convert page
  2. upload an epub file
  3. Choose conversion "Calibre > pdf"
  4. Click Convert
  5. Got failed on History page with Status Failed, check logs

Checklist:

  • already create the first account
  • logged in

Expectation
Able to run on my machine or at least give a section about hardware requirements

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions