sony-vaio-z-series team mailing list archive
-
sony-vaio-z-series team
-
Mailing list archive
-
Message #03081
Re: Bumblebee z11 success
Got some "bumblebee z11 success" her too! Thanks, Zheng and Heikki.
Some of the main issues that required fixing in my configuration for this
VPCZ11Z9E:
1) Xorg: "no screens found"
[XORG] (EE) intel(0): Failed to claim DRM device.
[XORG] (EE) Screen(s) found, but none have a usable configuration.
[XORG] (EE) no screens found(EE)
To fix, I need this in my device section of /etc/bumblebee/xorg.conf.nvidia:
BusID "PCI:1@0:0:0"
2) No enabled displays
"(WW) NVIDIA(0): Unable to get display device for DPI computation."
I had to explicitly specify my displays to be connected and enabled by adding
to /etc/bumblebee/xorg.conf.nvidia under screen section:
Option "UseDisplayDevice" "DFP-2, DFP-0"
Option "ConnectedMonitor" "DFP-2, DFP-0"
DFP-2 is my sony-lcd, DFP-0 is HDMI.
3) "(WW) NVIDIA(0): Unable to get display device DFP-0's EDID; cannot compute
DPI from DFP-0's EDID."
Sadly, even though reading EDID works fine elsewhere, the nvidia driver doesn't
seem to be able to do so. So the customedid lines are required:
Option "CustomEDID" "DFP-2:sonylcd.edid;DFP-0:mytv.edid"
The remaining issues are specific to setting up the HDMI port, which is
actually the main reason I turned to Bumblebee as I couldn't get any image
through HDMI with the basic nvidia driver package without Bumblebee.
Remaining problems to fight:
1) HDMI EDID
For the laptop display, specifying the EDID file manually is ok since it never
changes. The HDMI port edid is more problematic; not only would I need to
change the script but I'd also have to obtain the EDID for whatever display I
might want to use on the go.
2) display suspend
Another big problem seems to be the external display shutting down after a
while, and I cannot get it back on without rebooting the Bumblebee X server.
3) Acceleration for internal LCD when HDMI also enabled
I don't know whether Bumblebee is designed to work with two display devices.
If I have both DFP-2 and DFP-0 (HDMI) enabled, drawing to X display ":8" draws
to the external display. Running OpenGL application with optirun with ":0"
seems to try to draw to the internal LCD but fails to do so with error:
% LIBGL_DEBUG=verbose optirun glxinfo
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 6: 8086:0046, driver i965
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
libGL: Can't open configuration file ~/.drirc: No such file or directory.
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 8: 8086:0046, driver i965
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
libGL: Can't open configuration file ~/.drirc: No such file or directory.
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
client glx vendor string: primus
client glx version string: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 330M/PCIe/SSE2
OpenGL core profile version string: 3.3.0 NVIDIA 331.38
OpenGL core profile shading language version string: 3.30 NVIDIA via Cg
compiler
I'll post back if I find solutions to these.
Follow ups
References