Bug 1078826

Summary: I can't use freeglut-devel
Product: [Fedora] Fedora Reporter: Eric <eric_justin_allan>
Component: xorg-x11-drv-intelAssignee: Adam Jackson <ajax>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: airlied, ajax, eric_justin_allan, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-23 00:48:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
/var/log/Xorg.0.log none

Description Eric 2014-03-20 11:11:23 UTC
Description of problem:

I can't use freeglut I get this error "freeglut (./main): OpenGL GLX extension not supported by display ':0'" and I have read it's because software isn't correctly installed.

Version-Release number of selected component (if applicable):
Fedora 20
OS version: Linux 3.11.9-300.fc20.i686
KDE SC version: 4.11.3

How reproducible:
Compile this program (http://lazyfoo.net/tutorials/OpenGL/01_hello_opengl/01_hello_freeglut.zip) with this command (g++ LUtil.cpp main.cpp -Wall -lGL -lGLU -lglut -o main) using freeglut and try to run it.

Steps to Reproduce:
1. Compile program (http://lazyfoo.net/tutorials/OpenGL/01_hello_opengl/01_hello_freeglut.zip) with this command (g++ LUtil.cpp main.cpp -Wall -lGL -lGLU -lglut -o main).
2. And run ./main.
3.

Actual results:
[eallan@gx270eja OpenGL]$ ./main
freeglut (./main): OpenGL GLX extension not supported by display ':0'
[eallan@gx270eja OpenGL]$

Expected results:

A gui program that draws a polygon.

Additional info:
I am using a Dell Trinitron monitor 1024x1280 I think. I have had problems before with x11 driver and video modes disappearing. Im using a Dell gx270 desktop.

Comment 1 Dave Airlie 2014-03-21 00:07:09 UTC
please attach /var/log/Xorg.0.log and glxinfo output.

Comment 2 Eric 2014-03-21 00:59:02 UTC
Created attachment 877082 [details]
/var/log/Xorg.0.log

/var/log/Xorg.0.log

Comment 3 Eric 2014-03-21 00:59:56 UTC
I typed glxinfo and it says command not found.

Comment 4 Dave Airlie 2014-03-21 01:32:25 UTC
you seem to be missing some packages, mesa-dri-drivers, mesa-libGL, maybe glx-utils.

Comment 5 Eric 2014-03-21 02:34:29 UTC
should I install those?

Comment 6 Dave Airlie 2014-03-21 03:53:00 UTC
yes, I would try that.

Comment 7 Eric 2014-03-21 07:05:56 UTC
Ok I tried that and it still doesn't work.

Comment 8 Dave Airlie 2014-03-21 22:29:09 UTC
can you reattach the new Xorg.0.log and glxinfo results now? you may have to re login after installing new packages.

Comment 9 Eric 2014-03-22 02:11:45 UTC
Wow It works now do you still want the results?