Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[nvidia] libGL error: failed to load driver: swrast
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Chr0nos
Apprentice
Apprentice


Joined: 26 Feb 2010
Posts: 205

PostPosted: Fri Jan 30, 2015 11:43 am    Post subject: [nvidia] libGL error: failed to load driver: swrast Reply with quote

Bonjour,
j'ai un petit soucis entre nvidia-drivers (la derniere version en ~amd64 ) sur un noyeau 3.18.3-gentoo


et dans mes logs j'ai apparement un probleme avec DRM
Quote:

janv. 30 00:18:46 StarK gdm-Xorg-:0[4557]: (EE) systemd-logind: failed to get session: PID 4557 does not belong to any known session
janv. 30 00:18:46 StarK gdm-Xorg-:0[4557]: (II) xfree86: Adding drm device (/dev/dri/card0)
janv. 30 00:18:46 StarK gdm-Xorg-:0[4557]: (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Invalid argument
janv. 30 00:18:46 StarK gdm-Xorg-:0[4557]: (--) PCI:*(0:1:0:0) 10de:11c0:1043:843b rev 161, Mem @ 0xf9000000/16777216, 0xe0000000/134217728, 0xee000000/33554432, I/O @ 0x0000cf00/128, BIOS @ 0x????????/524288
janv. 30 00:18:46 StarK gdm-Xorg-:0[4557]: (II) LoadModule: "glx"
janv. 30 00:18:46 StarK gdm-Xorg-:0[4557]: (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
janv. 30 00:18:52 StarK gdm-Xorg-:0[4557]: (II) Module glx: vendor="NVIDIA Corporation"


du coup je suppose que l'erreur vient des drivers nvidia mais je ne trouve aucun patch fonctionel pour me débarasser de cet "invalid argument"

néanmoin je semble avoir de l'aceleration graphique puisque planetary anihilation tourne avec steam sans problemes la (enfin hormis la polution de /dev/shm mais ca c'est une autre histoire...)

pourtant quand je code dans qt-creator je ne peut plus utiliser qDebug() ni de QProgressBar à cause du message d'erreur suivant:
Quote:
libGL error: failed to load driver: swrast


qui est bien sur la cause de tous mes tracas car de fait mon projet n'avance plus (et oui pas moyen de debuguer... )


Quote:
StarK work # emerge --info
--- Invalid atom in /etc/portage/package.keywords/cross-mingw32: =sys-libs/zlib
--- Invalid atom in /etc/portage/package.mask/kernel.mask: sys-kernel/**
Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2, glibc-2.20-r1, 3.18.3-gentoo x86_64)
=================================================================
System uname: Linux-3.18.3-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_540_@_3.07GHz-with-gentoo-2.2
KiB Mem: 12323564 total, 2722932 free
KiB Swap: 0 total, 0 free
Timestamp of tree: Fri, 30 Jan 2015 11:15:01 +0000
sh bash 4.3_p33-r1
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash: 4.3_p33-r1
dev-java/java-config: 2.2.0
dev-lang/perl: 5.20.1-r4
dev-lang/python: 2.7.9-r1, 3.3.5-r1, 3.4.2
dev-util/cmake: 3.1.0
dev-util/pkgconfig: 0.28-r2
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.13.8
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6-r1, 1.13.4, 1.14.1, 1.15
sys-devel/binutils: 2.24-r3
sys-devel/gcc: 4.8.4, 4.9.2
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.5
sys-devel/make: 4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc: 2.20-r1
Repositories: gentoo qt perl-experimental-snapshots java steam-overlay artemis
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -mtune=core2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mtune=core2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
LANG="fr_FR"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/qt /var/lib/layman/perl-experimental-snapshots /var/lib/layman/java /var/lib/layman/steam-overlay /var/lib/layman/artemis"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gnutls gpm gtk iconv ipv6 joystick jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline samba sdl session spell sse sse2 ssl startup-notification svg syslog systemd tcpd threads tiff truetype udev udisks unicode upower usb v4l vdpau vorbis wxwidgets x264 xcb xinerama xml xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="wacom joystick evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" 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, USE_PYTHON
Back to top
View user's profile Send private message
StinGer_Uesugi
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2010
Posts: 139
Location: Milky Way > Solar System > Earth > France > Paris > Home

PostPosted: Fri Jan 30, 2015 1:08 pm    Post subject: Reply with quote

OK question directe parce que je viens d'avoir une blague comme ça avec OpenGL et Qt :
Code:
eselect qtgraphicssystem list


Si tu as OpenGL, switch en native ou raster pour voir.
_________________
Why drink and drive when you can smoke and fly ?
Back to top
View user's profile Send private message
maxim.251
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2012
Posts: 127

PostPosted: Sat Jul 23, 2016 12:16 pm    Post subject: Reply with quote

StinGer_Uesugi wrote:
OK question directe parce que je viens d'avoir une blague comme ça avec OpenGL et Qt :
Code:
eselect qtgraphicssystem list


Si tu as OpenGL, switch en native ou raster pour voir.


Helped for me, Thank You.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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