comment out nvidia glx library name and copy /etc/environment file
This commit is contained in:
parent
5347bd0181
commit
67ea698aea
2 changed files with 3 additions and 1 deletions
|
|
@ -38,5 +38,7 @@ RUN systemctl disable nvidia-powerd
|
||||||
# Add rule to SELinux allowing modules to be loaded into custom kernel
|
# Add rule to SELinux allowing modules to be loaded into custom kernel
|
||||||
RUN setsebool -P domain_kernel_load_modules on
|
RUN setsebool -P domain_kernel_load_modules on
|
||||||
|
|
||||||
|
COPY etc/environment /etc/environment
|
||||||
|
|
||||||
RUN rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \
|
RUN rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \
|
||||||
bootc container lint
|
bootc container lint
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ QT_QPA_PLATFORM=wayland
|
||||||
|
|
||||||
# Nvidia:
|
# Nvidia:
|
||||||
#__NV_PRIME_RENDER_OFFLOAD=1
|
#__NV_PRIME_RENDER_OFFLOAD=1
|
||||||
__GLX_VENDOR_LIBRARY_NAME=nvidia
|
#__GLX_VENDOR_LIBRARY_NAME=nvidia
|
||||||
|
|
||||||
ELECTRON_OZONE_PLATFORM_HINT=wayland
|
ELECTRON_OZONE_PLATFORM_HINT=wayland
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue