Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294899 - x11-drivers/xf86-video-openchrome - chrome9 won't run with DRI
Summary: x11-drivers/xf86-video-openchrome - chrome9 won't run with DRI
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-27 20:14 UTC by warren coleman
Modified: 2009-11-28 16:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description warren coleman 2009-11-27 20:14:30 UTC
I have compiled the latest xf86-video-openchrome-0.904 driver on xorg-server-1.6.3.901-r2 and specified Load "dri" in xorg.conf.  Xorg fails to load DRI when starting x.  glxinfo reports "software rasterizer."

Then following the Hp2133 wiki en.gentoo-wiki.com/wiki/HP_2133 I download and install the latest kernel drm driver and opengl driver from VIA and now DRI will load at X start, but KDE crashes on desktop load after greeter.  If I add Option "dri" "Disable" to my xorg.conf, KDE works fine.  Apparently DRM is not working with the via driver either.
Comment 1 David Abbott (RETIRED) gentoo-dev 2009-11-27 23:50:54 UTC
Please include emerge --info x11-base/xorg-server x11-drivers/xf86-video-openchrome
Comment 2 warren coleman 2009-11-28 14:12:03 UTC
(In reply to comment #1)
> Please include emerge --info x11-base/xorg-server
> x11-drivers/xf86-video-openchrome
> 


Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.27.10 i686)
=================================================================                           
                        System Settings                                                     
=================================================================                           
System uname: Linux-2.6.27.10-i686-VIA_C7-M_Processor_1200MHz-with-gentoo-1.12.13           
Timestamp of tree: Tue, 24 Nov 2009 04:00:01 +0000                                          
app-shells/bash:     4.0_p28                                                                
dev-java/java-config: 1.3.7-r1, 2.1.9-r1                                                    
dev-lang/python:     2.4.4-r13, 2.5.4-r2, 2.6.2-r1                                          
dev-python/pycrypto: 2.0.1-r6                                                               
dev-util/cmake:      2.6.4-r3                                                               
sys-apps/baselayout: 1.12.13                                                                
sys-apps/sandbox:    1.6-r2                                                                 
sys-devel/autoconf:  2.13, 2.63-r1                                                          
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                           
sys-devel/binutils:  2.18-r3                                                                
sys-devel/gcc-config: 1.4.1                                                                 
sys-devel/libtool:   2.2.6a                                                                 
virtual/os-headers:  2.6.27-r2                                                              
ACCEPT_KEYWORDS="x86"                                                                       
CBUILD="i686-pc-linux-gnu"                                                                  
CFLAGS="-march=i686 -mmmx -msse -msse2 -O2 -pipe -fomit-frame-pointer"                      
CHOST="i686-pc-linux-gnu"                                                                   
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                                                   
CXXFLAGS="-march=i686 -mmmx -msse -msse2 -O2 -pipe -fomit-frame-pointer"                                         
DISTDIR="/usr/portage/distfiles"                                                                                 
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"   
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"            
LDFLAGS="-Wl,-O1"                                                                                                
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"                                                                                           
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                   
USE="X a52 aac accesibility acl acpi alsa berkdb bzip2 cdr cli cracklib crypt cups dbus dri dts encode flac fortran gdbm gif gpm gtk iconv ipv6 java javascript jpeg kde laptop ldap live mng modules mp3 mudflap mysql ncurses nls npp nptl nptlonly nsplugin opengl openmp pam pcre perl png pppd python qt3support qt4 quicktime readline reflection sdl session spl sql ssl svg sysfs tcpd theora unicode utempter v4l vorbis webkit x86 xcomposite xine xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="openchrome via"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

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

x11-base/xorg-server-1.6.3.901-r2 was built with the following:
USE="ipv6 nptl sdl xorg -debug -dmx -hal -kdrive -minimal -tslib"
LDFLAGS="-Wl,-O1 -Wl,-z,lazy"

And:

Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.27.10 i686)
=================================================================                           
                        System Settings                                                     
=================================================================                           
System uname: Linux-2.6.27.10-i686-VIA_C7-M_Processor_1200MHz-with-gentoo-1.12.13           
Timestamp of tree: Tue, 24 Nov 2009 04:00:01 +0000                                          
app-shells/bash:     4.0_p28                                                                
dev-java/java-config: 1.3.7-r1, 2.1.9-r1                                                    
dev-lang/python:     2.4.4-r13, 2.5.4-r2, 2.6.2-r1                                          
dev-python/pycrypto: 2.0.1-r6                                                               
dev-util/cmake:      2.6.4-r3                                                               
sys-apps/baselayout: 1.12.13                                                                
sys-apps/sandbox:    1.6-r2                                                                 
sys-devel/autoconf:  2.13, 2.63-r1                                                          
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                           
sys-devel/binutils:  2.18-r3                                                                
sys-devel/gcc-config: 1.4.1                                                                 
sys-devel/libtool:   2.2.6a                                                                 
virtual/os-headers:  2.6.27-r2                                                              
ACCEPT_KEYWORDS="x86"                                                                       
CBUILD="i686-pc-linux-gnu"                                                                  
CFLAGS="-march=i686 -mmmx -msse -msse2 -O2 -pipe -fomit-frame-pointer"                      
CHOST="i686-pc-linux-gnu"                                                                   
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                                                   
CXXFLAGS="-march=i686 -mmmx -msse -msse2 -O2 -pipe -fomit-frame-pointer"                                         
DISTDIR="/usr/portage/distfiles"                                                                                 
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"   
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"            
LDFLAGS="-Wl,-O1"                                                                                                
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"                                                                                           
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                   
USE="X a52 aac accesibility acl acpi alsa berkdb bzip2 cdr cli cracklib crypt cups dbus dri dts encode flac fortran gdbm gif gpm gtk iconv ipv6 java javascript jpeg kde laptop ldap live mng modules mp3 mudflap mysql ncurses nls npp nptl nptlonly nsplugin opengl openmp pam pcre perl png pppd python qt3support qt4 quicktime readline reflection sdl session spl sql ssl svg sysfs tcpd theora unicode utempter v4l vorbis webkit x86 xcomposite xine xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="openchrome via"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

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

x11-drivers/xf86-video-openchrome-0.2.904 was built with the following:
USE="dri -debug"
LDFLAGS="-Wl,-O1 -Wl,-z,lazy"

Thanks
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-11-28 16:49:21 UTC
(In reply to comment #0)
> I have compiled the latest xf86-video-openchrome-0.904 driver on
> xorg-server-1.6.3.901-r2 and specified Load "dri" in xorg.conf.  Xorg fails to
> load DRI when starting x.  glxinfo reports "software rasterizer."

That's exactly what [1] describes as the solution to this problem:

> Then following the Hp2133 wiki en.gentoo-wiki.com/wiki/HP_2133 I download and
> install the latest kernel drm driver and opengl driver from VIA and now DRI
> will load at X start, but KDE crashes on desktop load after greeter.  If I add
> Option "dri" "Disable" to my xorg.conf, KDE works fine.  Apparently DRM is not
> working with the via driver either.

Quoting [2]:
 == Chrome9 ==

  The DRI and XvMC is not implemented yet. All OpenGL applications runs with
  software rendering mode{reference to [1]}.

[1] http://www.openchrome.org/trac/ticket/303
[2] http://www.openchrome.org/trac/wiki/SupportedHardware