FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-20-2010, 07:16 AM
Andrey Vul
 
Default radeonhd not working

To eliminate bugs, I'm using this as xorg.conf.new:
Section "ServerLayout"
Identifier "X.org Configured"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath ...
# ...
FontPath ...
EndSection
Section "Module"
Load "dbe"
Load "dri"
Load "dri2"
Load "extmod"
Load "glx"
Load "record"
EndSection
Section "Device"
Identifier "Radeon HD 4200"
Driver "radeonhd"
EndSection
#end of xorg.conf.new

I get the following error lines in the console:
FATAL: Module radeon not found.
(EE) RADEONHD(0): RHDDRIVersionCheck: drmOpen("radeon",
"pci:0000:05:05.0") failed.

[ 1256.744546] uvesafb: mode switch failed (eax=0x34f, err=0). Trying
again with default timings.

Radeon DRI is compiled into the kernel.
What do I do now?

(It's been quite a long while since I've installed X. My knowledge has
all but vanished.)

--
Andrey Vul
msn, home: andrey dot vul at gmail dot com
u of t: andrey dot vul at utoronto dot ca
 
Old 02-20-2010, 07:43 AM
Adam
 
Default radeonhd not working

> I get the following error lines in the console:
> FATAL: Module radeon not found.
> (EE) RADEONHD(0): RHDDRIVersionCheck: drmOpen("radeon",
> "pci:0000:05:05.0") failed.
>
> [ 1256.744546] uvesafb: mode switch failed (eax=0x34f, err=0). Trying
> again with default timings.
>
> Radeon DRI is compiled into the kernel.
> What do I do now?

Probably emerge xf86-video-radeonhd?
 
Old 02-20-2010, 04:10 PM
Andrey Vul
 
Default radeonhd not working

On Sat, Feb 20, 2010 at 03:43, Adam <adam@jaftan.com.au> wrote:
>> I get the following error lines in the console:
>> FATAL: Module radeon not found.
>> (EE) RADEONHD(0): RHDDRIVersionCheck: drmOpen("radeon",
>> "pci:0000:05:05.0") failed.
>>
>> [ 1256.744546] uvesafb: mode switch failed (eax=0x34f, err=0). Trying
>> again with default timings.
>>
>> Radeon DRI is compiled into the kernel.
>> What do I do now?
>
> Probably emerge xf86-video-radeonhd?
>

It was emerged with no errors.

Build.log:
Script started on Sat Feb 20 09:42:53 2010
robot9000 ~ # emerge --color n -1 xf86-video-radeonhd
Calculating dependencies ... done!

>>> Verifying ebuild manifests


>>> Emerging (1 of 1) x11-drivers/xf86-video-radeonhd-1.3.0

* xf86-video-radeonhd-1.3.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

[ ok ]
* checking ebuild checksums ;-) ...

[ ok ]
* checking auxfile checksums ;-) ...

[ ok ]
* checking miscfile checksums ;-) ...

[ ok ]
* CPV: x11-drivers/xf86-video-radeonhd-1.3.0
* REPO: gentoo
* USE: elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking xf86-video-radeonhd-1.3.0.tar.bz2 to /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/work
* Running elibtoolize in: xf86-video-radeonhd-1.3.0
* Applying portage-2.2.patch ...
* Applying sed-1.5.6.patch ...
* Applying as-needed-2.2.6.patch ...
>>> Source unpacked in /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/work
>>> Compiling source in /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/work/xf86-video-radeonhd-1.3.0 ...
* econf: updating xf86-video-radeonhd-1.3.0/config.guess with
/usr/share/gnuconfig/config.guess
* econf: updating xf86-video-radeonhd-1.3.0/config.sub with
/usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --prefix=/usr --datadir=/usr/share
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking whether /bin/sed can substitute tabs and newlines for text... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from
i686-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XV is defined... yes
checking if DPMSExtension is defined... yes
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... yes
checking for XEXT... yes
checking for ANSI C header files... (cached) yes
checking for PCIUTILS... yes
checking pci/pci.h usability... yes
checking pci/pci.h presence... yes
checking for pci/pci.h... yes
checking whether XSERVER_LIBPCIACCESS is declared... yes
checking for PCIACCESS... yes
checking whether to enable EXA support... yes
checking exa.h usability... yes
checking exa.h presence... yes
checking for exa.h... yes
checking whether EXA version is at least 2.0.0... yes
checking for xf86RandR12.h... yes
checking whether to enable RandR1.2 support... yes
checking whether XF86DRI is declared... yes
checking for DRI... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking whether to enable DRI support... yes
checking for /usr/include/xorg/damage.h... yes
checking /usr/include/xorg/xf86_ansic.h usability... no
checking /usr/include/xorg/xf86_ansic.h presence... no
checking for /usr/include/xorg/xf86_ansic.h... no
checking for MonRec.reducedblanking... yes
checking for MonRec.maxPixClock... yes
checking for xf86CrtcFuncsRec.set_mode_major... yes
checking whether xf86RotateFreeShadow is declared... yes
checking whether pci_device_enable is declared... yes
checking for ./src/AtomBios/includes/atombios.h... yes
checking for ./src/AtomBios/includes/Decoder.h... yes
checking whether to include AtomBIOS... yes
checking whether to include AtomBIOS parser... yes
checking for gzopen in -lz... yes
checking whether i686-pc-linux-gnu-gcc supports -Wall... yes
checking whether i686-pc-linux-gnu-gcc supports -Wextra... yes
checking whether i686-pc-linux-gnu-gcc supports -Wno-unused-parameter... yes
checking whether i686-pc-linux-gnu-gcc supports
-Werror-implicit-function-declaration... yes
checking whether i686-pc-linux-gnu-gcc supports -Wstrict-aliasing... yes
checking whether i686-pc-linux-gnu-gcc supports -Wstrict-overflow... yes
checking whether i686-pc-linux-gnu-gcc supports -Wpointer-arith... yes
checking whether i686-pc-linux-gnu-gcc supports -Woverlength-strings... yes
checking whether i686-pc-linux-gnu-gcc supports -Wvolatile-register-var... yes
checking whether i686-pc-linux-gnu-gcc supports -Winit-self... yes
checking whether i686-pc-linux-gnu-gcc supports -Wbad-function-cast... yes
checking whether i686-pc-linux-gnu-gcc supports -Wstrict-prototypes... yes
checking whether i686-pc-linux-gnu-gcc supports -Wold-style-definition... yes
checking whether i686-pc-linux-gnu-gcc supports -Wnested-externs... yes
checking whether i686-pc-linux-gnu-gcc supports -Wdisabled-optimization... yes
checking whether i686-pc-linux-gnu-gcc supports -Wno-unknown-pragmas... yes
checking whether i686-pc-linux-gnu-gcc supports -Wno-long-long... yes
checking whether i686-pc-linux-gnu-gcc supports -Wno-variadic-macros... yes
checking whether i686-pc-linux-gnu-gcc supports -Wno-unknown-pragmas... yes
configure: Doing optimized build, checking for additional options
checking whether i686-pc-linux-gnu-gcc supports -finline-functions... yes
checking for sed... /bin/sed
configure: creating ./config.status
config.status: creating shave
config.status: creating shave-libtool
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating utils/conntest/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make -j3
Making all in src
git_version.sh: Not a git repo, keeping existing git_version.h
CC r5xx_xaa.o
CC r600_shader.o
CC r5xx_accel.o
CC radeon_3d.o
CC rhd_atombios.o
CC radeon_textured_videofuncs.o
CC rhd_atomcrtc.o
CC rhd_atomout.o
CC rhd_atompll.o
CC rhd_audio.o
CC rhd_biosscratch.o
CC rhd_connector.o
CC rhd_crtc.o
CC rhd_cs.o
CC rhd_cursor.o
CC rhd_dac.o
CC rhd_ddia.o
CC rhd_dig.o
CC rhd_driver.o
rhd_driver.c: In function 'rhdGetCardType':
rhd_driver.c:3068: warning: passing argument 2 of
'pci_device_cfg_read_u32' from incompatible pointer type
/usr/include/pciaccess.h:153: note: expected 'uint32_t *' but argument
is of type 'CARD32 *'
rhd_driver.c:3076: warning: passing argument 2 of
'pci_device_cfg_read_u32' from incompatible pointer type
/usr/include/pciaccess.h:153: note: expected 'uint32_t *' but argument
is of type 'CARD32 *'
rhd_driver.c:3084: warning: passing argument 2 of
'pci_device_cfg_read_u32' from incompatible pointer type
/usr/include/pciaccess.h:153: note: expected 'uint32_t *' but argument
is of type 'CARD32 *'
CC rhd_edid.o
CC rhd_hdmi.o
CC rhd_helper.o
CC rhd_i2c.o
CC rhd_id.o
CC rhd_lut.o
CC rhd_lvtma.o
CC rhd_mc.o
CC rhd_monitor.o
CC rhd_modes.o
CC rhd_output.o
CC rhd_pm.o
CC rhd_pll.o
CC rhd_randr.o
CC rhd_shadow.o
CC rhd_tmds.o
CC rhd_video.o
CC rhd_vga.o
CC r5xx_exa.o
CC rhd_acpi.o
CC rhd_dri.o
CC radeon_exa_render.o
CC r6xx_accel.o
CC r600_exa.o
CC r600_textured_videofuncs.o
CC CD_Operations.o
CC rhd_atomwrapper.o
CC hwserv_drv.o
CC Decoder.o
AtomBios/Decoder.c: In function 'ParseTable':
AtomBios/Decoder.c:139: warning: cast from pointer to integer of different size
LINK libatom.la
LINK radeonhd_drv.la
Making all in man
Making all in utils/conntest
git_version.sh: Not a git repo, keeping existing git_version.h
CC rhd_conntest.o
CC rhd_dump.o
LINK rhd_dump
LINK rhd_conntest
>>> Source compiled.
>>> Test phase [not enabled]: x11-drivers/xf86-video-radeonhd-1.3.0

>>> Install xf86-video-radeonhd-1.3.0 into /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/image/ category x11-drivers
Making install in src
git_version.sh: Not a git repo, keeping existing git_version.h
/bin/sh /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/work/xf86-video-radeonhd-1.3.0/./shave-libtool
'/bin/sh ../libtool' --mode=install /usr/bin/install -c
'radeonhd_drv.la'
'/var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/image//usr/lib/xorg/modules/drivers/radeonhd_drv.la'

libtool: install: warning: remember to run `libtool --finish
/usr/lib/xorg/modules/drivers'
Making install in man
/usr/bin/install -c -m 644 'radeonhd.4'
'/var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/image//usr/share/man/man4/radeonhd.4'
Making install in utils/conntest
git_version.sh: Not a git repo, keeping existing git_version.h
>>> Completed installing xf86-video-radeonhd-1.3.0 into /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/image/

strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
usr/bin/rhd_conntest
usr/bin/rhd_dump
usr/lib/xorg/modules/drivers/radeonhd_drv.so
ecompressdir: bzip2 -9 /usr/share/man

>>> Installing (1 of 1) x11-drivers/xf86-video-radeonhd-1.3.0

* You will need dri from either a 2.6.30 kernel or x11-drm via git.
* See http://wiki.x.org/wiki/radeonhd for details

* Messages for package x11-drivers/xf86-video-radeonhd-1.3.0:

* You will need dri from either a 2.6.30 kernel or x11-drm via git.
* See http://wiki.x.org/wiki/radeonhd for details
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

* GNU info directory index is up-to-date.
robot9000 ~ #exit
exit

Script done on Sat Feb 20 09:43:50 2010


Running rhd_conntest on the PCI ID of the graphics chip (01:05.00)
gives this error: Unknown device 0x1002:0x9710 (01:05.00).
 
Old 02-20-2010, 05:24 PM
Andrey Vul
 
Default radeonhd not working

I've set Radeon DRI from module to built-in and now this is the result:
(EE) RADEONHD(0): [dri] CP_INIT failed
(EE) RADEONHD(0): RHDDRIFinishScreenInit: RHDDRIKernelInit Failed.

I'm using 2.6.31.12 with -rt and -tuxonice patchsets.
 
Old 02-20-2010, 09:52 PM
pk
 
Default radeonhd not working

Andrey Vul wrote:
> I've set Radeon DRI from module to built-in and now this is the result:
> (EE) RADEONHD(0): [dri] CP_INIT failed
> (EE) RADEONHD(0): RHDDRIFinishScreenInit: RHDDRIKernelInit Failed.
>
> I'm using 2.6.31.12 with -rt and -tuxonice patchsets.

Maybe stupid questions but is the firmware installed and is it located
in a place where the kernel can find it? I've seen a few mails on Xorgs
list about this and it's usually remedied by installing the firmware (IIRC).

Best regards

Peter K
 
Old 02-20-2010, 10:03 PM
Andrey Vul
 
Default radeonhd not working

On Sat, Feb 20, 2010 at 17:52, pk <peterk2@coolmail.se> wrote:
> Andrey Vul wrote:
>> I've set Radeon DRI from module to built-in and now this is the result:
>> (EE) RADEONHD(0): [dri] CP_INIT failed
>> (EE) RADEONHD(0): RHDDRIFinishScreenInit: RHDDRIKernelInit Failed.
>>
>> I'm using 2.6.31.12 with -rt and -tuxonice patchsets.
>
> Maybe stupid questions but is the firmware installed and is it located
> in a place where the kernel can find it? I've seen a few mails on Xorgs
> list about this and it's usually remedied by installing the firmware (IIRC).

I.e. emerge x11-drivers/radeon-ucode ?

Also, the messages during emerge of radeon-ucode helped solve the KMS
printk() messages.

The real question here is why isn't radeon-ucode a dependency of
xf86-video-radeonhd ?
 
Old 02-20-2010, 11:10 PM
Andrey Vul
 
Default radeonhd not working

Firmware installed, I still get this:

>> (EE) RADEONHD(0): [dri] CP_INIT failed
>> (EE) RADEONHD(0): RHDDRIFinishScreenInit: RHDDRIKernelInit Failed.
 
Old 02-20-2010, 11:35 PM
pk
 
Default radeonhd not working

Andrey Vul wrote:

> The real question here is why isn't radeon-ucode a dependency of
> xf86-video-radeonhd ?

Well, the radeon-ucode is only for r6xx/7xx chips so pulling it in for
r5xx would be pointless... I just noticed that you have a radeon hd4200
which is a RS880 chip. Not sure if this is supported yet. Does
acceleration (2D/3D) work for you?

Best regards

Peter K
 
Old 02-21-2010, 12:04 AM
Andrey Vul
 
Default radeonhd not working

On Sat, Feb 20, 2010 at 19:35, pk <peterk2@coolmail.se> wrote:
> Andrey Vul wrote:
>
>> The real question here is why isn't radeon-ucode a dependency of
>> xf86-video-radeonhd ?
>
> Well, the radeon-ucode is only for r6xx/7xx chips so pulling it in for
> r5xx would be pointless... I just noticed that you have a radeon hd4200
> which is a RS880 chip. Not sure if this is supported yet. Does
> acceleration (2D/3D) work for you?

According to git, all the r7xx except for rs880 are on the
working/testing list. Which sucks, tbh: why did I bother to get
integrated when I could've gotten a better motherboard (with 1394
support) and a $50 graphics card?

What's the point of getting acceleration to work if the kernel can't
modeset correctly? Is it worth compiling radeon_drm + r700 fw into the
kernel?
 
Old 02-21-2010, 01:38 AM
Andrey Vul
 
Default radeonhd not working

And from my experiences, fglrx is far less tolerant of fancy kernel
patches than the nvidia blobs.
 

Thread Tools




All times are GMT. The time now is 07:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org