ATI Radeon HD 3200 [Solved]

Discussions Regarding Software

Moderator: Moderators

Re: Video issue, new laptop [Solved]

Postby Fitzcarraldo » Sat Jan 12, 2013 12:45

^Edit the file /boot/grub/grub.cfg and, according to JACKAL913, you need to append acpi=on to the kernel boot line. There may be more than one kernel boot line in your grub.cfg file (I don't know what you have installed), so make sure you add it to the line for the kernel that you are selecting from the GRUB Menu when you boot your machine.

For example, if your kernel boot line in grub.cfg were to look like the following:

Code: Select all
linux /kernel-genkernel-x86_64-3.6.0-sabayon ro init=/linuxrc splash=silent,theme:sabayon video=vesafb:ywrap,mtrr:3 vga=791 gfxpayload=1024x768x16 console=tty1 quiet dokeymap keymap=uk domdadm resume=swap:UUID=21d41eeb-fdbb-4722-a766-00f64b857ef6 real_resume=UUID=21d41eeb-fdbb-4722-a766-00f64b857ef6 root=UUID=fd1b4e08-fc28-4a2b-898a-a729887ea756 docrypt

you would make it look like the following:

Code: Select all
linux /kernel-genkernel-x86_64-3.6.0-sabayon ro init=/linuxrc splash=silent,theme:sabayon video=vesafb:ywrap,mtrr:3 vga=791 gfxpayload=1024x768x16 console=tty1 quiet dokeymap keymap=uk domdadm resume=swap:UUID=21d41eeb-fdbb-4722-a766-00f64b857ef6 real_resume=UUID=21d41eeb-fdbb-4722-a766-00f64b857ef6 root=UUID=fd1b4e08-fc28-4a2b-898a-a729887ea756 docrypt acpi=on

It would be sensible for you to make a backup of grub.cfg before you edit it:

Code: Select all
cp /boot/grub/grub.cfg /boot/grub/grub.cfg.bak


If that works, later on you can add the parameter to /etc/default/sabayon-grub so that it gets added automatically if you, or (SL) ever execute the grub2-mkconfig command in future.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Video issue, new laptop [Solved]

Postby sabayonino » Sat Jan 12, 2013 12:51

I suggest to append acpi=on in /etc/default/sabayon-grub e then regenerate grub.cfg
Code: Select all
# grub2-mkconfig -o /boot/grub/grub.cfg


Your solution will be overwritten when you update kernel/drivers/grub
User avatar
sabayonino
Sagely Hen
 
Posts: 1563
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Video issue, new laptop [Solved]

Postby Fitzcarraldo » Sat Jan 12, 2013 13:11

:roll:
Fitzcarraldo wrote:If that works, later on you can add the parameter to /etc/default/sabayon-grub so that it gets added automatically if you, or (SL) ever execute the grub2-mkconfig command in future.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Video issue, new laptop [Solved]

Postby sabayonino » Sat Jan 12, 2013 14:32

Fitzcarraldo wrote::roll:
Fitzcarraldo wrote:If that works, later on you can add the parameter to /etc/default/sabayon-grub so that it gets added automatically if you, or (SL) ever execute the grub2-mkconfig command in future.


I'm blind man :mrgreen:
User avatar
sabayonino
Sagely Hen
 
Posts: 1563
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Video issue, new laptop [Solved]

Postby onlystitch » Sun Jan 13, 2013 16:25

:? didn't work either. so 2 out of 3 ways dont work atm. the one way that does work with the beta drivers, lags out my pc enough to notice. So I am wondering what is a simple fix for this, somewhere there is a string of code that is not correct for it to work without all the 3d rendering stuff I dont need. It works on the live disk and in recovery mode, why not regular mode? :?:
Hp dv6z-1000 Sabayon 10XFCE
onlystitch
Baby Hen
 
Posts: 19
Joined: Sat Jul 28, 2012 15:10

Re: Video issue, new laptop [Solved]

Postby onlystitch » Sun Jan 13, 2013 17:51

Since none of these solutions worked well, I tried something new.
So I installed http://www2.ati.com/drivers/linux/ati-d ... x86_64.run
and now and get the GUI without being able to log in, before it was just a black screen, now it shows the sabayon default screen but the login box and reboot etc is not there. maybe this is a x11 or grub problem? not booting to the proper device?

/etc/X11/xorg.conf

Code: Select all
Section "Module"
    SubSection  "extmod"
       Option    "omit xfree86-dga"
    EndSubSection
    Load    "i2c"
    Load    "ddc"
    Load    "vbe"
    Load    "dri"
    Load    "glx"
    Load    "synaptics"
EndSection

Section "ServerFlags"
     Option    "AllowMouseOpenFail"    "true"
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    VertRefresh    43 - 60
    HorizSync      28 - 80
EndSection


Section "Device"

    Identifier  "SabayonVga0"
    Driver      "ati"
    #BusID    "PCI:01:05"
    #Option "RenderAccel" "on"
    #Option "XAANoOffscreenPixmaps"
    #Option "BusType" "PCI"
    #Option "ColorTiling" "on"
    #Option "EnablePageFlip" "on"
    # UseEvents is causing segmentation faults with
    # NVIDIA 6xxx, 7xxx and >=275.xx.xx drivers
    #Option "UseEvents" "True"
    Option "LogoPath" "/usr/share/backgrounds/sabayonlinux-nvidia.png"

EndSection
   


Section "Screen"

    Identifier    "Screen 0"
    Device        "SabayonVga0"
    Monitor       "Generic Monitor"
    #Option       "AddARGBGLXVisuals" "true"

    DefaultDepth 24

    SubSection "Display"
        Depth      8
        ViewPort   0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection

    SubSection "Display"
        Depth           16
        ViewPort        0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection

    SubSection "Display"
        Depth           24
        ViewPort        0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection

EndSection


Section "DRI"
    Mode 0666
EndSection

Section "ServerLayout"
    Identifier   "Main Layout"
    Screen 0    "Screen 0"
EndSection

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


Code: Select all
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_fonts ###
### END /etc/grub.d/00_fonts ###

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="${saved_entry}"

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

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 {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod part_msdos
insmod diskfilter
insmod mdraid09
insmod ext2
set root='mduuid/becec3625b59c53f551d09b65337cc56'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='mduuid/becec3625b59c53f551d09b65337cc56'  32e6e148-6648-46fb-bdd9-4dffb5371342
else
  search --no-floppy --fs-uuid --set=root 32e6e148-6648-46fb-bdd9-4dffb5371342
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1024x768
  load_video
  # vga= is deprecated, grub2 handles this just fine
  # making grub2 res == linux fb res
  set gfxpayload=keep
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod part_msdos
insmod diskfilter
insmod mdraid09
insmod ext2
set root='mduuid/becec3625b59c53f551d09b65337cc56'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='mduuid/becec3625b59c53f551d09b65337cc56'  32e6e148-6648-46fb-bdd9-4dffb5371342
else
  search --no-floppy --fs-uuid --set=root 32e6e148-6648-46fb-bdd9-4dffb5371342
fi
insmod png
background_image -m stretch /boot/grub/default-splash.png
if sleep --interruptible 0 ; then
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Sabayon GNU/Linux' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-32e6e148-6648-46fb-bdd9-4dffb5371342' {
   load_video
   insmod gzio
   insmod part_msdos
   insmod part_msdos
   insmod diskfilter
   insmod mdraid09
   insmod ext2
   set root='mduuid/becec3625b59c53f551d09b65337cc56'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint='mduuid/becec3625b59c53f551d09b65337cc56'  32e6e148-6648-46fb-bdd9-4dffb5371342
   else
     search --no-floppy --fs-uuid --set=root 32e6e148-6648-46fb-bdd9-4dffb5371342
   fi
   echo   'Loading Linux x86_64-3.5.0-sabayon ...'
   linux   /boot/kernel-genkernel-x86_64-3.5.0-sabayon ro 
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initramfs-genkernel-x86_64-3.5.0-sabayon
}
submenu 'Advanced options for Sabayon GNU/Linux' $menuentry_id_option 'gnulinux-advanced-32e6e148-6648-46fb-bdd9-4dffb5371342' {
   menuentry 'Sabayon GNU/Linux, with Linux x86_64-3.5.0-sabayon' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-3.5.0-sabayon-advanced-32e6e148-6648-46fb-bdd9-4dffb5371342' {
      load_video
      insmod gzio
      insmod part_msdos
      insmod part_msdos
      insmod diskfilter
      insmod mdraid09
      insmod ext2
      set root='mduuid/becec3625b59c53f551d09b65337cc56'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='mduuid/becec3625b59c53f551d09b65337cc56'  32e6e148-6648-46fb-bdd9-4dffb5371342
      else
        search --no-floppy --fs-uuid --set=root 32e6e148-6648-46fb-bdd9-4dffb5371342
      fi
      echo   'Loading Linux x86_64-3.5.0-sabayon ...'
      linux   /boot/kernel-genkernel-x86_64-3.5.0-sabayon ro 
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initramfs-genkernel-x86_64-3.5.0-sabayon
   }
   menuentry 'Sabayon GNU/Linux, with Linux x86_64-3.5.0-sabayon (recovery mode)' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-3.5.0-sabayon-recovery-32e6e148-6648-46fb-bdd9-4dffb5371342' {
      load_video
      insmod gzio
      insmod part_msdos
      insmod part_msdos
      insmod diskfilter
      insmod mdraid09
      insmod ext2
      set root='mduuid/becec3625b59c53f551d09b65337cc56'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint='mduuid/becec3625b59c53f551d09b65337cc56'  32e6e148-6648-46fb-bdd9-4dffb5371342
      else
        search --no-floppy --fs-uuid --set=root 32e6e148-6648-46fb-bdd9-4dffb5371342
      fi
      echo   'Loading Linux x86_64-3.5.0-sabayon ...'
      linux   /boot/kernel-genkernel-x86_64-3.5.0-sabayon ro single init_opts=single
      echo   'Loading initial ramdisk ...'
      initrd   /boot/initramfs-genkernel-x86_64-3.5.0-sabayon
   }
}

### 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 ###
### 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  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###


thoughts? remember im still kinda new to linux (in depth)
Last edited by onlystitch on Tue Jan 15, 2013 19:27, edited 1 time in total.
Hp dv6z-1000 Sabayon 10XFCE
onlystitch
Baby Hen
 
Posts: 19
Joined: Sat Jul 28, 2012 15:10

Re: VIDEO issue, new laptop

Postby onlystitch » Tue Jan 15, 2013 19:19

Fitzcarraldo wrote:Unfortunately AMD have dropped Catalyst (FGLRX) driver support for the 4000 Series GPUs, although there is a 'legacy' closed-source Catalyst driver. So you have two options: 1) try to install the legacy ati-drivers package, or 2) try to install the open-source Radeon driver.

For Option 1, see the instructions in the SL Forums post: http://forum.sabayon.org/viewtopic.php? ... 31#p154472
(Also check if the file /etc/conf.d/modules specifies the loading of the radeon module, and comment it out if it does.)

For Option 2, see the blog post: http://joostruis.wordpress.com/2011/01/ ... -catalyst/ and also the note about Radeon HD 4000 Series GPUs at the end of the SL Press Release for SL 10. in these forums.


this option works, but then both the ati drivers update populates after. my module is as follows

Code: Select all
# You can define a list modules for a specific kernel version,
# a released kernel version, a main kernel version or just a list.
# The most specific versioned variable will take precedence.
#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules_2="ipv6"
#modules="ohci1394"

