public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Re: [drm] loading  RV710 Microcode fails
  2011-02-08 21:21 ` [gentoo-user] " Gregory Shearman
@ 2011-02-08 22:41   ` James
  0 siblings, 0 replies; 7+ messages in thread
From: James @ 2011-02-08 22:41 UTC (permalink / raw
  To: gentoo-user

Gregory Shearman <zekeyg <at> gmail.com> writes:


> Are you using kernel modesetting? If you are then you have to get your
> microcode built into the kernel.

Not sure, can you be more specific on "modesetting" as 
grepping the /usr/src/linux/.config does not find anything,
so I'm not exactly sure what "modesetting" refers to....

Nothing under the "Generic Driver section of the kernels
I have been using has changed. The kernel worked before
I began following web pages and notes from this list
on removing hald and the hal flag from the system. I did
rebuild the kernel-2.6.36-gentoo-r5 after these
hal purge exercises began.....

CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
# CONFIG_DEVTMPFS is not set
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""

> You need CONFIG_EXTRA_FIRMWARE, and provide the filenames of the
> firmware you require (in the form of a space delimited string) to run
> your graphics card.

Here are the setting from .config, as they always have
been: (I'd prefer not to use modsetting, unless provided
a GOOD reason to use it?)


CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
# CONFIG_DEVTMPFS is not set
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""







^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: [drm] loading  RV710 Microcode fails
       [not found]   ` <gk4xJ-5Dy-31@gated-at.bofh.it>
@ 2011-02-09  0:39     ` Gregory Shearman
  2011-02-09  1:35       ` James
  2011-02-09  2:05       ` [gentoo-user] " james
  0 siblings, 2 replies; 7+ messages in thread
From: Gregory Shearman @ 2011-02-09  0:39 UTC (permalink / raw
  To: gentoo-user

In linux.gentoo.user, you wrote:
> Gregory Shearman <zekeyg <at> gmail.com> writes:
>
>
>> Are you using kernel modesetting? If you are then you have to get your
>> microcode built into the kernel.
>
> Not sure, can you be more specific on "modesetting" as 
> grepping the /usr/src/linux/.config does not find anything,
> so I'm not exactly sure what "modesetting" refers to....

I run an ATI HD5660 graphics card and use the open source Radeon driver
found in the kernel. When I select this driver, there's a second option
about allowing kernel modesetting by default. I've found that 3D
graphics and even the Xserver doesn't run on the 2.6.36 kernel unless
Kernel Modesetting is selected. This driver requires microcode to be
installed (emerge radeon-ucode). Now, I don't run an initramfs and
because kernel modesetting requires that the kernel handle the
framebuffer it loads the graphics driver before it has accessed any of
the system's hard drives. This means that for the kernel to find the
microcode it must be included when the kernel is compiled.

I can't help you further as I'm not sure what graphics card you run, nor
whether or not you're using the proprietary driver nor have you provided
the context for the error message provided in the subject.

>
> Nothing undeer the "Generic Driver section of the kernels
> I have been using has changed. The kernel worked before
> I began following web pages and notes from this list
> on removing hald and the hal flag from the system. I did
> rebuild the kernel-2.6.36-gentoo-r5 after these
> hal purge exercises began.....

I don't think HAL is your problem. Your kernel cannot find the microcode
for your graphics card. See above.

>> You need CONFIG_EXTRA_FIRMWARE, and provide the filenames of the
>> firmware you require (in the form of a space delimited string) to run
>> your graphics card.
>
> Here are the setting from .config, as they always have
> been: (I'd prefer not to use modsetting, unless provided
> a GOOD reason to use it?)
>
>
> CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
> # CONFIG_DEVTMPFS is not set
> CONFIG_STANDALONE=y
> CONFIG_PREVENT_FIRMWARE_BUILD=y
> CONFIG_FW_LOADER=y
> CONFIG_FIRMWARE_IN_KERNEL=y
> CONFIG_EXTRA_FIRMWARE=""

See CONFIG_EXTRA_FIRMWARE=""?

This needs to be where you place your filenames for your kernel
microcode required by your graphics card.

You should also have:

CONFIG_EXTRA_FIRMWARE_DIR=""

This should show the kernel the directory where your firmware is stored.
Mine is in /lib/firmware.

-- 
Regards,
Gregory.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: [drm] loading  RV710 Microcode fails
  2011-02-09  0:39     ` [gentoo-user] Re: [drm] loading RV710 Microcode fails Gregory Shearman
@ 2011-02-09  1:35       ` James
  2011-02-09  2:06         ` Nikos Chantziaras
  2011-02-09  2:05       ` [gentoo-user] " james
  1 sibling, 1 reply; 7+ messages in thread
From: James @ 2011-02-09  1:35 UTC (permalink / raw
  To: gentoo-user

Gregory Shearman <zekeyg <at> gmail.com> writes:


> I run an ATI HD5660 graphics card and use the open source Radeon driver
> found in the kernel. When I select this driver, there's a second option
> about allowing kernel modesetting by default. I've found that 3D
> graphics and even the Xserver doesn't run on the 2.6.36 kernel unless
> Kernel Modesetting is selected. This driver requires microcode to be
> installed (emerge radeon-ucode). Now, I don't run an initramfs and
> because kernel modesetting requires that the kernel handle the
> framebuffer it loads the graphics driver before it has accessed any of
> the system's hard drives. This means that for the kernel to find the
> microcode it must be included when the kernel is compiled.


OK, I went and did a bunch of reading..... I do not use initramfs.
I emerge'd radeon-ucode


> I can't help you further as I'm not sure what graphics card you run, nor
> whether or not you're using the proprietary driver nor have you provided
> the context for the error message provided in the subject.

card:
02:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD 4350]
I use ati-drivers-10.11


> See CONFIG_EXTRA_FIRMWARE=""?

now says: 
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y

and
CONFIG_EXTRA_FIRMWARE="/lib/firmware"

Then I copied all file with*710* matching from
/usr/src/linux/firmware/radeon/*710* to /lib/firemware

OK?


> This needs to be where you place your filenames for your kernel
> microcode required by your graphics card.
> 
> You should also have:
> 
> CONFIG_EXTRA_FIRMWARE_DIR=""
CONFIG_EXTRA_FIRMWARE_DIR="firmware"

? not sure on this

I then emerged radeon-ucode-20101122
(but I'm using ati-drivers) ????
After the emerge I get:

* Your kernel has radeon DRM built-in but not the IRQ microcode.
 * For kernel modesetting to work, please set in kernel config
 * CONFIG_FIRMWARE_IN_KERNEL=y
 * CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
 * CONFIG_EXTRA_FIRMWARE="radeon/CEDAR_me.bin radeon/CEDAR_pfp.bin
radeon/CEDAR_rlc.bin radeon/CYPRESS_me.bin radeon/CYPRESS_pfp.bin
radeon/CYPRESS_rlc.bin radeon/JUNIPER_me.bin radeon/JUNIPER_pfp.bin
radeon/JUNIPER_rlc.bin radeon/R600_rlc.bin radeon/R700_rlc.bin
radeon/PALM_me.bin radeon/PALM_pfp.bin radeon/REDWOOD_me.bin
radeon/REDWOOD_pfp.bin radeon/REDWOOD_rlc.bin radeon/SUMO_rlc.bin"
 * You may skip microcode files for which no hardware is installed.

Those look to complete with the ati-driver driver?

> This should show the kernel the directory where your firmware is stored.
> Mine is in /lib/firmware.


YEP, I'm sure as hell confused now.....

I know I need kms with ati-drives, but all of the web pages
just seem to confuse me. Maybe 5-15 steps on kms with ati-drivers
is what I need?


What I find seems to confuse me more that help.....



James









^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: [drm] loading  RV710 Microcode fails
  2011-02-09  0:39     ` [gentoo-user] Re: [drm] loading RV710 Microcode fails Gregory Shearman
  2011-02-09  1:35       ` James
@ 2011-02-09  2:05       ` james
  1 sibling, 0 replies; 7+ messages in thread
From: james @ 2011-02-09  2:05 UTC (permalink / raw
  To: gentoo-user

Gregory Shearman <zekeyg <at> gmail.com> writes:


> CONFIG_EXTRA_FIRMWARE_DIR=""

> This should show the kernel the directory where your firmware is stored.
> Mine is in /lib/firmware.

Now I have ls /lib/firmware/

RV710_me.bin        RV710_me.bin.ihex    RV710_pfp.bin.gen.o
RV710_me.bin.gen.S  RV710_pfp.bin        RV710_pfp.bin.ihex
RV710_me.bin.gen.o  RV710_pfp.bin.gen.S  radeon


ls /lib/firmware/radeon/


CEDAR_me.bin    CYPRESS_pfp.bin  JUNIPER_rlc.bin  R700_rlc.bin     SUMO_rlc.bin
CEDAR_pfp.bin   CYPRESS_rlc.bin  PALM_me.bin      REDWOOD_me.bin
CEDAR_rlc.bin   JUNIPER_me.bin   PALM_pfp.bin     REDWOOD_pfp.bin
CYPRESS_me.bin  JUNIPER_pfp.bin  R600_rlc.bin     REDWOOD_rlc.bin


Before I emerge radeon-ucode, I tried it with just the lib/firmware
files. I think I need to select one file name out of that dir
for the parameter CONFIG_EXTRA_FIRMWARE=""?


but which one?

Since I use ati-drivers, I should unmerge radeon-ucode ?


James







^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: [drm] loading  RV710 Microcode fails
  2011-02-09  1:35       ` James
@ 2011-02-09  2:06         ` Nikos Chantziaras
  2011-02-09 12:02           ` [gentoo-user] FIXED:Re: " James
  0 siblings, 1 reply; 7+ messages in thread
From: Nikos Chantziaras @ 2011-02-09  2:06 UTC (permalink / raw
  To: gentoo-user

On 02/09/2011 03:35 AM, James wrote:
> Gregory Shearman<zekeyg<at>  gmail.com>  writes:
>
>
>> I run an ATI HD5660 graphics card and use the open source Radeon driver
>> found in the kernel. When I select this driver, there's a second option
>> about allowing kernel modesetting by default. I've found that 3D
>> graphics and even the Xserver doesn't run on the 2.6.36 kernel unless
>> Kernel Modesetting is selected. This driver requires microcode to be
>> installed (emerge radeon-ucode). Now, I don't run an initramfs and
>> because kernel modesetting requires that the kernel handle the
>> framebuffer it loads the graphics driver before it has accessed any of
>> the system's hard drives. This means that for the kernel to find the
>> microcode it must be included when the kernel is compiled.
>
>
> OK, I went and did a bunch of reading..... I do not use initramfs.
> I emerge'd radeon-ucode
>
>
>> I can't help you further as I'm not sure what graphics card you run, nor
>> whether or not you're using the proprietary driver nor have you provided
>> the context for the error message provided in the subject.
>
> card:
> 02:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD 4350]
> I use ati-drivers-10.11

All the instructions you received assume that you were using 
xf86-video-ati, *not* ati-drivers (also known as "AMD Catalyst for 
Linux", AMD's proprietary binary driver for Radeon cards).

Do *not* install any firmware files and make sure you disable the radeon 
driver completely in the kernel.  Not only KMS, but no driver *at all*.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] FIXED:Re: [drm] loading  RV710 Microcode fails
  2011-02-09  2:06         ` Nikos Chantziaras
@ 2011-02-09 12:02           ` James
  2011-02-09 12:18             ` [gentoo-user] " James
  0 siblings, 1 reply; 7+ messages in thread
From: James @ 2011-02-09 12:02 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras <realnc <at> arcor.de> writes:


> > I use ati-drivers-10.11

> All the instructions you received assume that you were using 
> xf86-video-ati, *not* ati-drivers (also known as "AMD Catalyst for 
> Linux", AMD's proprietary binary driver for Radeon cards).

> Do *not* install any firmware files and make sure you disable the radeon 
> driver completely in the kernel.  Not only KMS, but no driver *at all*.

Lesson well learned.....

ati-drivers working fine now.

<snip>

# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
# CONFIG_DEVTMPFS is not set
# CONFIG_STANDALONE is not set
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
CONFIG_FW_LOADER=y
# CONFIG_FIRMWARE_IN_KERNEL is not set
CONFIG_EXTRA_FIRMWARE=""
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
# CONFIG_PARPORT is not set
CONFIG_PNP=y
CONFIG_PNP_DEBUG_MESSAGES=y


Look correct?

thx,

James






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: FIXED:Re: [drm] loading  RV710 Microcode fails
  2011-02-09 12:02           ` [gentoo-user] FIXED:Re: " James
@ 2011-02-09 12:18             ` James
  0 siblings, 0 replies; 7+ messages in thread
From: James @ 2011-02-09 12:18 UTC (permalink / raw
  To: gentoo-user

James <wireless <at> tampabay.rr.com> writes:


> > Do *not* install any firmware files and make sure you disable the radeon 
> > driver completely in the kernel.  Not only KMS, but no driver *at all*.


oops, I forgot to post the graphics section, for review:

# Graphics support
#
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
# CONFIG_VGA_SWITCHEROO is not set
# CONFIG_DRM is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
# CONFIG_FB is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=256
CONFIG_DUMMY_CONSOLE=y


Any other suggestions?

Ati-drivers is working again.

James




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-02-09 13:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <gk3ii-3zC-7@gated-at.bofh.it>
     [not found] ` <gk3ii-3zC-5@gated-at.bofh.it>
     [not found]   ` <gk4xJ-5Dy-31@gated-at.bofh.it>
2011-02-09  0:39     ` [gentoo-user] Re: [drm] loading RV710 Microcode fails Gregory Shearman
2011-02-09  1:35       ` James
2011-02-09  2:06         ` Nikos Chantziaras
2011-02-09 12:02           ` [gentoo-user] FIXED:Re: " James
2011-02-09 12:18             ` [gentoo-user] " James
2011-02-09  2:05       ` [gentoo-user] " james
     [not found] <gk1qb-m1-37@gated-at.bofh.it>
2011-02-08 21:21 ` [gentoo-user] " Gregory Shearman
2011-02-08 22:41   ` [gentoo-user] " James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox