Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-20 Thread Dale
Walter Dnes wrote:
 On Wed, Apr 18, 2012 at 10:06:59PM -0400, Michael Mol wrote
 
 revdep-rebuild # mplayer locking up the entire system is unusual, to
 say the least.

 The nvidia-drivers build should have screamed bloody murder if you had
 any incompatible kernel options set (or required ones missing).
 
   I think the problem is that I specified xv for video output in
 ~/.mplayer/config and the Nvidia drivers do not like xv at all.  I
 deleted ~/.mplayer/config and mplayer works.  I'm looking carefully at
 all the USE options for mplayer, and checking them for any more possible
 problems.
 


I played with these settings on mine and the one that worked best for me
was gl.  I use smplayer, a front end for mplayer, and I selected the gl
(fast) setting.  It has several settings and that one seemed to work
without any pauses or anything else.

There are several gl settings tho.  One for ATI cards and a couple other
generic ones.

Hope that helps.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-19 Thread Walter Dnes
On Wed, Apr 18, 2012 at 06:49:59PM -0700, Mark Knecht wrote

 Presumably this all works perfectly with the closed source driver?

  I think something got lost in the translation.  This is the Nvidia
closed source driver giving me the problems...

  Closed Source != Open Source
  Proprietary   != Open Source
  Proprietary   == Closed source

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-19 Thread Walter Dnes
On Wed, Apr 18, 2012 at 10:47:01PM -0400, Alecks Gates wrote
 Wait a second, was just scimming this and saw you mention blue faces.  I
 have a 210 using the latest binary drivers from nvidia and it seems like
 all red color shows up as blue in the flash player (and only flash
 player).  It had never happened any time previously, and this was a new
 install.
 
 Frankly I have no idea how to fix it, but I mostly ignored it until now
 because of html5 videos (where the problem doesn't occur).

  Once I realized that this was a general problem, not a Walter Dnes
problem, I did some Google research.  A few of the hits were

http://www.nvnews.net/vbulletin/showthread.php?t=176210

  Patching source code... bleagh.


https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/974620

https://bugs.launchpad.net/ubuntu/+source/adobe-flashplugin/+bug/967091/comments/9

  The last one almost worked for me.  Adding 2 lines to /etc/adobe/mms.cfg
was suggested, namely...

EnableLinuxHWVideoDecode=1
OverrideGPUValidation=true

  This works, and colours are correct, but the Flash plugin crashes a
lot.  The best setup for me is to only add the line...

EnableLinuxHWVideoDecode=1

  Youtube 1080P HD videos play fullscreen in proper colour.  The best
setting may vary from machine to machine.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-19 Thread Walter Dnes
On Wed, Apr 18, 2012 at 10:06:59PM -0400, Michael Mol wrote

 revdep-rebuild # mplayer locking up the entire system is unusual, to
 say the least.

  I set vdpau USE flag and tested emerge -pv --deep --newuse mplayer.
Turns out that x11-libs/libdrm and media-libs/mesa still had nouveau
code... do.  Rebuilding libdrm+mesa+mplayer as I speak... err type.
See my other message for the 1-line change to /etc/adobe/mms.cfg that
fixed the colour issue.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-19 Thread Mark Knecht
On Thu, Apr 19, 2012 at 3:44 AM, Walter Dnes waltd...@waltdnes.org wrote:
 On Wed, Apr 18, 2012 at 06:49:59PM -0700, Mark Knecht wrote

 Presumably this all works perfectly with the closed source driver?

  I think something got lost in the translation.  This is the Nvidia
 closed source driver giving me the problems...

  Closed Source != Open Source
  Proprietary   != Open Source
  Proprietary   == Closed source

 --
 Walter Dnes waltd...@waltdnes.org


Well then, I guess I must be confused because your initial post in
this thread seemed to me to be about the Open Source driver:

[QUOTE]

I started a thread a while ago about looking for an accelerated video
card.  I went and got an ASUS EN210 Silent PCIe card and followed the
instructions at the Gentoo Nouveau wiki.  I have not been able to get X
running yet.  Trying to launch X with startx blanks the screen, and I
can't get it back.  Note that the machine does *NOT* lock up, rather the
video gets disabled until I reboot.  I can ssh into the machine.  It
appears to be working fine.  If I...

* start a root text console in TTY8
* switch to TTY9
* startx

 The screen goes blank and I can't get graphics or GUI, no matter what
I do.  I can ssh in from another machine and things look OK.  As a
matter of fact, I can {CTRL-ALT-F8} and blindly issue the command
reboot or halt -p, and it gets executed.  The attached Xorg.log file
shows nothing wrong.  Xorg -configure does generate an xorg.conf.new
file, but screams about...


(EE) [drm] No DRICreatePCIBusID symbol
Number of created screens does not match number of detected devices.
 Configuration failed.
Server terminated with error (2). Closing log file.


 The Gentoo Nouveau wiki says that message comes either from disabling
DRI (which I didn't do) or from the wrong opengl.  I only have the xorg
version.  Any ideas?  Do the proprietary Nvidia drivers work with kernel
3.2.12?  I'm running with mdev instead of udev.  Would that make a
difference?

[/QUOTE]

Anyway, I run the closed source driver on 5 machines here. They all
work fine. None of my NVidia cards are 210-based.

Sorry for the noise,
Mark



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-19 Thread Per-Erik Westerberg
tor 2012-04-19 klockan 08:23 -0400 skrev Walter Dnes:
 On Wed, Apr 18, 2012 at 10:47:01PM -0400, Alecks Gates wrote
  Wait a second, was just scimming this and saw you mention blue faces.  I
  have a 210 using the latest binary drivers from nvidia and it seems like
  all red color shows up as blue in the flash player (and only flash
  player).  It had never happened any time previously, and this was a new
  install.
  
  Frankly I have no idea how to fix it, but I mostly ignored it until now
  because of html5 videos (where the problem doesn't occur).
 
   Once I realized that this was a general problem, not a Walter Dnes
 problem, I did some Google research.  A few of the hits were
 
 http://www.nvnews.net/vbulletin/showthread.php?t=176210
 
   Patching source code... bleagh.
 
 
 https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/974620
 
 https://bugs.launchpad.net/ubuntu/+source/adobe-flashplugin/+bug/967091/comments/9
 
   The last one almost worked for me.  Adding 2 lines to /etc/adobe/mms.cfg
 was suggested, namely...
 
 EnableLinuxHWVideoDecode=1
 OverrideGPUValidation=true
 
   This works, and colours are correct, but the Flash plugin crashes a
 lot.  The best setup for me is to only add the line...
 
 EnableLinuxHWVideoDecode=1
 
   Youtube 1080P HD videos play fullscreen in proper colour.  The best
 setting may vary from machine to machine.
 

Hi,

Downgrading to 11.1.102.63 of www-plugins/adobe-flash took care of the
problem for me.

  BR / Per-Erik




Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-19 Thread Walter Dnes
On Wed, Apr 18, 2012 at 10:06:59PM -0400, Michael Mol wrote

 revdep-rebuild # mplayer locking up the entire system is unusual, to
 say the least.
 
 The nvidia-drivers build should have screamed bloody murder if you had
 any incompatible kernel options set (or required ones missing).

  I think the problem is that I specified xv for video output in
~/.mplayer/config and the Nvidia drivers do not like xv at all.  I
deleted ~/.mplayer/config and mplayer works.  I'm looking carefully at
all the USE options for mplayer, and checking them for any more possible
problems.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-18 Thread Michael Mol
Proprietary drivers work fine with 3.2.1. Haven't tried 3.2.12.
On Apr 18, 2012 5:09 PM, Walter Dnes waltd...@waltdnes.org wrote:

  I started a thread a while ago about looking for an accelerated video
 card.  I went and got an ASUS EN210 Silent PCIe card and followed the
 instructions at the Gentoo Nouveau wiki.  I have not been able to get X
 running yet.  Trying to launch X with startx blanks the screen, and I
 can't get it back.  Note that the machine does *NOT* lock up, rather the
 video gets disabled until I reboot.  I can ssh into the machine.  It
 appears to be working fine.  If I...

 * start a root text console in TTY8
 * switch to TTY9
 * startx

  The screen goes blank and I can't get graphics or GUI, no matter what
 I do.  I can ssh in from another machine and things look OK.  As a
 matter of fact, I can {CTRL-ALT-F8} and blindly issue the command
 reboot or halt -p, and it gets executed.  The attached Xorg.log file
 shows nothing wrong.  Xorg -configure does generate an xorg.conf.new
 file, but screams about...

 
 (EE) [drm] No DRICreatePCIBusID symbol
 Number of created screens does not match number of detected devices.
  Configuration failed.
 Server terminated with error (2). Closing log file.
 

  The Gentoo Nouveau wiki says that message comes either from disabling
 DRI (which I didn't do) or from the wrong opengl.  I only have the xorg
 version.  Any ideas?  Do the proprietary Nvidia drivers work with kernel
 3.2.12?  I'm running with mdev instead of udev.  Would that make a
 difference?

 --
 Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-18 Thread Walter Dnes
On Wed, Apr 18, 2012 at 05:21:28PM -0400, Michael Mol wrote
 Proprietary drivers work fine with 3.2.1. Haven't tried 3.2.12.

  The proprietary driver partly works.  Static images (jpeg/gif/png/etc)
are OK.  1080p HD Flash videos play fullscreen without stuttering.  But
colours are way off on hue.  Faces are blue (no, this wasn't the Avatar
trailer G).  Mplayer totally locks up the machine as soon as I start
it.  I have to resort to Magic-Sysrq to bail out without forcing a major
fsck.  Here are the card details from lspci -v...

01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev 
a2) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 83c7
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at fb00 (32-bit, non-prefetchable) [size=16M]
Memory at b000 (64-bit, prefetchable) [size=256M]
Memory at ce00 (64-bit, prefetchable) [size=32M]
I/O ports at df00 [size=128]
[virtual] Expansion ROM at c000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 ?
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting ?
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 
?
Kernel driver in use: nvidia
Kernel modules: nvidia

01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev 
a1)
Subsystem: ASUSTeK Computer Inc. Device 83c7
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at fcffc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Kernel driver in use: snd_hda_intel

  I'm file-attaching the Xorg log and the xorg.conf, if they'll help.

-- 
Walter Dnes waltd...@waltdnes.org


Xorg.0.log.gz
Description: Binary data
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
ModulePath   /usr/lib/xorg/modules
FontPath /usr/share/fonts/misc/
FontPath /usr/share/fonts/TTF/
FontPath /usr/share/fonts/OTF/
FontPath /usr/share/fonts/Type1/
FontPath /usr/share/fonts/100dpi/
FontPath /usr/share/fonts/75dpi/
EndSection

Section Module
Load  glx
Load  extmod
Load  record
Load  dbe
Disable dri
  Disable Glcore
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/input/mice
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
EndSection

Section Device
Identifier  Card0
Driver  nvidia
BusID   PCI:1:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 1
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
EndSubSection
EndSection



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-18 Thread Mark Knecht
On Wed, Apr 18, 2012 at 6:27 PM, Walter Dnes waltd...@waltdnes.org wrote:
 On Wed, Apr 18, 2012 at 05:21:28PM -0400, Michael Mol wrote
 Proprietary drivers work fine with 3.2.1. Haven't tried 3.2.12.

  The proprietary driver partly works.  Static images (jpeg/gif/png/etc)
 are OK.  1080p HD Flash videos play fullscreen without stuttering.  But
 colours are way off on hue.  Faces are blue (no, this wasn't the Avatar
 trailer G).  Mplayer totally locks up the machine as soon as I start
 it.  I have to resort to Magic-Sysrq to bail out without forcing a major
 fsck.  Here are the card details from lspci -v...

Presumably this all works perfectly with the closed source driver?
I've never seen problems like these on my machine which almost all run
NVidia chips. I haven't tried this Open Source in years myself.

- Mark



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-18 Thread Michael Mol
On Wed, Apr 18, 2012 at 9:27 PM, Walter Dnes waltd...@waltdnes.org wrote:
 On Wed, Apr 18, 2012 at 05:21:28PM -0400, Michael Mol wrote
 Proprietary drivers work fine with 3.2.1. Haven't tried 3.2.12.

  The proprietary driver partly works.  Static images (jpeg/gif/png/etc)
 are OK.  1080p HD Flash videos play fullscreen without stuttering.  But
 colours are way off on hue.  Faces are blue (no, this wasn't the Avatar
 trailer G).  Mplayer totally locks up the machine as soon as I start
 it.  I have to resort to Magic-Sysrq to bail out without forcing a major
 fsck.  Here are the card details from lspci -v...

 01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] 
 (rev a2) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 83c7
        Flags: bus master, fast devsel, latency 0, IRQ 5
        Memory at fb00 (32-bit, non-prefetchable) [size=16M]
        Memory at b000 (64-bit, prefetchable) [size=256M]
        Memory at ce00 (64-bit, prefetchable) [size=32M]
        I/O ports at df00 [size=128]
        [virtual] Expansion ROM at c000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 ?
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting ?
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 
 ?
        Kernel driver in use: nvidia
        Kernel modules: nvidia

 01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller 
 (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 83c7
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at fcffc000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Kernel driver in use: snd_hda_intel

  I'm file-attaching the Xorg log and the xorg.conf, if they'll help.

Hm. Things to try.

eselect opengel set nvidia
eselect opencl set nvidia

revdep-rebuild # mplayer locking up the entire system is unusual, to
say the least.

The nvidia-drivers build should have screamed bloody murder if you had
any incompatible kernel options set (or required ones missing).

-- 
:wq



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-18 Thread Alecks Gates
Wait a second, was just scimming this and saw you mention blue faces.  I
have a 210 using the latest binary drivers from nvidia and it seems like
all red color shows up as blue in the flash player (and only flash
player).  It had never happened any time previously, and this was a new
install.

Frankly I have no idea how to fix it, but I mostly ignored it until now
because of html5 videos (where the problem doesn't occur).

Not sure I'll be able to reply with details after this but I thought I'd
mention it

Alecks Gates, sent from Android on an HTC G2
On Apr 18, 2012 9:28 PM, Walter Dnes waltd...@waltdnes.org wrote:

 On Wed, Apr 18, 2012 at 05:21:28PM -0400, Michael Mol wrote
  Proprietary drivers work fine with 3.2.1. Haven't tried 3.2.12.

  The proprietary driver partly works.  Static images (jpeg/gif/png/etc)
 are OK.  1080p HD Flash videos play fullscreen without stuttering.  But
 colours are way off on hue.  Faces are blue (no, this wasn't the Avatar
 trailer G).  Mplayer totally locks up the machine as soon as I start
 it.  I have to resort to Magic-Sysrq to bail out without forcing a major
 fsck.  Here are the card details from lspci -v...

 01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210]
 (rev a2) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 83c7
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at fb00 (32-bit, non-prefetchable) [size=16M]
Memory at b000 (64-bit, prefetchable) [size=256M]
Memory at ce00 (64-bit, prefetchable) [size=32M]
I/O ports at df00 [size=128]
[virtual] Expansion ROM at c000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 ?
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting ?
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1
 Len=024 ?
Kernel driver in use: nvidia
Kernel modules: nvidia

 01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller
 (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 83c7
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at fcffc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Kernel driver in use: snd_hda_intel

  I'm file-attaching the Xorg log and the xorg.conf, if they'll help.

 --
 Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Nouveau driver turns off video when I start X

2012-04-18 Thread Michael Mol
Sounds like a bad color transform in Flash or the video driver. Maybe
the U and V channels are being swapped. No idea why, though.

On Wed, Apr 18, 2012 at 10:47 PM, Alecks Gates aleck...@gmail.com wrote:
 Wait a second, was just scimming this and saw you mention blue faces.  I
 have a 210 using the latest binary drivers from nvidia and it seems like all
 red color shows up as blue in the flash player (and only flash player).  It
 had never happened any time previously, and this was a new install.

 Frankly I have no idea how to fix it, but I mostly ignored it until now
 because of html5 videos (where the problem doesn't occur).

 Not sure I'll be able to reply with details after this but I thought I'd
 mention it

 Alecks Gates, sent from Android on an HTC G2

 On Apr 18, 2012 9:28 PM, Walter Dnes waltd...@waltdnes.org wrote:

 On Wed, Apr 18, 2012 at 05:21:28PM -0400, Michael Mol wrote
  Proprietary drivers work fine with 3.2.1. Haven't tried 3.2.12.

  The proprietary driver partly works.  Static images (jpeg/gif/png/etc)
 are OK.  1080p HD Flash videos play fullscreen without stuttering.  But
 colours are way off on hue.  Faces are blue (no, this wasn't the Avatar
 trailer G).  Mplayer totally locks up the machine as soon as I start
 it.  I have to resort to Magic-Sysrq to bail out without forcing a major
 fsck.  Here are the card details from lspci -v...

 01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210]
 (rev a2) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 83c7
        Flags: bus master, fast devsel, latency 0, IRQ 5
        Memory at fb00 (32-bit, non-prefetchable) [size=16M]
        Memory at b000 (64-bit, prefetchable) [size=256M]
        Memory at ce00 (64-bit, prefetchable) [size=32M]
        I/O ports at df00 [size=128]
        [virtual] Expansion ROM at c000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 ?
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting ?
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1
 Len=024 ?
        Kernel driver in use: nvidia
        Kernel modules: nvidia

 01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller
 (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 83c7
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at fcffc000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Kernel driver in use: snd_hda_intel

  I'm file-attaching the Xorg log and the xorg.conf, if they'll help.

 --
 Walter Dnes waltd...@waltdnes.org



-- 
:wq