public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Nouveau driver turns off video when I start X
@ 2012-04-18 20:42 Walter Dnes
  2012-04-18 21:21 ` Michael Mol
  2012-04-20  6:39 ` [gentoo-user] SOLVED: I switched to the Nvidia video driver Walter Dnes
  0 siblings, 2 replies; 21+ messages in thread
From: Walter Dnes @ 2012-04-18 20:42 UTC (permalink / raw
  To: Gentoo Users List

[-- Attachment #1: Type: text/plain, Size: 1564 bytes --]

  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 <waltdnes@waltdnes.org>

[-- Attachment #2: Xorg.0.log.gz --]
[-- Type: application/octet-stream, Size: 5959 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Nouveau driver turns off video when I start X
  2012-04-18 20:42 [gentoo-user] Nouveau driver turns off video when I start X Walter Dnes
@ 2012-04-18 21:21 ` Michael Mol
  2012-04-19  1:27   ` Walter Dnes
  2012-04-19  1:32   ` [gentoo-user] " walt
  2012-04-20  6:39 ` [gentoo-user] SOLVED: I switched to the Nvidia video driver Walter Dnes
  1 sibling, 2 replies; 21+ messages in thread
From: Michael Mol @ 2012-04-18 21:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1759 bytes --]

Proprietary drivers work fine with 3.2.1. Haven't tried 3.2.12.
On Apr 18, 2012 5:09 PM, "Walter Dnes" <waltdnes@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 <waltdnes@waltdnes.org>
>

[-- Attachment #2: Type: text/html, Size: 2225 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Nouveau driver turns off video when I start X
  2012-04-18 21:21 ` Michael Mol
@ 2012-04-19  1:27   ` Walter Dnes
  2012-04-19  1:49     ` Mark Knecht
                       ` (2 more replies)
  2012-04-19  1:32   ` [gentoo-user] " walt
  1 sibling, 3 replies; 21+ messages in thread
From: Walter Dnes @ 2012-04-19  1:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2130 bytes --]

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 fb000000 (32-bit, non-prefetchable) [size=16M]
        Memory at b0000000 (64-bit, prefetchable) [size=256M]
        Memory at ce000000 (64-bit, prefetchable) [size=32M]
        I/O ports at df00 [size=128]
        [virtual] Expansion ROM at c0000000 [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 <waltdnes@waltdnes.org>

[-- Attachment #2: Xorg.0.log.gz --]
[-- Type: application/octet-stream, Size: 3660 bytes --]

[-- Attachment #3: xorg.conf --]
[-- Type: text/plain, Size: 1584 bytes --]

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "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"
	ModelName    "Monitor Model"
EndSection

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

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [gentoo-user] Re: Nouveau driver turns off video when I start X
  2012-04-18 21:21 ` Michael Mol
  2012-04-19  1:27   ` Walter Dnes
@ 2012-04-19  1:32   ` walt
  2012-04-19  1:52     ` Michael Mol
  1 sibling, 1 reply; 21+ messages in thread
From: walt @ 2012-04-19  1:32 UTC (permalink / raw
  To: gentoo-user

On 04/18/2012 02:21 PM, Walter Dnes wrote:
> Do the proprietary Nvidia drivers work with kernel 3.2.12? 

Yes, though it may differ depending on which version of the drivers you
need.  If your card needs the very recent drivers (which I suspect it does)
then you should have no problems.

> I'm running with mdev instead of udev.  Would that make a difference?

That one I can't answer, sorry.





^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Nouveau driver turns off video when I start X
  2012-04-19  1:27   ` Walter Dnes
@ 2012-04-19  1:49     ` Mark Knecht
  2012-04-19 10:44       ` Walter Dnes
  2012-04-19  2:06     ` Michael Mol
  2012-04-19  2:47     ` Alecks Gates
  2 siblings, 1 reply; 21+ messages in thread
From: Mark Knecht @ 2012-04-19  1:49 UTC (permalink / raw
  To: gentoo-user

On Wed, Apr 18, 2012 at 6:27 PM, Walter Dnes <waltdnes@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



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Re: Nouveau driver turns off video when I start X
  2012-04-19  1:32   ` [gentoo-user] " walt
@ 2012-04-19  1:52     ` Michael Mol
  0 siblings, 0 replies; 21+ messages in thread
From: Michael Mol @ 2012-04-19  1:52 UTC (permalink / raw
  To: gentoo-user

On Wed, Apr 18, 2012 at 9:32 PM, walt <w41ter@gmail.com> wrote:
> On 04/18/2012 02:21 PM, Walter Dnes wrote:
>> Do the proprietary Nvidia drivers work with kernel 3.2.12?
>
> Yes, though it may differ depending on which version of the drivers you
> need.  If your card needs the very recent drivers (which I suspect it does)
> then you should have no problems.

The 210 chipset has been out for a long time. Been using it since for years.

>
>> I'm running with mdev instead of udev.  Would that make a difference?
>
> That one I can't answer, sorry.
>
>
>



-- 
:wq



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Nouveau driver turns off video when I start X
  2012-04-19  1:27   ` Walter Dnes
  2012-04-19  1:49     ` Mark Knecht
@ 2012-04-19  2:06     ` Michael Mol
  2012-04-19 12:31       ` Walter Dnes
  2012-04-20  0:49       ` Walter Dnes
  2012-04-19  2:47     ` Alecks Gates
  2 siblings, 2 replies; 21+ messages in thread
From: Michael Mol @ 2012-04-19  2:06 UTC (permalink / raw
  To: gentoo-user

On Wed, Apr 18, 2012 at 9:27 PM, Walter Dnes <waltdnes@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 fb000000 (32-bit, non-prefetchable) [size=16M]
>        Memory at b0000000 (64-bit, prefetchable) [size=256M]
>        Memory at ce000000 (64-bit, prefetchable) [size=32M]
>        I/O ports at df00 [size=128]
>        [virtual] Expansion ROM at c0000000 [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



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Nouveau driver turns off video when I start X
  2012-04-19  1:27   ` Walter Dnes
  2012-04-19  1:49     ` Mark Knecht
  2012-04-19  2:06     ` Michael Mol
@ 2012-04-19  2:47     ` Alecks Gates
  2012-04-19  2:55       ` Michael Mol
  2012-04-19 12:23       ` Walter Dnes
  2 siblings, 2 replies; 21+ messages in thread
From: Alecks Gates @ 2012-04-19  2:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2821 bytes --]

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" <waltdnes@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 fb000000 (32-bit, non-prefetchable) [size=16M]
>        Memory at b0000000 (64-bit, prefetchable) [size=256M]
>        Memory at ce000000 (64-bit, prefetchable) [size=32M]
>        I/O ports at df00 [size=128]
>        [virtual] Expansion ROM at c0000000 [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 <waltdnes@waltdnes.org>
>

[-- Attachment #2: Type: text/html, Size: 3351 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Nouveau driver turns off video when I start X
  2012-04-19  2:47     ` Alecks Gates
@ 2012-04-19  2:55       ` Michael Mol
  2012-04-19 12:23       ` Walter Dnes
  1 sibling, 0 replies; 21+ messages in thread
From: Michael Mol @ 2012-04-19  2:55 UTC (permalink / raw
  To: gentoo-user

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 <alecks.g@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" <waltdnes@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 fb000000 (32-bit, non-prefetchable) [size=16M]
>>        Memory at b0000000 (64-bit, prefetchable) [size=256M]
>>        Memory at ce000000 (64-bit, prefetchable) [size=32M]
>>        I/O ports at df00 [size=128]
>>        [virtual] Expansion ROM at c0000000 [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 <waltdnes@waltdnes.org>



-- 
:wq



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Nouveau driver turns off video when I start X
  2012-04-19  1:49     ` Mark Knecht
@ 2012-04-19 10:44       ` Walter Dnes
  2012-04-19 13:03         ` Mark Knecht
  0 siblings, 1 reply; 21+ messages in thread
From: Walter Dnes @ 2012-04-19 10:44 UTC (permalink / raw
  To: gentoo-user

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 <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Nouveau driver turns off video when I start X
  2012-04-19  2:47     ` Alecks Gates
  2012-04-19  2:55       ` Michael Mol
@ 2012-04-19 12:23       ` Walter Dnes
  2012-04-19 20:44         ` Per-Erik Westerberg
  1 sibling, 1 reply; 21+ messages in thread
From: Walter Dnes @ 2012-04-19 12:23 UTC (permalink / raw
  To: gentoo-user

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 <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Nouveau driver turns off video when I start X
  2012-04-19  2:06     ` Michael Mol
@ 2012-04-19 12:31       ` Walter Dnes
  2012-04-20  0:49       ` Walter Dnes
  1 sibling, 0 replies; 21+ messages in thread
From: Walter Dnes @ 2012-04-19 12:31 UTC (permalink / raw
  To: gentoo-user

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... dohhhh.  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 <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Nouveau driver turns off video when I start X
  2012-04-19 10:44       ` Walter Dnes
@ 2012-04-19 13:03         ` Mark Knecht
  0 siblings, 0 replies; 21+ messages in thread
From: Mark Knecht @ 2012-04-19 13:03 UTC (permalink / raw
  To: gentoo-user

On Thu, Apr 19, 2012 at 3:44 AM, Walter Dnes <waltdnes@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 <waltdnes@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



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Nouveau driver turns off video when I start X
  2012-04-19 12:23       ` Walter Dnes
@ 2012-04-19 20:44         ` Per-Erik Westerberg
  0 siblings, 0 replies; 21+ messages in thread
From: Per-Erik Westerberg @ 2012-04-19 20:44 UTC (permalink / raw
  To: gentoo-user

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




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Nouveau driver turns off video when I start X
  2012-04-19  2:06     ` Michael Mol
  2012-04-19 12:31       ` Walter Dnes
@ 2012-04-20  0:49       ` Walter Dnes
  2012-04-20 11:25         ` Dale
  1 sibling, 1 reply; 21+ messages in thread
From: Walter Dnes @ 2012-04-20  0:49 UTC (permalink / raw
  To: gentoo-user

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 <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] SOLVED: I switched to the Nvidia video driver
  2012-04-18 20:42 [gentoo-user] Nouveau driver turns off video when I start X Walter Dnes
  2012-04-18 21:21 ` Michael Mol
@ 2012-04-20  6:39 ` Walter Dnes
  2012-04-20  7:09   ` [gentoo-user] " Nikos Chantziaras
  2012-04-26 15:10   ` [gentoo-user] " Alecks Gates
  1 sibling, 2 replies; 21+ messages in thread
From: Walter Dnes @ 2012-04-20  6:39 UTC (permalink / raw
  To: Gentoo Users List

  A couple of booby-traps for the unwarey...

1) There seemes to be a colour translation bug in recent versions of
Flash that only shows with the Nvidia video drivers.  Red and blue are
swapped in Flash.  If you see people with blue faces, and you're not
watching Avatar, you've hit this bug.  The solution is to edit
/etc/adobe/mms.cfg  Append the line...

EnableLinuxHWVideoDecode=1

This will work with most Nvidia cards.  If that doesn't work, try making
it two lines, namely...

EnableLinuxHWVideoDecode=1
OverrideGPUValidation=true

Note that Flash is quite fragile with these two lines, and the plugin
crashes a lot.

2) Nvidia drivers do not like the mplayer "xv" video output option at
all.  It hangs my machine, requiring Magic-Sysrq to shut down
semi-gracefully.  Don't use that option with Nvidia drivers.


  So my Dell Inspiron D530 desktop, which is pushing 5 years, paired
with a $40 Asus EN210 SILENT/DI/512MD3/V2(LP) NVIDIA GeForce 210 Chipset
(589Mhz) 512MB (1333Mhz) GDDR3 DVI/VGA/HDMI PCI-Express 2.0 Graphics
Card gets over 5300 fps in glxgears.  In real life, it plays 1080p
Youtube HD videos fullscreen (1920x1080) without stuttering.  I do have
to let it buffer for several seconds first, because my 6 megabit ADSL
connection nets 4.98 megabits, and it can't quite keep up with the
required download speed.

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 21+ messages in thread

* [gentoo-user] Re: SOLVED: I switched to the Nvidia video driver
  2012-04-20  6:39 ` [gentoo-user] SOLVED: I switched to the Nvidia video driver Walter Dnes
@ 2012-04-20  7:09   ` Nikos Chantziaras
  2012-04-20 11:31     ` Dale
  2012-04-20 15:54     ` Walter Dnes
  2012-04-26 15:10   ` [gentoo-user] " Alecks Gates
  1 sibling, 2 replies; 21+ messages in thread
From: Nikos Chantziaras @ 2012-04-20  7:09 UTC (permalink / raw
  To: gentoo-user

On 20/04/12 09:39, Walter Dnes wrote:
>    A couple of booby-traps for the unwarey...
>
> 1) There seemes to be a colour translation bug in recent versions of
> Flash that only shows with the Nvidia video drivers.  Red and blue are
> swapped in Flash.  If you see people with blue faces, and you're not
> watching Avatar, you've hit this bug.  The solution is to edit
> /etc/adobe/mms.cfg  Append the line...
>
> EnableLinuxHWVideoDecode=1
>
> This will work with most Nvidia cards.  If that doesn't work, try making
> it two lines, namely...
>
> EnableLinuxHWVideoDecode=1
> OverrideGPUValidation=true
>
> Note that Flash is quite fragile with these two lines, and the plugin
> crashes a lot.

A crash-free solution is to leave mms.cfg as-is and instead right click 
in a flash window, select "Settings" and uncheck the hardware 
acceleration checkbox.  You probably need to restart the browser after that.


> 2) Nvidia drivers do not like the mplayer "xv" video output option at
> all.  It hangs my machine, requiring Magic-Sysrq to shut down
> semi-gracefully.  Don't use that option with Nvidia drivers.

Hmm.  Xv is the most stable option for most users.




^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Nouveau driver turns off video when I start X
  2012-04-20  0:49       ` Walter Dnes
@ 2012-04-20 11:25         ` Dale
  0 siblings, 0 replies; 21+ messages in thread
From: Dale @ 2012-04-20 11:25 UTC (permalink / raw
  To: gentoo-user

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"



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Re: SOLVED: I switched to the Nvidia video driver
  2012-04-20  7:09   ` [gentoo-user] " Nikos Chantziaras
@ 2012-04-20 11:31     ` Dale
  2012-04-20 15:54     ` Walter Dnes
  1 sibling, 0 replies; 21+ messages in thread
From: Dale @ 2012-04-20 11:31 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras wrote:

> 
> Hmm.  Xv is the most stable option for most users.
> 


I had the same issues with xv set in smplayer.  It would work but it
caused issues for me.  It would pause a lot and the sound would be way
off but all works fine when I switched to "gl (fast)".  Since my DSL is
a slower speed, I download the videos then play them from the hard
drive.  Sometimes I wish we had cable out here.  My DSL is 768K/sec.  I
think the fastest here is 3Mbs/sec.

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"



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] Re: SOLVED: I switched to the Nvidia video driver
  2012-04-20  7:09   ` [gentoo-user] " Nikos Chantziaras
  2012-04-20 11:31     ` Dale
@ 2012-04-20 15:54     ` Walter Dnes
  1 sibling, 0 replies; 21+ messages in thread
From: Walter Dnes @ 2012-04-20 15:54 UTC (permalink / raw
  To: gentoo-user

On Fri, Apr 20, 2012 at 10:09:37AM +0300, Nikos Chantziaras wrote
> On 20/04/12 09:39, Walter Dnes wrote:

> > 2) Nvidia drivers do not like the mplayer "xv" video output option at
> > all.  It hangs my machine, requiring Magic-Sysrq to shut down
> > semi-gracefully.  Don't use that option with Nvidia drivers.
> 
> Hmm.  Xv is the most stable option for most users.

  Before getting the Nvidia card+driver, xv was the only one that
worked half-decently for me.  This seems to be Nvidia-specific and maybe
specific only to the closed source Nvidia driver.  I don't know about the
Nouveau driver, because I never could get Nouveau working to test it.

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] SOLVED: I switched to the Nvidia video driver
  2012-04-20  6:39 ` [gentoo-user] SOLVED: I switched to the Nvidia video driver Walter Dnes
  2012-04-20  7:09   ` [gentoo-user] " Nikos Chantziaras
@ 2012-04-26 15:10   ` Alecks Gates
  1 sibling, 0 replies; 21+ messages in thread
From: Alecks Gates @ 2012-04-26 15:10 UTC (permalink / raw
  To: gentoo-user

Finally able to test out the fix and I can confirm just appending
"EnableLinuxHWVideoDecode=1" to /etc/adobe/mms.cfg worked for me.

Here's my card (Zotac brand):
VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)

On an ASUS M4A88TD-M/USB3

Also, I just use VDPAU in mplayer and VA-API with the VDPAU backend in
VLC.  Works great.

On Fri, Apr 20, 2012 at 2:39 AM, Walter Dnes <waltdnes@waltdnes.org> wrote:
>  A couple of booby-traps for the unwarey...
>
> 1) There seemes to be a colour translation bug in recent versions of
> Flash that only shows with the Nvidia video drivers.  Red and blue are
> swapped in Flash.  If you see people with blue faces, and you're not
> watching Avatar, you've hit this bug.  The solution is to edit
> /etc/adobe/mms.cfg  Append the line...
>
> EnableLinuxHWVideoDecode=1
>
> This will work with most Nvidia cards.  If that doesn't work, try making
> it two lines, namely...
>
> EnableLinuxHWVideoDecode=1
> OverrideGPUValidation=true
>
> Note that Flash is quite fragile with these two lines, and the plugin
> crashes a lot.
>
> 2) Nvidia drivers do not like the mplayer "xv" video output option at
> all.  It hangs my machine, requiring Magic-Sysrq to shut down
> semi-gracefully.  Don't use that option with Nvidia drivers.
>
>
>  So my Dell Inspiron D530 desktop, which is pushing 5 years, paired
> with a $40 Asus EN210 SILENT/DI/512MD3/V2(LP) NVIDIA GeForce 210 Chipset
> (589Mhz) 512MB (1333Mhz) GDDR3 DVI/VGA/HDMI PCI-Express 2.0 Graphics
> Card gets over 5300 fps in glxgears.  In real life, it plays 1080p
> Youtube HD videos fullscreen (1920x1080) without stuttering.  I do have
> to let it buffer for several seconds first, because my 6 megabit ADSL
> connection nets 4.98 megabits, and it can't quite keep up with the
> required download speed.
>
> --
> Walter Dnes <waltdnes@waltdnes.org>
>



^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2012-04-26 15:12 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-18 20:42 [gentoo-user] Nouveau driver turns off video when I start X Walter Dnes
2012-04-18 21:21 ` Michael Mol
2012-04-19  1:27   ` Walter Dnes
2012-04-19  1:49     ` Mark Knecht
2012-04-19 10:44       ` Walter Dnes
2012-04-19 13:03         ` Mark Knecht
2012-04-19  2:06     ` Michael Mol
2012-04-19 12:31       ` Walter Dnes
2012-04-20  0:49       ` Walter Dnes
2012-04-20 11:25         ` Dale
2012-04-19  2:47     ` Alecks Gates
2012-04-19  2:55       ` Michael Mol
2012-04-19 12:23       ` Walter Dnes
2012-04-19 20:44         ` Per-Erik Westerberg
2012-04-19  1:32   ` [gentoo-user] " walt
2012-04-19  1:52     ` Michael Mol
2012-04-20  6:39 ` [gentoo-user] SOLVED: I switched to the Nvidia video driver Walter Dnes
2012-04-20  7:09   ` [gentoo-user] " Nikos Chantziaras
2012-04-20 11:31     ` Dale
2012-04-20 15:54     ` Walter Dnes
2012-04-26 15:10   ` [gentoo-user] " Alecks Gates

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox