View previous topic :: View next topic |
Author |
Message |
YoMo Tux's lil' helper
Joined: 01 Jul 2006 Posts: 112 Location: London, UK
|
Posted: Fri Dec 15, 2006 11:30 am Post subject: Xgl + Beryl + ATI RV350 --> composite & DRI ?!? |
|
|
Following XGL wiki http://gentoo-wiki.com/HOWTO_XGL I succeeded to emerge Xgl and beryl. Now I can login through Kdm into a Xgl session, but beryl doesn't kork correctly. Reading Gentoo Forums I understood that to work correctly, beryl needs the Extension Composite and DRI enable in my xorg.conf: I didn't found the correct way to do this. So I decided to ask if someone already fixed!!
Now some info about my system:
my xorg.conf
Code: | luca@notebook ~ $ cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Synaptics Mouse" "CorePointer"
InputDevice "Mouse1" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
Option "BlankTime" "5" # Oscura lo schermo dopo cinque minuti (Fake)
Option "StandbyTime" "10" # Spegne lo schermo dopo 10 minuti (DPMS)
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefont"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/unifont"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/dejavu"
FontPath "/usr/share/fonts/urw-fonts"
FontPath "/usr/share/fonts/artwiz"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "record"
Load "xtrap"
Load "dri"
Load "glx"
Load "freetype"
Load "type1"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
EndSection
Section "InputDevice"
Identifier "Synaptics Mouse"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "HorizScrollDelta" "0"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
# Option "Repeater" "/dev/ps2mouse"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "CorePointer"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "PanelOff" # [<bool>]
#Option "DDCMode" # [<bool>]
#Option "MonitorLayout" # [<str>]
#Option "IgnoreEDID" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "MergedFB" # [<bool>]
#Option "CRT2HSync" # [<str>]
#Option "CRT2VRefresh" # [<str>]
#Option "CRT2Position" # [<str>]
#Option "MetaModes" # [<str>]
#Option "MergedDPI" # [<str>]
#Option "MergedXinerama" # [<bool>]
#Option "MergedXineramaCRT2IsScreen0" # [<bool>]
#Option "MergedNonRectangular" # [<bool>]
#Option "MergedMouseRestriction" # [<bool>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ShowCache" # [<bool>]
#Option "DynamicClocks" # [<bool>]
#Option "BIOSHotkeys" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
Identifier "Card0"
Driver "ati"
VendorName "ATI Technologies Inc"
BoardName "RV350 [Mobility Radeon 9600 M10]"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
Option "CapabilitiesEx" "0x00000000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "yes"
Option "FSAAScale" "6"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "2"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
Option "KernelModuleParm" "agplock=1" # AGP locked user pages: enabled
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1400x1050"
EndSubSection
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1400x1050"
EndSubSection
EndSection
|
composite and direct rendering
Code: | luca@notebook ~ $ xdpyinfo | grep Composite
Composite
luca@notebook ~ $ glxinfo
name of display: :0.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x29 24 dc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x2a 24 dc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x3d 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
|
my hardware (laptop with Mobility Radeon 9700)
Code: | luca@notebook ~ $ lspci
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 21)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 21)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
02:01.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
02:01.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 04)
02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
|
So there is a way to have enable Composite Extension and DRI on my system? Maybe an upgrade of mine ati-drivers-8.27.10-r1? Maybe to masked ati-drivers-8.30.3-r1?
thx _________________ Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. (Andrew S. Tanenbaum) |
|
Back to top |
|
|
dleverton Guru
Joined: 28 Aug 2006 Posts: 517
|
Posted: Fri Dec 15, 2006 1:39 pm Post subject: Re: Xgl + Beryl + ATI RV350 --> composite & DRI ?!? |
|
|
YoMo wrote: |
Code: | Section "Extensions"
Option "Composite" "Enable"
EndSection |
|
Remove this part, Xgl always supports Composite no matter what you have in xorg.conf.
On the other hand, if you do try to enable Composite with ati-drivers, you'll lose direct rendering, as you've noticed. It's a driver limitation, so there's nothing you can do about it except wait for ATI to fix it. (This doesn't apply to Xgl's Composite support, though, so you can still run Beryl.) |
|
Back to top |
|
|
YoMo Tux's lil' helper
Joined: 01 Jul 2006 Posts: 112 Location: London, UK
|
Posted: Fri Dec 15, 2006 2:34 pm Post subject: Re: Xgl + Beryl + ATI RV350 --> composite & DRI ?!? |
|
|
dleverton wrote: | YoMo wrote: |
Code: | Section "Extensions"
Option "Composite" "Enable"
EndSection |
|
Remove this part, Xgl always supports Composite no matter what you have in xorg.conf.
On the other hand, if you do try to enable Composite with ati-drivers, you'll lose direct rendering, as you've noticed. It's a driver limitation, so there's nothing you can do about it except wait for ATI to fix it. (This doesn't apply to Xgl's Composite support, though, so you can still run Beryl.) |
mmh sorry you are saying I can see XGL+Beryl effects without enable Composite? This is what I see when I run beryl-manager and switch to Beryl window manager instead of Kwin
Code: | notebook luca # glxinfo | grep direct
direct rendering: Yes
notebook ~ # beryl-manager
notebook ~ # kwin: Fatal IO error: client killed
XGL Absent, checking for NVIDIA
Nvidia Absent, assuming AIGLX
beryl: SmcOpenConnection failed: networkIdsList argument is NULL
beryl: No composite extension |
Or in my laptop I can't run XGL-Beryl effects until ATI will fix Composite/ati-drivers problems? Not even running AIGLX+Beryl? _________________ Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. (Andrew S. Tanenbaum) |
|
Back to top |
|
|
dleverton Guru
Joined: 28 Aug 2006 Posts: 517
|
Posted: Fri Dec 15, 2006 2:40 pm Post subject: Re: Xgl + Beryl + ATI RV350 --> composite & DRI ?!? |
|
|
YoMo wrote: | mmh sorry you are saying I can see XGL+Beryl effects without enable Composite? This is what I see when I run beryl-manager and switch to Beryl window manager instead of Kwin
Code: | notebook luca # glxinfo | grep direct
direct rendering: Yes
notebook ~ # beryl-manager
notebook ~ # kwin: Fatal IO error: client killed
XGL Absent, checking for NVIDIA
Nvidia Absent, assuming AIGLX
beryl: SmcOpenConnection failed: networkIdsList argument is NULL
beryl: No composite extension |
|
Are you sure you're running Xgl? That looks like you're running on the standard X server. I see you mentioned in your first post that you're using the article on the Gentoo Wiki. You might have more luck with the one on the XEffects Wiki instead.
Quote: | Or in my laptop I can't run XGL-Beryl effects until ATI will fix Composite/ati-drivers problems? Not even running AIGLX+Beryl? |
The ATI driver doesn't support AIGLX yet, but Xgl should work. |
|
Back to top |
|
|
YoMo Tux's lil' helper
Joined: 01 Jul 2006 Posts: 112 Location: London, UK
|
Posted: Fri Dec 15, 2006 3:17 pm Post subject: Re: Xgl + Beryl + ATI RV350 --> composite & DRI ?!? |
|
|
dleverton wrote: | YoMo wrote: | mmh sorry you are saying I can see XGL+Beryl effects without enable Composite? This is what I see when I run beryl-manager and switch to Beryl window manager instead of Kwin
Code: | notebook luca # glxinfo | grep direct
direct rendering: Yes
notebook ~ # beryl-manager
notebook ~ # kwin: Fatal IO error: client killed
XGL Absent, checking for NVIDIA
Nvidia Absent, assuming AIGLX
beryl: SmcOpenConnection failed: networkIdsList argument is NULL
beryl: No composite extension |
|
Are you sure you're running Xgl? That looks like you're running on the standard X server. I see you mentioned in your first post that you're using the article on the Gentoo Wiki. You might have more luck with the one on the XEffects Wiki instead.
Quote: | Or in my laptop I can't run XGL-Beryl effects until ATI will fix Composite/ati-drivers problems? Not even running AIGLX+Beryl? |
The ATI driver doesn't support AIGLX yet, but Xgl should work. |
Ok, this is what I made:
create /usr/local/bin/startxgl.sh
Code: | notebook ~ # ll /usr/local/bin/startxgl.sh
-rwxr-xr-x 1 root root 924 15 dic 15:56 /usr/local/bin/startxgl.sh
notebook ~ # cat /usr/local/bin/startxgl.sh
#!/bin/sh
Xgl -fullscreen :0 -ac -br -accel glx:pbuffer -accel xv:pbuffer &
sleep 4
export DISPLAY=:0
exec startkde
|
create /usr/share/xsessions/xgl.desktop to login into XGL session through KDM
Code: | notebook ~ # ll /usr/share/xsessions/xgl.desktop
-rw-r--r-- 1 root root 95 15 dic 10:23 /usr/share/xsessions/xgl.desktop
notebook ~ # cat /usr/share/xsessions/xgl.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Xgl
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application |
So when I choose Xgl session in KDM and I run beryl-manager I have the XGL Absent warning... maybe something is wrong? There is a way to check XGL on current session? _________________ Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. (Andrew S. Tanenbaum) |
|
Back to top |
|
|
dleverton Guru
Joined: 28 Aug 2006 Posts: 517
|
Posted: Fri Dec 15, 2006 3:42 pm Post subject: Re: Xgl + Beryl + ATI RV350 --> composite & DRI ?!? |
|
|
YoMo wrote: | Ok, this is what I made:
create /usr/local/bin/startxgl.sh
Code: | notebook ~ # ll /usr/local/bin/startxgl.sh
-rwxr-xr-x 1 root root 924 15 dic 15:56 /usr/local/bin/startxgl.sh
notebook ~ # cat /usr/local/bin/startxgl.sh
#!/bin/sh
Xgl -fullscreen :0 -ac -br -accel glx:pbuffer -accel xv:pbuffer &
sleep 4
export DISPLAY=:0
exec startkde
|
create /usr/share/xsessions/xgl.desktop to login into XGL session through KDM
Code: | notebook ~ # ll /usr/share/xsessions/xgl.desktop
-rw-r--r-- 1 root root 95 15 dic 10:23 /usr/share/xsessions/xgl.desktop
notebook ~ # cat /usr/share/xsessions/xgl.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Xgl
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application |
So when I choose Xgl session in KDM and I run beryl-manager I have the XGL Absent warning... maybe something is wrong? There is a way to check XGL on current session? |
I don't think that'll work: by the time startxgl.sh runs, the normal X server is already running as :0, so Xgl won't be able use that number. Try changing both occurances of :0 to :1 in startxgl.sh. If that doesn't work, I recommend that you follow the instructions on the wiki page I mentioned. |
|
Back to top |
|
|
YoMo Tux's lil' helper
Joined: 01 Jul 2006 Posts: 112 Location: London, UK
|
Posted: Fri Dec 15, 2006 10:38 pm Post subject: |
|
|
Partially solved: my new /usr/local/bin/startxgl.sh
Code: | #!/bin/sh
fontpath=`grep -i fontpath /etc/X11/xorg.conf | egrep -v "[:space:]*#" | sed "s/.\+\"\(.\+\)\"/\1,/g" | xargs echo | sed "s/\ //g" | sed "s/,\$//"`
Xgl :1 -fullscreen -ac -br -accel glx:pbuffer -accel xv:pbuffer -fp $fontpath &
sleep 4
export DISPLAY=:1
exec beryl-xgl --replace &
exec dbus-launch emerald &
exec startkde
# This is where you start KDE
# KWin will detect that another window manager is already running so it will not start.
exec xterm
# you should always keep an xterm open
|
But the effects are sloooooow!! Why? I think because
Code: | luca@notebook ~ $ glxinfo
name of display: :1.0
Xlib: extension "XFree86-DRI" missing on display ":1.0".
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 1.2 (2.0.5946 (8.27.10))
OpenGL extensions:
GL_ARB_multitexture, GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_dot3, GL_ARB_transpose_matrix, GL_EXT_abgr,
GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon
|
Direct rendering worked on display :0.0, how to switch to dispaly :1.0 ?!? _________________ Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. (Andrew S. Tanenbaum) |
|
Back to top |
|
|
dleverton Guru
Joined: 28 Aug 2006 Posts: 517
|
Posted: Fri Dec 15, 2006 11:07 pm Post subject: |
|
|
YoMo wrote: | But the effects are sloooooow!! Why? I think because
Code: | luca@notebook ~ $ glxinfo
name of display: :1.0
Xlib: extension "XFree86-DRI" missing on display ":1.0".
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 1.2 (2.0.5946 (8.27.10))
OpenGL extensions:
GL_ARB_multitexture, GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_dot3, GL_ARB_transpose_matrix, GL_EXT_abgr,
GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon
|
Direct rendering worked on display :0.0, how to switch to dispaly :1.0 ?!? |
Xgl doesn't support direct rendering. You will still get some acceleration, which should be enough for Beryl to run well, but it does seem to be a bit hit-or-miss, depending on the version of Beryl. One thing to try is to run beryl-xgl instead of just beryl. |
|
Back to top |
|
|
YoMo Tux's lil' helper
Joined: 01 Jul 2006 Posts: 112 Location: London, UK
|
Posted: Fri Dec 15, 2006 11:55 pm Post subject: |
|
|
dleverton wrote: | YoMo wrote: | But the effects are sloooooow!! Why? I think because
Code: | luca@notebook ~ $ glxinfo
name of display: :1.0
Xlib: extension "XFree86-DRI" missing on display ":1.0".
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 1.2 (2.0.5946 (8.27.10))
OpenGL extensions:
GL_ARB_multitexture, GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_dot3, GL_ARB_transpose_matrix, GL_EXT_abgr,
GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon
|
Direct rendering worked on display :0.0, how to switch to dispaly :1.0 ?!? |
Xgl doesn't support direct rendering. You will still get some acceleration, which should be enough for Beryl to run well, but it does seem to be a bit hit-or-miss, depending on the version of Beryl. One thing to try is to run beryl-xgl instead of just beryl. |
OH really?!? I am using beryl-xgl so these are the max performance?!? Not even with upgrade mine ati-drivers-8.27.10 to ati-drivers-8.30.3? Mobility Radeon 9700 isn't a new video card, I hope ATI can fix soon ALL these ******* problems... _________________ Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. (Andrew S. Tanenbaum) |
|
Back to top |
|
|
dleverton Guru
Joined: 28 Aug 2006 Posts: 517
|
Posted: Sat Dec 16, 2006 12:13 am Post subject: |
|
|
YoMo wrote: | OH really?!? I am using beryl-xgl so these are the max performance?!? Not even with upgrade mine ati-drivers-8.27.10 to ati-drivers-8.30.3? Mobility Radeon 9700 isn't a new video card, I hope ATI can fix soon ALL these ******* problems... |
In that case I can't think of anything specific that could be slowing it down. You could try searching these forums, as well as the Beryl forums. |
|
Back to top |
|
|
dpshak Apprentice
Joined: 05 May 2005 Posts: 183 Location: Wisconsin
|
Posted: Sat Dec 16, 2006 4:06 pm Post subject: |
|
|
I've been round and round with this and currently I have it working again.
So here's what I did. (BTW, I have a Radeon x600 Mobility) I use the xorg ati drivers instead of the proprietary ATI drivers, and I use AIGLX instead of XGL.
Followed this page http://www.gentoo.org/doc/en/dri-howto.xml as far as kernel configuration and x11-drm is concerned. A side note, you may have to follow this page https://forums.gentoo.org/viewtopic-t-521199-highlight-.html if you run into problems emerging x11-drm. video_cards_radeon, aiglx and dri should be set in your make.conf.
Here's my xorg.conf
Code: | Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "glx"
Load "dri"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/unifont"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/artwiz"
FontPath "/usr/share/fonts/dejavu"
FontPath "/usr/share/fonts/intlfonts"
EndSection
Section "ServerFlags"
Option "AIGLX" "on"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
Option "Emulate3Buttons"
EndSection
Section "InputDevice"
Driver "synaptics"
Identifier "TouchPad"
Option "Device" "/dev/input/mouse1"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
EndSection
Section "Monitor"
Identifier "LCD"
Option "dpms"
DisplaySize 423 317
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection
Section "Device"
Identifier "ATI x600 mobile"
Driver "radeon"
BusID "PCI:1:0:0"
Option "UseFastTLS" "3"
Option "EnablePrivateBackZ" "on"
VideoRam 262144
EndSection
Section "Screen"
Identifier "Screen 1"
Device "ATI x600 mobile"
Monitor "LCD"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1680x1050" "1280x1024" "1024x768" "800x600"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "TouchPad" "AlwaysCore"
InputDevice "Keyboard1" "CoreKeyboard"
#### Set screen shutdown paramaters
Option "BlankTime" "5"
Option "StandbyTime" "20"
Option "SuspendTime" "30"
Option "OffTime" "45"
EndSection
Section "DRI"
group "video"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
|
Otherwise, I just followed the instructions at http://wiki.gentoo-xeffects.org/Main_Page to install beryl. I did have it working kind of half a$$ed with Xgl once upon a time but I just reinstalled and this is what worked for me. Hopefully, this will be a little helpful to you |
|
Back to top |
|
|
YoMo Tux's lil' helper
Joined: 01 Jul 2006 Posts: 112 Location: London, UK
|
Posted: Sun Dec 17, 2006 12:14 am Post subject: |
|
|
I followed http://www.gentoo.org/doc/en/dri-howto.xml and installed x11-drm. Guess? It doesn't work...
Code: | luca@notebook ~ $ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI R300 20060815 AGP 1x x86/MMX/SSE2 TCL
OpenGL version string: 1.2 (1.3 Mesa 6.5.2)
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x24 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x26 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x27 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x28 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x29 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x2b 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2c 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2e 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x2f 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x30 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x31 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x32 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x4b 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None |
I changed my xorg.conf as similar as dpshak's
Code: | Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Synaptics Mouse" "CorePointer"
InputDevice "Mouse1" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
Option "BlankTime" "5" # Oscura lo schermo dopo cinque minuti (Fake)
Option "StandbyTime" "10" # Spegne lo schermo dopo 10 minuti (DPMS)
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefont"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/unifont"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/dejavu"
FontPath "/usr/share/fonts/urw-fonts"
FontPath "/usr/share/fonts/artwiz"
EndSection
Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "glx"
Load "dri"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "ServerFlags"
Option "AIGLX" "on"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
EndSection
Section "InputDevice"
Identifier "Synaptics Mouse"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "HorizScrollDelta" "0"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
# Option "Repeater" "/dev/ps2mouse"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "CorePointer"
EndSection
Section "DRI"
group "video"
Mode 0666
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "RV350 [Mobility Radeon 9600 M10]"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1400x1050"
EndSubSection
EndSection |
And direct rendering not work. The only way to make it work are ati-drivers so I still will not use direct rendering in my Xgl session. _________________ Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. (Andrew S. Tanenbaum) |
|
Back to top |
|
|
bertaboy l33t
Joined: 05 Nov 2004 Posts: 604
|
Posted: Thu Dec 21, 2006 6:47 pm Post subject: |
|
|
Perhaps you'll get some more respect around here if you change your attitude? |
|
Back to top |
|
|
YoMo Tux's lil' helper
Joined: 01 Jul 2006 Posts: 112 Location: London, UK
|
Posted: Fri Dec 22, 2006 11:43 am Post subject: |
|
|
bertaboy wrote: |
Perhaps you'll get some more respect around here if you change your attitude? |
I don't wanted to offend or require more help, I was only frustrated because I found online many people running Beryl correctly with my hardware and I didn't still found the way to do the same. I apologize if someone interpreted mine answers as an offens. _________________ Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. (Andrew S. Tanenbaum) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|