Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to run #4

Open
Flashwalker opened this issue Feb 20, 2024 · 0 comments
Open

fails to run #4

Flashwalker opened this issue Feb 20, 2024 · 0 comments

Comments

@Flashwalker
Copy link

Ubuntu 22.04. nvidia driver 545.
Installed deps and make ok.

$ sudo apt install freeglut3-dev libglew-dev libxnvctrl-dev


$ make
gcc -Wall -O3 -std=c99   -c -o main.o main.c
gcc -Wall -O3 -std=c99   -c -o gsync.o gsync.c
gcc -Wall -O3 -std=c99   -c -o vsync.o vsync.c
gcc main.o gsync.o vsync.o -lXNVCtrl -lX11 -lXext -lGL -lGLU -lglut -lGLEW -lm -o gl-gsync-demo


$ ./gl-gsync-demo
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  157 (NV-CONTROL)
  Minor opcode of failed request:  2 ()
  Serial number of failed request:  11
  Current serial number in output stream:  11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant