Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI Catalyst 10.5 + Xserver 1.8.1 :)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
dalu
Guru
Guru


Joined: 20 Jan 2003
Posts: 530

PostPosted: Wed Apr 14, 2010 11:15 pm    Post subject: Reply with quote

Captain Sifff wrote:
May I ask which motherboard chipsets you are using? phoen1x and I are using nForce4 chipsets. And a lot of the posts from people who had at least some kind of working system, had Intel systems... :?


if you meant me, Intel P35X
http://www.gigabyte.com.tw/Products/Motherboard/Products_Overview.aspx?ClassValue=Motherboard&ProductID=2743&ProductName=GA-EP35-DS3R
Back to top
View user's profile Send private message
Captain Sifff
n00b
n00b


Joined: 12 Apr 2010
Posts: 14

PostPosted: Fri Apr 16, 2010 9:45 am    Post subject: Reply with quote

Nice board! for another Computer I bought one too. Seems like I will have to install Ubuntu to get the attention of the AMD developers...
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Sat Apr 17, 2010 5:21 am    Post subject: Reply with quote

Works well with xorg-server 1.7.6 but not with 1.8.0. Some sort of version mismatch.

Thanks for the ebuild!
Back to top
View user's profile Send private message
dalu
Guru
Guru


Joined: 20 Jan 2003
Posts: 530

PostPosted: Sun Apr 18, 2010 5:28 pm    Post subject: Reply with quote

Captain Sifff wrote:
Nice board! for another Computer I bought one too. Seems like I will have to install Ubuntu to get the attention of the AMD developers...

just be careful on this board with ubuntu. it will destroy your ICH9 raid setup if you have any. i don't know why it does this, but if you power off your computer (unplug power cable or switch PSU from 1 to 0) the raid is restored. only distribution where this is happening is ubuntu.

devsk wrote:
Works well with xorg-server 1.7.6 but not with 1.8.0. Some sort of version mismatch.

Thanks for the ebuild!

iirc it only supports xorg-x11 1.7.x
Back to top
View user's profile Send private message
DestroyFX
n00b
n00b


Joined: 05 Dec 2005
Posts: 44

PostPosted: Mon Apr 19, 2010 5:47 am    Post subject: Reply with quote

Sorry for my lack of post, I was "busy"

So I have a working xserver 1.8 with these drivers and I have added the patch in my overlay. The trick was simply to fake the Xserver version to 1.7.5.1 :twisted:

To get Catalyst 10.4 working on Xserver 1.8, you need to update the Gentoo-quebec overlay. After that, you can emerge xserver 1.8 (the xorg-server-1.8-r1 ebuild from my overlay)

NOTE : You need to add "x11-base/xorg-server ** **" in "/etc/portage/package.keywords". Simple security again not wanted installation...

Also, I want to say that I dont use compiz or thing like that so I can't test it. But I use a dual screen setup.
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1305
Location: sweden

PostPosted: Mon Apr 19, 2010 7:45 pm    Post subject: Reply with quote

thanks à LOT

Got it work without keyboard and mouse. i am using hal and udev.
is there à way to fix it without killing hal.if i do that i am killing My
sound card.step one fixed one step to go :lol:


Last edited by hedmo on Mon Apr 19, 2010 9:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
snilsson
n00b
n00b


Joined: 03 Apr 2008
Posts: 43
Location: Kalmar

PostPosted: Mon Apr 19, 2010 8:54 pm    Post subject: Reply with quote

I just added the overlay but when trying to use it I run into the little issue
Code:
Calculating dependencies... done!

>>> Verifying ebuild manifests

!!! A file listed in the Manifest could not be found: /usr/local/portage/layman/gentoo-quebec/x11-drivers/ati-drivers/ati-drivers-10.2.ebuild


Guess that ebuild has been removed but the Manifest is not properly updated.

I removed that ebuild from the Manifest and then there was another ebuid missing, ati-drivers-2.6.33.1.patch. After cleaning also that it merged just fine. Now I'll see if the driver is also working as expected :)
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Sun Apr 25, 2010 8:39 pm    Post subject: Reply with quote

