LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-09-2005, 06:57 PM   #1
Dawgmatix
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Rep: Reputation: 0
Sid+X.org+Radeon


Knowing the perils that it brings, I have my machine running on Sid.
So i want to know, if anyone has been able to get the ATI 3D acceleration
working under X.org in debian ?
Another side question for the superheroes who have managed the above.
Any version of libsdl (devel) which works on the above?
Thanks in advance.
Knowing the perils that it brings, I have my machine running on Sid.
So i want to know, if anyone has been able to get the ATI 3D acceleration
working under X.org in debian ?
Another side question for the superheroes who have managed the above.
Any version of libsdl (devel) which works on the above?
Thanks in advance.
 
Old 08-09-2005, 10:14 PM   #2
gooch
LQ Newbie
 
Registered: Jan 2005
Distribution: Arch, Debian, FreeBSD
Posts: 19

Rep: Reputation: 0
don't know about the ati drivers (i run sarge with an nvidia card )

but as far as the sdl development libraries, apt-get install libsdl1.2-dev

hint: packages.debian.org is your best friend
 
Old 08-09-2005, 11:15 PM   #3
titetanium
Member
 
Registered: Mar 2004
Distribution: debian testing/unstable, devuan, raspberrypi OS
Posts: 68

Rep: Reputation: 16
I don't have sid, but a combination of testing and sid + xorg + Ati radeon. Works nice, complete with suspend to ram and suspend to disk. Not sure if I can answer the libsdl-dev question since i don't do development work with that.
 
Old 08-10-2005, 12:08 PM   #4
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
infobash -v
Host/Kernel/OS "Kanotix" running Linux 2.6.13-kanotix-1 i686 [ KANOTIX 2005-03 ]
CPU Info AMD Athlon XP 3200+ clocked at [2205.335 Mhz]
Videocard ATI Technologies Inc R350 AH [Radeon 9800] X.Org 6.8.2 [ 1280x1024 @75hz ]
Processes 92 | Uptime 4days | Memory 942.586/1010.5MB | HDD Size 188GB (3%used) | GLX Renderer RADEON 9800 SE Generic | GLX Version 1.3.5140 (X4.3.0-8.14.13) | Client Shell | Infobash v2.11

glxinfo |grep direct
direct rendering: Yes

glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
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_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, 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 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: RADEON 9800 SE Generic
OpenGL version string: 1.3.5140 (X4.3.0-8.14.13)
OpenGL extensions:
GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
GL_ARB_multisample, GL_ARB_occlusion_query, GL_ARB_point_parameters,
GL_ARB_point_sprite, GL_ARB_shader_objects, GL_ARB_shading_language_100,
GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
GL_ARB_texture_compression, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix,
GL_ARB_vertex_blend, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program,
GL_ARB_vertex_shader, GL_ARB_window_pos, GL_ATI_draw_buffers,
GL_ATI_element_array, GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader,
GL_ATI_map_object_buffer, GL_ATI_separate_stencil,
GL_ATI_texture_env_combine3, GL_ATI_texture_float,
GL_ATI_texture_mirror_once, GL_ATI_vertex_array_object,
GL_ATI_vertex_attrib_array_object, GL_ATI_vertex_streams,
GL_ATIX_texture_env_combine3, GL_ATIX_texture_env_route,
GL_ATIX_vertex_shader_output_point_size, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_minmax,
GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, GL_EXT_texgen_reflection,
GL_EXT_texture3D, GL_EXT_texture_compression_s3tc,
GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_EXT_vertex_shader,
GL_HP_occlusion_test, GL_NV_blend_square, GL_NV_occlusion_query,
GL_NV_texgen_reflection, GL_SGI_color_matrix, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

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 16 16 16 16 1 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x27 24 tc 0 32 0 r y . 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 8 0 0 0 0 1 0 None
0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
0x2b 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x2c 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x2d 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x2e 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None
0x2f 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 2 1 None
0x30 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 2 1 None
0x31 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 2 1 None
0x32 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 2 1 None
0x33 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x34 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None
0x35 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

Yep...With the help of Kanotix and kano's script "install-radeon-debian.sh" which installs the ATI binaries.
As long as you have all the proper modules and settings for your card in the kernel the script will work perfectly.

first save this file as "update-scripts-kanotix.sh" or what ever you want to name it, to /usr/local/bin.Kano keeps all his scripts in /usr/local/bin

#!/bin/sh
if test $(id -u) != 0; then
echo Error: You must be root to run this script!
exit 1
fi
cd /usr/local/bin
for script in *sh; do
echo -n $script...
if wget -N http://kanotix.com/files/$script &>/dev/null; then
echo current version
else
echo no update available
fi
done

download the install radeon script to /usr/local/bin
chmod it 755 or what you want
http://kanotix.com/files/install-radeon-debian.sh
chmod appropriately...I did chmod 755
download the "install-kernel-source-vanilla.sh"
((Its not needed Kano says anymore but on system where there are errors after installing the drivers check to see if direct rendering is on via
glxinfo |grep direct ...if it isn't...update the kernel sources first.I include that step all the time anyway...it doesn't hurt anything.))


