Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a question which for the life of me I have never been able to find an answer for despite my scouring of the internet for long periods on several different occasions.
How can I find out if a system I'm on supports MTRR and/or YWRAP? I know you can access MTRR via /proc/mtrr, but I just read about how that information may be skewed by kernel/bios options. I know as well that MTRR will be listed in the flags section of /proc/cpuinfo, but that doesn't tell you what type of MTRR is used, which is what I'm looking for. That info is in /proc/mtrr but if it's skewed, that's no good. Also, I don't really know what /proc/mtrr is saying. For example, I have 2048MB of write-back starting at 1 address, 1MB uncachable after that, and 8MB write-back after that. Why is there 1MB uncachable in the middle and does that change anything?
For ywrap, I have NO idea where to find that info. I know if I set it on my machine in grub, my display usually doesn't display properly (though maybe 2% of the time it displays fine). I assume it doesn't support ywrap, but someone told me all modern PC's do.
I realize I could post my own hardware info here and someone might be able to tell me what my specific hardware can do, but I'm looking for more generic info that might be of use if/when I upgrade or am helping a friend install linux. There has to be somewhere to get the info, even if it means going to the manufacturers site and reading the detailed technical specifications, and if that's the answer, I'll give that another shot but I didn't find anything there last time.
Also, I assume ywrap is a video card setting, is it not? Or is it a generic memory setting? MTRR is processor/motherboard specific, correct? Or does it involve something else as well?
Thanks. Checked that out. Also checked out uvesafb.txt since that's the framebuffer I'm using. Nothing says how to tell what my hardware can support.
I found out if you use the nomtrr grub option that you eliminate any inconsistencies in /proc/mtrr, so I did that I can see what my PC supports in terms of MTRR. I still have no idea to know if my system supports ywrap or ypan or any of that. Is it just trial and error to see what works?
Also, not that I learned I can see my actual MTRR capability if I use the nomtrr switch, I'm not quite sure mine is working. I have noticed that in mtrr if I use nomtrr I have:
So I'm not sure what that means. Write-back enabled for the 2GB starting at address 0x00000000 or is it only enabled for the 8MB starting at 0xf9000000? And what's the 1937MB gap between the uncachable region and the final writeback all about? Perhaps this is why my ywrap always causes me problems?
/usr/src/linux/Documentation/mtrr.txt didn't really tell me anything useful either.
Oh. If you're right, that might change things. I was under the impression you could have accelerated framebuffer though, which would imply to me that it must be related to hardware.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.