kiss-community / grepo

GKISS - A fork of KISS Linux that uses the GNU C library, mirror of https://codeberg.org/kiss-community/grepo
MIT License
57 stars 6 forks source link

[NVIDIA] OpenGL / Vulkan support #39

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hello, is there any way to "enable" OpenGL with NVIDIA in this repository (to run games, etc.)? For example when I try to run gzdoom, I get this:

OS: KISS Linux, Linux 5.18.9 on x86_64
M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
 adding ./gzdoom.pk3, 668 lumps
 adding ./game_support.pk3, 2514 lumps
 adding ./DOOM.WAD, 2306 lumps
 adding ./game_widescreen_gfx.pk3, 214 lumps
S_Init: Setting up sound.
I_InitSound: Initializing OpenAL
  Opened device ALSA Default
[ALSOFT] (WW) pthread_setschedparam failed: Operation not permitted (1)
[ALSOFT] (WW) D-Bus not supported
  EFX enabled
ID out of range. Using default device.
I_Init: Setting up machine state.
CPU speed: 2904 MHz
CPU Vendor ID: GenuineIntel
  Name: Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
  Family 6, Model 158, Stepping 10
  Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 F16C FMA3 BMI1 BMI2 HyperThreading
V_Init: allocate screen.
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
script parsing took 124.54 ms
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading custom status bar definition.
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Using video driver wayland
libEGL warning: MESA-LOADER: failed to open nouveau: /usr/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open nouveau: /usr/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open nouveau: /usr/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open nouveau: /usr/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open nouveau: /usr/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open nouveau: /usr/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open nouveau: /usr/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open nouveau: /usr/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open nouveau: /usr/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open nouveau: /usr/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

Could not create OpenGL window:
Could not initialize EGL
ghost commented 2 years ago

Also, when I run vkcube-wayland, I get this:

vkEnumerateInstanceExtensionProperties failed to find the VK_KHR_surface extension.

Do you have a compatible Vulkan installable client driver (ICD) installed?
Please look at the Getting Started guide for additional information.

Please help

PS: I use this mesa

apprehensions commented 2 years ago

was this solved?

git-bruh commented 2 years ago

No, I've not had the time to investigate it, but I guess it's because the nvidia package only has the bare minimum required to run firefox. So installing the other libs aswell would probably fix it

ghost commented 2 years ago

was this solved?

Unfortunately, no. I reopen this issue, maybe someone will find a solution.

apprehensions commented 2 years ago

after my repository gkiss-multilib was created, I will try to tackle this.

apprehensions commented 2 years ago

2022-08-09_01-23-19

OpenGL game under steam is working, however i had failed to get vkcube, where do you get it?

ghost commented 2 years ago

Wow! I didn't think gaming was possible on KISS Linux About vkcube, I got it from my Arch Linux installation, but you can also build it from here.

Binaries: vkcube.tar.gz

apprehensions commented 2 years ago

normal nvidia in this repository does not provide important Vulkan files or libraries, so thats probably why it didn't work.

I have tested an OpenGL game above and a DXVK game under wine, do you have any games you want me to test @nvidiaLinuxUser ?

apprehensions commented 2 years ago

maybe someone will find a solution.

:)

ghost commented 2 years ago

@wael444 Thanks for your work! I'm currently on Arch Linux for some reasons, I'll post here when I'm on KISS. :D

git-bruh commented 2 years ago

Fixed

ghost commented 2 years ago

@git-bruh Thank you so much! Can't wait to test it out :D

apprehensions commented 2 years ago

@nvidiaLinuxUser , if you are going to use Steam, please use the Flatpak.