Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Beginner struggling with getting first program to run (Solved).  (Read 2950 times)

0 Members and 1 Guest are viewing this topic.

Bigbidoof

  • Newbie
  • *
  • Posts: 4
    • View Profile
Beginner struggling with getting first program to run (Solved).
« on: September 17, 2020, 08:16:50 am »
As the title said, I'm struggling with baby's first program. I installed SFML and followed the instructions from the SFML and Linux page. I got everything to compile, but when I do the final step and try to run it, I get this error.

Code: [Select]
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  56
  Current serial number in output stream:  57

I've tried searching around for this, but I haven't been able to find anything that helps or matches the the last two lines's serial numbers. Based on searching, I'm lead to believe this has something to do with my graphics card drivers. But I've tried reinstalling them. Any help is appreciated.
« Last Edit: September 23, 2020, 07:36:44 am by Bigbidoof »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Beginner struggling with getting first program to run.
« Reply #1 on: September 19, 2020, 05:35:40 pm »
What OS do you have and what graphics driver did you install?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Bigbidoof

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Beginner struggling with getting first program to run.
« Reply #2 on: September 21, 2020, 10:30:56 am »
I'm using Arch Linux and I have both the proprietary and open source Nvidia drivers installed. I believe I currently have the open source ones active right now. Mesa 20.1.7-1. It's a very old graphics card, if that has anything to do with anything. It's a GTX 640

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Beginner struggling with getting first program to run.
« Reply #3 on: September 21, 2020, 10:33:36 am »
It must be some issue with your graphics card/driver setup. I'd suggest to search the error message a bit. I for example found a thread on the Arch Linux forum with a similar topic and they had a GT-630.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Bigbidoof

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Beginner struggling with getting first program to run.
« Reply #4 on: September 23, 2020, 07:36:14 am »
I was able to fix it. Thank you for pointing me that way.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Beginner struggling with getting first program to run (Solved).
« Reply #5 on: September 25, 2020, 07:20:24 pm »
If you have the time, maybe add some comment how you fixed it. Nothing more frustrating than a "I fixed it" post with no explanation :D
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Bigbidoof

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Beginner struggling with getting first program to run (Solved).
« Reply #6 on: October 05, 2020, 03:51:39 am »
Nothing special. Just following the steps through the linked thread. It seems that installing the packages mentioned there fixed it. But since then, I've been having system freezes. So maybe they were not the fix. Regardless, I have glxinfo not reporting any issues now and have been trying to figure out my freezing issue.

 

anything