Mailinglist Archive: opensuse-factory (761 mails)

< Previous Next >
[opensuse-factory] complicated are the ways of god unknown the ones of nvidia! or testing grub2-efi
Hi,

I am testing the grub2-efi from factory on an exotic machine...

I have installed the grub2-efi as prescribed and got it running...
generated a nice cfg (attached) file and hit the run button...

Now I want to be able to run my laptop in two modes
A. with the laptop screen only
B. with an external display only.

this was relatively easy before... I just have my nice xorg.conf (attach)
with refit I have no issues to get what I want...

now grub2...

case B I obtain without issue...
I plug my screen, start the machine... all the boot process takes place on the
external screen (an improvement compared with refit when only the X was started
on the external all the pre-X stuff was on the LCD.)

If I start my machine without the external screen plugged I get a black
screen. I can access the machine via ssh, and I can see the failures of
Xorg(.0.log.old attached).

I have checked and I tried to see what happens but with no success...

to make things even more complicated I tried with nouveau and it works in
scenario A but not in scenario B...
The problem with nouveau is that the quality is so poor, in two aplications
that I use quite a lot that is not a real option.

Now I tested few more things...

external screen plugged && laptop lid open result black screen
external screen unplugged && laptop lid open result black screen
external screen unplugged && laptop lid closed result black screen
external screen plugged && laptop lid closed result happiness...


Any suggestions?

I have added a successful xorg log too..

Alin





--
Without Questions there are no Answers!
______________________________________________________________________
Alin Marin ELENA
Advanced Molecular Simulation Research Laboratory
School of Physics, University College Dublin
----
Ardionsamblú Móilíneach Saotharlann Taighde
Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath

-----------------------------------------------------------------------------------
http://alin.elenaworld.net
______________________________________________________________________
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-efi-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
}

insmod part_gpt
insmod ext2
set root='(hd0,gpt3)'
search --no-floppy --fs-uuid --set=root 214d4afe-41ed-4cb6-a432-6cf7ccef4170
if loadfont /usr/share/grub2/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
if sleep --interruptible 0 ; then
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE, with Linux 3.3.0-2-desktop' --class opensuse --class
gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt3)'
search --no-floppy --fs-uuid --set=root
214d4afe-41ed-4cb6-a432-6cf7ccef4170
echo 'Loading Linux 3.3.0-2-desktop ...'
linux /boot/vmlinuz-3.3.0-2-desktop
root=UUID=214d4afe-41ed-4cb6-a432-6cf7ccef4170 quiet splash=silent
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.3.0-2-desktop
}
menuentry 'openSUSE, with Linux 3.3.0-2-desktop (recovery mode)' --class
opensuse --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt3)'
search --no-floppy --fs-uuid --set=root
214d4afe-41ed-4cb6-a432-6cf7ccef4170
echo 'Loading Linux 3.3.0-2-desktop ...'
linux /boot/vmlinuz-3.3.0-2-desktop
root=UUID=214d4afe-41ed-4cb6-a432-6cf7ccef4170 single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.3.0-2-desktop
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Mac OS X (32-bit) (on /dev/sda2)" --class osx --class darwin --class
os {
insmod part_gpt
insmod hfsplus
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root b004472e96f25973
load_video
set do_resume=0
if [ /var/vm/sleepimage -nt10 / ]; then
if xnu_resume /var/vm/sleepimage; then
set do_resume=1
fi
fi
if [ $do_resume = 0 ]; then
xnu_uuid b004472e96f25973 uuid
if [ -f /Extra/DSDT.aml ]; then
acpi -e /Extra/DSDT.aml
fi
xnu_kernel /mach_kernel boot-uuid=${uuid} rd=*uuid
if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions
]; then
xnu_mkext /System/Library/Extensions.mkext
else
xnu_kextdir /System/Library/Extensions
fi
if [ -f /Extra/Extensions.mkext ]; then
xnu_mkext /Extra/Extensions.mkext
fi
if [ -d /Extra/Extensions ]; then
xnu_kextdir /Extra/Extensions
fi
if [ -f /Extra/devprop.bin ]; then
xnu_devprop_load /Extra/devprop.bin
fi
if [ -f /Extra/splash.jpg ]; then
insmod jpeg
xnu_splash /Extra/splash.jpg
fi
if [ -f /Extra/splash.png ]; then
insmod png
xnu_splash /Extra/splash.png
fi
if [ -f /Extra/splash.tga ]; then
insmod tga
xnu_splash /Extra/splash.tga
fi
fi
}
menuentry "Mac OS X (64-bit) (on /dev/sda2)" --class osx --class darwin --class
os {
insmod part_gpt
insmod hfsplus
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root b004472e96f25973
load_video
set do_resume=0
if [ /var/vm/sleepimage -nt10 / ]; then
if xnu_resume /var/vm/sleepimage; then
set do_resume=1
fi
fi
if [ $do_resume = 0 ]; then
xnu_uuid b004472e96f25973 uuid
if [ -f /Extra/DSDT.aml ]; then
acpi -e /Extra/DSDT.aml
fi
xnu_kernel64 /mach_kernel boot-uuid=${uuid} rd=*uuid
if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions
]; then
xnu_mkext /System/Library/Extensions.mkext
else
xnu_kextdir /System/Library/Extensions
fi
if [ -f /Extra/Extensions.mkext ]; then
xnu_mkext /Extra/Extensions.mkext
fi
if [ -d /Extra/Extensions ]; then
xnu_kextdir /Extra/Extensions
fi
if [ -f /Extra/devprop.bin ]; then
xnu_devprop_load /Extra/devprop.bin
fi
if [ -f /Extra/splash.jpg ]; then
insmod jpeg
xnu_splash /Extra/splash.jpg
fi
if [ -f /Extra/splash.png ]; then
insmod png
xnu_splash /Extra/splash.png
fi
if [ -f /Extra/splash.tga ]; then
insmod tga
xnu_splash /Extra/splash.tga
fi
fi
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 295.40
(buildmeister@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) Thu Apr 5 22:40:54 PDT
2012

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 256.53 (buildmeister@xxxxxxxxxxxxxxxxxxxx) Fri
Aug 27 20:55:01 PDT 2010
#Section "InputDevice"
# generated from data in "/etc/sysconfig/mouse"
# Identifier "Mouse0"
# Driver "mouse"
# Option "Protocol" "IMPS/2"
# Option "Device" "/dev/input/mice"
# Option "Emulate3Buttons" "yes"
# Option "ZAxisMapping" "4 5"
#EndSection

