Bug 280396

Summary: i810: "CacheLines" and "VideoRam" aren't set on FSC AMILO Pro V3205
Product: [openSUSE] openSUSE 10.2 Reporter: Matej Horvath <mhorvath>
Component: SaX2Assignee: Stefan Dirsch <sndirsch>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 10.2   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: hwinfo
xorg.conf
SaX.log

Description Matej Horvath 2007-06-03 20:39:37 UTC
I was getting " BadAlloc (insufficient resources for operation) " error messages during trying to play high resolution videos (using mplayer). The problem occured because the videocard didn't have enough memory allocated (it's using shared RAM). 

I solved it by adding these lines into xorg.conf ( section "Device" ):

Option "VideoRam" "131072"
Option "CacheLines" "1980"

The values may vary,  they depend on available memory, user requirements etc., of course. 
I think SaX should handle these values to enhance usability.


kernel-2.6.18.8-ccj45-default, xorg-x11-7.2-26, 915resolution-0.5.2-15
Comment 1 Matej Horvath 2007-06-03 20:40:21 UTC
Created attachment 143791 [details]
hwinfo
Comment 2 Matej Horvath 2007-06-03 20:40:56 UTC
Created attachment 143792 [details]
xorg.conf
Comment 3 Matej Horvath 2007-06-03 20:46:22 UTC
Created attachment 143793 [details]
SaX.log
Comment 4 Matej Horvath 2007-06-03 20:47:31 UTC
sax2-8.1-83.2
Comment 5 Marcus Schaefer 2007-06-04 07:08:35 UTC
Stefan could you add the options to the CDB

Thanks
Comment 6 Stefan Dirsch 2007-06-04 07:42:36 UTC
Option "VideoRAM" no longer exists in "intel" driver. Additionally I don't think this can be done for everyone due to the following reasons.

1) I think this needs to be configured in BIOS before
2) Not everyone wants to waste his memory for a huge graphics framebuffer

WRT to Option "Cachelines".
# man i810
[..]
Option "CacheLines" "integer"
    This  allows  the  user  to change the amount of graphics memory
    used for 2D acceleration  and  video.   Decreasing  this  amount
    leaves  more for 3D textures.  Increasing it can improve 2D per‐
    formance at the expense of 3D performance.
Comment 7 Stefan Dirsch 2007-06-04 12:44:53 UTC
Remaining issue is the Cachelines option. This is already handled differently 
in Bug #237674.

*** This bug has been marked as a duplicate of bug 237674 ***