View Full Version : radeonhd driver
danielpugh
09-21-2007, 11:27 AM
Hi there,
i have been trying the radeonhd driver, but get stuck. It used to say my card was EXPERIMENTAL and not work. That message has gone away, but is replaced by the error below.
do you know who to send the Xorg.0.log to?
--edit--
is it here:radeonhd@opensuse.org
--edit--
thanks,
Dan
(WW) RADEONHD(0): Unknown card detected: 0x7149:0x17AA:0x2005.
Your card might not work or might not work optimally.
To rectify this, please contact MAILINGLIST.
Include your X log and the full name of the device.
koolmanoncampus
09-21-2007, 05:15 PM
Hi,
That error is saying your card is not supported by the driver(yet). Each card has a different mapping of outputs and have to be explicitly stated in the driver.
To help developers complete this task, there is a utility called conntest.
In the source tree (utils/conntest) is a utility. Read the readme and follow the instructions there.
(yes the mailing list is as you entered it)
Brian
danielpugh
09-22-2007, 11:02 AM
will do,
thanks
danielpugh
09-22-2007, 11:09 AM
make failes:
[root@dan-laptop conntest]# make
gcc -Wall -o rhd_conntest rhd_conntest.c -lpci -lz
rhd_conntest.c:37:21: error: pci/pci.h: No such file or directory
rhd_conntest.c: In function ‘device_locate’:
...
pci.h pci/pci.h seems to be available:
[root@dan-laptop conntest]# locate pci.h
/usr/include/linux/pci.h
/usr/include/sys/pci.h
/usr/lib/syslinux/com32/include/sys/pci.h
tried copying pci.h to local directory - im sure its just a case of specifying library location, but nothing in the README..
thoemy
09-22-2007, 01:51 PM
If you are using Debian or some derived distribution installing pciutils-dev should solve the problem. I don't know about other distributions.
danielpugh
09-23-2007, 12:06 PM
thanks for response,
its pciutils-devel on fedora8 (rawhide) as well, but thats already installed. below are the complete compile errors in case its something else...
[root@dan-laptop conntest]# make
gcc -Wall -o rhd_conntest rhd_conntest.c -lpci -lz
rhd_conntest.c:37:21: error: pci/pci.h: No such file or directory
rhd_conntest.c: In function ‘device_locate’:
rhd_conntest.c:258: error: dereferencing pointer to incomplete type
rhd_conntest.c:259: error: dereferencing pointer to incomplete type
rhd_conntest.c:259: error: dereferencing pointer to incomplete type
rhd_conntest.c:260: error: dereferencing pointer to incomplete type
rhd_conntest.c: In function ‘device_match’:
rhd_conntest.c:274: error: dereferencing pointer to incomplete type
rhd_conntest.c:275: error: dereferencing pointer to incomplete type
rhd_conntest.c: In function ‘map_bar’:
rhd_conntest.c:289: error: dereferencing pointer to incomplete type
rhd_conntest.c:289: error: dereferencing pointer to incomplete type
rhd_conntest.c:292: error: dereferencing pointer to incomplete type
rhd_conntest.c:293: error: dereferencing pointer to incomplete type
rhd_conntest.c: In function ‘main’:
rhd_conntest.c:884: warning: implicit declaration of function ‘pci_alloc’
rhd_conntest.c:884: warning: assignment makes pointer from integer without a cast
rhd_conntest.c:885: warning: implicit declaration of function ‘pci_init’
rhd_conntest.c:886: warning: implicit declaration of function ‘pci_scan_bus’
rhd_conntest.c:911: error: dereferencing pointer to incomplete type
rhd_conntest.c:921: error: dereferencing pointer to incomplete type
rhd_conntest.c:921: error: dereferencing pointer to incomplete type
rhd_conntest.c:931: error: dereferencing pointer to incomplete type
rhd_conntest.c:931: warning: implicit declaration of function ‘pci_read_word’
rhd_conntest.c:931: error: ‘PCI_SUBSYSTEM_VENDOR_ID’ undeclared (first use in this function)
rhd_conntest.c:931: error: (Each undeclared identifier is reported only once
rhd_conntest.c:931: error: for each function it appears in.)
rhd_conntest.c:932: error: ‘PCI_SUBSYSTEM_ID’ undeclared (first use in this function)
rhd_conntest.c:933: error: dereferencing pointer to incomplete type
rhd_conntest.c:933: error: dereferencing pointer to incomplete type
rhd_conntest.c:933: error: dereferencing pointer to incomplete type
make: *** [rhd_conntest] Error 1
[root@dan-laptop conntest]#
thoemy
09-23-2007, 12:20 PM
$ dpkg -L pciutils-dev
/.
/usr
/usr/include
/usr/include/pci
/usr/include/pci/pci.h
/usr/include/pci/header.h
/usr/include/pci/config.h
/usr/include/pci/types.h
/usr/lib
/usr/lib/libpci.a
/usr/share
/usr/share/doc
/usr/share/doc/pciutils-dev
your locate doesn't show the file, are you sure it's correctly installed?
danielpugh
09-23-2007, 12:55 PM
[root@dan-laptop conntest]# locate pci.h
/usr/include/linux/pci.h
/usr/include/sys/pci.h
adjusted compile comand to:
gcc -Wall -o rhd_conntest rhd_conntest.c -lpci -lz -I/usr/include/sys/
it now finds it, but compile still fails.
ill attach logs
danielpugh
09-23-2007, 12:58 PM
[root@dan-laptop conntest]# make
gcc -Wall -o rhd_conntest rhd_conntest.c -lpci -lz -I/usr/include/sys/
In file included from /usr/include/sys/fcntl.h:1,
from /usr/include/sys/fcntl.h:1,
from /usr/include/sys/fcntl.h:1,
--repeated many times--
from /usr/include/sys/fcntl.h:1,
from rhd_conntest.c:33:
/usr/include/sys/fcntl.h:1:19: error: #include nested too deeply
In file included from /usr/include/sys/errno.h:1,
from /usr/include/sys/errno.h:1,
--repeated many times--
from /usr/include/sys/errno.h:1,
from rhd_conntest.c:34:
/usr/include/sys/errno.h:1:19: error: #include nested too deeply
rhd_conntest.c:37:21: error: pci/pci.h: No such file or directory
In file included from /usr/include/sys/unistd.h:1,
from /usr/include/sys/unistd.h:1,
--repeated many times--
from /usr/include/sys/unistd.h:1,
from rhd_conntest.c:38:
/usr/include/sys/unistd.h:1:20: error: #include nested too deeply
rhd_conntest.c: In function ‘device_locate’:
rhd_conntest.c:258: error: dereferencing pointer to incomplete type
rhd_conntest.c:259: error: dereferencing pointer to incomplete type
rhd_conntest.c:259: error: dereferencing pointer to incomplete type
rhd_conntest.c:260: error: dereferencing pointer to incomplete type
rhd_conntest.c: In function ‘device_match’:
rhd_conntest.c:274: error: dereferencing pointer to incomplete type
rhd_conntest.c:275: error: dereferencing pointer to incomplete type
rhd_conntest.c: In function ‘map_bar’:
rhd_conntest.c:289: error: dereferencing pointer to incomplete type
rhd_conntest.c:289: error: dereferencing pointer to incomplete type
rhd_conntest.c:292: error: dereferencing pointer to incomplete type
rhd_conntest.c:293: error: dereferencing pointer to incomplete type
rhd_conntest.c: In function ‘DACALoadDetect’:
rhd_conntest.c:383: warning: implicit declaration of function ‘usleep’
rhd_conntest.c: In function ‘main’:
rhd_conntest.c:884: warning: implicit declaration of function ‘pci_alloc’
rhd_conntest.c:884: warning: assignment makes pointer from integer without a cast
rhd_conntest.c:885: warning: implicit declaration of function ‘pci_init’
rhd_conntest.c:886: warning: implicit declaration of function ‘pci_scan_bus’
rhd_conntest.c:911: error: dereferencing pointer to incomplete type
rhd_conntest.c:921: error: dereferencing pointer to incomplete type
rhd_conntest.c:921: error: dereferencing pointer to incomplete type
rhd_conntest.c:931: error: dereferencing pointer to incomplete type
rhd_conntest.c:931: warning: implicit declaration of function ‘pci_read_word’
rhd_conntest.c:931: error: ‘PCI_SUBSYSTEM_VENDOR_ID’ undeclared (first use in this function)
rhd_conntest.c:931: error: (Each undeclared identifier is reported only once
rhd_conntest.c:931: error: for each function it appears in.)
rhd_conntest.c:932: error: ‘PCI_SUBSYSTEM_ID’ undeclared (first use in this function)
rhd_conntest.c:933: error: dereferencing pointer to incomplete type
rhd_conntest.c:933: error: dereferencing pointer to incomplete type
rhd_conntest.c:933: error: dereferencing pointer to incomplete type
rhd_conntest.c:936: warning: implicit declaration of function ‘open’
rhd_conntest.c:936: error: ‘O_RDWR’ undeclared (first use in this function)
rhd_conntest.c:938: error: ‘errno’ undeclared (first use in this function)
make: *** [rhd_conntest] Error 1
thoemy
09-23-2007, 03:26 PM
I think you shouldn't add -I/usr/include/sys/ because it will break things. If you take a look at the file in /usr/include/sys/errno.h you will notice that it will include errno.h, which should then be /usr/include/errno.h. But because you added -I/usr/include/sys/ it will find /usr/include/sys/errno.h first and end up in an infinite loop.
And make seems to find a pci.h but not the right one. Did you change the source code? And remove the pci.h file in your local directory.
danielpugh
09-29-2007, 09:13 AM
latest git and success - im using radeonhd driver as i write this.
still no luck with conntest though. i've not made any changes to source - no pci.h in the local directory.
[root@dan-laptop conntest]# ls
Makefile README rhd_conntest.c
thoemy
09-29-2007, 09:17 AM
You probably wont need to run conntest anymore because you card is now supported. So don't worry :)
danielpugh
09-29-2007, 05:35 PM
great, glad to be out of fglrx and vesa territory.
lenovo t60 x1300 in case anyone else in the same situation.
Looking forward to aiglx in the future.
thanks again for your help.
thoemy
09-30-2007, 08:51 AM
You're welcome!
I'm looking forward to AIGLX in 8.42 ;)
sundown
09-30-2007, 12:10 PM
I installed it. It's good to know that you have an alternative.
It's working on my mobility x1600 on the 2nd display through the VGA with a 1440x900 in the Xorg but my monitor information says it's running on 1152x900 H53KHz, V57Hz.
At this stage the screen flickers oddly and also the fonts are blurred (maybe coz of the bad refresh rate):)
(haven't tested on a single display yet)
sundown
10-07-2007, 10:30 AM
I was updating the driver today with the usual commands described in the Phoronix article on how to install the driver on Ubuntu. So I deleted the already existing folder (created when I ran the commands the first time) and ran the commands again. Hit ctrl+alt+backspace but X didn't wanna start after that. :(
Any idea if I did something wrong?
thoemy
10-07-2007, 11:07 AM
Any idea if I did something wrong?
Posting your Xorg log and xorg.conf would help me helping you :)
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.