LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Closed Thread
 
LinkBack Search this Thread
Old 04-08-2006, 08:10 AM   #121
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53

Quote:
Originally Posted by cwwilson721
Nvidia may use a different renderer.
I don't know what the actual mechanics of Nvidia drivers are, I just know that on my Nvidia box, without the Nvidia drivers, I get ~1000fps. With the Nvidia, it's over 6000
Some questions:
What Nvidia card do you have?
Do you have DRI enabled with the Nvidia drivers (load #DRI line)?
If you have: Does it help someway? What is your fps rate when DRI is disabled? Does the output of glxinfo change when it is disabled?
If you not: Do you get any errors when you enable it? Does the performance change?

Thanks for the answers.
I am going to compare it with my card results and maybe tweak mine card in some ways.
 
Old 04-08-2006, 09:21 AM   #122
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
The mode 0666 is needed for all chips to let users have acceleration.
 
Old 04-08-2006, 12:24 PM   #123
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,074

Rep: Reputation: 187Reputation: 187
Ok well I have been trying to follow this thread's instructions as much as possible, and I am still having no luck enabling DRI on Slackware10.2 I have an ATI Radeon7500 chipset, and so downloading the ATI drivers won't work, since ATI does not support anything below 8500 chipsets. Also, I don't know why this isn't working for me, because this is exactly what I did in Slackware 10.0 to enable DRI, which worked by the way ... And this is my xorg.conf

Code:
# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"

Section "Device"
    Identifier  "Radeon"
    Driver      "radeon"
    VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection

 Section "DRI"
    Mode 0666
 EndSection
Output of glxinfo:
Code:
slackuser@slacker:~$ 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_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
    GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIS_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
    GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
    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_window_pos, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
    GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
    GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
    GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
    GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
    GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
    GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
    GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
    GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
    GL_SGIX_shadow_ambient, 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  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x28 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x30 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x32 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
lsmod reports that radeon module is there, along with agpgart
Code:
slackuser@slacker:~$ lsmod
Module                  Size  Used by    Not tainted
radeon                104576   0
snd-pcm-oss            36736   0 (unused)
snd-mixer-oss          12376   0 [snd-pcm-oss]
snd-via82xx            13376   4
gameport                1420   0 [snd-via82xx]
snd-ac97-codec         58556   0 [snd-via82xx]
snd-pcm                54344   1 [snd-pcm-oss snd-via82xx snd-ac97-codec]
snd-timer              13764   1 [snd-pcm]
snd-mpu401-uart         3136   0 [snd-via82xx]
snd-rawmidi            12480   0 [snd-mpu401-uart]
snd-seq-device          3812   0 [snd-rawmidi]
snd                    32772   2 [snd-pcm-oss snd-mixer-oss snd-via82xx snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc          4712   0 [snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
soundcore               3396   3 [snd]
smbfs                  40080   1 (autoclean)
ntfs                   51232   1 (autoclean)
ide-scsi                9392   0
tulip                  40896   1
crc32                   2880   0 [tulip]
joydev                  5568   0 (unused)
usb-storage            62432   0 (unused)
keybdev                 1892   0 (unused)
mousedev                4020   1
hid                    20868   0 (unused)
input                   3200   0 [joydev keybdev mousedev hid]
usb-uhci               21936   0 (unused)
usbcore                59148   0 [usb-storage hid usb-uhci]
agpgart                45508   1
And Xorg.0.log with all the (EE) that are listed, actually, no (EE) messages found, only (WW)
Code:
(WW) Open APM failed (/dev/apm_bios) (No such device)
(WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode disabled
(WW) (1792x1344,GatewayVX700) mode clock 204.8MHz exceeds DDC maximum 180MHz
(WW) (1856x1392,GatewayVX700) mode clock 218.3MHz exceeds DDC maximum 180MHz
Any suggestions on what I should try now?

Last edited by Jeebizz; 04-08-2006 at 12:28 PM.
 
Old 04-08-2006, 12:29 PM   #124
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
Try logging on as root,(Disconnect from the internet first if you're worried about security.), and see if that changes anything in glxinfo. It may give us a clue.

***EDIT*** Are you using init 3 or 4? I've personally run into weird stuff in init 4 like that..

Last edited by cwwilson721; 04-08-2006 at 12:30 PM.
 
Old 04-08-2006, 12:39 PM   #125
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,074

Rep: Reputation: 187Reputation: 187
Same thing, no DRI as root either. I also rmed the Xorg.0.log before starting an x session, and it is all the same, no EE messages, just the same WW messages as before. glxinfo says the same thing, no dri, nothing has changed. I am using the default init by the way.
 
Old 04-08-2006, 12:43 PM   #126
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
Do a grep on Xorg.0 log for Direct or dri. See what it says. Do you have the chipsets, agpgart, and video chips compiled as modules in your kernel?
 
Old 04-08-2006, 12:51 PM   #127
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,074

Rep: Reputation: 187Reputation: 187
Well I am using the default 2.4.31 kernel, I haven't recompiled it, and agpgart are compiled as modules, because lsmod reports agpgart, along with my radeon module.

Code:
slackuser@slacker:~$ grep direct /var/log/Xorg.0.log
(II) RADEON(0): [pci] vertex/indirect buffers handle = 0xe0d22000
(II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x44406000
(II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000
(II) RADEON(0): Using 2 MB for vertex/indirect buffers
        Indirect CPU to Screen color expansion

slackuser@slacker:~$ grep Direct /var/log/Xorg.0.log
(II) RADEON(0): Direct rendering disabled


slackuser@slacker:~$ grep DRI /var/log/Xorg.0.log
(II) Loading extension XFree86-DRI
(II) RADEON(0): [DRI] installation complete

slackuser@slacker:~$ grep dri /var/log/Xorg.0.log
        X.Org XInput driver : 0.4
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="X.Org Foundation"
(II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.o
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
        ABI class: X.Org XInput driver, version 0.4
        ABI class: X.Org XInput driver, version 0.4
(II) ATI: ATI driver (version 6.5.6) for chipsets: ati, ativga
(II) Reloading /usr/X11R6/lib/modules/drivers/radeon_drv.o
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: node name is /dev/dri/card4
drmOpenDevice: node name is /dev/dri/card5
drmOpenDevice: node name is /dev/dri/card6
drmOpenDevice: node name is /dev/dri/card7
drmOpenDevice: node name is /dev/dri/card8
drmOpenDevice: node name is /dev/dri/card9
drmOpenDevice: node name is /dev/dri/card10
drmOpenDevice: node name is /dev/dri/card11
drmOpenDevice: node name is /dev/dri/card12
drmOpenDevice: node name is /dev/dri/card13
drmOpenDevice: node name is /dev/dri/card14
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:00:06.0"
(II) RADEON(0): [dri] Visual configs initialized
I hope this helps.
 
Old 04-08-2006, 12:58 PM   #128
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
Code:
slackuser@slacker:~$ grep Direct /var/log/Xorg.0.log
(II) RADEON(0): Direct rendering disabled
Seems like no DRI because of the driver.

Anybody have any ideas on the radeon driver?
 
Old 04-08-2006, 01:20 PM   #129
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
Yeah I don't know what you do for old cards. That XFreeX6 stuff was before my time with Linux.

I'd be interested to find out tho as I was thinking of picking up an old card to thro into an old pc here to act as a linux router (one of my many projects to keep me up all nite).

Have you tried going thru this WIKI here: [HTML]http://dri.freedesktop.org/wiki/[/HTML]

That's who ATI claims the 3d for older cards is supported by.

Oh another thought off the top of my head, but have you tried one of the boot cd's like slax and mutagenix. Their slack based and have some really good hardware detection. I'm wondering if loading up your pc off one of those boot cd's, trying glxinfo and seeing how they load for you.

Also I belive Mepis Lite is based on xfree86 if I'm not mistaken. I downloaded so many distro's omg I'm getting em confused, but I think that booting up one of those guys might help to see what to do on slack.

But again I'd like to see what you do, as my old laptop right now does not do DRI but does have support from linux kernel w/the video driver and I've seen claims from people on old threads that it can. But I havent had a chance to get into that yet to date.

Last edited by Old_Fogie; 06-09-2006 at 12:07 PM.
 
Old 04-08-2006, 01:28 PM   #130
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
cw..you get 6000 fps! w/onboard video...wow I really need to upgrade!
 
Old 04-08-2006, 01:30 PM   #131
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,074

Rep: Reputation: 187Reputation: 187
Ok, well I tried that site again, and downloaded this file: radeon-20060403-linux.i386.tar.bz2 , since it is the only other radeon snapshot that I could think of, r200 snapshots are for 8500+ cards, so I am assuming this is for older ATI cards. Any pointers on how to install this driver? Still I am puzzled on why I have to do this, since under 10.0 using the same generic driver I got DRI to work. Oh well

[edit]

Assuming after installing this driver, will I have to rerun xorgconfig, and will it show up in the list?

Last edited by Jeebizz; 04-08-2006 at 01:32 PM.
 
Old 04-08-2006, 03:03 PM   #132
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
Quote:
Originally Posted by Old_Fogie
cw..you get 6000 fps! w/onboard video...wow I really need to upgrade!
Not an onboard. Separate card on my main server.
 
Old 04-09-2006, 07:04 PM   #133
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
Does anybody have experience with Sis Drivers?

Also, Via would be good.

Do they just use the X server included drivers? Or is there something special that has to be done?
 
Old 04-11-2006, 05:20 PM   #134
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
Nobody has anything about Via or SIS?
 
Old 04-14-2006, 07:48 PM   #135
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 65
No Via or SiS?
 
  


Closed Thread

Tags
3d, acceleration, ati, enabling, fglrx, glx, intel, nvidia, s3, savage, slackware, via, video, x11, xorg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
enabling hardware acceleration PennyroyalFrog Linux - Newbie 5 02-26-2010 11:21 AM
xorg-x11 7.0 and exa acceleration jtshaw Linux - Software 0 12-19-2005 07:42 AM
3d acceleration and X11 bspus Linux - Newbie 3 09-06-2005 06:05 AM
Problem Enabling 3D Hardware acceleration. mir_sheely Linux - Hardware 0 06-14-2004 12:37 PM
Audigy Sound card and enabling 3D acceleration for GeoForce3 ti 500 heavyarmor4ever Linux - Newbie 1 01-03-2003 09:27 PM


All times are GMT -5. The time now is 11:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration