https://bugs.documentfoundation.org/show_bug.cgi?id=155357

            Bug ID: 155357
           Summary: Provide a command line parameter to select GPU used
                    for Skia hardware rendering
           Product: LibreOffice
           Version: 7.6.0.0 alpha1+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: [email protected]
          Reporter: [email protected]

I am using X11/Skia ui for LibreOffice on Linux.

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: c01639c556276e496d9e762468cad6b27f9ed0f4
CPU threads: 12; OS: Linux 5.19; UI render: Skia/Vulkan; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: CL threaded

By enabling Skia, and having "Force Skia software rendering" unchecked, I can
see Skia log using "Copy skia.log" button:

RenderMethod: vulkan
Vendor: ...
Device: ...
API: ...
Driver: ...
DeviceType: integrated
DeviceName: Intel(R) Graphics (...)
Denylisted: no

I have a dual Intel/NVIDIA GPU installed, and now it is using Intel integrated
GPU with Vulkan renderer. But, it should be possible to tell LibreOffice to use
specific GPU.

In Vulkan C++ examples, I see that the binaries take a -g/--gpu command line
argument, so that you can tell them which GPU to use:

https://github.com/SaschaWillems/Vulkan

I think having such an option in LibreOffice would be useful.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to