Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub has wrong resolution, text out of sync
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
elmar283
Apprentice
Apprentice


Joined: 06 Dec 2004
Posts: 195
Location: Netherlands

PostPosted: Sat Apr 27, 2013 10:37 am    Post subject: Grub has wrong resolution, text out of sync Reply with quote

When I boot my Gentoo on my computer the text is out of sync. I can't see the left and right parts of it. I could do something about it with the 'video' on Grub, but when I boot with the install usb the screen is not out of sync. So I would like to know what goes wrong?

Here are some configuration files:
Code:

elmarotter@ZaphodBeeblebrox ~ $ sudo lspci |grep VGA 
00:02.0 VGA compatible controller: Intel Corporation System Controller Hub (SCH Poulsbo) Graphics Controller (rev 07)


Code:

elmarotter@ZaphodBeeblebrox ~ $ cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=native -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="apache2 acpi alsa apm autoip avahi bonjour cifs consolekit curl cups dbus exif expat fbcon fuse gd geoip gif gs hardened imagemagick imap ipv6 jpeg jpeg2k libwww lm_sensor maildir md5sum mdnsresponder-compat mmx mp3 mysql mysqli nls ntp openssl pear perl pam pcre php pic pmu png policykit python samba sasl sdl slang spamassassin sse sse2 ssl sql sqlite sqlite2 tiff udev unicode webkit xml zeroconf zip -X -X11 -xorg -ppp"

LINGUAS="nl"

LANG="nl_NL"

APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"

APACHE2_MPMS="prefork"

PHP_TARGETS="php5-4"

GENTOO_MIRRORS="rsync://mirror.leaseweb.com/gentoo/ http://mirror.leaseweb.com/gentoo/ ftp://mirror.leaseweb.com/gentoo/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ http://gentoo.tiscali.nl/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo"

SYNC="rsync://rsync2.nl.gentoo.org/gentoo-portage"

INPUT_DEVICES="evdev keyboard mouse"

VIDEO_CARDS="poulsbo"

ALSA_CARDS="intel"

ACCEPT_LICENSE="*"


Code:

elmarotter@ZaphodBeeblebrox ~ $ cat /boot/grub/grub.conf
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 3.8.3 hardened
root (hd0,0)
kernel /boot/kernel-3.8.3-hardened root=/dev/sda3

title Gentoo Linux 3.7.5 hardened r1
root (hd0,0)
kernel /boot/kernel-3.7.5-hardened-r1 root=/dev/sda3

# vim:ft=conf:


Code:

elmarotter@ZaphodBeeblebrox ~ $ sudo cat /var/lib/portage/world
app-admin/logcheck
app-admin/logrotate
app-admin/paxtest
app-admin/sudo
app-admin/syslog-ng
app-admin/tmpwatch
app-antivirus/clamav
app-editors/nano
app-forensics/chkrootkit
app-misc/mc
app-misc/screen
app-portage/eix
app-portage/gentoolkit
app-portage/portage-utils
dev-db/mysql
dev-lang/php
dev-perl/XML-Parser
dev-python/mako
mail-client/mutt
mail-client/squirrelmail
mail-filter/dcc
mail-filter/postgrey
mail-filter/procmail
mail-filter/razor
mail-mta/postfix
media-sound/alsa-utils
media-sound/madplay
media-sound/mpd
media-sound/mpdscribble
media-sound/mpg123
media-sound/ncmpc
media-sound/ncmpcpp
media-sound/vorbis-tools
net-analyzer/fail2ban
net-analyzer/netcat
net-analyzer/nmap
net-analyzer/tcptraceroute
net-analyzer/traceroute
net-dns/bind
net-dns/bind-tools
net-dns/openresolv
net-firewall/ipset
net-firewall/iptables
net-fs/netatalk
net-fs/samba
net-ftp/ftp
net-mail/mailman
net-misc/dhcp
net-misc/minidlna
net-misc/netkit-fingerd
net-misc/netkit-telnetd
net-misc/ntp
net-misc/unison
net-p2p/deluge
net-print/cups-windows
net-print/gutenprint
net-proxy/adzapper
net-proxy/squid
net-wireless/wireless-tools
net-wireless/wpa_supplicant
sys-apps/gradm
sys-apps/iproute2
sys-apps/mlocate
sys-apps/pciutils
sys-apps/portage
sys-apps/usbutils
sys-auth/pam_mysql
sys-block/parted
sys-boot/grub
sys-fs/inotify-tools
sys-fs/ntfs3g
sys-kernel/hardened-sources
sys-kernel/linux-firmware
sys-process/lsof
sys-process/vixie-cron
www-client/links
www-client/lynx
www-servers/apache
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6719
Location: Goose Creek SC

PostPosted: Sat Apr 27, 2013 3:30 pm    Post subject: Reply with quote

eliminate the splash in /boot/grub/grub.conf
Quote:
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 5
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 3.8.3 hardened
root (hd0,0)
kernel /boot/kernel-3.8.3-hardened root=/dev/sda3

title Gentoo Linux 3.7.5 hardened r1
root (hd0,0)
kernel /boot/kernel-3.7.5-hardened-r1 root=/dev/sda3

# vim:ft=conf:

_________________
Defund the FCC.
Back to top
View user's profile Send private message
elmar283
Apprentice
Apprentice


Joined: 06 Dec 2004
Posts: 195
Location: Netherlands

PostPosted: Sat Apr 27, 2013 8:24 pm    Post subject: Reply with quote

That only changes the appearance of grub. Grub just looks fine. It is after the kernel is booted that the screen gets wrong.
My Samsung Smart Tv says the resolution is 1920x1080 / 60p. But that is the resolution of the screen. I don't know how to see or change the resolution the system has.
To be clear. I don't have any X on my system.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6719
Location: Goose Creek SC

PostPosted: Sat Apr 27, 2013 8:44 pm    Post subject: Reply with quote

Does menuconfig resemble
Quote:
Device Drivers --->
Graphics support --->
<M> /dev/agpgart (AGP Support) --->
--- /dev/agpgart (AGP Support)
< > AMD Opteron/Athlon64 on-CPU GART support
<M > Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > SiS chipset support
< > VIA chipset support
-*- VGA Arbitration
(2) Maximum number of GPUs
[ ] Laptop Hybrid Graphics - GPU switching support
< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
< > Intel GMA500 Stub Driver
<*> Lowlevel video output switch controls
<*> Support for frame buffer devices --->
--- Support for frame buffer devices
[*] Enable firmware EDID
[ ] Framebuffer foreign endianness support --->
[*] Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
*** Frame buffer hardware drivers ***
< > Cirrus Logic support
< > Permedia2 support
< > CyberPro 2000/2010/5000 support
< > Arc Monochrome LCD board support
[ ] Asiliant (Chips) 69000 display support
[ ] IMS Twin Turbo display support
< > VGA 16-color graphics support
< > Userspace VESA VGA graphics support
[*] VESA VGA graphics support
[ ] EFI-based Framebuffer Support
< > N411 Apollo/Hecuba devkit support
< > Hercules mono graphics support
< > Epson S1D13XXX framebuffer support
< > nVidia Framebuffer Support
< > nVidia Riva support
< > Intel740 support (EXPERIMENTAL)
< > Intel LE80578 (Vermilion) support
< > Matrox acceleration
< > ATI Radeon display support
< > ATI Rage128 display support
< > ATI Mach64 display support
< > S3 Trio/Virge support
< > S3 Savage support
< > SiS/XGI display support
< > VIA UniChrome (Pro) and Chrome9 display support
< > NeoMagic display support
< > IMG Kyro support
< > 3Dfx Banshee/Voodoo3/Voodoo5 display support
< > 3Dfx Voodoo Graphics (sst1) support
< > VIA VT8623 support
< > Trident/CyberXXX/CyberBlade support
< > ARK 2000PV support
< > Permedia3 support (EXPERIMENTAL)
< > Fujitsu carmine frame buffer support
[ ] AMD Geode family framebuffer support (EXPERIMENTAL)
< > SMSC UFX6000/7000 USB Framebuffer support
< > Displaylink USB Framebuffer support
< > Virtual Frame Buffer support (ONLY FOR TESTING!)
< > E-Ink Metronome/8track controller support
< > Fujitsu MB862xx GDC support
< > E-Ink Broadsheet/Epson S1D13521 controller support
< > AUO-K190X EPD controller support
[ ] Exynos Video driver support --->
[*] Backlight & LCD device support --->
Console display driver support --->
-*- VGA text console
[*] Enable Scrollback Buffer in System RAM
(256) Scrollback Buffer Size (in KB)
<*> Framebuffer Console support
[*] Map the console to the primary display device
[ ] Framebuffer Console Rotation
[ ] Select compiled-in fonts
[*] Bootup logo --->
or has kms support been enabled?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
elmar283
Apprentice
Apprentice