I also installed the ATI 10.4 rc driver set using the gentoo-quebec overlay, (version 8.721), on my Asus G73Jh, Radeon Mobility 5870 HD equipped laptop, and it works. I installed it using the 2.6.33-r1 gentoo kernel sources, (~amd64), and a patched 1.80 xorg-server installation, using the patch from this bug report. It all works fine with my KDE 4.4.2 desktop, active compositing is working, (although I need to re-enable it every time I login). Performance is definitely slower in comparison to a similarly equipped i7, nVidia GTX 280M, laptop, (nvidia-drivers-195.36.15), I was using, but I'm glad I'm off nVidia, and on ATI. I can wait for performance improvements, as well as the open source radeon driver to support this RV870 chipset. (The radeon driver, with 3d support, works well for my current Radeon Mobility 4670 HD, equipped laptop.)

I also tried the ebuild for installing the 8.723.1 driver from this Gentoo Bug report, which works, (once I remembered to "eselect opengl set ati", after the driver install). Interestingly enough, the masked portage 8.721 driver, along with this 8.723.1 driver both download driver archives called;
Code:
fglrx-installer_8.721.orig.tar.gz
fglrx-installer_8.723.1.orig.tar.gz

while the gentoo-quebec overlay 10.4 driver ebuild downloads a file called
Code:
fglrx-installer_8.721.tar.bz2


Good Luck..
Back to top
View user's profile Send private message
zrichmond
n00b
n00b


Joined: 26 Apr 2010
Posts: 2

PostPosted: Mon Apr 26, 2010 4:56 pm    Post subject: Reply with quote

jasn wrote:
I also installed the ATI 10.4 rc driver set using the gentoo-quebec overlay, (version 8.721), on my Asus G73Jh,
<snip...>
Good Luck..


I guess I need that good luck since I have a G73JH too but I can't get it to work. I've tried all of the same patches (I too noticed the 8.723.1 and even got the eselect bit) via local overlay as well as gentoo-quebec, but it is not working for me and I am sad.

What combination did you finally get to work?

Also, if you wouldn't mind attaching your configs (2.6.33-r1, xorg.conf, make.conf) that would be great!
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Mon Apr 26, 2010 5:02 pm    Post subject: Reply with quote

zrichmond wrote:
[snip]

Also, if you wouldn't mind attaching your configs (2.6.33-r1, xorg.conf, make.conf) that would be great!


just post them at [url]pastebin.com[/url] & set expiration to 1 Month or never

that helps to keep heavy load & "clutter" off the forums :idea:
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1305
Location: sweden

PostPosted: Mon Apr 26, 2010 6:09 pm    Post subject: Reply with quote

kernelOfTruth have you any idea for my mouse and keyboard error .just dont work with this.but if i switch to

VIDEO_CARDS="radeonhd"

it works (have you tryed it)
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Mon Apr 26, 2010 7:31 pm    Post subject: Reply with quote

hedmo wrote:
kernelOfTruth have you any idea for my mouse and keyboard error .just dont work with this.but if i switch to

VIDEO_CARDS="radeonhd"

it works (have you tryed it)


ok, that's strange :lol:


hedmo, you have several choices:

1 *) don't use the evdev driver and explicitly choose the keyboard & mouse driver (that way you also could disable hal but you need it for your sound), perhaps you simply need to re-emerge the xf86-input-* drivers ?

2 *) use evdev and make sure that hal works correctly (re-emerge the driver perhaps that fixes it)

3 *) you could also try to use hal + the non-evdev driver


why doesn't your sound work ? you added alsasound to your default run-level ?
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1305
Location: sweden

PostPosted: Mon Apr 26, 2010 9:20 pm    Post subject: Reply with quote

i have tryed

i am using 2 drivers for sound

for audio-video=hda "nvidia"

for audio-music=analog devices

if i USE="-hal" i get a kde mess... wen start that analog devices dont work no more and still no mouse and kbd
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Mon Apr 26, 2010 10:04 pm    Post subject: Reply with quote

zrichmond wrote:
What combination did you finally get to work?

You're probably closer than you think to getting it to work. Anyway here's the steps I followed in order to get the latest ATI 10.4 beta driver working with my G73Jh. I'm not sure how far you've got, but I can outline the basic process including kernel config, xorg.conf, and finally installing the ATI 10.4 beta driver, and optionally, xorg-server 1.8.0, (cause that's what I'm using).

2.6.33-r1 Gentoo Sources Kernel Config
-----------------------------------------------
Configuring the kernel for support of the fglrx driver was different from configuring it for the open source radeon driver, and very basic. I only configured AGP Support, and nothing else;
Code:
Device drivers --->
   Graphics support --->
   <M> /dev/agpgart (AGP Support)  --->
   < > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
   < > Lowlevel video output switch controls
   { } Support for frame buffer devices  --->
   [ ] Backlight & LCD device support  --->
       Display device support  --->
       Console display driver support  --->
   [ ] Bootup logo  --->

When my system boots, this is what lsmod displays in relationship to the video driver;
Code:
lsmod |grep fglrx
fglrx                2291067  36
agpgart                27241  1 fglrx

xorg.conf
-----------
The one place that I've had problems with this setup, has been with the xorg.conf. This is the basic one that I currently use.
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "LaptopLCD" 0 0
EndSection       

Section "Files"
        FontPath     "/usr/share/fonts/corefonts/"
        FontPath     "/usr/share/fonts/freefonts/"
        FontPath     "/usr/share/fonts/freefont-ttf"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection                         

Section "Module"
        Load  "glx"
        Load  "extmod"
        Load  "record"
        Load  "GLcore"
        Load  "dbe" 
        Load  "dri" 
        Load  "dri2"
EndSection       

Section "Monitor"
        Identifier   "LCD"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "ATI Mobility Radeon HD 5870"
        Driver      "fglrx"
        VendorName  "ATI Technologies Inc"
        BoardName   "Unknown Board"
        BusID       "PCI:1:0:0"                             
        Option      "DRI" "true"
        Option      "XAANoOffscreenPixmaps" "true"
EndSection

Section "Screen"
        Identifier "LaptopLCD"
        Device     "ATI Mobility Radeon HD 5870"
        Monitor    "LCD"                       
        DefaultDepth 24                       
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1920x1080"
        EndSubSection
EndSection

Section "dri"
        Mode 0666
EndSection

Section "Extensions"
        Option "Composite" "On"
EndSection

Section "ServerFlags"
        Option "AIGLX" "On"
EndSection

Make sure there isn't another xorg.conf file in your system, (like in the /etc/X11/ directory), which would stop the x server from loading the fglrx driver. You then just need to install the beta driver and optionally a patched xorg-server. Here's the easy way;

ATI 10.4 Beta Linux Driver / Xorg-Server 1.8.0 - gentoo-quebec overlay
-----------------------------------------------------------------------------------
The good folks that maintain the gentoo-quebec overlay, have done all of the work necessary to make it easy to install not only the 10.4 beta ATI driver, but also a patched xorg-server 1.8.0, to run with it. Although their ATI 10.4 beta driver ebuild installs the 8.721 version, I installed both 8.721, and 8.723.1, (from below), and I couldn't tell if there was any difference between them. So in order to use it you just need to, install and configure layman, and then;
Code:
layman -a gentoo-quebec
emerge ati-drivers xorg-server

and now here's the "I love learning Gentoo!" way

ATI 10.4 Beta Linux Driver - Local Overlay
-------------------------------------------------
(From this Gentoo Bugzilla report)

Configure system for including a local overlay by adding the following line to the system /etc/make.conf file;
Code:
PORTDIR_OVERLAY="/usr/local/portage"

Create the local overlay directory structure for the ati-drivers ebuild, with;
Code:
mkdir -p /usr/local/portage/x11-drivers/ati-drivers/files

