James Morris - OLS Slides + Macbook fail
OLS Slides + Macbook fail|
Here are the slides from my OLS talk, although the paper is way more useful.
For those who attended Dan Walsh's talk on confining the user, you can find the slides here. Quite a few people expressed interest in them during the talk, and Dan sent them to me for some reason, so there you go.
Btw, my MacBook seems to never work with projectors (thanks to Paul Moore for lending me his laptop for the talk). It's relatively recent and has the following graphics stuff:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Nothing seems to work: rebooting with the cable attached (VGA text mode works, but not X), exhaustive messing about with xrandr, hitting the laptop with a hammer etc. Does anyone know something else I can try?
Tags: events, linux, ols, ottawa, security, selinux
|Date:||July 25th, 2008 11:25 am (UTC)|| |
Thank you for showing slides URLs.
Regarding your MacBook trouble, I suspect the cable. As I have a MacBook, why don't you try with my cable?
|Date:||July 25th, 2008 02:02 pm (UTC)|| |
The trollesque comment would be: "it is a MacBook"
Well, at least suspend and resume work...
|Date:||July 25th, 2008 03:02 pm (UTC)|| |
so does my ThinkPad :-)
Its probably the same intel chipset and graphics chip on your Thinkpad ;)
James: It worked fine in my talk, although the wide screen problem persists. I had to get rid of the intel driver and go back to i810 for it to work.
|Date:||July 25th, 2008 08:29 pm (UTC)|| |
there was a note about the answer being "trollesque". This really implied sarcasm.
As of the chipset, there are a lot of subtleties that actually make the difference. But anyway. Could just be a bug in what the distro ship or whatever. Again it was meant to be sarcastic humorous.
|Date:||July 25th, 2008 04:28 pm (UTC)|| |
If your using Linux on the Macbook then your using the open source Intel drivers.
These drivers lack the ability (at this current time) to dynamically resize the framebuffer to accept different sizes of desktops.
The work around is to make the virtual desktop large enough to encompass any sort of dual monitor setup you'd want. The downside is increased memory usage.
Oh, and don't add up your displays and set that as your virtual desktop. I did that for a while.. Like you have a two 1200x600 displays you want to use and so you set the virtual desktop to be 2400x600. This won't work as it'll cause odd and troubling bugs. Make it like 10 pixels wider, at least.
This is the X section I use:
Identifier "Default Screen"
# Virtual 2730 1300
Virtual 1500 2200
Monitor "Configured Monitor"
Hope that helps
Thanks, I'll see if this works (I did follow some Intel information on this and also tested it with an LCD panel, but for some reason, it wouldn't display anything on the projector).
You can't have more than Virtual 2048 2048 on a 945MG.
I have the same VGA chip on my X60s, and it works fine. I use the intel driver (from 2.1.x, now it's 2.3.2) and xorg-server is 1.4[.2].
After pluging the VGA cable I use "xrandr --output VGA --mode 1024x768 --below LVDS" for ex.
Part of xorg.conf:
Identifier "Onboad display adapter card"
Option "AccelMethod" "exa"
Option "MigrationHeuristic" "greedy"
Device "Onboad display adapter card"
Viewport 0 0
Virtual 2048 2048
|Date:||August 4th, 2008 12:36 pm (UTC)|| |
If vga text mode works on projector... does vesafb work on projector? If so, it should be as easy as switching to vesafb + xfree-fbdev.