support new graphic cards
This commit is contained in:
parent
ec93692ae2
commit
51373d1f41
@ -68,6 +68,11 @@ COPY ./resolv.conf /etc/resolv.dnsmasq
|
|||||||
# when microphone is accessed via push-to-talk.
|
# when microphone is accessed via push-to-talk.
|
||||||
RUN echo "enable-shm = no" >> /etc/pulse/client.conf
|
RUN echo "enable-shm = no" >> /etc/pulse/client.conf
|
||||||
|
|
||||||
|
# Get newer MESA to support new GPU (graphic cards)
|
||||||
|
RUN echo "deb http://deb.debian.org/debian jessie-backports main" | tee -a /etc/apt/sources.list
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get -y -t jessie-backports install libegl1-mesa-drivers:amd64 libegl1-mesa-drivers:i386 libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 libgl1-mesa-glx:i386 libglapi-mesa:amd64 libglapi-mesa:i386 libegl1-mesa:amd64 libegl1-mesa:i386 libgbm1:amd64 libgbm1:i386 libopenvg1-mesa:amd64 libopenvg1-mesa:i386 libwayland-egl1-mesa:amd64 libwayland-egl1-mesa:i386
|
||||||
|
|
||||||
# locale-gen: Generate locales based on /etc/locale.gen file
|
# locale-gen: Generate locales based on /etc/locale.gen file
|
||||||
# update-locale: Generate config /etc/default/locale (later read by /etc/pam.d/su, /etc/pam.d/login, /etc/pam.d/polkit-1)
|
# update-locale: Generate config /etc/default/locale (later read by /etc/pam.d/su, /etc/pam.d/login, /etc/pam.d/polkit-1)
|
||||||
RUN sed -i.orig '/^# en_US.UTF-8.*/s/^#.//g' /etc/locale.gen && \
|
RUN sed -i.orig '/^# en_US.UTF-8.*/s/^#.//g' /etc/locale.gen && \
|
||||||
|
@ -36,6 +36,15 @@ with the following GPU's:
|
|||||||
- Intel HD Graphics 4400
|
- Intel HD Graphics 4400
|
||||||
- NVIDIA's GeForce GTX 560 Ti
|
- NVIDIA's GeForce GTX 560 Ti
|
||||||
|
|
||||||
|
### 01.03.2018
|
||||||
|
|
||||||
|
The following games have been tested in Ubuntu 16.04 LTS (64bit) running on Apple MacBook Pro "Core i7" 2.9 15" Touch/Mid-2017
|
||||||
|
with AMD Radeon Pro 560 graphic card:
|
||||||
|
|
||||||
|
- Half-Life: Counter-Strike 1.6
|
||||||
|
|
||||||
|
> For running games on AMD Radeon please uncomment ``/dev/kfd`` device in the docker-compose.yml file.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- [Docker](https://www.docker.com/)
|
- [Docker](https://www.docker.com/)
|
||||||
|
@ -29,13 +29,17 @@ services:
|
|||||||
- /usr/lib64:/h13_64:ro
|
- /usr/lib64:/h13_64:ro
|
||||||
dns: steam # a DNS cache is needed to avoid upstream bug https://github.com/ValveSoftware/steam-for-linux/issues/3401
|
dns: steam # a DNS cache is needed to avoid upstream bug https://github.com/ValveSoftware/steam-for-linux/issues/3401
|
||||||
devices:
|
devices:
|
||||||
|
# Common:
|
||||||
|
- /dev/dri
|
||||||
|
# - /dev/snd
|
||||||
|
# NVIDIA:
|
||||||
- /dev/nvidia0
|
- /dev/nvidia0
|
||||||
- /dev/nvidiactl
|
- /dev/nvidiactl
|
||||||
- /dev/nvidia-uvm
|
- /dev/nvidia-uvm
|
||||||
# uncomment this when running NVIDIA Driver >= 361
|
# NVIDIA driver >= 361:
|
||||||
- /dev/nvidia-modeset
|
- /dev/nvidia-modeset
|
||||||
- /dev/dri
|
# AMD/ATI Radeon:
|
||||||
# - /dev/snd
|
# - /dev/kfd
|
||||||
environment:
|
environment:
|
||||||
- DISPLAY=unix$DISPLAY
|
- DISPLAY=unix$DISPLAY
|
||||||
- PULSE_SERVER=unix:$XDG_RUNTIME_DIR/pulse/native
|
- PULSE_SERVER=unix:$XDG_RUNTIME_DIR/pulse/native
|
||||||
|
Loading…
Reference in New Issue
Block a user