do

update-scripts-kanotix.sh
install-kernel-source-vanilla.sh
hit Ctrl+Alt+F1 to bring you to init 3
login as root....must be root
cd /usr/local/bin
./install-radeon-debian.sh
it will automatically download and install the appropriate drivers and also bring you back into init5 restarting kdm,gdm or whatever your useing.
Sign in and open terminal and do glxinfo |grep direct to see if its on
it should say yes.
If all is good...return to init 3 via Ctrl+Alt+F1 and type exit and enter
return to init 5 via Ctrl+Alt+F7

download the fix-fonts script from the scripts page http://kanotix.com/files/ and execute it after chmod'ing appropriately.
All of the kanotix scripts will work with debian sid install.I will find the distrowatch artical that explains exactly what most of the scripts do.The fix script will not be needed usually.I only use the fix-fonts script.


If you want my xorg conf or any other conf please let me know.

If by any chance your getting errors somewhere please post them and we will fix for you.
I dont think I missed anything but if i did....someone let me know.

There is also a install-nvidia-debian.sh script for nvidia cards.
 
Old 08-10-2005, 12:11 PM   #5
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
Re: Sid+X.org+Radeon

Quote:
Originally posted by Dawgmatix

Another side question for the superheroes who have managed the above.
Any version of libsdl (devel) which works on the above?
.
libsdl-gfx1.2 - drawing and graphical effects extension for SDL
libsdl-gfx1.2-dev - development files for SDL_gfx
libsdl1.2-dev - Simple DirectMedia Layer development files
libsdl1.2debian - Simple DirectMedia Layer seem to be the 2 newest
sudo apt-cache -v search libsdl brings up quite a bit of stuff....Im not sure of the command with apt-cache to show only installed versions.
 
Old 08-10-2005, 02:00 PM   #6
Dawgmatix
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Follow up

Ironwalker thanks for your detailed reply.
I have run that script. The driver is working fine in 2D.
But 3D is still mesa3d indirect.

When i try to run fgl_glxgears it gives me this error message


libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 36
Current serial number in output stream: 36


I get this at the end of my Xorg config

SetClientVersion: 0 9
Error in "UpdateFile" -4
AUDIT: Wed Aug 10 14:43:03 2005: 7016 X: client 22 rejected from local host
Auth name: MIT-MAGIC-COOKIE-1 ID: -1

Hope you can help me. Thanks.
 
Old 08-10-2005, 02:06 PM   #7
Dawgmatix
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Just solved it

Thanks people i just solved my issue.

The following lines in my xorg.conf were commented out

Section "DRI"
Mode 0666
EndSection

Now everything is working
 
Old 08-10-2005, 10:21 PM   #8
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
Glad you got it working
 
Old 08-11-2005, 02:56 PM   #9
BuckRogers01
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 232

Rep: Reputation: 30
wish I could get mine working with Etch and an X850 XT PE, I'm not even sure what to do to get it working (hint hint :P)

Cheers, Buck
 
Old 08-11-2005, 05:56 PM   #10
Dawgmatix
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Okay, the simplest way to get it working.

1) Go to synaptic and uninstall any fglrx entry you might have installed
2) Go to kanotix.com/files
3) Download and run install-radeon.sh as root
4) Try to run fglrxinfo and flrx_glxgears. If the second gives you and error
message, then paste the log here.
 
Old 08-11-2005, 09:45 PM   #11
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
Quote:
Originally posted by
Okay, the simplest way to get it working.

1) Go to synaptic and uninstall any fglrx entry you might have installed
2) Go to kanotix.com/files
3) Download and run install-radeon.sh as root
4) Try to run fglrxinfo and flrx_glxgears. If the second gives you and error
message, then paste the log here.
As Dawgmatix said...post errors after problems following the above method.
Most erors for non kanotix installs is most likely kernel module problems.

Way to go helping Dawgmatix!

As Dawgmatix said..we are here to help
 
Old 08-11-2005, 10:59 PM   #12
Dawgmatix
LQ Newbie
 
Registered: Feb 2005
Posts: 11

Original Poster
Rep: Reputation: 0
:)

Just following in the footsteps of those before me
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian SID + X.org from Ubuntu = BIG MESS webvandals Debian 17 04-08-2005 10:58 AM
Mobility Radeon 7000, X.org 6.7.0 and DRI fader Slackware 1 01-31-2005 03:47 PM
X.org and DVI on Radeon 7200 PekkaM Linux - Hardware 0 01-28-2005 04:38 AM
Radeon Mobiliety M6 and Sid ansemax Linux - Laptop and Netbook 0 09-26-2003 10:17 AM
Radeon Mobility M6 and Debian Sid ansemax Debian 0 09-24-2003 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration