LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-26-2006, 11:49 AM   #1
wicho_the_one
Member
 
Registered: Mar 2004
Location: Guatemala
Distribution: Fedore Core 7 ^ WinXp
Posts: 50

Rep: Reputation: 15
Question Hardware aceleration disabled for normal user


I dont know how to enable the hardware aceleration for a normal user, i have an Ati X600 SE, and i have fedora core 4. This is what i get if i run glxinfo as a normal user:

Code:
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:
.
.
.
And then if i run it as a root user, i get this

Code:
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 X600 Generic
OpenGL version string: 2.0.5642 (8.22.5)
OpenGL extensions:
.
.
.
This is my xorg.conf file generated by fglrxconfig (ati driver)

Code:
 **********************************************************************
# DRI Section
# **********************************************************************
Section "DRI"
    Mode 0666
EndSection

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the GLX module
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a

EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "Monitor0"
    VendorName   "Dell"
    ModelName    "Dell 1704FPT (Digital)"
    HorizSync   31 - 81
    VertRefresh 56 - 76
    Option "DPMS"
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset     "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver      "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# installed.

#    BusID       "PCI:0:10:0"

#    VideoRam    256

#    Clocks      25.2 28.3

EndSection

# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
    Option "RenderAccel"                "true"
# ### 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 ###
# === Screen Management ===
    Option "DesktopSetup"               "(null)" 
    Option "HSync2"                     "unspecified" 
    Option "VRefresh2"                  "unspecified" 
    Option "ScreenOverlap"              "0" 
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
# === 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"                 "no"
    Option "FSAAScale"                  "1"
    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"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "no"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=5b62
    Screen 0
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"


    Screen "Screen0"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

### EOF ###
I dont know what could be the problem, i hope someone can help me with this. Another thing i dont know whats the difference between the Standar VGA device and the Ati device section, and if i need to add something to the VGA section. Thx for any help and sorry my bad english.
 
Old 02-26-2006, 02:10 PM   #2
foolsh
Member
 
Registered: Apr 2005
Location: IL
Distribution: kubuntu
Posts: 56

Rep: Reputation: 15
try adding this to the end of your config file

Section "DRI"
Mode 0666
EndSection
after the dri module is loaded your's is at the begining just maybe it needs to be after

Last edited by foolsh; 02-26-2006 at 02:12 PM.
 
Old 02-26-2006, 02:41 PM   #3
yodermk
Member
 
Registered: Feb 2006
Location: San Antonio
Distribution: Kubuntu Feisty
Posts: 43

Rep: Reputation: 15
Not sure about in Fedora, but in Gentoo I had to add myself to a group, I think the "video" group, before I had GL accesss...
 
Old 02-26-2006, 04:18 PM   #4
wicho_the_one
Member
 
Registered: Mar 2004
Location: Guatemala
Distribution: Fedore Core 7 ^ WinXp
Posts: 50

Original Poster
Rep: Reputation: 15
i got this at the beginning of my xorg.conf file

Section "DRI"
Mode 0666
EndSection
 
Old 02-26-2006, 04:49 PM   #5
wicho_the_one
Member
 
Registered: Mar 2004
Location: Guatemala
Distribution: Fedore Core 7 ^ WinXp
Posts: 50

Original Poster
Rep: Reputation: 15
Ok, i added me to "users" group, and change the xorg.conf DRI section to

Section "DRI"
Group 100 # users
Mode 0660
EndSection

Then rebooted, but i am getting the same in glxinfo "direct rendering: No" and the OpenGl vendor as Mesa.
 
Old 04-16-2006, 12:54 PM   #6
kg4ysy
Member
 
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123

Rep: Reputation: 19
you may want to try reinstalling xorg-x11...thats what I normally have to do...also, make sure the proper kernel modules are active...for my intel chip they are intelfb agpgard drm and intel-agp
 
Old 04-16-2006, 06:28 PM   #7
wicho_the_one
Member
 
Registered: Mar 2004
Location: Guatemala
Distribution: Fedore Core 7 ^ WinXp
Posts: 50

Original Poster
Rep: Reputation: 15
Thumbs up I have solved, de problem

I have installed Fedora Core 5, and download the ati flrx drivers, and that enabled the Direct Rendering for all users, jejeje , but thx anyway, hope that ur solution helps others .
 
Old 10-09-2006, 05:56 PM   #8
frik
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware 10.1
Posts: 22

Rep: Reputation: 15
I've managed to solve it with:
Section "DRI"
Mode 0666
EndSection

But i have to login,then logout (restart X) to be able to use glx.
Weird...
 
Old 10-09-2006, 07:18 PM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You do not need to reboot. Just hit CTRL+ATL+BKSPC to use the new settings. DRI should be set to video or whatever, but not users.

Probably if you comment Load "glx", it may work all the time.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Root and all user accounts disabled mht17 Linux - Newbie 3 05-10-2011 06:23 PM
Running super user commands as normal user mickyg Linux - Security 5 10-14-2005 07:25 PM
Getting hardware access as normal user Zotty Programming 2 02-01-2005 11:13 AM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-07-2004 11:11 PM
glxinfo reports DRI disabled as a normal user guerilla fighta Linux - Software 4 10-07-2003 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:44 AM.

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