Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xf86-video-mach64 no longer builds on ia64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3600
Location: USA

PostPosted: Sun Nov 25, 2012 7:50 pm    Post subject: xf86-video-mach64 no longer builds on ia64 Reply with quote

Anyone run into this issue?

With the new xorg release, I had to rebuild xf86-video-mach64-6.9.0 and 6.9.1, but they no longer builds on ia64.
I suspect it's due to xorg-server-1.12.4 stabilization to cause the issue.

Downgrading xorg-server to 1.11 allows it to compile again.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 362

PostPosted: Fri Nov 30, 2012 7:58 am    Post subject: Re: xf86-video-mach64 no longer builds on ia64 Reply with quote

eccerr0r wrote:
Anyone run into this issue?

With the new xorg release, I had to rebuild xf86-video-mach64-6.9.0 and 6.9.1, but they no longer builds on ia64.
I suspect it's due to xorg-server-1.12.4 stabilization to cause the issue.

Downgrading xorg-server to 1.11 allows it to compile again.


Not terribly surprising. Please file a bug though with the build log attached.
_________________
My 1U Dual 833 MHz Alphaserver DS20L
The AlphaLinux.org Wiki
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3600
Location: USA

PostPosted: Sat Dec 01, 2012 10:49 pm    Post subject: Reply with quote

Ouch. I just had an x86 target fail build:

Code:
  CC     atiutil.lo
  CC     ativalid.lo
  CC     atiload.lo
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c: In function 'ATIScreenInit':
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c:583:9: error: too many arguments to function 'ATISwitchMode'
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/aticonsole.h:36:13: note: declared here
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c: At top level:
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c:111:1: warning: 'ATIMinBits' defined but not used


Ok, Will file a bug in a bit...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
kfiadeg
n00b
n00b


Joined: 04 May 2006
Posts: 38
Location: Republic of Poland

PostPosted: Sun Dec 02, 2012 10:36 am    Post subject: Reply with quote

This also happens on my configuration for x86
@eccerr0r: have you filled a bug already?

If anyone is interested, please see build.log: http://pastebin.com/5eX5b9nu
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3600
Location: USA

PostPosted: Sun Dec 02, 2012 4:18 pm    Post subject: Reply with quote

No I haven't. You have more information than me at this point, you can submit the bug :) (I'd have to reproduce the bug but I'm lazy to get the fail dump :)

It looks like this is actually cross platform, same compilation failure... probably due to mach64 drivers not getting updated with the rest of Xorg...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
Fitzcarraldo
Guru
Guru


Joined: 30 Aug 2008
Posts: 462
Location: United Kingdom

PostPosted: Mon Dec 03, 2012 4:20 pm    Post subject: Reply with quote

I'm using the Mach64 driver in x86 arch. I had to revert to xorg-server-1.12.4 because the latest version of the mach64 driver (x11-drivers/xf86-video-mach64-6.9.3) won't build with xorg-server-1.13.0-r1.

Someone has filed the bug report Bug 443952 - x11-drivers/xf86-video-mach64-6.9.3 patches to compile with xorg-server-1.13. I have not tried those patches, though.
_________________
Fitzcarraldo's blog
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3600
Location: USA

PostPosted: Mon Dec 03, 2012 4:32 pm    Post subject: Reply with quote

It looks like the ia64 issue is different after all...
Code:
  CC     atichip.lo
  CC     atividmem.lo
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3-r666/work/xf86-video-mach64-6.9.3/src/atiprobe.c: In function 'ATIVGAWonderProbe':
/usr/include/xorg/compiler.h:1395:5: error: impossible register constraint in 'asm'
/usr/include/xorg/compiler.h:1395:5: error: impossible register constraint in 'asm'
/usr/include/xorg/compiler.h:1395:5: error: impossible register constraint in 'asm'
/usr/include/xorg/compiler.h:1395:5: error: impossible register constraint in 'asm'
/usr/include/xorg/compiler.h:1414:5: error: impossible register constraint in 'asm'
/usr/include/xorg/compiler.h:1395:5: error: impossible register constraint in 'asm'
/usr/include/xorg/compiler.h:1414:5: error: impossible register constraint in 'asm'
[ ... ]

This is with one of the x86 ATIScreen patch...

Somehow its trying to build in/out asm for x86 in ia64 land... I don't recall io mapped io used much...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
Duncan Mac Leod
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 163
Location: Coburg, Bavaria, Germany

PostPosted: Fri Dec 14, 2012 6:48 pm    Post subject: Reply with quote

eccerr0r wrote:
Ouch. I just had an x86 target fail build:

Code:
  CC     atiutil.lo
  CC     ativalid.lo
  CC     atiload.lo
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c: In function 'ATIScreenInit':
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c:583:9: error: too many arguments to function 'ATISwitchMode'
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/aticonsole.h:36:13: note: declared here
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c: At top level:
/var/tmp/portage/x11-drivers/xf86-video-mach64-6.9.3/work/xf86-video-mach64-6.9.3/src/atiscreen.c:111:1: warning: 'ATIMinBits' defined but not used


Ok, Will file a bug in a bit...


OK - I can confirm this -> same error happend on my box !
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 844

PostPosted: Sat Dec 22, 2012 9:15 pm    Post subject: Reply with quote

Hi,

Same here, had to downgrade to x11-base/xorg-server 1.12.4 to fix this.
_________________
Powered by (x86) Gentoo Linux since 2003
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1561
Location: Berlin, Germany

PostPosted: Sat Dec 22, 2012 10:38 pm    Post subject: Reply with quote

Code:
 /usr/include/xorg/compiler.h:1395:5: error: impossible register constraint in 'asm'
That is bug 447152.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1561
Location: Berlin, Germany

PostPosted: Tue Dec 25, 2012 5:17 pm    Post subject: Reply with quote

The issue should be fixed in xorg-server-1.13.1 and xf86-video-mach64-6.9.4 now.
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3600
Location: USA

PostPosted: Thu Jan 03, 2013 3:37 pm    Post subject: Reply with quote

Though the compile error is now fixed in xorg-server-1.13.1 / xf86-video-mach64-6.9.4 but does not run on my hardware. I'll probably post updates on http://bugs.gentoo.org/447152 instead of here but the issue I'm seeing now is that it no longer detects the video adapter.
My lspci w.r.t. the Mach64 (Note it's on bus 1:1:0)

01:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Rage XL (rev 27)

Error that I get in Xorg.0.log:
[ 36620.911] compiled for 1.13.1, module version = 6.9.4
...
[ 36620.933] (WW) MACH64: Mach64 in slot 1:1:0 could not be detected!
[ 36620.934] (II) UnloadModule: "mach64"
[ 36620.934] (EE) Screen(s) found, but none have a usable configuration.

which is a strange error indeed.

xf86-video-mach64 6.9.0/6.9.1 - will not compile with missing xaa.h with xorg-server-1.13.1.
xf86-video-mach64 6.9.3 will compile but runtime has same error as 6.9.4.

I reverted back to xorg-server-1.11.4-r1 on my machine in hopes of keeping a working setup...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1561
Location: Berlin, Germany

PostPosted: Thu Jan 03, 2013 3:58 pm    Post subject: Reply with quote

It would be good if you report a new bug on that, and attach your dmesg, Xorg.0.log and xorg.conf (if any).
Do you use the atyfb/efifb driver (cat /proc/fb to find out), and if yes does it make a difference when you turn it off?

Also opening a report upstream at https://bugs.freedesktop.org might be a good idea.
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3600
Location: USA

PostPosted: Thu Jan 03, 2013 10:52 pm    Post subject: Reply with quote

Yeah apparently I was running atyfb but removing it didn't help :( (plus it worked fine under 1.11.4 with atyfb enabled).

May have to report this issue directly to freedesktop but they aren't too happy with me either, I have bug they haven't been able to fix on another machine (laptop backlight, at least they care about intel/sandybridge/ivybridge chipsets more apparently, not sure about ia64.) I thought this may have been a side effect of the compilation bug fix...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
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