Bug 343927

Summary: Compiz not running on ATI fglrx 8.43.3/7-11 rpm packages
Product: [openSUSE] openSUSE 10.3 Reporter: Jigish Gohil <cyberorg>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Normal    
Priority: P5 - None CC: sndirsch
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: xorg.conf for fglrx using AIGLX
sax2 generated xorg.conf

Description Jigish Gohil 2007-11-26 06:56:23 UTC
Compiz does not run if rpm packages are used either building manually, using 1-click from ATI repo, or building from the Build Service project.

When running Xgl screen does not refresh, rotating cube refreshes, but when moving window or doing any other activity the screen just stays like a static screenshot till compiz cube is rotated.

Only way I could get it working really well with AIGLX is installing manually and making changes mentioned here in xorg.conf

http://dev.compiz-fusion.org/~cyberorg/2007/11/23/
Comment 1 Stefan Dirsch 2007-11-26 09:46:20 UTC
So you don't get it working with Xgl at all. Correct?

About xorg.conf options for AIGLX. AIGLX is not handled by SaX2 at all.

>  Load “dri”
Of course. Required for 3D support.

>  Option “AIGLX” “true”
Of course. Required for AIGLX.

>  Option “FSAAEnable” “off”
>  Option “Capabilities” “0×00000000″
>  Option “VideoOverlay” “on”
>  Option “OpenGLOverlay” “off”
We set these already.

>  Option “FSAAScale” “0"
Here we set “FSAAScale” "1"
″
>  Option “XAANoOffscreenPixmaps” “true”
Currently not set by SaX2.

>  Option “DAMAGE” “true”
Xserver default.

>  Option “Composite” “true”
Of course. Required for compiz when using AIGLX.
Comment 2 Jigish Gohil 2007-11-26 10:23:21 UTC
Created attachment 184683 [details]
xorg.conf for fglrx using AIGLX
Comment 3 Jigish Gohil 2007-11-26 10:24:10 UTC
Strange, I installed new drivers via 1-click to confirm my experience when i installed it first time:

x11-video-fglrxG01-8.43.3-1
ati-fglrxG01-kmp-default-8.43.3_2.6.22.13_0.2-0.1

Using the same xorg.conf they work as well as installed manually.

Attached is the working xorg.conf.

Compiz has to be launched with --no-libgl-fallback option and any other decorator except emerald gives white block instead of shadows.

Closing this as invalid.
Comment 4 Stefan Dirsch 2007-11-26 10:56:09 UTC
(In reply to comment #2 from Jigish Gohil)
> Created an attachment (id=184683) [details]
> xorg.conf for fglrx using AIGLX

This file has been created by aticonfig.

Comment 5 Jigish Gohil 2007-11-26 11:05:55 UTC
yes, and it works well. 

Using sax, monitor turns black, may be I should open another bug for that someday.

It is Viewsonic VA1912w and graphics card is integrated x1250.

For now what I thought was a bug with rpm packages is not there, manual installation of the drivers as well as rpm work perfectly with this xorg.conf.

I cannot test sax2 generated xorg.conf due to the issue mentioned above.
Comment 6 Stefan Dirsch 2007-11-26 11:10:43 UTC
>Using sax, monitor turns black, may be I should open another bug for that
>someday.
Is there a special modeline created by SaX2? I really want to investigate this now. AIGLX with fglrx driver never worked for me. It would be interesting if this is a configuration issue.
Comment 7 Jigish Gohil 2007-11-26 11:21:19 UTC
Created attachment 184705 [details]
sax2 generated xorg.conf
Comment 8 Jigish Gohil 2007-11-26 11:22:11 UTC
There are few more people on IRC #suse who are running new drivers with AIGLX.
Comment 9 Stefan Dirsch 2007-11-26 11:53:26 UTC
(In reply to comment #7 from Jigish Gohil)
> Created an attachment (id=184705) [details]
> sax2 generated xorg.conf

"The attachment you are attempting to access has been removed." So Bugzilla is broken again. :-(
Comment 10 Jigish Gohil 2007-11-26 11:57:59 UTC
Here :)

http://giannaros.org/other/cyberorg/xorg.conf.sax
Comment 11 Stefan Dirsch 2007-11-26 12:07:43 UTC
Thanks. We definitely need to work on the sax2 profile. :-) It will be based on the options, which are set by ati-config.
Comment 12 Stefan Dirsch 2007-11-26 14:01:51 UTC
> Modeline 	"1440x900" 106 1440 1520 1672 1904 900 903 909 934
> +hsync -vsync
This could be the reason for your monitor turning black.

> Option       "DAMAGE" "false"
Needs to be removed from the profile.

I will investigate.
Comment 13 Stefan Dirsch 2007-11-26 15:25:40 UTC
I took the official RPMs provided for openSUSE 10.3 from the ATI website and made sure that I have all the entries in my xorg.conf you are mentioning on

  http://dev.compiz-fusion.org/~cyberorg/2007/11/23/

Still I can't get compiz working with this driver using AIGLX.

# compiz --no-libgl-fallback --ignore-desktop-hints --replace
compiz (core) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0

I have no idea how you managed it!




Comment 14 Stefan Dirsch 2007-11-26 15:32:04 UTC
compiz can be loaded with Xgl but the desktop doesn't work at all. You can still move the mouse cursor, but that's all you can do.
Comment 15 Magnus Boman 2007-11-26 15:46:31 UTC
Stephan,
We're thinking of building a YaST module with some scripts to try to enable Xgl or AIGLX depending on hardware and drivers used.
Being discussed in #opensuse-project and would be great to have you there.
Comment 16 Stefan Dirsch 2007-11-26 16:20:00 UTC
This bugreport should be handled together with Bug #338947.
Comment 17 Stefan Dirsch 2007-11-26 17:30:28 UTC
ATI uses a wrong SONAME ("libGL.so.1.2" instead of "libGL.so.1").
Comment 18 Stefan Dirsch 2007-11-26 20:55:21 UTC

*** This bug has been marked as a duplicate of bug 344135 ***