Direct Rendering Disabled for AMD Radeon HD 7970

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

Direct Rendering Disabled for AMD Radeon HD 7970

Postby zhengalanzheng on Sun Sep 22, 2013 1:58 am

Hi, I'm using Linux Mint 13 KDE and I'm experiencing this problem and my graphics card is: AMD Radeon HD 7970.
Code: Select all
alan@alan-desktop ~ $ inxi -Gx
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Tahiti XT [Radeon HD 7970] bus-ID: 01:00.0
           X.Org: 1.11.3 driver: fglrx Resolution: 1920x1080@60.0hz, 1920x1080@60.0hz
           GLX Renderer: AMD Radeon HD 7900 Series GLX Version: 1.4 (2.1 (4.3.12441 - CPC 13.20.11)) Direct Rendering: No
I have used Ubuntu 12.04 LTS and Linux Mint MATE before and it wasn't a problem.
Any help will be greatly appreciated.
zhengalanzheng
Level 1
Level 1
 
Posts: 9
Joined: Tue Sep 17, 2013 1:06 pm

Linux Mint is funded by ads and donations.
 

Re: Direct Rendering Disabled for AMD Radeon HD 7970

Postby Thinktank on Wed Sep 25, 2013 5:19 am

I am using the same videocard and also struggling with this issue myself. You are using the 13.8beta catalyst? I have noticed that I do have Direct Rendering as root, check this by executing the command as root.

I solved the issue last night by chmodding /dev/ati/card0. This morning it wasn't working anymore.. weird. I'll continue on this issue this evening. Maybe we can help each other solve this :wink:
Thinktank
Level 1
Level 1
 
Posts: 7
Joined: Mon Sep 23, 2013 8:26 am

Re: Direct Rendering Disabled for AMD Radeon HD 7970

Postby Thinktank on Wed Sep 25, 2013 12:15 pm

still the same issue

glxinfo | grep direct as user:
Code: Select all
Setting of real/effective user Id to 0/0 failed
libGL error: open uki failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)


glxinfo | grep direct as root:
Code: Select all
direct rendering: Yes
    GL_AMD_interleaved_elements, GL_AMD_multi_draw_indirect,
    GL_ARB_draw_indirect, GL_ARB_draw_instanced,
    GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
    GL_EXT_direct_state_access, GL_EXT_draw_buffers2, GL_EXT_draw_instanced,
    GL_AMD_interleaved_elements, GL_AMD_multi_draw_indirect,
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect,
    GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
    GL_EXT_direct_state_access, GL_EXT_draw_buffers2, GL_EXT_draw_instanced,
Thinktank
Level 1
Level 1
 
Posts: 7
Joined: Mon Sep 23, 2013 8:26 am

Re: Direct Rendering Disabled for AMD Radeon HD 7970

Postby Thinktank on Wed Sep 25, 2013 3:52 pm

I am out of ideas on fixing this to be honest. Could be a bug in the beta driver. They dont call it beta for nothing right :wink:

Ah well I only need the hardware accelartion for some games I run using Wine, starting them as root atm. Performing extremely well, way above my expectations.

If more people are having this issue we should report it to ATI.
Thinktank
Level 1
Level 1
 
Posts: 7
Joined: Mon Sep 23, 2013 8:26 am

Re: Direct Rendering Disabled for AMD Radeon HD 7970

Postby Thinktank on Thu Sep 26, 2013 8:14 am

Possible solution:

Code: Select all
And now I know why... rainbows' AMD can't make a driver worth a rainbows.
Any way, here's how to solve it.

1. Make amd-catalyst-13.8-beta1-linux-x86.x86_64.run executable, either through chmod or the right-click - properties - permissions tab

2. Run it (not as root) it'll extract everything to a subfolder from where you have the .run file.
eg.: In my case it was called "fglrx-install.OFVhy5"

3. Enter your password and minimize the installer (Don't close it)

4. Inside that temporary folder it creates do a search for firegl_public.c

5. Open firegl_public.c and do a search for this line:
root = KCL_create_proc_dir(NULL, "ati", S_IFDIR);

6. Replace it with this one:
root = KCL_create_proc_dir(NULL, "ati", S_IFDIR|S_IRUGO|S_IXUGO);

7. Now you can resume the install and reboot when prompted.


Need to test this, came from this source: http://linuxgamecast.com/lgcbbs/index.p ... -driver/p1
Thinktank
Level 1
Level 1
 
Posts: 7
Joined: Mon Sep 23, 2013 8:26 am

Re: Direct Rendering Disabled for AMD Radeon HD 7970

Postby Thinktank on Thu Sep 26, 2013 9:49 am

Can confirm the above is the solution.

See also this thread: http://phoronix.com/forums/showthread.p ... post348029
Thinktank
Level 1
Level 1
 
Posts: 7
Joined: Mon Sep 23, 2013 8:26 am

Re: Direct Rendering Disabled for AMD Radeon HD 7970

Postby roblm on Thu Sep 26, 2013 3:25 pm

Thinktank,

You said direct rendering was executed as root but not as user. Did you try changing the permissions for the ATI directory with this command:
sudo chmod -R 755 /proc/ati

Also, running the command "sudo glxinfo | grep direct" gave this line:
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)

You could run the command: LIBGL_DEBUG=verbose glxinfo > /dev/null
to see if any more information is given.
I got that command from this site. See the troubleshooting section:
https://wiki.archlinux.org/index.php/AMD_Catalyst
User avatar
roblm
Level 4
Level 4
 
Posts: 440
Joined: Sun Feb 24, 2013 2:41 pm

Re: Direct Rendering Disabled for AMD Radeon HD 7970

Postby Thinktank on Thu Sep 26, 2013 3:46 pm

Hmm yeah I "fixed" it by adding this to my rc.local

Code: Select all
chmod -R a+rX /proc/ati


Considering it a bug, will remove this when a driver update is released.
Thinktank
Level 1
Level 1
 
Posts: 7
Joined: Mon Sep 23, 2013 8:26 am

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 15 guests