Making the radeon kernel module work again

116 respostas [Última entrada]
jxself
Desconectado
Joined: 09/13/2010

But this then goes back to it being more of a hack than a proper fix, so I doubt it'd be accepted anyway purely on technical grounds. Ideally it would be worked into a proper fix first to make it more acceptable.

t3g
t3g
Desconectado
Joined: 05/15/2011

Oh well. As long as it is in the 3.13 and the 3.19 kernels on the official repos then I will be happy.

Legimet
Desconectado
Joined: 12/10/2013

Debian didn't include open-ath9k-htc-firmware because it wasn't in linux-firmware.git. So I imagine they would include this patch only once it becomes less of a hack (or goes to upstream linux).

cooloutac
Desconectado
Joined: 06/27/2015

But people like Calinou and Supertramp will not use it, because Calinou has been stating irc channel, to new users with radeon drivers who have been suggested this kernel, they will still not get 3d acceleration.... I don't know if thats true or not, but thats what hes telling people.

I know many people have stated in the channel before they needed to use debian simply have dual screens work properly.

onpon4
Desconectado
Joined: 05/30/2012

> Calinou has been stating irc channel, to new users with radeon drivers who have been suggested this kernel, they will still not get 3d acceleration

And this is entirely true. This fix is about being able to use the Radeon driver at all, which was ruined due to Radeon dropping UMS support at some point, causing deblobbed Linux to have to fall back to things like VESA (generic display drivers that only support 1024x768 resolution). It is not possible to use any Radeon GPU with 3-D unless you have the proprietary firmware blob for it. This is a fact. Actually, I don't think any form of hardware acceleration is possible with any of them, but I'm not entirely sure about that.

Sasaki
Desconectado
Joined: 08/11/2014

Hi, I'm trisquelizing a computer for a friend with a Radeon GPU :

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV730 PRO [Radeon HD 4650]

With the default kernel, I could'nt get a good resolution.

I tried downgrading the kernel, and then jxself posted the new kernel wich I installed at once (version linux-libre64), but I still can't change the resolution. The driver changed from VESA to Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits).

Is there a way to do it or will this GPU never be supported ?

lembas
Desconectado
Joined: 05/13/2010

Maybe it comes with bad EDID info? In that case this could help

https://trisquel.info/en/forum/xrandr-how-install-or-replace-it

Sasaki
Desconectado
Joined: 08/11/2014

What does it means "a bad EDID info" ? I don't understand.

I already have the package x11-xserver-utils, here is the output of xrandr command :

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
1024x768 76.0*

lembas
Desconectado
Joined: 05/13/2010

https://en.wikipedia.org/wiki/EDID

Maybe your puter claims it can't do higher reso. Try running the 2 commands in the first post of the thread.

If that should allow you to select the new reso, you can try the cvt command to create the actual line for whatever reso you're after.

Sasaki
Desconectado
Joined: 08/11/2014

Ok, so here is what I did :

xrandr --newmode "1280x1024" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync

wich returns :

xrandr: Failed to get size of gamma for output default
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 19
Current serial number in output stream: 19

And when I do

xrandr --addmode VGA1 "1280x1024"

I get this :

xrandr: Failed to get size of gamma for output default
xrandr: cannot find output "VGA1"

Nevertheless, when I type xrandr, I now have :

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
1024x768 76.0*
1280x1024 (0x19b) 109.0MHz
h: width 1280 start 1368 end 1496 total 1712 skew 0 clock 63.7KHz
v: height 1024 start 1027 end 1034 total 1063 clock 59.9Hz

Henpei
Desconectado
Joined: 08/11/2015

I have been trying to fix this for a few days now. No matter how I do I can not make it use the radeon driver.
I can easily get all the EDID info with get-EDID so there is no problem with that here. Adding new modes fails even when you add them correctly.
Also even trying to use modesetting fails as the driver "doesnt support it".

In Dmesg the radeon driver is ignored but with a configures /etc/X11/xorg.conf file it loads it properly but then unloads it because "no configuration file matches the radeon driver". so it goes back to LLVM.

I also tried to set the gamma to the reported gamma from the EDID, which did not work either. :/

I have no idea what to do.

lembas
Desconectado
Joined: 05/13/2010

I just remembered that radeon might be blacklisted. See if there is some file in /etc/modprobe.d/ that contains "blacklist radeon".

If there is one, edit the file (as super user) and put a hash (#) in front of the line. Then doupdate-initramfs -uand reboot.

Henpei
Desconectado
Joined: 08/11/2015

Thank you very much lembas! That was the problem all along! :D Now I got 2 individual screens at 1920x1200 and glxgears went from 600fps (I think it was) to 2200 fps :) Very nice!!

Henpei
Desconectado
Joined: 08/11/2015

Im having the exact same problem here. In my case it's a Radeon HD 5850.
Got 2 1920x1200 screens that are mirrored as 1600x1200 (4:3) :'(

Sasaki
Desconectado
Joined: 08/11/2014

As i'm not very familiar with it, I'd like some help with the cvt command.

Did I succeed in adding a new reso to xrandr ? Can I now use it ?

lembas
Desconectado
Joined: 05/13/2010

Have you read the manual page?man cvt
Looks like the name of your display is "default", you probably should use that instead of "VGA1". I'm not very familiar with this stuff either but keep trying!