Bug 10247

Summary: Strange colours and graphics in flightgear (fgfs)
Product: Mageia Reporter: Hans Micheelsen <micheelsen>
Component: RPM PackagesAssignee: José Jorge <lists.jjorge>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal Keywords: Triaged
Version: 3   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
URL: http://flightgear.org
Whiteboard:
Source RPM: flightgear-2.10.0-1.mga3.src.rpm CVE:
Status comment:
Attachments: Screenshot showing strange colours in flightgear

Description Hans Micheelsen 2013-05-24 10:17:25 CEST
Description of problem:
When I run flightgear the colours are very strange and everything is flickering. See screenshot
I think it could be related to mesa 9.1.2. There were no problems before that.
My graphics card is an AMD HD7700

Version-Release number of selected component (if applicable):
2.10.0

How reproducible:
100%

Steps to Reproduce:
Launch flightgear

Reproducible: 

Steps to Reproduce:
Hans Micheelsen 2013-05-24 10:29:31 CEST

Summary: Strange colours and graphics => Strange colours and graphics in flightgear (fgfs)

Comment 1 Hans Micheelsen 2013-05-24 10:33:22 CEST
Created attachment 4040 [details]
Screenshot showing strange colours in flightgear
Manuel Hiebel 2013-05-24 20:12:39 CEST

Keywords: (none) => Triaged
Assignee: bugsquad => lists.jjorge

Comment 2 José Jorge 2013-05-25 10:13:08 CEST
Yes, as far as I know, Mesa driver for HD7700 is not complete. You say you had no problems with which Mesa version? I think you should try to disable the shaders in Flightgear or use the proprietary driver.

Status: NEW => ASSIGNED

Comment 3 Hans Micheelsen 2013-05-25 12:09:29 CEST
Once I disable Generic in Shader Options the strange colors and flickering disappears. None of the other options have any effect.

I last saw Flightgear work with full shader was with Mesa 9.1.1. Once mesa got updated for mga3-RC the strange coloring appeared.

I suspected it had to do with mt 7700HD-card. How do I switch to proprietary driver? Do I need to relink?
Comment 4 José Jorge 2013-05-25 18:31:35 CEST
(In reply to Hans Micheelsen from comment #3)
> I last saw Flightgear work with full shader was with Mesa 9.1.1. Once mesa
> got updated for mga3-RC the strange coloring appeared.

Looks like a regression came so. But are you sure you were using Mesa and not FGLRX?

> 
> I suspected it had to do with mt 7700HD-card. How do I switch to proprietary
> driver? Do I need to relink?

No, it is much easier than that : in MCC click on the video card like show in the link below, it will ask you if you want the proprietary driver. Of course, non_free media must be enabled.

http://doc.mageia.org/installer/2/en/content/setupX.html
Comment 5 Hans Micheelsen 2013-05-25 20:27:39 CEST
Well. this is kind of embarrassing. I always thought that mesa was a layer over fglrx.
But anyway, yes I use fglrx. I just checked /etc/X11/xorg.conf. It says:
   Driver "fglrx"


One question, though. According to rpmdrake the only package that provides /usr/lib64/libGL.so is lib64mesagl1.
And /usr/lib64/libGL.so sym-links to /usr/lib64/libGL.so.1, which links to /usr/lib64/libGL.so.1.2.0
The x11-driver-video-fglrx package only provides â/usr/lib/fglrx/libGL.so.1 and /usr/lib/fglrx/libGL.so.1.2. Is there a possibility to re-symlink /usr/lib64/libGL.so to /usr/lib/fglrx/libGL.so.1 other than by manual ln -s ? How can I be sure that I reached all other necessary libs?
Comment 6 José Jorge 2013-05-25 22:33:55 CEST
We symlink the good libGL.so when driver is changed. You can get be sure reading  the output command glxinfo from mesa-demos package.
Comment 7 José Jorge 2013-06-02 22:11:42 CEST
Please re-open if you can give more info...

Status: ASSIGNED => RESOLVED
Resolution: (none) => WORKSFORME