Skip to contentSkip to conversation

linux-2.6.32.2 broke radeon modeset=1

DISCUSSION Hendrik Sattler 3 participants 5 messages Jan 8, 2010 – Jan 11, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

I have a ATI HD2400XT in my notebook and tried the radeon.ko module with modeset=1 (X cannot use this, yet).
While this gives me a framebuffer console with 2.6.32, it only shows a blank screen with linux-2.6.32.2.

The output below is with 2.6.32.
Also not that this laptop has not HDMI out, only DVI. No external monitors are connected.

lspci -v:
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon HD 2400 XT [1002:94c8] (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device [1025:011a]
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at f0000000 (32-bit, prefetchable) [size=64M]
I/O ports at 2000 [size=256]
Memory at fc000000 (32-bit, non-prefetchable) [size=64K] [virtual] Expansion ROM at fc020000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: radeon

dmesg:
[drm] radeon kernel modesetting enabled.
radeon 0000:01:00.0: setting latency timer to 64 [drm] radeon: Initializing kernel modesetting.
[drm] register mmio base: 0xFC000000
[drm] register mmio size: 65536
ATOM BIOS: Pantanal
[drm] Clocks initialized !
[drm] Detected VRAM RAM=64M, BAR=64M
[drm] RAM width 64bits DDR
[TTM] Zone kernel: Available graphics memory: 1535736 kiB. [drm] radeon: 64M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] Loading RV610 CP Microcode
platform radeon_cp.0: firmware: requesting radeon/RV610_pfp.bin platform radeon_cp.0: firmware: requesting radeon/RV610_me.bin [drm] GART: num cpu pages 131072, num gpu pages 131072 [drm] ring test succeeded in 1 usecs
[drm] radeon: ib pool ready.
[drm] ib test succeeded in 0 usecs
[drm] Radeon Display Connectors
[drm] Connector 0:

[drm]   VGA                                                                                                                                            
[drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c                                                                                   
[drm]   Encoders:                                                                                                                                      
[drm]     CRT1: INTERNAL_KLDSCP_DAC1                                                                                                                   
[drm] Connector 1:                                                                                                                                     
[drm]   HDMI-A                                                                                                                                         
[drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c                                                                                   
[drm]   Encoders:                                                                                                                                      
[drm]     DFP1: INTERNAL_KLDSCP_TMDS1                                                                                                                  
[drm] Connector 2:                                                                                                                                     
[drm]   LVDS                                                                                                                                           
[drm]   DDC: 0xac0 0xac0 0xac4 0xac4 0xac8 0xac8 0xacc 0xacc                                                                                           
[drm]   Encoders:                                                                                                                                      

[drm] LCD1: INTERNAL_LVTM1
[drm] Connector 3:
[drm] DIN
[drm] Encoders:
[drm] TV1: INTERNAL_KLDSCP_DAC2
[drm] fb mappable at 0xF0141000
[drm] vram apper at 0xF0000000
[drm] size 7257600
[drm] fb depth is 24
[drm] pitch is 6912
executing set pll
executing set crtc timing
[drm] LVDS-13: set mode 1680x1050 21
Console: switching to colour frame buffer device 210x65
fb0: radeondrmfb frame buffer device
registered panic notifier
[drm] Initialized radeon 2.0.0 20080528 for 0000:01:00.0 on minor 0

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
--

#1 lore raw
Quoted 6 lines · Hendrik Sattler

Hi,

I have a ATI HD2400XT in my notebook and tried the radeon.ko module with modeset=1 (X cannot use this, yet).
While this gives me a framebuffer console with 2.6.32, it only shows a blank screen with linux-2.6.32.2.

already fixed in 2.6.32.3

Alex

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
--

#2 lore raw

Am Freitag 08 Januar 2010 23:29:11 schrieb Alex Deucher:

Quoted 11 lines

On Fri, Jan 8, 2010 at 12:53 PM, Hendrik Sattler

Quoted 6 lines · <[email protected]> wrote:

Hi,

I have a ATI HD2400XT in my notebook and tried the radeon.ko module with modeset=1 (X cannot use this, yet).
While this gives me a framebuffer console with 2.6.32, it only shows a blank screen with linux-2.6.32.2.

already fixed in 2.6.32.3

Great :)

Now I just need to figure out how to make X (Debian unstable on amd64) use DRI2. :)

Nice work...

HS

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
--

#3 lore raw
Quoted 11 lines · Hendrik Sattler

Am Freitag 08 Januar 2010 23:29:11 schrieb Alex Deucher:

Quoted 10 lines

On Fri, Jan 8, 2010 at 12:53 PM, Hendrik Sattler

Quoted 6 lines · <[email protected]> wrote:

Hi,

I have a ATI HD2400XT in my notebook and tried the radeon.ko module with modeset=1 (X cannot use this, yet).
While this gives me a framebuffer console with 2.6.32, it only shows a blank screen with linux-2.6.32.2.

Quoted 6 lines
Quoted 1 line

already fixed in 2.6.32.3

Great :)

Now I just need to figure out how to make X (Debian unstable on amd64) use DRI2. :)

Due to Debian bug #561476 (initrd doesn't load firmware) it may not be that easy.

Xav

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
--

#4 lore raw

Zitat von Xavier Bestel <[email protected]>:

Quoted 14 lines · Hendrik Sattler
Quoted 13 lines

Am Freitag 08 Januar 2010 23:29:11 schrieb Alex Deucher:

Quoted 11 lines

On Fri, Jan 8, 2010 at 12:53 PM, Hendrik Sattler

Quoted 6 lines · <[email protected]> wrote:

Hi,

I have a ATI HD2400XT in my notebook and tried the radeon.ko module with modeset=1 (X cannot use this, yet).
While this gives me a framebuffer console with 2.6.32, it only shows a blank screen with linux-2.6.32.2.

already fixed in 2.6.32.3

Quoted 7 lines
Quoted 4 lines

Great :)

Now I just need to figure out how to make X (Debian unstable on amd64) use DRI2. :)

Due to Debian bug #561476 (initrd doesn't load firmware) it may not be that easy.

I always build my own kernels and exactly for cases like, I know why:
I can simply embed the needed 2 RV610 firmware files in the kernel binary and compile the radeon drm driver into the kernel. No initrd. A framebuffer at a very early point. Really great :)
Ok, nothing that Debian can adapt.

BTW: I set grub2 to textmode console because a) there is no difference to the graphics mode and b) it is MUCH faster (the graphics mode is reeeeaaaalllly slow).

It seems I need to recompile the xorg radeon driver to get KMS support. libdrm-radeon1 package is not in Debian because then mesa fails to compile when the headers from linux-libc-dev < 2.6.32 are installed.

So, getting the Debian source packages libdrm, mesa and xserver-xorg-video-ati, compiling them and installing the binary packages should be it. A matter of time until Debian has that without recompiling :)

HS

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
--