Section "ServerLayout"

# InputDevice "Mouse0" "CorePointer"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics Touchpad" "CorePointer"
InputDevice "Configured Mouse" "SendCoreEvents"
Option "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
Load "synaptics"
EndSection

Section "ServerFlags"

# Uncomment the following option to reenable kbd/mouse driver input sections.
# Otherwise evdev driver is used.
#Option "AutoAddDevices" "off"
Option "AutoAddDevices" "true"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Synaptics TouchPad"
Driver "synaptics"
Option "AccelFactor" "0.20"
Option "Buttons" "7"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
Option "CircularScrolling" "1"
Option "Device"
Option "EdgeMotionMaxSpeed" "15"
Option "EdgeMotionMinSpeed" "15"
Option "Emulate3Buttons" "on"
Option "EmulateMidButtonTime" "75"
Option "FingerHigh" "25"
Option "FingerLow" "5"
Option "RightEdge" "1100"
Option "LeftEdge" "50"
Option "TopEdge" "50"
Option "BottomEdge" "330"
Option "HorizScrollDelta" "0"
Option "HorizTwoFingerScroll" "0"
Option "InputFashion" "Mouse"
Option "MaxSpeed" "1.50"
Option "MaxTapMove" "60"
Option "MinSpeed" "0.4"
Option "Name" "ALPS;Touchpad"
Option "Protocol" "auto-dev"
Option "SHMConfig" "on"
Option "SendCoreEvents" "on"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "2"
Option "UpDownScrolling" "1"
Option "Vendor" "Sysp"
Option "VertEdgeScroll" "1"
Option "VertScrollDelta" "25"
Option "VertTwoFingerScroll" "1"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Apple"
HorizSync 30.0 - 75.0
VertRefresh 60.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 320M"
EndSection

Section "Screen"

# Removed Option "TwinView" "0"
# Removed Option "metamodes" "nvidia-auto-select +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-1"
Option "metamodes" "DFP-0: NULL, DFP-1: nvidia-auto-select +0+0"
Option "DPI" "110 x 110"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

< Previous Next >
This Thread
  • No further messages