# You can give modules a different name when they load - the new name
# will also be used to pick arguments below.
#modules="dummy:dummy1"

# Give the modules some arguments if needed, per version if necessary.
# Again, the most specific versioned variable will take precedence.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="debug2"
#module_ieee1394_args_2_6_23="debug3"
#module_ieee1394_args_2_6="debug4"
#module_ieee1394_args_2="debug5"

# You should consult your kernel documentation and configuration
# for a list of modules and their options.

# Added by the Sabayon Installer to force radeon.ko to load
# since CONFIG_DRM_RADEON_KMS is not enabled by default at
# this time.
modules="radeon"
module_radeon_args="modeset=1"


https://docs.google.com/file/d/0B9U8KekN6NmlS2pvNUxLMHJrVlE/edit
Hp dv6z-1000 Sabayon 10XFCE
onlystitch
Baby Hen
 
Posts: 19
Joined: Sat Jul 28, 2012 15:10

Re: Video issue, new laptop

Postby Fitzcarraldo » Tue Jan 15, 2013 20:22

Your post is unclear. Which option works? Option 1 or Option 2? If you mean that Option 2 works, simply uninstall ati-drivers and ati-userspace.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Video issue, new laptop

Postby onlystitch » Tue Jan 15, 2013 21:39

lol sorry. the Beta driver option 1 works, but it tries to update my video with the userspace and ati-driver. Tried to to remove them through the package manager/GUI and it shuts down the video on the next boot.
Hp dv6z-1000 Sabayon 10XFCE
onlystitch
Baby Hen
 
Posts: 19
Joined: Sat Jul 28, 2012 15:10

Re: Video issue, new laptop

Postby Fitzcarraldo » Thu Jan 17, 2013 9:58

You would need to mask the unwanted packages/versions to stop them being upgraded. For example:

Code: Select all
echo ">x11-drivers/ati-drivers-12.6" >> /etc/entropy/packages/package.mask
echo ">x11-drivers/ati-userspace-12.6" >> /etc/entropy/packages/package.mask

or whatever the package version is you want to keep. The syntax in the above example means "do not install a version of ati-drivers that is > (greater than) 12.6".
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

PreviousNext

Return to Software in General

Who is online

Users browsing this forum: No registered users and 0 guests