From: "Daniel Eklöf" <daniel-pl05T3eHY++zQB+pC5nmwQ@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: NV50: xv fullscreen issues
Date: Fri, 26 Dec 2008 01:40:38 +0100 [thread overview]
Message-ID: <200812260140.38609.daniel@ekloef.se> (raw)
Hi,
I've been trying out nouveau for a while now and I must say I'm impressed. Performance in KDE4 in general seems better than the nvidia blob; way to go!
There are a couple of annoyances though:
XV in fullscreen doesn't work. I'm running in composite mode, and non fullscreen video works well enough. Going fullscreen in e.g gmplayer gives me:
[ws] Error in display. -0.005 ct: -0.000 25/ 25 30% 23% 0.8% 3 6
[ws] Error code: 8 ( BadMatch (invalid parameter attributes) )
[ws] Request code: 140
[ws] Minor code: 19
[ws] Modules: flip_page
xine crashes in a similar way. mplayer (non GUI version) doesn't crash, but all I get is a black screen with "BadMatch" errors spamming the console.
The BadMatch is from nv50_xv.c:54
if (exaGetPixmapOffset(ppix) < pNv->EXADriverPtr->offScreenBase)
return FALSE;
commenting out those lines stops the players from crashing, but I still get just a black screen.
After having crashed gmplayer (with the code lines above re-enabled), I also notice that screen updates are a bit shaky - sometimes the screen isn't updated until I press a key or move the mouse (e.g. typing 'ls' doesn't list any files until I press another key, web pages aren't displayed until I move the mouse and so on). At this point, I sometimes also see an unusually high CPU load from X (around 75%). Sometimes X freezes, sometimes not.
One more odd thing is that I don't get any interrupts on the NV50 during "normal use" (as reported by /proc/interrupts). I sometimes get an interrupt storm when starting X, then nothing. I sometimes see a number of interrupts after having crashed gmplayer when trying to play a video fullscreen. But other than that, no interrupts what so ever.
One last question, and this may not even be nouveau related since I also see this with the nv driver (so please feel free to yell RTFM! or just ignore it :) ). If I start X as a non-root user, it choses 1280x1024 as default resolution (the panel's native resolution is 1680x1050). I dont't see this in KDM, or when starting as root (so, I can for example start kdm in the correct resolution, but then when I log in, as non-root, the resolution is changed to 1280x1024). It doesn't seem to matter what I set in xorg.conf. The EDID output does report 1680x1050, and xrandr also sees it. In fact, just opening the "Display" settings in KDE's control panel causes a switch to 1680x1050. Needless to say, the binary nvidia driver doesn't have this problem.
Random system info:
Linux tiny 2.6.28 #1 SMP Thu Dec 25 12:45:15 CET 2008 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600 GTS (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 8241
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, non-prefetchable) [size=32M]
I/O ports at a000 [size=128]
Expansion ROM at d3000000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [68] MSI: Mask- 64bit+ Count=1/1 Enable-
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information <?>
Using latest git libdrm and nouveau sources, xorg-7.4 (server-1.5.3). If there's any other info you need, just let me know.
Regards,
Daniel Eklöf
next reply other threads:[~2008-12-26 0:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-26 0:40 Daniel Eklöf [this message]
[not found] ` <200812260140.38609.daniel-pl05T3eHY++zQB+pC5nmwQ@public.gmane.org>
2008-12-26 23:25 ` NV50: xv fullscreen issues Ben Skeggs
[not found] ` <fc5b84ad0812261525g58be27fdrf4649ab68c8e36a2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-12-27 11:36 ` Daniel Eklöf
[not found] ` <200812271236.37993.daniel-pl05T3eHY++zQB+pC5nmwQ@public.gmane.org>
2008-12-27 12:18 ` Maarten Maathuis
2008-12-27 12:49 ` Daniel Eklöf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200812260140.38609.daniel@ekloef.se \
--to=daniel-pl05t3ehy++zqb+pc5nmwq@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.