Re: HWA nouveau regression?

"Eugene Paskevich" <[email protected]> Fri, 20 Apr 2012 12:36:46 +0300
Newsgroups gmane.comp.web.opera.linux
Organization Raptor's NestSite
Message-ID <[email protected]>
On Fri, 20 Apr 2012 08:28:28 +0300, Eirik Byrkjeflot Anonsen  
<[email protected]> wrote:

> "Eugene Paskevich" <[email protected]> writes:
>
>> The latest snapshot (1372) seems to be completely broken with regard
>> to HWA on my nouveau.
>> I can see the window manager borders, but absolutely nothing inside
>> the window.
>> The window controls are functional, though invisible. :)
>
> "Absolutely nothing?"  As in completely black?  Or a mess of something
> that is probably triangles, possibly filled with odd patterns?

I've seen two different behaviors.
One is when the window contents is the frame snapshot of the underlying  
desktop
when the window receives show event. Erm... I ignorantly call that
'false compositing method'. When window is moved, its contents isn't  
changed,
so the window isn't transparent.

The other is somewhat different. I couldn't reproduce it anymore.
The contents is like black and white vertical lines were seriously
distorted horizontally... Yes, lame description indeed. But I couldn't  
recognize
any patterns in what I saw.

>> Snapshot 1360 works OK on the same hardware/drivers.
>> glxinfo reports:
>> OpenGL vendor string: nouveau
>> OpenGL renderer string: Gallium 0.4 on NV4B
>> OpenGL version string: 2.1 Mesa 7.11.2
>
> That would be a 7300 or 7600, I guess.  Do you know how much graphics
> memory that card has?

Somewhat contradictory... I think it has 256M.

Xorg.log says: (II) NOUVEAU(0): GART: 512MiB available

dmesg:
[   10.451125] [drm] nouveau 0000:04:00.0: Detected 256MiB VRAM
[   10.461390] [drm] nouveau 0000:04:00.0: 512 MiB GART (aperture)

lspci -vv -nn -s 04:00.0
04:00.0 VGA compatible controller [0300]: NVIDIA Corporation G73 [GeForce  
7600 GT] [10de:0391] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device [1043:81f7]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-  
Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-  
<MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 16 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at cf000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Region 3: Memory at ce000000 (64-bit, non-prefetchable) [size=16M]
	Region 5: I/O ports at ec00 [size=128]
	Expansion ROM at cdfe0000 [disabled] [size=128K]
	Capabilities: [60] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA  
PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Capabilities: [78] Express (v1) Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <1us, L1 <4us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <1us,  
L1 <4us
			ClockPM- Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive-  
BWMgmt- ABWMgmt-
	Capabilities: [100 v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed- WRR32- WRR64- WRR128-
		Ctrl:	ArbSelect=Fixed
		Status:	InProgress-
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=01
			Status:	NegoPending- InProgress-
	Capabilities: [128 v1] Power Budgeting <?>
	Kernel driver in use: nouveau

> To just get opera to work, the '-nohwaccel' parameter should do the
> trick, by turning off the hw acceleration support.  (Just in case you
> didn't know.)

Yep, that's how I run it now. And I did turn it off in opera:config.

-- 
Eugene Paskevich             |   *==)-----------   |     Plug me into
[email protected]        |   -----------(==*   |      The Matrix
--
Opera-Linux: https://list.opera.com/mailman/listinfo/opera-linux
More lists: https://list.opera.com/mailman/listinfo/
Unsubscribe: mailto:[email protected]?subject=unsubscribe