Joined: 06 Dec 2004
Posts: 195
Location: Netherlands

PostPosted: Sat Apr 27, 2013 9:04 pm    Post subject: Reply with quote

This is my config: (how did you print your config?)
Graphical support:
Code:

  <*> /dev/agpgart (AGP Support)  --->                                                                                              │ │ 
  │ │                                                            -*- VGA Arbitration                                                                                                               │ │ 
  │ │                                                            (16)  Maximum number of GPUs                                                                                                      │ │ 
  │ │                                                            [ ] Laptop Hybrid Graphics - GPU switching support                                                                                │ │ 
  │ │                                                            <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->                                                         │ │ 
  │ │                                                            < > 3dfx Banshee/Voodoo3+                                                                                                         │ │ 
  │ │                                                            < > ATI Rage 128                                                                                                                  │ │ 
  │ │                                                            < > ATI Radeon                                                                                                                    │ │ 
  │ │                                                            < > Nouveau (nVidia) cards                                                                                                        │ │ 
  │ │                                                                I2C encoder or helper chips  --->                                                                                             │ │ 
  │ │                                                            < > Intel I810                                                                                                                    │ │ 
  │ │                                                            < > Intel 8xx/9xx/G3x/G4x/HD Graphics                                                                                             │ │ 
  │ │                                                            < > Matrox g200/g400                                                                                                              │ │ 
  │ │                                                            < > SiS video cards                                                                                                               │ │ 
  │ │                                                            < > Via unichrome video cards                                                                                                     │ │ 
  │ │                                                            < > Savage video cards                                                                                                            │ │ 
  │ │                                                            < > DRM driver for VMware Virtual GPU                                                                                             │ │ 
  │ │                                                            <M> Intel GMA5/600 KMS Framebuffer                                                                                                │ │ 
  │ │                                                            [*]   Intel GMA600 support (Experimental)                                                                                         │ │ 
  │ │                                                            [*]   Intel GMA3600/3650 support (Experimental)                                                                                   │ │ 
  │ │                                                            < > DisplayLink                                                                                                                   │ │ 
  │ │                                                            < > AST server chips                                                                                                              │ │ 
  │ │                                                            < > Kernel modesetting driver for MGA G200 server engines                                                                         │ │ 
  │ │                                                            < > Cirrus driver for QEMU emulated device                                                                                        │ │ 
  │ │                                                            <M> Intel GMA500 Stub Driver                                                                                                      │ │ 
  │ │                                                            {*} Lowlevel video output switch controls                                                                                         │ │ 
  │ │                                                            {*} Support for frame buffer devices  --->                                                                                        │ │ 
  │ │                                                            [ ] Exynos Video driver support  --->                                                                                             │ │ 
  │ │                                                            [*] Backlight & LCD device support  --->                                                                                          │ │ 
  │ │                                                                Console display driver support  --->                                                                                          │ │ 
  │ │                                                            [*] Bootup logo  --->           
Back to top
View user's profile Send private message
elmar283
Apprentice
Apprentice


Joined: 06 Dec 2004
Posts: 195
Location: Netherlands

PostPosted: Sat Apr 27, 2013 9:57 pm    Post subject: Reply with quote

I applied your config. And now it is working. Only the resolution is now 720x400 @70 so that's a little low.
So now I'll have to know what driver I should use for my Intel Paulsbo
I'm going to try:
Code:

video=uvesafb:mtrr:3,ywrap,1920x1080-24@60

But it could be that there is another driver for the Intel Paulsbo GMA500.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6719
Location: Goose Creek SC

PostPosted: Sat Apr 27, 2013 10:01 pm    Post subject: Reply with quote

I would enable
Quote:
[ * ] Enable firmware EDID
else I don't know how kms can determine optimum screen resolution.
open gedit window wider than menucnfig terminal, copy and paste by sections into gedit, place mouse just before first | | right click to highlight down and left to just before < or [ on the next line, search and replace that mess with \n to get
Quote:
<*> /dev/agpgart (AGP Support) --->
-*- VGA Arbitration
(16) Maximum number of GPUs
[ ] Laptop Hybrid Graphics - GPU switching support
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
< > 3dfx Banshee/Voodoo3+
< > ATI Rage 128
< > ATI Radeon
< > Nouveau (nVidia) cards
I2C encoder or helper chips --->
< > Intel I810
< > Intel 8xx/9xx/G3x/G4x/HD Graphics
< > Matrox g200/g400
< > SiS video cards
< > Via unichrome video cards
< > Savage video cards
< > DRM driver for VMware Virtual GPU
<M> Intel GMA5/600 KMS Framebuffer
[*] Intel GMA600 support (Experimental)
[*] Intel GMA3600/3650 support (Experimental)
< > DisplayLink
< > AST server chips
< > Kernel modesetting driver for MGA G200 server engines
< > Cirrus driver for QEMU emulated device
<M> Intel GMA500 Stub Driver
{*} Lowlevel video output switch controls
{*} Support for frame buffer devices --->
--- Support for frame buffer devices
[*] Enable firmware EDID
[ ] Framebuffer foreign endianness support --->
[*] Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
*** Frame buffer hardware drivers ***
< > Cirrus Logic support
< > Permedia2 support
< > CyberPro 2000/2010/5000 support
< > Arc Monochrome LCD board support
[ ] Asiliant (Chips) 69000 display support
[ ] IMS Twin Turbo display support
< > VGA 16-color graphics support
< > Userspace VESA VGA graphics support
[ ] VESA VGA graphics support
[ ] EFI-based Framebuffer Support
< > N411 Apollo/Hecuba devkit support
< > Hercules mono graphics support
< > Epson S1D13XXX framebuffer support
< > nVidia Framebuffer Support
< > nVidia Riva support
< > Intel740 support (EXPERIMENTAL)
< > Intel LE80578 (Vermilion) support
< > Matrox acceleration
< > ATI Radeon display support
< > ATI Rage128 display support
< > ATI Mach64 display support
< > S3 Trio/Virge support
< > S3 Savage support
< > SiS/XGI display support
< > VIA UniChrome (Pro) and Chrome9 display support
< > NeoMagic display support
< > IMG Kyro support
< > 3Dfx Banshee/Voodoo3/Voodoo5 display support
< > 3Dfx Voodoo Graphics (sst1) support
< > VIA VT8623 support
< > Trident/CyberXXX/CyberBlade support
< > ARK 2000PV support
< > Permedia3 support (EXPERIMENTAL)
< > Fujitsu carmine frame buffer support
[ ] AMD Geode family framebuffer support (EXPERIMENTAL)
< > SMSC UFX6000/7000 USB Framebuffer support
< > Displaylink USB Framebuffer support
< > Virtual Frame Buffer support (ONLY FOR TESTING!)
< > E-Ink Metronome/8track controller support
< > Fujitsu MB862xx GDC support
< > E-Ink Broadsheet/Epson S1D13521 controller support
< > AUO-K190X EPD controller support
[ ] Exynos Video driver support --->
[*] Backlight & LCD device support --->
Console display driver support --->
[*] Bootup logo --->
I save results that I might wish to use again.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
elmar283
Apprentice
Apprentice


Joined: 06 Dec 2004
Posts: 195
Location: Netherlands

PostPosted: Sat Apr 27, 2013 10:18 pm    Post subject: Reply with quote

Yes I have 'Enable firmware EDID' in my kernel now.

Code:

<*> /dev/agpgart (AGP Support)  --->
--- /dev/agpgart (AGP Support)
< >   ALI chipset support
< >   ATI chipset support
< >   AMD Irongate, 761, and 762 chipset support
< >   AMD Opteron/Athlon64 on-CPU GART support
<*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< >   NVIDIA nForce/nForce2 chipset support
< >   SiS chipset support
< >   Serverworks LE/HE chipset support
< >   VIA chipset support
< >   Transmeta Efficeon support
-*- VGA Arbitration
(16)  Maximum number of GPUs
[ ] Laptop Hybrid Graphics - GPU switching support
< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
<M> Intel GMA500 Stub Driver
{*} Lowlevel video output switch controls
<*> Support for frame buffer devices  --->
 --- Support for frame buffer devices                       
[*]   Enable firmware EDID                                 
[ ]   Framebuffer foreign endianness support  --->         
[*]   Enable Video Mode Handling Helpers                   
[*]   Enable Tile Blitting Support                         
      *** Frame buffer hardware drivers ***                 
< >   Cirrus Logic support                                 
< >   Permedia2 support                                     
< >   CyberPro 2000/2010/5000 support                       
< >   Arc Monochrome LCD board support                     
[ ]   Asiliant (Chips) 69000 display support               
[ ]   IMS Twin Turbo display support                       
< >   VGA 16-color graphics support                         
< >   Userspace VESA VGA graphics support                   
[*]   VESA VGA graphics support                             
[ ]   EFI-based Framebuffer Support                         
< >   N411 Apollo/Hecuba devkit support                     
< >   Hercules mono graphics support                       
< >   Epson S1D13XXX framebuffer support                   
< >   nVidia Framebuffer Support                           
< >   nVidia Riva support                                   
< >   Intel740 support (EXPERIMENTAL)                       
< >   Intel 810/815 support (EXPERIMENTAL)                 
< >   Intel LE80578 (Vermilion) support                     
< >   Matrox acceleration                                   
< >   ATI Radeon display support                           
< >   ATI Rage128 display support                           
< >   ATI Mach64 display support                           
< >   S3 Trio/Virge support                                 
< >   S3 Savage support                                     
< >   SiS/XGI display support                               
< >   VIA UniChrome (Pro) and Chrome9 display support       
< >   NeoMagic display support                             
< >   IMG Kyro support                                     
< >   3Dfx Banshee/Voodoo3/Voodoo5 display support         
< >   3Dfx Voodoo Graphics (sst1) support                   
< >   VIA VT8623 support         
[ ] Exynos Video driver support  --->
[*] Backlight & LCD device support  --->
     --- Backlight & LCD device support                       
<*>   Lowlevel LCD controls           
<*>     Platform LCD controls                       
{*}   Lowlevel Backlight controls                       
< >     Generic (aka Sharp Corgi) Backlight Driver       
< >     Apple Backlight Driver                                             
< >     Tabletkiosk Sahara Touch-iT Backlight Driver                       
< >     Backlight Driver for ADP8860/ADP8861/ADP8863 using WLED           
< >     Backlight Driver for ADP8870 using WLED                           
< >     Backlight Driver for LM3630                                       
< >     Backlight Driver for LM3639                                       
< >     Backlight driver for TI LP855X
Console display driver support  --->
-*- VGA text console                                   
[ ]   Enable Scrollback Buffer in System RAM           
<*> Framebuffer Console support                       
[*]   Map the console to the primary display device   
[ ]   Framebuffer Console Rotation                     
[ ] Select compiled-in fonts   
[*] Bootup logo  --->
--- Bootup logo
[ ]   Standard black and white Linux logo
[*]   Standard 16-color Linux logo
[*]   Standard 224-color Linux logo


Have you any idea what I should use as video declaration in Grub? I tried 'video=uvesafb:mtrr:3,ywrap,1920x1080-24@60'. That does not work. Now the resolution is automaticly '720x400 @75'.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6719
Location: Goose Creek SC

PostPosted: Sat Apr 27, 2013 10:57 pm    Post subject: Reply with quote

now that you have edid reading enabled it might be worthwhile to return to your original kms configuration but with edid reading enabled, suggest keeping variety of almost right kernels while working this out

other than returning to gma and kms you can use my configuration but expand it to include uvesafb which provides more control of cli resolutions drawback is an initrd is required http://wiki.gentoo.org/wiki/Uvesafb refers.

<*> Userspace VESA VGA graphics support and a v86d initrd is required in the kernel for
Quote:
video=uvesafb:mtrr:3,ywrap,1920x1080-24@60
to work
_________________
Defund the FCC.
Back to top
View user's profile Send private message
elmar283
Apprentice
Apprentice


Joined: 06 Dec 2004
Posts: 195
Location: Netherlands

PostPosted: Sat Apr 27, 2013 11:26 pm    Post subject: Reply with quote

I did return to the original settings, with edid reading enabled.
That brings the out of sync back.
I'll try your second option tomorrow.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum