Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nouveau on G5 : card unavailable since today
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
eandry77
n00b
n00b


Joined: 29 Mar 2011
Posts: 7

PostPosted: Tue Mar 29, 2011 10:20 pm    Post subject: nouveau on G5 : card unavailable since today Reply with quote

Hi there,

yesterday I build mesa with nouveau, and today it's not available anymore.


# emerge -DNuva world

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

Calculating dependencies... done!

[ebuild R ] x11-base/xorg-drivers-1.9 INPUT_DEVICES="evdev joystick keyboard* mouse* -acecad -aiptek -elographics -fpit -penmount -synaptics -tslib (-virtualbox) (-vmmouse) -void -wacom" VIDEO_CARDS="nv (-apm) (-ark) (-ast) (-chips) (-cirrus) -dummy -epson -fbdev (-fglrx) (-geode) (-glint) (-i128) (-i740) (-impact) (-intel) -mach64 -mga (-neomagic) (-newport) (-nouveau) (-nvidia) (-omapfb) -r128 -radeon (-rendition) (-s3) (-s3virge) (-savage) (-siliconmotion) (-sis) -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) (-tdfx) (-tga) (-trident) (-tseng) -v4l (-vesa) (-via) (-virtualbox) (-vmware) (-voodoo)" 0 kB
[ebuild N ] x11-drivers/xf86-input-keyboard-1.6.0 0 kB
[ebuild N ] x11-drivers/xf86-input-mouse-1.7.0 0 kB
[ebuild U ] x11-misc/xdg-utils-1.1.0_rc1_p20110329 [1.1.0_rc1-r1] USE="-doc" 0 kB
[ebuild R ] media-libs/mesa-7.10.1 USE="classic gallium nptl -debug -gles -hardened (-llvm) -motif -pic (-selinux)" VIDEO_CARDS="(-intel) -mach64 -mga (-nouveau*) -r128 -radeon (-savage) (-sis) (-tdfx) (-via) (-vmware)" 0 kB


But :

# emerge --info mesa
Portage 2.1.9.45 (default/linux/powerpc/ppc64/10.0/64bit-userland/desktop/gnome, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r1 ppc64)
=================================================================
System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r1-ppc64-PPC970FX,_altivec_supported-with-gentoo-2.0.2
Timestamp of tree: Tue, 29 Mar 2011 20:15:01 +0000
app-shells/bash: 4.2_p8
dev-lang/python: 2.7.1-r1, 3.1.3-r1
dev-util/cmake: 2.8.4
sys-apps/baselayout: 2.0.2
sys-apps/openrc: 0.8.0
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.10.3, 1.11.1
sys-devel/binutils: 2.21
sys-devel/gcc: 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82
virtual/os-headers: 2.6.38 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="ppc64 ~ppc64"
ACCEPT_LICENSE="* -@EULA googleearth PUEL dlj-1.1 skype-eula"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=G5 -maltivec -mabi=altivec"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mcpu=G5 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.opteamax.de/gentoo/ rsync://mirror.opteamax.de/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo"
LANG="fr_FR@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
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=""
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa altivec avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdr cleartype cli colordiff consolekit cracklib crypt css cups cxx dbus dirac dri drm dts dvd dvdr eds emboss encode evo exif fam fat ffmpeg firefox flac fontconfig fortran freetype fuse gallium gdbm gdu gif gmp gnome gnome-keyring gpm gstreamer gtk hdri ibm iconv ieee1394 ipv6 jpeg kms lcms ldap libcanberra libnotify llvm mad mikmod mktemp mng modules mp3 mp4 mpeg mudflap natspec nautilus ncurses network-cron nls nouveau nptl nptlonly nss ntp ogg opengl openmp openssl pam pango pcre pdf perl png policykit ppc64 ppcsha1 ppds pppd python qt3support readline sdl secure-delete session spell sqlite ssl startup-notification svg symlink sysfs tcpd theora threads tiff truetype udev unicode unlock-notify upnp usb utempter vorbis vp8 webm webp wicd xattr xcb xcomposite xml xorg xsceensaver xulrunner xv xvid zip zlib" 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 cgi cgid 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
Package Settings
=================================================================

media-libs/mesa-7.10.1 was built with the following:
USE="classic gallium nptl -debug -gles -hardened (-llvm) -motif -pic (-selinux)" VIDEO_CARDS="nouveau -intel -mach64 -mga -r128 -radeon -savage -sis -tdfx -via -vmware"
CFLAGS="-O2 -pipe -mcpu=970 -mabi=altivec -ffast-math"
CXXFLAGS="-O2 -pipe -mcpu=970 -mabi=altivec -ffast-math"




What could happen this night ?
Back to top
View user's profile Send private message
JoseJX
Developer
Developer


Joined: 28 Apr 2002
Posts: 2773

PostPosted: Thu Mar 31, 2011 5:30 pm    Post subject: Reply with quote

I sent an email to the dev that did the masking to see if it was intentional or not.

If not, I'll unmask it again later. Sorry for the trouble! For now, add the following entry to /etc/portage/use.mask to unmask it manually: "-nouveau"

EDIT: This should be fixed, again, sorry for the trouble!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
eandry77
n00b
n00b


Joined: 29 Mar 2011
Posts: 7

PostPosted: Fri Apr 01, 2011 11:19 am    Post subject: Reply with quote

Thanks a lot !

I'll check this this week-end !
Back to top
View user's profile Send private message
eandry77
n00b
n00b


Joined: 29 Mar 2011
Posts: 7

PostPosted: Sat Apr 02, 2011 12:08 pm    Post subject: Reply with quote

It still doesn't work :


[ebuild U ] x11-base/xorg-drivers-1.10 [1.9] INPUT_DEVICES="evdev joystick keyboard* mouse* -acecad -aiptek -elographics -fpit -penmount -synaptics -tslib (-virtualbox) (-vmmouse) -void -wacom" VIDEO_CARDS="(-apm) (-ark) (-ast) (-chips) (-cirrus) -dummy -epson -fbdev (-fglrx) (-geode) (-glint) (-i128) (-i740) (-impact) (-intel) -mach64 -mga (-neomagic) (-newport) (-nouveau) -nv* (-nvidia) (-omapfb) (-qxl) -r128 -radeon (-rendition) (-s3) (-s3virge) (-savage) (-siliconmotion) (-sis) -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) (-tdfx) (-tga) (-trident) (-tseng) -v4l (-vesa) (-via) (-virtualbox) (-vmware) (-voodoo)" 0 kB
[ebuild N ] x11-drivers/xf86-input-keyboard-1.6.0 0 kB
[ebuild N ] x11-drivers/xf86-input-mouse-1.7.0 0 kB
[ebuild R ] media-libs/mesa-7.10.1 USE="classic gallium nptl -debug -gles -hardened (-llvm) -motif -pic (-selinux)" VIDEO_CARDS="(-intel) -mach64 -mga (-nouveau*) -r128 -radeon (-savage) (-sis) (-tdfx) (-via) (-vmware)" 0 kB
[ebuild U ] dev-libs/glib-2.28.5 [2.28.4] USE="fam static-libs xattr -debug -doc (-introspection) (-selinux) -test" 6,782 kB



I can't find the right syntax to enable nouveau in /etc/portage/use.mask
Back to top
View user's profile Send private message
eandry77
n00b
n00b


Joined: 29 Mar 2011
Posts: 7

PostPosted: Sat Apr 02, 2011 1:01 pm    Post subject: Reply with quote

I found a way to workaround, but something seems strange.
Nouveau video card is unmasked when I add x11-base/xorg-drivers -video_cards_nouveau in /usr/portage/profiles/arch/powerpc/package.use.mask

BUT it doesn't work when I add it to /etc/portage/package.use.mask or /etc/portage/use.mask

Any idea ?
Back to top
View user's profile Send private message
eandry77
n00b
n00b


Joined: 29 Mar 2011
Posts: 7

PostPosted: Sat Apr 02, 2011 7:48 pm    Post subject: Reply with quote

Tested nouveau on G5 PPC64, it works fine. I really don't understand why video_cards_nouveau is masked.
Can you also add x11-base/xorg-drivers -video_cards_nouveau and media-libs/mesa -video_cards_nouveau in /usr/portage/profiles/arch/powerpc/package.use.mask ?

Thanks a lot for you help !
Back to top
View user's profile Send private message
JoseJX
Developer
Developer


Joined: 28 Apr 2002
Posts: 2773

PostPosted: Sat Apr 02, 2011 9:56 pm    Post subject: Reply with quote

Ah, I believe we haven't unmasked those yet because there is no stable version marked yet. I'll look into it, thanks for letting us know!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
eandry77
n00b
n00b


Joined: 29 Mar 2011
Posts: 7

PostPosted: Mon Apr 04, 2011 2:37 pm    Post subject: Reply with quote

I've opened a bug report against this :

http://bugs.gentoo.org/show_bug.cgi?id=361909
Back to top
View user's profile Send private message
ozymandias2
n00b
n00b


Joined: 03 May 2011
Posts: 1

PostPosted: Tue May 03, 2011 8:27 pm    Post subject: Reply with quote

eandry77 wrote:
Tested nouveau on G5 PPC64, it works fine. I really don't understand why video_cards_nouveau is masked.
Can you also add x11-base/xorg-drivers -video_cards_nouveau and media-libs/mesa -video_cards_nouveau in /usr/portage/profiles/arch/powerpc/package.use.mask ?

Thanks a lot for you help !


When you say 'works fine', what exactly do you mean? I recently tried installing nouveau on a G5, and while I get some display -- I get many artifacts, and it is *very* low quality video. I might be missing something though...
Back to top
View user's profile Send private message
eandry77
n00b
n00b


Joined: 29 Mar 2011
Posts: 7

PostPosted: Wed May 04, 2011 8:30 am    Post subject: Reply with quote

Works fine means display works smoothly, no artefacts. Only mesa behaviour is strange (glxgears is blank, but shows FPS).
My card is a Geforce FX5200. Maybe yours is different ?

For info I use ~ppc64 arch, with latest libdrm and nouveau. I dont use any xorg.conf file, Xorg automatic setup works.
Hope this helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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