Re: HowTo: Compiz Fusion in Hardy on cards with "ati"/"radeon" open source drivers
Quote:
Originally Posted by
rekster
Have problems as well, please pardon me if I misread or missed something said earlier in these posts, I did read them.
Running Ubuntu 8.04 on Acer Ferrari 4000 notebook that has ATI X700.
I enabled the ATI accelerated graphics driver as well which seemed to work well as 3d gaming is great (not sure if this has anything to do with compiz though lol)
This is the console log:
$ compiz --replace
Checking for Xgl: not present.
Detected PCI ID for VGA: 01:00.0 0300: 1002:5653 (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x800) to maximum 3D texture size (2048): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
GConf backend: There is an unsupported value at path /apps/compiz/plugins/scale/allscreens/options/initiate_edge. Settings from this path won't be read. Try to remove that value so that operation can continue properly.
Any suggestions?
With your card, you need the restricted ati drivers called fglrx - is that what you are saying you installed? If not, check out EnvyNG - http://albertomilone.com/envyngfaq.html#A
If the problem persists, you may want to reinstall compiz
Code:
sudo apt-get remove --purge compiz
sudo apt-get install compiz
If that doesn't work, you should start a new thread to get help with that since this HowTo is for open source ati drivers which you can't use on your card.
Re: HowTo: Compiz Fusion in Hardy on cards with "ati"/"radeon" open source drivers
Ok, you are right I am using the restricted drivers, not the open source ones. I guess I'll search around some more or maybe start a new forum topic then, sorry for the misunderstanding. One good note is, I'm happy to have found out about EnvyNG in any case however compiz still is not functional. Maybe one of these years I'll get it working (had no luck on prior versions of ubuntu either) lol.
Cheers.
EDIT: Sorry for the bother, I got it resolved I guess the darn thing was working afterall, I just didnt have 'rotate' cube enabled and I didn't understand how it worked. Thanks again for the help.
Re: HowTo: Compiz Fusion in Hardy on cards with "ati"/"radeon" open source drivers
Quote:
Originally Posted by
Rocket2DMn
They are not likely to help since they don't support the open source ati driver. Remember, we are using a workaround. With any luck though, you might be able to get a developer to at least look at it.
:(
Re: HowTo: Compiz Fusion in Hardy on cards with "ati"/"radeon" open source drivers
Quote:
Originally Posted by
neyuru
:(
Please don't take that too negatively, I do suggest talking to the developers if you can, it is how things get done. Although I don't imagine they are planning on supporting our drivers, we can always try. I suppose if enough people push them, they can at least put some functionality in to enable it after you click a Yes button saying you understand that the drivers are not officially supported.
I will try and remember to look around later to see if I can find who to complain to or where to do it. I may even offer my coding and testing services.
Re: HowTo: Compiz Fusion in Hardy on cards with "ati"/"radeon" open source drivers
Quote:
Originally Posted by
Rocket2DMn
Please don't take that too negatively, I do suggest talking to the developers if you can, it is how things get done. Although I don't imagine they are planning on supporting our drivers, we can always try. I suppose if enough people push them, they can at least put some functionality in to enable it after you click a Yes button saying you understand that the drivers are not officially supported.
I will try and remember to look around later to see if I can find who to complain to or where to do it. I may even offer my coding and testing services.
Nice! whenever you need support (raising hands, crowd, etc) count on us.
Re: HowTo: Compiz Fusion in Hardy on cards with "ati"/"radeon" open source drivers
Firstly, everyone has probably noticed the sticky below this one, but just to reiterate: your cards were blacklisted because things were either unstable or didn't work. Don't be terribly surprised if you find this to be the case after skipping the checks :).
Secondly, editing /usr/bin/compiz is fragile; your edits will be lost if and when compiz is updated. The other sticky describes a better way - namely, to add SKIP_CHECKS=1 to your user's configuration with
Code:
mkdir -p ~/.config/compiz/ && echo SKIP_CHECKS=yes >> ~/.config/compiz/compiz-manager
Quote:
Originally Posted by
krugger
...
direct rendering: Yes
server glx extensions: ... GLX_EXT_texture_from_pixmap, ...
But running compiz --replace will fail the texture_from_pixmap extension test.
Checking for texture_from_pixmap: not present.
Then it will failover to indirect rendering:
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1024x768) to maximum 3D texture size (1024): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
...
This is because your drivers don't support GL_EXT_texture_from_pixmap in a direct rendering context, which is basically a limitation of the current DRI infrastructure, give or take. I think nvidia are basically the only drivers which do this (and possibly some git Intel drivers, with git libdrm and git Xorg, I'm not quite sure how far along this is ;)) at the moment.
Re: HowTo: Compiz Fusion in Hardy on cards with "ati"/"radeon" open source drivers
Thanks a lot for this thread and your effort! I hope I'm not being inpolite by pasting my problem here, but since I upgraded my laptop from Gutsy to Hardy I've been desperately trying to get Compiz to work again with, well let's say, limited success.
I've got a Thinkpad T43p with the following video card:
Code:
01:00.0 VGA compatible controller: ATI Technologies Inc M24GL [Mobility FireGL V3200] (rev 80)
I was using the Open Source "ati" driver before upgrading (I had no problems whatsoever using Compiz) and I acutally would like to continue to do so, but when I try to start compiz after upgrading in a terminal with compiz --replace &, I get:
Code:
Checking for Xgl: not present.
Found laptop using ati driver.
Found laptop using radeon driver.
Detected PCI ID for VGA: 01:00.0 0300: 1002:3154 (rev 80) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: not present.
SKIP_CHECKS is yes, so continuing despite problems.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
/usr/bin/compiz.real (core) - Fatal: GLX_EXT_texture_from_pixmap is missing
/usr/bin/compiz.real (core) - Error: Failed to manage screen: 0
/usr/bin/compiz.real (core) - Fatal: No manageable screens found on display :0.0
Window manager warning: "" found in configuration database is not a valid value for keybinding "toggle_shaded"
Window manager warning: "Disabled" found in configuration database is not a valid value for keybinding "switch_windows"
Xorg.0.log is here: http://ubuntuusers.de/paste/204459/
the output of glxinfo is here: http://ubuntuusers.de/paste/204461/
here's my xorg.conf: http://ubuntuusers.de/paste/204463/
...and here's the output of "LIBGL_DEBUG=verbose glxinfo":
Code:
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
libGL error: dlopen /usr/lib/dri/r300_dri.so failed (/usr/lib/dri/r300_dri.so: undefined symbol: _glapi_get_dispatch)
libGL error: unable to find driver: r300_dri.so
libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
libGL error: dlopen /usr/lib/dri/r300_dri.so failed (/usr/lib/dri/r300_dri.so: undefined symbol: _glapi_get_dispatch)
libGL error: unable to find driver: r300_dri.so
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
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: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 7.0.3-rc2
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 1 0 None
0x24 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x26 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x27 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x28 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x29 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x2b 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x2c 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x2e 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x2f 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x30 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x31 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x32 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x58 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Of course I also tried to use the fglrx driver, tried both methods (using the driver/package provided by Ubuntu and tried building the driver by myself). None of these methods worked, when using the self built driver, I get a segmentation fault when entering "fglrxinfo", "glxinfo", "glxgears" in a terminal or if I try to start compiz. This also happens when I install the whole thing using envy-ng.
I just don't get it why my previous configuration won't work anymore! But what's really strange is the following: when I enter the following
Code:
sudo compiz --replace &
then compiz will actually start and emerald too, with the following output:
Code:
Checking for Xgl: not present.
Found laptop using ati driver.
Found laptop using radeon driver.
Detected PCI ID for VGA: 01:00.0 0300: 1002:3154 (rev 80) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1400x1050) to maximum 3D texture size (2048): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Couldn't find a perfect decorator match; trying all decorators
Starting emerald
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
What's going on here? Anyone has a hint because I'm at a complete loss now...
Re: HowTo: Compiz Fusion in Hardy on cards with "ati"/"radeon" open source drivers
Quote:
Originally Posted by
RAOF
Firstly, everyone has probably noticed the sticky below this one, but just to reiterate: your cards were blacklisted because things were either unstable or didn't work. Don't be terribly surprised if you find this to be the case after skipping the checks :).
Secondly, editing /usr/bin/compiz is fragile; your edits will be lost if and when compiz is updated. The other sticky describes a better way - namely, to add SKIP_CHECKS=1 to your user's configuration with
Code:
mkdir -p ~/.config/compiz/ && echo SKIP_CHECKS=yes >> ~/.config/compiz/compiz-manager
This is because your drivers don't support GL_EXT_texture_from_pixmap in a direct rendering context, which is basically a limitation of the current DRI infrastructure, give or take. I think nvidia are basically the only drivers which do this (and possibly some git Intel drivers, with git libdrm and git Xorg, I'm not quite sure how far along this is ;)) at the moment.
Thank you RAOF, I will update the original post right away. This is exactly the type of feedback I had been hoping for.
Re: HowTo: Compiz Fusion in Hardy on cards with "ati"/"radeon" open source drivers
Some reference to restricted drivers, other to open source drivers. How do I know which one is my system using? Which one is better? Has anyone tried installing drivers with Wine? (for example those found in Dell's system drivers?)
Re: HowTo: Compiz Fusion in Hardy on cards with "ati"/"radeon" open source drivers
Quote:
Originally Posted by
toobitz
...
Xorg.0.log is here:
http://ubuntuusers.de/paste/204459/
the output of glxinfo is here:
http://ubuntuusers.de/paste/204461/
here's my xorg.conf:
http://ubuntuusers.de/paste/204463/
...and here's the output of "LIBGL_DEBUG=verbose glxinfo":
Code:
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
libGL error: dlopen /usr/lib/dri/r300_dri.so failed (/usr/lib/dri/r300_dri.so: undefined symbol: _glapi_get_dispatch)
libGL error: unable to find driver: r300_dri.so
libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
libGL error: dlopen /usr/lib/dri/r300_dri.so failed (/usr/lib/dri/r300_dri.so: undefined symbol: _glapi_get_dispatch)
libGL error: unable to find driver: r300_dri.so
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
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: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 7.0.3-rc2
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 1 0 None
0x24 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x26 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x27 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x28 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x29 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x2b 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x2c 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x2e 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x2f 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
0x30 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x31 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
0x32 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
0x58 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
...
I just don't get it why my previous configuration won't work anymore! But what's really strange is the following: when I enter the following
Code:
sudo compiz --replace &
then compiz will actually start and emerald too, with the following output:
Code:
Checking for Xgl: not present.
Found laptop using ati driver.
Found laptop using radeon driver.
Detected PCI ID for VGA: 01:00.0 0300: 1002:3154 (rev 80) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1400x1050) to maximum 3D texture size (2048): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Couldn't find a perfect decorator match; trying all decorators
Starting emerald
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
What's going on here? Anyone has a hint because I'm at a complete loss now...
That's very weird. If it didn't work using sudo I'd suggest reinstalling the 3D stack with
Code:
sudo aptitude reinstall ~nmesa
which would reinstall any package with 'mesa' in the name. It might still be worth a try, but I'm not confident. Do you have any strange environment variables lying around? Have you previously tried building mesa from source and possibly have some remnants lying around? Does either of 'echo $LD_PRELOAD' or 'echo $LD_LIBRARY_PATH' give any output?
Oh, finally? "It didn't work as my user so I tried running it as root" isn't a particularly good debugging style :). In some cases doing this will break running the software as not-root in the future.
Quote:
Originally Posted by
neyuru
Some reference to restricted drivers, other to open source drivers. How do I know which one is my system using? Which one is better? Has anyone tried installing drivers with Wine? (for example those found in Dell's system drivers?)
System->Administration->Hardware Drivers gives you a list of all the hardware in your system for which a restricted driver exists, whether you're using it, and a button to press to enable it. I'd suggest using free drivers whenever possible - they're generally less awkward, and we're able to support them. If you have problems with 3D you can try enabling the restricted driver and this may help (or may not).
You can't install drivers in Wine. Wine doesn't talk directly to the hardware at all, and doesn't actually implement the Windows kernel (mostly), so there are none of the hooks that drivers would need. Also, that wouldn't be useful for your linux system since they'd only run in wine ;).