Skip to content

Commit 77e53af

Browse files
committed
glxinfo observability
1 parent 9ffecd2 commit 77e53af

File tree

3 files changed

+35
-33
lines changed

3 files changed

+35
-33
lines changed

.github/workflows/.#ci.original.yml

-1
This file was deleted.

.github/workflows/ci.yml

+34-31
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install nvdiffrast dependencies
2727
uses: awalsh128/cache-apt-pkgs-action@latest
2828
with:
29-
packages: libglvnd0 libgl1 libglx0 libegl1 libgles2 libglvnd-dev libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libnvidia-gl-535 mesa-common-dev libegl1-mesa-dev libglfw3-dev libgl1-mesa-dev libglu1-mesa-dev ffmpeg
29+
packages: mesa-utils
3030
version: 1.0
3131

3232
# - name: Setup asset caching
@@ -45,39 +45,42 @@ jobs:
4545
# key: ${{ runner.os }}-${{ matrix.runner }}-pixi
4646
# restore-keys: ${{ runner.os }}-${{ matrix.runner }}-pixi
4747

48-
# - name: System debugging
49-
# run: |
50-
# nvidia-smi
51-
# ldconfig -p | grep EGL
52-
# ldconfig -p | grep GL
53-
# ls -la /usr/share/glvnd/
54-
# ls -la /usr/share/glvnd/egl_vendor.d/
55-
# cat /usr/share/glvnd/egl_vendor.d/50_mesa.json
56-
# sudo find / -name "*nvidia.so*"
57-
# sudo find / -name "*nvidia*"
48+
- name: System debugging
49+
run: |
50+
nvidia-smi
51+
ldconfig -p | grep EGL
52+
ldconfig -p | grep GL
53+
ls -la /usr/share/glvnd/
54+
ls -la /usr/share/glvnd/egl_vendor.d/
55+
cat /usr/share/glvnd/egl_vendor.d/50_mesa.json
56+
cat /usr/share/glvnd/egl_vendor.d/10_nvidia.json
57+
sudo find / -name "*nvidia.so*"
58+
sudo find / -name "*nvidia*"
59+
glxinfo -B
5860
59-
- name: Authenticate gcloud
60-
id: auth
61-
uses: google-github-actions/auth@v2
62-
with:
63-
credentials_json: "${{ secrets.ARTIFACT_REGISTRY_KEY }}"
61+
# - name: Authenticate gcloud
62+
# id: auth
63+
# uses: google-github-actions/auth@v2
64+
# with:
65+
# credentials_json: "${{ secrets.ARTIFACT_REGISTRY_KEY }}"
6466

65-
- name: Setup gcloud
66-
uses: google-github-actions/setup-gcloud@v2
67+
# - name: Setup gcloud
68+
# uses: google-github-actions/setup-gcloud@v2
6769

68-
- name: Install system environment and project dependencies
69-
env:
70-
GITHUB_CI: "true"
71-
#LD_LIBRARY_PATH: "/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
72-
run: |
73-
./install.sh
74-
source ~/.bashrc
75-
export PATH="/home/runner/.pixi/bin:/home/runner/.local/bin:$PATH"
76-
export CPLUS_INCLUDE_PATH="$GITHUB_WORKSPACE/.pixi/envs/default/targets/x86_64-linux/include"
77-
pixi tree
78-
#export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu
79-
env
80-
pixi run -vv test
70+
# - name: Install system environment and project dependencies
71+
# env:
72+
# GITHUB_CI: "true"
73+
# __EGL_VENDOR_LIBRARY_DIRS: "/usr/share/glvnd"
74+
# #LD_LIBRARY_PATH: "/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
75+
# run: |
76+
# ./install.sh
77+
# source ~/.bashrc
78+
# export PATH="/home/runner/.pixi/bin:/home/runner/.local/bin:$PATH"
79+
# export CPLUS_INCLUDE_PATH="$GITHUB_WORKSPACE/.pixi/envs/default/targets/x86_64-linux/include"
80+
# pixi tree
81+
# #export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu
82+
# env
83+
# pixi run -vv test
8184

8285

8386

src/b3d/renderer/nvdiffrast_jax/nvdiffrast/common/glutil.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ GLContext createGLContext(int cudaDeviceIdx)
335335
EGLint major;
336336
EGLint minor;
337337
if (!eglInitialize(display, &major, &minor))
338-
LOG(FATAL) << "eglInitialize() failed";
338+
LOG(FATAL) << "eglInitialize() failed---";
339339

340340
// Choose configuration.
341341

0 commit comments

Comments
 (0)