Jump to content

problems when using metisse


Recommended Posts

Hi!

 

I'm using mandriva 2007.1 on hp compaq nx6125 laptop. I have a ati graphigs card, this is what mcc says about it: Radeon XPRESS 200M 5955 (PCIE). Found from hp's site that card is ATI Mobility Radeon X300.

Both Beryl and Compiz are working quite well, both are a bit slow and beryl hangs up quite easily. When using Metisse there is problems that I can't solve myself. When using metisse 3d games like ppracer aren't working, I can open the game, but it runs so slow that it runs if you don't have 3d at all. Then there is no gamma-correction or power management for my display when using metisse - in compiz and beryl both are there. When I look to my desktop properties (I think it's that in english...) at the display tab there is text that says that I need a RANDR extension. When I look to installed software I see there is xrandr and libxrandr2 installed.

When using metisse glxgears gives me this:

$ glxgears
Xlib:  extension "GLX" missing on display ":1.0".
Error: couldn't get an RGB, Double-buffered visual

 

Is it possible to make 3d games to work on metisse and how can I get displays power management to work? Or should I just stop using metisse if I wanna play?

This is not any big problem but it would be nice to know if there is anyway to solve this...

 

I put here my xorg.conf in case of it would tell you something...

 

# File generated by XFdrake (rev 142098)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# font server independent of the X server to render fonts.
FontPath "unix/:-1"

# minimal fonts to allow X to run without xfs
FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
Load "dri" # direct rendering
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "armada"
Option "XkbLayout" "fi"
Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
Identifier "SynapticsMouse1"
Driver "synaptics"
Option "SHMConfig" "on"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "Flat Panel 1024x768"
HorizSync 31.5-90
VertRefresh 60

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576"	 50.00  768  832  846 1000   576  590  595  630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576"	 63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
Identifier "device1"
VendorName "ATI Technologies Inc"
BoardName "ATI Radeon 9500 - X850"
Driver "fglrx"
Option "DPMS"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "StereoSyncEnable" "1"
Option "StereoSyncEnable" "1"
Option "StereoSyncEnable" "1"

# === disable PnP Monitor  ===
#Option "NoDDC"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAADisableGamma" "no"
Option "FSAADisableGamma" "no"
Option "FSAADisableGamma" "no"

# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
Option "VideoOverlay" "on"
Option "VideoOverlay" "on"
Option "GammaCorrectionII" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
Option "ForceGenericCPU" "no"
Option "ForceGenericCPU" "no"
Option "ForceGenericCPU" "no"
Option "VRefresh2" "unspecified"
Option "VRefresh2" "unspecified"
Option "VRefresh2" "unspecified"
Option "CenterMode" "off"
Option "CenterMode" "off"
Option "CenterMode" "off"
Option "FSAAMSPosY5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
Option "IgnoreEDID" "off"
Option "IgnoreEDID" "off"
Option "IgnoreEDID" "off"

# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
Option "OpenGLOverlay" "off"
Option "OpenGLOverlay" "off"
Option "FSAACustomizeMSPos" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAACustomizeMSPos" "no"

# === FSAA ===
Option "FSAAScale" "1"
Option "FSAAScale" "1"
Option "FSAAScale" "1"

# === FireGL DDX driver module specific settings ===
# === Screen Management ===
Option "DesktopSetup" "0x00000000"
Option "DesktopSetup" "0x00000000"
Option "DesktopSetup" "0x00000000"
Option "HSync2" "unspecified"
Option "HSync2" "unspecified"
Option "HSync2" "unspecified"
Option "TVHStartAdj" "0"
Option "TVHStartAdj" "0"
Option "TVHStartAdj" "0"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosX0" "0.000000"
Option "no_dri" "no"
Option "no_dri" "no"
Option "no_dri" "no"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionI" "0x00000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "UseInternalAGPGART" "no"
Option "UseInternalAGPGART" "no"
Option "UseInternalAGPGART" "no"
Option "BlockSignalsOnLock" "on"
Option "BlockSignalsOnLock" "on"
Option "BlockSignalsOnLock" "on"
Option "MonitorLayout" "AUTO, AUTO"
Option "MonitorLayout" "AUTO, AUTO"
Option "MonitorLayout" "AUTO, AUTO"

# === Misc Options ===
Option "UseFastTLS" "0"
Option "UseFastTLS" "0"
Option "UseFastTLS" "0"

# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_accel" "no"
Option "no_accel" "no"

# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
Option "Capabilities" "0x00000000"
Option "Capabilities" "0x00000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "TVColorAdj" "0"
Option "TVColorAdj" "0"
Option "TVColorAdj" "0"
Option "TVVPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVStandard" "NTSC-M"
Option "TVStandard" "NTSC-M"
Option "TVStandard" "NTSC-M"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosY2" "0.000000"

# === TV-out Management ===
Option "NoTV" "yes"
Option "NoTV" "yes"
Option "NoTV" "yes"
Option "TVHPosAdj" "0"
Option "TVHPosAdj" "0"
Option "TVHPosAdj" "0"
Option "TVHSizeAdj" "0"
Option "TVHSizeAdj" "0"
Option "TVHSizeAdj" "0"

# === QBS Support ===
Option "Stereo" "off"
Option "Stereo" "off"
Option "Stereo" "off"
Option "ScreenOverlap" "0"
Option "ScreenOverlap" "0"
Option "ScreenOverlap" "0"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "TVVSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVVSizeAdj" "0"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
	Depth 8
	Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
	Depth 15
	Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
	Depth 16
	Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
	Depth 24
	Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "SynapticsMouse1" "AlwaysCore"
Screen "screen1"
EndSection

 

 

-jd

Edited by janet.doe
Link to comment
Share on other sites

As far as I know, because of the way Metisse works with the 3d rendering, running 3d games is not supported while running metisse. Beryl/Compiz (beryl split from compiz, but they are planning to rejoin) didn't supported this originally either, and I'm not sure if it works on ATI cards (running 3d games in beryl/compiz), I know nvidia cards allow it but even then you still run into some problems.

 

My guess would be you aren't likely to get 3d games running well while running a 3d desktop.

Link to comment
Share on other sites

I'm not sure if it works on ATI cards (running 3d games in beryl/compiz), I know nvidia cards allow it but even then you still run into some problems.

 

My guess would be you aren't likely to get 3d games running well while running a 3d desktop.

 

3d games do work when using compiz/metisse. And display power management works on compiz/metisse but not with metisse. I can live with these little things - I really don't need any 3d desktop things... :D

Link to comment
Share on other sites

3d games do work when using compiz/metisse.
compiz and metisse are two seperate projects, just to be sure that's clear.

 

Now, yes, you can run 3d games. However, there is significant perfomance degradation because the X server may not think that direct rendering is enabled. Do this:

glxinfo | grep direct

and see what comes back.

Link to comment
Share on other sites

compiz and metisse are two seperate projects, just to be sure that's clear.

 

Yes, I know they are two separate projects.

 

Now, yes, you can run 3d games. However, there is significant perfomance degradation because the X server may not think that direct rendering is enabled. Do this:

glxinfo | grep direct

and see what comes back.

 

Here is what glxinfo | grep direct gives:

 

 

 

Metisse - this is what I get when using metisse. 3d games aren't working.

 

$ glxinfo | grep direct
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
Error: couldn't find RGB GLX visual
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0"

.

 

Kde - this is what I get when using plain KDE. 3d games are working.

 

$ glxinfo | grep direct
direct rendering: Yes

 

 

Compiz - this is what I get when using Compiz. 3d games are working, but not as good as in plain KDE.

 

$ glxinfo | grep direct
Xlib:  extension "XFree86-DRI" missing on display ":93.0".
direct rendering: No

 

Beryl - this is what I get when using Beryl. 3d games are working, but not as good as in plain KDE.

 

$ glxinfo | grep direct
Xlib:  extension "XFree86-DRI" missing on display ":93.0".
direct rendering: No

 

So, the problem with 3d games is only present when using Metisse. I can live without playing, but still it would be nice to know if there is something to do to make 3d games work in metisse too. :D

Link to comment
Share on other sites

That's as I suspected.

 

I've confirmed with two other Linux geeks sitting in the room with me that you just can't really run 3D games under 3D desktops. You'll always get some level of performance degradation.

Link to comment
Share on other sites

Update!! :D

 

As you know, Metisse uses a second X server for its tricks. So you have Xorg, AND Xmetisse running.

So I tried this in a console while logged on in Metisse:

$ miniracer
<<your usual "Xlib:  extension "GLX" missing on display ":1.0"" garbage>>
$ echo $DISPLAY
:1.0
$ DISPLAY=:0 miniracer

Guess what? it runs :)

 

That's a nice trick for fullscreen apps, but not for windowed ones however, because:

Xorg (GLX enabled) runs "bare"

Xmetisse (no GLX) runs "on top" of Xorg

fvwmi (window manager) runs on top of Xmetisse

Conclusion: there's no window manager on the Xorg display! And indeed a "hatari" launch without the DISPLAY trick displayed a running Hatari "rectangle" on the top left of the screen, but without any window decorations.

 

I've yet to try and run a second window manager on display 0.0... It may succed, and confuse Gnome :lol:

 

Yves.

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...