Copy all of the ati-driver patch files from the main portage tree to the local overlay ati-drivers directory, with;
Code:
cp -av /usr/portage/x11-drivers/ati-drivers/files/* /usr/local/portage/x11-drivers/ati-drivers/files/

Get the ati-drivers-10.4_beta ebuild from the Gentoo Bugzilla page, with;
Code:
wget http://bugs.gentoo.org/attachment.cgi?id=224567 -O /usr/local/portage/x11-drivers/ati-drivers/ati-drivers-10.4_beta.ebuild

Now get the 8.723.1 patch for the ebuild from the same Gentoo Bugzilla page, with;
Code:
wget http://bugs.gentoo.org/attachment.cgi?id=227663 -O /usr/local/portage/x11-drivers/ati-drivers/ati-drivers.patch

Now apply the patch file to the beta ebuild, with;
Code:
patch /usr/local/portage/x11-drivers/ati-drivers/ati-drivers-10.4_beta.ebuild /usr/local/portage/x11-drivers/ati-drivers/ati-drivers.patch

After you see a patch successful, message you can delete the patch with;
Code:
rm /usr/local/portage/x11-drivers/ati-drivers/ati-drivers.patch

Optional: If you want to use the driver with xorg-server 1.8.0 we need to remove one line from the ati-drivers-10.4_beta.ebuild with;
Code:
sed -i 22d /usr/local/portage/x11-drivers/ati-drivers/ati-drivers-10.4_beta.ebuild

Finally do an ebuild..digest on your new ebuild with
Code:
ebuild /usr/local/portage/x11-drivers/ati-drivers/ati-drivers-10.4_beta.ebuild digest

xorg-server 1.8.0 Patch Instructions
------------------------------------------
(From this Gentoo Buzilla report)

The current xorg-server-1.8.0 from portage identifies itself as "X.org 7.1.0.0", which will cause the ati-drivers, (among others), to halt upon X startup with the following message; "X version mismatch - detected X.org 7.1.0.0, required X.org 7.5.1.0" You can patch the xorg-server-1.8.0 ebuild by creating a modified ebuild, in your local overlay, with these steps.

Create the local overlay directory structure for the xorg-server ebuild, with;
Code:
mkdir -p /usr/local/portage/x11-base/xorg-server/files

Copy all of the xorg-server patch files from the main portage tree to the local overlay ati-drivers directory, with;
Code:
cp -av /usr/portage/x11-base/xorg-server/files/* /usr/local/portage/x11-base/xorg-server/files/

Next copy over just the xorg-server-1.8.0 and name it xorg-server-1.8.0-r1, with;
Code:
cp -v /usr/portage/x11-base/xorg-server/xorg-server-1.8.0.ebuild /usr/local/portage/x11-base/xorg-server/xorg-server-1.8.0-r1.ebuild

Next copy and past the following patch instructions into a file and save it. In this example, the filename is 1.8.0-version-mismatch.patch;
Code:
--- configure.ac      2010-04-02 09:12:10.000000000 +0200
+++ configure.ac      2010-04-07 03:14:49.928744549 +0200
@@ -26,7 +26,7 @@
 dnl Process this file with autoconf to create configure.

 AC_PREREQ(2.57)
-AC_INIT([xorg-server], 1.8.0, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server)
+AC_INIT([xorg-server], 1.7.5.1, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server)
 RELEASE_DATE="2010-04-02"
 AC_CONFIG_SRCDIR([Makefile.am])
 AM_INIT_AUTOMAKE([foreign dist-bzip2])

Copy the patch file to appropriate subdirectory in your local overlay, with;
Code:
cp -v 1.8.0-version-mismatch.patch /usr/local/portage/x11-base/xorg-server/files/

Edit you /usr/local/portage/x11-base/xorg-server/xorg-server-1.8.0-r1.ebuild file, to include your new patch, by adding the last line to the PATCHES section of the ebuild, (which begins at line 103), as shown here;
Code:
PATCHES=(
        "${UPSTREAMED_PATCHES[@]}"
        "${FILESDIR}"/${PN}-disable-acpi.patch
        "${FILESDIR}"/${PV}-no-hardcoded-etc.patch
        "${FILESDIR}"/${PV}-match-only-sane-devices.patch
        "${FILESDIR}"/${PV}-version-mismatch.patch
        )

Once you save the file, you can ebuild..digest it with;
Code:
ebuild /usr/local/portage/x11-base/xorg-server/xorg-server-1.8.0-r1.ebuild digest

Now when you emerge these two packages, you should see something similar to;
Code:
emerge -v ati-drivers xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild    U  ] x11-base/xorg-server-1.8.0-r1  USE="hal ipv6 nptl udev xorg -dmx -doc -kdrive -minimal -static-libs -tslib" 0 kB [1]
[ebuild    U  ] x11-drivers/ati-drivers-10.4_beta  USE="modules (multilib) -debug" 0 kB [1]

Total: 2 packages, Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage

After you emerge your ati-driver, you need to make sure you run the following command before you reboot;
Code:
eselect opengl set ati

You can check out the Gentoo fglrx wiki page, which does have some good information, although some of it is probably dated. The only thing I wouldn't do, is use the aticonfig program to setup your xorg.conf. I would wait until you have a working system to mess around with aticonfig. Let me know how else I can help. ..and of course..

Good Luck..


Last edited by jasn on Tue May 25, 2010 1:43 am; edited 2 times in total
Back to top
View user's profile Send private message
zrichmond
n00b
n00b


Joined: 26 Apr 2010
Posts: 2

PostPosted: Fri Apr 30, 2010 2:03 pm    Post subject: Reply with quote

jasn wrote:
You're probably closer than you think to getting it to work.


I was close, except one forgotten change I had made in trying to get this to work that was causing a segfault. Following your step by step was
invaluable in pointing out my mistake (I won't even mention the details just so that no one reads it here and tries it).

Thank you!
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Fri Apr 30, 2010 6:31 pm    Post subject: Reply with quote

BTW, I see that the release of the 10.4 ATI Linux drivers has hit portage. So anyone wanting to install these drivers can do it the normal way under portage, (once you sync your tree). If you want to make the driver work with xorg-server 1.8.0, you still need to edit the ebuild, and install the patched xorg-server.

Good Luck..
Back to top
View user's profile Send private message
papu
l33t
l33t


Joined: 25 Jan 2008
Posts: 709
Location: Sota algun pi o alzina...

PostPosted: Sat May 01, 2010 4:28 pm    Post subject: Reply with quote

jasn wrote:
BTW, I see that the release of the 10.4 ATI Linux drivers has hit portage. So anyone wanting to install these drivers can do it the normal way under portage, (once you sync your tree). If you want to make the driver work with xorg-server 1.8.0, you still need to edit the ebuild, and install the patched xorg-server.

Good Luck..


it's fine for me , i put oficial drivers on /usr/local/portage with name xxx-r1 , i delete line 27(!>=x11-base/xorg-server-1.8.0) and rebuild, it's not necessary the patch of 10.4 beta.

the same with xorg 1.8 ( to -r1) with patch, rebuild.

then re-emerge xorg-server and ati-drivers , and for the moment its running fine.

now it will try to do what they explain in this post https://forums.gentoo.org/viewtopic-t-820551-highlight-udev.html




thaks, so much, adéu.
_________________
"~amd64" --cpu 7700 non-x --DDR5 2x16GB 6000MHz --gpu RX 470


Last edited by papu on Wed May 19, 2010 1:16 am; edited 2 times in total
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat May 01, 2010 10:37 pm    Post subject: Reply with quote

zrichmond wrote:
jasn wrote:
You're probably closer than you think to getting it to work.


I was close, except one forgotten change I had made in trying to get this to work that was causing a segfault. Following your step by step was
invaluable in pointing out my mistake (I won't even mention the details just so that no one reads it here and tries it).

Thank you!


that segfault by chance was with accelerated apps ?

if yes - you better (please) post the step which was causing segfault for you since I'm getting segfaults on an regular basis with all accelerated apps (glxinfo, glxgears, etc.) and compositing except googleearth and can't figure out how to fix it :cry:

so I could finally get over that problem :lol:


my card is a 5850 (in a desktop NOT mobility), ~amd64, gcc 4.3*, 4.4* or 4.5* - hardened or non-hardened - didn't make a change for me, switching between 2.6.32, 2.6.33, 2.6.34-rc* also didn't make a change


just make sure that you write it in a slightly bigger font + disclaimer and red font so that really no one taps right into that trap ;)

many many thanks in advance
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
webbruno
n00b
n00b


Joined: 01 May 2010
Posts: 24

PostPosted: Sun May 02, 2010 12:51 am    Post subject: Reply with quote

Well... I followed the instructions to patch xorg-server-1.8.0 but I've got no success so far, the patched failed and I can't spot what could be wrong... This is the Patch Output
Code:

]1.8.0-version-mismatch.patch.out
***** 1.8.0-version-mismatch.patch *****

========================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/x11-base/xorg-server/files/1.8.0-version-mismatch.patch'

========================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- xorg-server-1.8.0/configure.ac      2010-04-02 09:12:10.000000000 +0200
|+++ xorg-server-1.8.0/configure.ac      2010-04-07 03:14:49.928744549 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
========================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/x11-base/xorg-server/files/1.8.0-version-mismatch.patch'

========================================
patching file configure.ac
Hunk #1 FAILED at 26.
1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej
========================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/x11-base/xorg-server/files/1.8.0-version-mismatch.patch'

========================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- xorg-server-1.8.0/configure.ac      2010-04-02 09:12:10.000000000 +0200
|+++ xorg-server-1.8.0/configure.ac      2010-04-07 03:14:49.928744549 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
========================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/x11-base/xorg-server/files/1.8.0-version-mismatch.patch'

========================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- xorg-server-1.8.0/configure.ac      2010-04-02 09:12:10.000000000 +0200
|+++ xorg-server-1.8.0/configure.ac      2010-04-07 03:14:49.928744549 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
========================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/x11-base/xorg-server/files/1.8.0-version-mismatch.patch'

========================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- xorg-server-1.8.0/configure.ac      2010-04-02 09:12:10.000000000 +0200
|+++ xorg-server-1.8.0/configure.ac      2010-04-07 03:14:49.928744549 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored


here goes my emerge --info
Code:

emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.1
Timestamp of tree: Fri, 30 Apr 2010 23:45:01 +0000
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r1, 3.1.2-r2
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 RTCW-ETEULA QUAKE4 skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64-sse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US pt_BR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 ao apache2 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus directfb dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran gdbm gif gpm gtk hal iconv ipv6 jack java java6 javascript jpeg ladspa lcms ldap libnotify lua mad mikmod mmx mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf php png ppds pppd python readline reflection ruby sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis webkit x264 xcb xfce xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US pt_BR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I would thank you guys a lot, since the driver isn't work properly with xorg-server-1.7.6 (Cairo dock gets flicker and so my videos from mplayer and vlc)

Cya[/code]
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Sun May 02, 2010 9:05 pm    Post subject: Reply with quote

webbruno,

Many apologies. I realized I had mispasted the patch, (I was missing one - character at the beginning of the patch file). I updated my post above to correct it, but will also include the correct patch content here again.
Code:
--- configure.ac      2010-04-02 09:12:10.000000000 +0200
+++ configure.ac      2010-04-07 03:14:49.928744549 +0200
@@ -26,7 +26,7 @@
 dnl Process this file with autoconf to create configure.

 AC_PREREQ(2.57)
-AC_INIT([xorg-server], 1.8.0, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server)
+AC_INIT([xorg-server], 1.7.5.1, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server)
 RELEASE_DATE="2010-04-02"
 AC_CONFIG_SRCDIR([Makefile.am])
 AM_INIT_AUTOMAKE([foreign dist-bzip2])

Please try that and see if the patch process works correctly this time, (and sorry for any inconvenience)

Good Luck..


Last edited by jasn on Tue May 25, 2010 1:43 am; edited 1 time in total
Back to top
View user's profile Send private message
webbruno
n00b
n00b


Joined: 01 May 2010
Posts: 24

PostPosted: Tue May 04, 2010 9:14 pm    Post subject: Reply with quote

Well... I had realize previously the mistype in the patch header... But even fixing that the patch simply doesn't work with the same message I've posted... I don't know if this is the right place for discuss that, but since I don't know where else we could, I'm answering here...

Any ideas about why it isn't working?

P.S.: If there's a better place to discuss the patch to an overlay ebuild I would be glad to move my posts to it
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1305
Location: sweden

PostPosted: Wed May 05, 2010 4:53 am    Post subject: Reply with quote

got it running :D

no kde-apps like kmix = (-hal) but ey the quick keys to vol... +and- works so i am happy
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Thu May 06, 2010 8:47 pm    Post subject: Reply with quote

webbruno,

I don't understand how you could be getting a "file not found" error with your patch process. Maybe if you described what you are doing to enable emerging the patched xorg-server, we can debug the problem. I just used the xorg-server 1.8.0 from portage, and copied that directory to my local overlay to apply the patch. Did you do the same?

and hedmo, I'm still running hal on my system, automounting and a couple of other things wouldn't work unless I did. Some of the folks posting to the xorg-server 1.8.0 thread suggest that we'll need hal until at least KDE 4.6.

Good Luck..
Back to top
View user's profile Send private message
schmoo
n00b
n00b


Joined: 10 May 2010
Posts: 3

PostPosted: Mon May 10, 2010 6:59 pm    Post subject: Reply with quote

Regarding the version mismatch patch for the 1.8.0 build, I had the same problems as bruno (both the first and second posted versions of the 1.8.0-version-mismatch patch failed). I suspect it had something to do with errant characters being including in the cut and paste, as when I created my own patch and ran a diff against the two, the entire file differed, but the only visible difference was the timestamps. At any rate these steps fixed my compilation problem:

    1. Try to emerge with bad patch and let it fail; this leaves the configure.ac file patched up to the point of the last good patch.
    2. cd /var/tmp/portage/x11-base/xorg-server-1.8.0-r1/work/xorg-server-1.8.0/
    3. cp configure.ac configure.ac.orig
    4. Edit configure.ac, change the "1.8.0" on line 29 to "1.7.5.1" (minus the quotes) and save.
    5. diff -u configure.ac.orig configure.ac > /usr/local/portage/x11-base/xorg-server/files/1.8.0-version-mismatch.patch
    6. cd /usr/local/portage/x11-base/xorg-server
    7. ebuild xorg-server-1.8.0-r1.ebuild digest
    8. emerge xorg-server


That was all it took to get fglrx 10.4 running with xorg 1.8.0. That being said, I have yet to solve the original problem which sent me beating down this path, which is that my sparkly new video card refuses to work with compiz. Which leads me to my question:

Has anybody with an r800 chipset gotten AIGLX working, (as in it shows up in xvinfo)? I've tried every possible permutation of kernel, xorg and catalyst version, with no difference in outcome. My desktop works fine, as do my opengl apps, but for the life of me I can't get compiz working. Argh.

I've backed out of 1.8.0 and am running in a more "stable" configuration, using the main ati-drivers-10.4 and xorg-server-1.7.6, using a i5-750 with a Sapphire HD 5770 on a Gigabyte P55-USB3, if it matters.

My full Xorg.0.log and xorg.conf, in all their glory, can be found at these two pastebin links, respectively:
http://pastebin.com/BJhE2tDH
http://pastebin.com/3521g5GE

as well as the output of xvinfo:
http://pastebin.com/V563XGBF

Uname -a:
Code:
Linux localhost 2.6.32-gentoo-r7 #5 SMP Fri May 7 06:46:55 PDT 2010 x86_64 Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz GenuineIntel GNU/Linux


egrep "(WW|EE)" /var/log/Xorg.0.log:
Code:
(WW) Falling back to old probe method for fglrx
(WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Option "VendorName" is not used
(WW) fglrx(0): Option "ModelName" is not used
(WW) No brand KVM: ignoring absolute axes.


egrep AIGLX /var/log/Xorg.0.log:
Code:
(**) Option "AIGLX" "On"
(II) AIGLX: Loaded and initialized /usr/lib64/dri/fglrx_dri.so
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Mon May 10, 2010 7:12 pm    Post subject: Reply with quote

schmoo wrote:


That was all it took to get fglrx 10.4 running with xorg 1.8.0. That being said, I have yet to solve the original problem which sent me beating down this path, which is that my sparkly new video card refuses to work with compiz. Which leads me to my question:

Has anybody with an r800 chipset gotten AIGLX working, (as in it shows up in xvinfo)? I've tried every possible permutation of kernel, xorg and catalyst version, with no difference in outcome. My desktop works fine, as do my opengl apps, but for the life of me I can't get compiz working. Argh.

I've backed out of 1.8.0 and am running in a more "stable" configuration, using the main ati-drivers-10.4 and xorg-server-1.7.6, using a i5-750 with a Sapphire HD 5770 on a Gigabyte P55-USB3, if it matters.


schmoo, first do:
Code:
export LIBGL_DEBUG=verbose


after that what do glxinfo, glxgears, compiz-manager and/or compiz say when being executed ? any error messages in output of dmesg ? (I'm always getting an segfault and error 7 in libGL.so.1.2 FWIW)

fullscreen accelerated opengl apps result in a blackscreen for me (the only one I've tested was worldofpadman) - surprisingly googleearth works fine :o

currently I'm also trying to get it running (for some time now) with ati-drivers 10.2-10.4 with xorg-server 1.6.5/1.7.6, core i7-860, ATI Radeon 5850 on Foxconn Bulldog II
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum