Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166079 - media-video/vlc won't play video with xinerama enabled and nvidia-drivers from portage
Summary: media-video/vlc won't play video with xinerama enabled and nvidia-drivers fro...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-09 14:28 UTC by Andrew McCluskey
Modified: 2008-02-15 17:06 UTC (History)
2 users (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 Andrew McCluskey 2007-02-09 14:28:34 UTC
Whenever I try to playback video in VLC (anything I've tried including various formats and DVD) with xinerama enabled and the nvidia-drivers package from portage, it crashes.  However, if I use a single-screen (no xinerama) configuration with drivers from portage, or I use the Nvidia drivers from www.nvidia.com with xinerama enabled, it works as it should.

I've tried both the latest stable versions and the experimental versions (added to package.keywords) for nvidia-drivers(1.0.8776 and 1.0.9746) and VLC (0.8.6-r1 and 0.8.6_p18636).  I have also tried setting the screen manually in VLC's preferences as :0 and :0.0, however this doesn't work when using the nvidia-drivers from portage.  I also have xinerama included in my use flags.

If I try to launch a video from the commandline using VLC, I get the following output:

x@x ~/Desktop/demetri $ vlc demetri-all.mp4
VLC media player 0.8.6-bugfix Janus
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  78 (X_CreateColormap)
  Value in failed request:  0x0
  Serial number of failed request:  18
  Current serial number in output stream:  19

I'd be happy just to use the drivers from nvidia's site, however the nvidia-drivers package is a dependency for other software when I try to update, and masking both nvidia-drivers doesn't work either as portage gives an error.

Reproducible: Always

Steps to Reproduce:
1.Install nvidia-drivers package through portage
2.Configure X to use a two screen setup with xinerama
3.Try to play any video file with VLC

Actual Results:  
If using the GUI, it looks like it loads the file, then when you'd expect the video to start playing, it crashes (VLC disappears, there is no dialog)

If using the command line, the error in the above description is given.

Expected Results:  
When not using xinerama, or using drivers from nvidia's site, the video file plays normally.

I'm happy to send you my xorg.conf, make.conf or any other config files/info you need.
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2007-02-09 14:53:30 UTC
works for me

x11-drivers/nvidia-drivers-1.0.9746
media-video/vlc-0.8.6_p18636

Portage 2.1.2-r8 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo x86_64)
=================================================================
System uname: 2.6.20-gentoo x86_64 Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Fri, 09 Feb 2007 14:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect cvs distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="en nl"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/marijn/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi alsa amd64 berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dts dvd dvdr dvdread eds emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kde kdeenablefinal ldap libg++ lm_sensors mad midi mikmod mng mp3 mpeg ncurses nls nptl nptlonly nvidia offensive ogg opengl oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session smp spell spl ssl svg tcpd theora threads truetype truetype-fonts type1-fonts udev unicode vorbis xinerama xml xorg xv 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Marijn Schouten (RETIRED) gentoo-dev 2007-02-09 14:55:04 UTC
when I switch between fullscreen and windowed mode, vlc always fullscreens to the primary monitor, so it doesn't seem to be very xinerama aware.
Comment 3 Andrew McCluskey 2007-02-09 22:43:32 UTC
(In reply to comment #2)
> when I switch between fullscreen and windowed mode, vlc always fullscreens to
> the primary monitor, so it doesn't seem to be very xinerama aware.
> 

You can set the display used for fullscreen in VLC's preferences under each video output module.  I tested this when I had xinerama and vlc working together
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2008-02-15 17:06:34 UTC
So are you saying the bug was resolved? Please test with newer versions.