+ Reply to Thread
Results 1 to 7 of 7

Thread: r700 karmic problem with kms

  1. #1
    Join Date
    Jun 2009
    Posts
    8

    Default r700 karmic problem with kms

    Hi everyone,
    i have some trouble with my radeon 4870 when using KMS. I'm using ubuntu karmic and radeon driver from the xorg edgers ppa. xserver, mesa and libdrm are also from xorg-edgers ppa. The problem is a black screen after the ubuntu logo during the boot.
    I have looked the dmesg log and i think it's saying that kms is working. I can't have a look to the xorg log because i didn't have access to the console.
    I am using kernel 2.6.32rc5 from ubuntu mainline.


    dmesg log :
    [ 22.018666] [drm] Initialized drm 1.1.0 20060810
    [ 22.210069] [drm] radeon kernel modesetting enabled.
    [ 22.213262] [drm] radeon: Initializing kernel modesetting.
    [ 22.213284] [drm] register mmio base: 0xFD7E0000
    [ 22.213285] [drm] register mmio size: 65536
    [ 22.213580] ATOM BIOS: Wekiva
    [ 22.213586] [drm] Clocks initialized !
    [ 22.213867] [drm] Detected VRAM RAM=256M, BAR=256M
    [ 22.213872] [drm] RAM width 128bits DDR
    [ 22.213967] [TTM] Zone kernel: Available graphics memory: 1028394 kiB.
    [ 22.213983] [drm] radeon: 256M of VRAM memory ready
    [ 22.213985] [drm] radeon: 512M of GTT memory ready.
    [ 22.214048] [drm] Loading RV770 CP Microcode
    [ 22.214364] platform radeon_cp.0: firmware: requesting radeon/RV770_pfp.bin
    [ 22.269373] platform radeon_cp.0: firmware: requesting radeon/RV770_me.bin
    [ 22.273301] [drm] GART: num cpu pages 131072, num gpu pages 131072
    [ 22.306657] [drm] ring test succeeded in 1 usecs
    [ 22.306784] [drm] radeon: ib pool ready.
    [ 22.306858] [drm] ib test succeeded in 0 usecs
    [ 22.307813] [drm] Radeon Display Connectors
    [ 22.307815] [drm] Connector 0:
    [ 22.307817] [drm] DVI-I
    [ 22.307819] [drm] DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c
    [ 22.307820] [drm] Encoders:
    [ 22.307822] [drm] DFP1: INTERNAL_UNIPHY
    [ 22.307823] [drm] CRT2: INTERNAL_KLDSCP_DAC2
    [ 22.307824] [drm] Connector 1:
    [ 22.307826] [drm] DIN
    [ 22.307826] [drm] Encoders:
    [ 22.307828] [drm] TV1: INTERNAL_KLDSCP_DAC2
    [ 22.307829] [drm] Connector 2:
    [ 22.307830] [drm] DVI-I
    [ 22.307832] [drm] DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
    [ 22.307833] [drm] Encoders:
    [ 22.307834] [drm] CRT1: INTERNAL_KLDSCP_DAC1
    [ 22.307836] [drm] DFP2: INTERNAL_KLDSCP_LVTMA
    [ 22.675698] [drm] fb mappable at 0xD0141000
    [ 22.675701] [drm] vram apper at 0xD0000000
    [ 22.675703] [drm] size 9216000
    [ 22.675704] [drm] fb depth is 24
    [ 22.675705] [drm] pitch is 7680
    [ 22.675821] fb0: radeondrmfb frame buffer device
    [ 22.675823] registered panic notifier
    [ 22.675828] [drm] Initialized radeon 2.0.0 20080528 for 0000:05:00.0 on minor 0
    Last edited by Sly154; 11-01-2009 at 03:51 PM.

  2. #2
    Join Date
    Aug 2009
    Posts
    122

    Default

    heh, same issue here, I'm using this workaround

    boot with option - single

    then choose root terminal in menu, and modprobe radeon modeset=1

    if kms was activated succesfully (resolution was changed and no black screen), then type exit and choose resume in menu.

    2.6.32-rc5 vanilla
    Last edited by netkas; 11-02-2009 at 01:03 PM.

  3. #3
    Join Date
    Jun 2009
    Posts
    8

    Default

    Ok, thanks. Its working

  4. #4
    Join Date
    Jun 2009
    Posts
    7

    Default

    It's also enough for me to just omit usplash, so removing the splash option from the kernel commandline works perfectly for me.

    I have a problem integrating modules for radeon kms in the initrd. I've put all the reuqired modules in the initrd, but when I boot up the firmware loader fails to load the firmware. I've tried to put that piece in the initrd too but wherever I put it, it's not found. Did anyone suceed here ?

    Greetz
    Hibbelharry

  5. #5
    Join Date
    Aug 2009
    Posts
    122

    Default

    Quote Originally Posted by Hibbelharry View Post
    It's also enough for me to just omit usplash, so removing the splash option from the kernel commandline works perfectly for me.

    I have a problem integrating modules for radeon kms in the initrd. I've put all the reuqired modules in the initrd, but when I boot up the firmware loader fails to load the firmware. I've tried to put that piece in the initrd too but wherever I put it, it's not found. Did anyone suceed here ?

    Greetz
    Hibbelharry
    removing splash option didnt work for me.

    Also, I edited initrd and added fw there, it was just freezing when drm was initialized.

  6. #6
    Join Date
    Aug 2009
    Posts
    122

    Default

    just updated to karmic and it doesnt work there, damn upstart doesnt start X if i booted with single option, and doesnt let me to modprove radeon module if i comment "single" check in gdm.conf, it just starts gui

    also tried to modprobe radeon modeset=1 in gdm.conf,

    i can see kms activated, cuz res was changed, but when X start, all i have is lower half of screen with colored snow.

    anyone knows where to submit kms bugs?

  7. #7
    Join Date
    Aug 2009
    Posts
    122

    Default

    found a way for myself to launch kms rv770 in ubuntu 9.10
    added DRI section to xorg.conf.

    boot with single,
    menu->root
    modprobe radeon modeset=1
    menu->resume
    console login
    sudo su
    xinit -- /usr/bin/Xorg -ac -config /etc/X11/xorg.conf
    run glxgears in xterm (maybe not needed)
    terminate Xorg server (exit xterm for example)
    remove single check in /etc/init/gdm.conf
    sudo start gdm

    automized it with script to run in fb console
    kms works now, no other way to get it working, booting with radeon.modeset=1 - black screen after Xorg launch, adding modprobe radeon modeset=1 to gdm.conf - same result.

    before rebooting repair "single" check in gdm.conf
    Last edited by netkas; 11-08-2009 at 07:50 AM.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts