Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] X server won't work with my laptop (fglrx+Intel)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Wed Oct 31, 2012 10:43 am    Post subject: [SOLVED] X server won't work with my laptop (fglrx+Intel) Reply with quote

Hi there!

I need some help with the X server I faced:

I have the laptop HP pavilion g7-1053er, and installed Gentoo 3.4.9 to the hard drive. The current problem is that I'm not able to setup the hybrid graphics and got my X server with KDE up.

The hardware is the following: AMD Radeon HD 6470M (Seymour), nee ATI Caicos (Nothern Islands GPU) and Intel 2nd Generation Core Processor Family IGP (rev 09) aka HD3000.

I've disabled VGA-Switcheroo and not using kernel firmware for Radeon and Intel support. I tried this but stucked on "Failed to load firmware CAICOS_pfp.bin" during the boot. I suppose this because of firmware designed for desktop GPU and I have mobile GPU which is not fully compatible somehow.

I downloaded FireGL radeon propietary driver (fglrx) and emerged the xorg-drivers for intel module. After install of xorg-server-1.12.2 and initial aticonfig I've got segfault. When I tried to "play" with versions of xorg server and catalyst (from 12.6 up to 12.10 beta) I only got either segmentation fault on different addresses or no screens found error. So now I'm currently curious what way I should go to get it working? I learned many wikies and FAQs on this forum too but there is no solution worked for me.

If you need any additional information - I'll provide it with pleasure. Thanks in advance!


Last edited by b.filatov on Mon Nov 05, 2012 7:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Wed Oct 31, 2012 3:54 pm    Post subject: Re: X server won't work with my laptop hardware (AMD Rad+Int Reply with quote

Hi

I have a hybrid graphic system AMD 7600 series + Intel. Currently, I have to configure xorg.conf. Would you like to post your xorg.conf? I installed the fglrx (proprietary driver of amd). I can't get even to the login manager kdm.

See this link if it helps:
http://en.gentoo-wiki.com/wiki/Fglrx-hybrid-graphics

Sorry, I can't be of more help right now. I am new to this too.
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Wed Oct 31, 2012 6:07 pm    Post subject: Reply with quote

Hi there!

I've configured xorg.conf using bundled "aticonfig" utility using this command:

Code:
#aticonfig --initial -f


Here is my xorg.conf:

Code:

Section "ServerLayout"
   Identifier     "aticonfig Layout"
   Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
   Identifier   "aticonfig-Monitor[0]-0"
   Option       "VendorName" "ATI Proprietary Driver"
   Option       "ModelName" "Generic Autodetecting Monitor"
   Option       "DPMS" "true"
EndSection

Section "Device"
   Identifier  "aticonfig-Device[0]-0"
   Driver      "fglrx"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "aticonfig-Screen[0]-0"
   Device     "aticonfig-Device[0]-0"
   Monitor    "aticonfig-Monitor[0]-0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection



Currently I'm using kernel version 3.5.7 with Catalyst 12.10 and xorg-server-1.12.2,

I'd emerged the xf86-intel-drivers, but I think it's good idea to unmerge it back, as it required kernel reconfiguration.
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Wed Oct 31, 2012 7:16 pm    Post subject: Reply with quote

ok, tried to get this working several times and finally just tried to modprobe fglrx

the result was funny:

Code:
fglrx: Unknown symbol KCL_AGP_FindCapsRegisters (err 0)


I'd already recompiled kernel with agpgart as module, but it didn't helps. Will try to unmerge this Catalyst and rollback to 12.6.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Thu Nov 01, 2012 7:46 am    Post subject: Reply with quote

b.filatov wrote:
ok, tried to get this working several times and finally just tried to modprobe fglrx

the result was funny:

Code:
fglrx: Unknown symbol KCL_AGP_FindCapsRegisters (err 0)


I'd already recompiled kernel with agpgart as module, but it didn't helps. Will try to unmerge this Catalyst and rollback to 12.6.


Thanks a lot for the info. I also used the aticonfig command to create xorg.conf. But hy you use modprobe flgrx? It's not module. I have kernel 3.4.9. I disabled meanwhile intel driver both from xorg.conf and make.conf file.
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Thu Nov 01, 2012 8:17 am    Post subject: Reply with quote

Hi!

modprobing of the fglrx was the recommendation from here: http://en.gentoo-wiki.com/wiki/Fglrx

by the way, rolling back to Catalyst 12.6 resolved this issue, and now modprobing passes fine. It's also interested, that in-core Intel graphic adapter needs agppart to work. Currently I'd unmerged xorg-x11, ati-drivers and xorg-drivers, added some new USE flags (also found somewhere) and now doing emerge -aNDu world. After this I'm going to install ati drivers again and maybe it will be pulled more correctly by xorg.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Thu Nov 01, 2012 8:20 am    Post subject: Reply with quote

b.filatov wrote:
Hi!

modprobing of the fglrx was the recommendation from here: http://en.gentoo-wiki.com/wiki/Fglrx

by the way, rolling back to Catalyst 12.6 resolved this issue, and now modprobing passes fine. It's also interested, that in-core Intel graphic adapter needs agppart to work. Currently I'd unmerged xorg-x11, ati-drivers and xorg-drivers, added some new USE flags (also found somewhere) and now doing emerge -aNDu world. After this I'm going to install ati drivers again and maybe it will be pulled more correctly by xorg.


Which USE flags? For ati-drivers? I added for ati-drivers qt4 modules
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Thu Nov 01, 2012 9:49 am    Post subject: Reply with quote

USE in /etc/portage/make.conf

Below is mine:
Code:
# 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="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# 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="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="X aac acpi alsa apm bash-completion bluetooth cdr cups debug dvd dvdr encode exif fbcon flac jpeg kde kdeenablefinal modules multilib mp3 mp4 pdf qt4 mmx static-libs sse sse2 caps"
MAKEOPTS="-j5"

ACCEPT_LICENSE="*"

SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage"
VIDEO_CARDS="fglrx"
INPUT_DEVICES="evdev synaptics"

GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"


qt4 should be added if you want to use amdcccle (Catalyst Control Centre) in X-window environment.

Unfortunately, I have never met the complete through procedure of the installation of the desktop environments on "clean" system, I mean if I finished the handbook, I have working console gentoo. And if I wish to have KDE or Gnome or XFCE I should smoke many tonns of wikies etc, there is no kind of "handbook" here.

Now I have the following resource to use:

Gentoo X server configutation how-to
Fglrx Wiki
Fglrx hybrid update


Last edited by b.filatov on Sat Nov 03, 2012 7:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Fri Nov 02, 2012 7:05 am    Post subject: Reply with quote

Hi!

Today I struggled again with xorg-server, and without any success. Here is my current xorg.conf:

Code:
Section "ServerLayout"
   Identifier     "aticonfig Layout"
   Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
   Disable "dri"
   Disable "dri2"
EndSection

Section "Monitor"
   Identifier   "aticonfig-Monitor[0]-0"
   Option       "VendorName" "ATI Proprietary Driver"
   Option       "ModelName" "Generic Autodetecting Monitor"
   Option       "DPMS" "true"
EndSection

Section "Device"
   Identifier  "aticonfig-Device[0]-0"
   Driver      "fglrx"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "aticonfig-Screen[0]-0"
   Device     "aticonfig-Device[0]-0"
   Monitor    "aticonfig-Monitor[0]-0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection


and Xorg.0.log:

Code:
[    32.057]
X.Org X Server 1.12.2
Release Date: 2012-05-29
[    32.057] X Protocol Version 11, Revision 0
[    32.057] Build Operating System: Linux 3.5.7-gentoo x86_64 Gentoo
[    32.057] Current Operating System: Linux pavilion 3.5.7-gentoo #4 SMP Thu Nov 1 11:14:55 MSK 2012 x86_64
[    32.057] Kernel command line: root=/dev/sda2 nomodeset
[    32.058] Build Date: 01 November 2012  06:33:45PM
[    32.058] 
[    32.058] Current version of pixman: 0.26.0
[    32.058]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[    32.058] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    32.059] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Nov  2 10:53:00 2012
[    32.061] (==) Using config file: "/etc/X11/xorg.conf"
[    32.061] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    32.063] (==) ServerLayout "aticonfig Layout"
[    32.063] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[    32.063] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
[    32.063] (**) |   |-->Device "aticonfig-Device[0]-0"
[    32.063] (==) Automatically adding devices
[    32.063] (==) Automatically enabling devices
[    32.066] (==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF/,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
[    32.067] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    32.067] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[    32.067] (II) Loader magic: 0x7d6ac0
[    32.067] (II) Module ABI versions:
[    32.067]    X.Org ANSI C Emulation: 0.4
[    32.067]    X.Org Video Driver: 12.0
[    32.067]    X.Org XInput driver : 16.0
[    32.067]    X.Org Server Extension : 6.0
[    32.067] (--) PCI:*(0:0:2:0) 8086:0116:103c:1672 rev 9, Mem @ 0xc0000000/4194304, 0xb0000000/268435456, I/O @ 0x00005000/64
[    32.067] (--) PCI: (0:1:0:0) 1002:6760:103c:1672 rev 0, Mem @ 0xa0000000/268435456, 0xc2600000/131072, I/O @ 0x00004000/256, BIOS @ 0x????????/131072
[    32.068] (II) Open ACPI successful (/var/run/acpid.socket)
[    32.068] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
[    32.068] (WW) "dri2" will not be loaded unless you've specified it to be loaded elsewhere.
[    32.068] (II) "extmod" will be loaded by default.
[    32.068] (II) "dbe" will be loaded by default.
[    32.068] (II) "glx" will be loaded by default.
[    32.068] (II) "record" will be loaded by default.
[    32.068] (II) "dri" will be loaded even though the default is to disable it.
[    32.068] (II) "dri2" will be loaded even though the default is to disable it.
[    32.068] (II) LoadModule: "extmod"
[    32.074] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[    32.075] (II) Module extmod: vendor="X.Org Foundation"
[    32.075]    compiled for 1.12.2, module version = 1.0.0
[    32.075]    Module class: X.Org Server Extension
[    32.075]    ABI class: X.Org Server Extension, version 6.0
[    32.075] (II) Loading extension MIT-SCREEN-SAVER
[    32.075] (II) Loading extension XFree86-VidModeExtension
[    32.075] (II) Loading extension XFree86-DGA
[    32.075] (II) Loading extension DPMS
[    32.075] (II) Loading extension XVideo
[    32.075] (II) Loading extension XVideo-MotionCompensation
[    32.075] (II) Loading extension X-Resource
[    32.075] (II) LoadModule: "dbe"
[    32.075] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[    32.076] (II) Module dbe: vendor="X.Org Foundation"
[    32.076]    compiled for 1.12.2, module version = 1.0.0
[    32.076]    Module class: X.Org Server Extension
[    32.076]    ABI class: X.Org Server Extension, version 6.0
[    32.076] (II) Loading extension DOUBLE-BUFFER
[    32.076] (II) LoadModule: "glx"
[    32.076] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    32.078] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[    32.079]    compiled for 6.9.0, module version = 1.0.0
[    32.079] (II) Loading extension GLX
[    32.079] (II) LoadModule: "record"
[    32.079] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[    32.079] (II) Module record: vendor="X.Org Foundation"
[    32.079]    compiled for 1.12.2, module version = 1.13.0
[    32.079]    Module class: X.Org Server Extension
[    32.079]    ABI class: X.Org Server Extension, version 6.0
[    32.079] (II) Loading extension RECORD
[    32.079] (II) LoadModule: "fglrx"
[    32.080] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
[    32.111] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[    32.111]    compiled for 1.4.99.906, module version = 9.0.2
[    32.111]    Module class: X.Org Video Driver
[    32.111] (II) Loading sub module "fglrxdrm"
[    32.111] (II) LoadModule: "fglrxdrm"
[    32.111] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
[    32.113] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[    32.113]    compiled for 1.4.99.906, module version = 9.0.2
[    32.113] (II) AMD Proprietary Linux Driver Version Identifier:9.00.2
[    32.113] (II) AMD Proprietary Linux Driver Release Identifier: 9.002                               
[    32.113] (II) AMD Proprietary Linux Driver Build Date: Sep 28 2012 15:32:36
[    32.113] (--) using VT number 7

[    32.116] (WW) Falling back to old probe method for fglrx
[    32.127] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[    32.131] ukiDynamicMajor: found major device number 250
[    32.131] ukiDynamicMajor: found major device number 250
[    32.131] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[    32.131] ukiOpenDevice: node name is /dev/ati/card0
[    32.131] ukiOpenDevice: open result is 8, (OK)
[    33.831] ukiOpenByBusid: ukiOpenMinor returns 8
[    33.831] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[    33.840] (--) Chipset Supported AMD Graphics Processor (0x6760) found
[    33.841] (II) fglrx: intel VGA device detected, load intel driver.
[    33.841] (II) LoadModule: "intel"
[    33.841] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[    33.844] (II) Module intel: vendor="X.Org Foundation"
[    33.844]    compiled for 1.12.2, module version = 2.19.0
[    33.844]    Module class: X.Org Video Driver
[    33.844]    ABI class: X.Org Video Driver, version 12.0
[    33.845] (II) AMD Video driver is running on a device belonging to a group targeted for this release
[    33.846] (II) AMD Video driver is signed
[    33.846] (II) fglrx(0): pEnt->device->identifier=0x22f2df0
[    33.850] (II) pEnt->device->identifier=(nil)
[    33.850] (II) fglrx(0): === [xdl_xs112_atiddxPreInit] === begin
[    33.850] (II) fglrx(0): PowerXpress: Discrete GPU is selected.
[    34.015]
[    34.015] Backtrace:
[    34.018] 0: /usr/bin/X (xorg_backtrace+0x36) [0x56d536]
[    34.018] 1: /usr/bin/X (0x400000+0x1712c9) [0x5712c9]
[    34.018] 2: /lib64/libpthread.so.0 (0x7f7edc9e6000+0x10460) [0x7f7edc9f6460]
[    34.018] 3: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (xdl_xs112_atiddxPxPreInit+0x121) [0x7f7ed9a4d2e1]
[    34.019] 4: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (xdl_xs112_atiddxPreInit+0x1f4b) [0x7f7ed9a29a9b]
[    34.019] 5: /usr/bin/X (InitOutput+0x812) [0x476442]
[    34.019] 6: /usr/bin/X (0x400000+0x24c43) [0x424c43]
[    34.019] 7: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f7edb8944bd]
[    34.019] 8: /usr/bin/X (0x400000+0x249a9) [0x4249a9]
[    34.019]
[    34.019] Segmentation fault at address 0x10
[    34.019]
Fatal server error:
[    34.019] Caught signal 11 (Segmentation fault). Server aborting
[    34.019]
[    34.019]
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[    34.019] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    34.019]
[    34.025] Server terminated with error (1). Closing log file.


Sorry for large post, didn't figured out how to hide text under cut.
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Fri Nov 02, 2012 9:04 am    Post subject: Reply with quote

Tried server 1.11.4 - same luck, and server 1.9.5-r1 won't install, due to blocking dependencies. I'm currently out of ideas, could someone help to noob?
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Fri Nov 02, 2012 11:41 am    Post subject: Reply with quote

Found several new topics, the most interested:

[HOWTO] Using recent muxless Intel/ATI hybrid graphics
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Fri Nov 02, 2012 3:04 pm    Post subject: Reply with quote

One thing to notice, amd driver doesn't use dri, dri2. So you don't need to specify disable. Besides, it's only warning so you don't need to worry about it.

So far I decided to try one card at a time. I want to use the amd one, since it supports opencl etc.

Thanks for the link. Looks a good how to. I will report back when I make it work.
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Sat Nov 03, 2012 7:07 pm    Post subject: Reply with quote

queen wrote:
One thing to notice, amd driver doesn't use dri, dri2. So you don't need to specify disable. Besides, it's only warning so you don't need to worry about it.


I know this, but I have several (EE) messages about problems loading this modules, so I prefer to clearly disable it to eliminate this errors proactively.

queen wrote:
So far I decided to try one card at a time. I want to use the amd one, since it supports opencl etc.


Queen, you have fresh fancy laptop, which utilizes cool technology named "MUXless" - this is PowerXpress 4+ tech. In few words: now we have no 2 separate cards, we have only one - Intel HD x000, integrated to the processor, with the environment and LVDS+ (VGA and/or HDMI and/or Display port and/or DVI) outputs. The secondary core, AMD Radeon, is only discrete GPU core with some memory and own environment. When we say "using DGPU" it means that we using Intel card which utilizes the fast graphic acceleration of Radeon GPU, it's routed directly into the Intel graphic adapter chain. That's why I think it will be rather hard to make only Radeon working and forget about intel (if we leave out the brackets the power effectiveness of such solution). I think this issue needs complex solution and fine documentation since there is terrible mess with support of FGLRx catalyst versions and X-server versions which one support which one, also how correctly initialize and use intel video adapter, etc.

I'm about to create the step-by-step guide to first help myself to get it working, as I won't give up and use windows 8 instead.

queen wrote:
Thanks for the link. Looks a good how to. I will report back when I make it work.


You are very welcome.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Sat Nov 03, 2012 8:42 pm    Post subject: Reply with quote

b.filatov wrote:
queen wrote:
One thing to notice, amd driver doesn't use dri, dri2. So you don't need to specify disable. Besides, it's only warning so you don't need to worry about it.


I know this, but I have several (EE) messages about problems loading this modules, so I prefer to clearly disable it to eliminate this errors proactively.

queen wrote:
So far I decided to try one card at a time. I want to use the amd one, since it supports opencl etc.


Queen, you have fresh fancy laptop, which utilizes cool technology named "MUXless" - this is PowerXpress 4+ tech. In few words: now we have no 2 separate cards, we have only one - Intel HD x000, integrated to the processor, with the environment and LVDS+ (VGA and/or HDMI and/or Display port and/or DVI) outputs. The secondary core, AMD Radeon, is only discrete GPU core with some memory and own environment. When we say "using DGPU" it means that we using Intel card which utilizes the fast graphic acceleration of Radeon GPU, it's routed directly into the Intel graphic adapter chain. That's why I think it will be rather hard to make only Radeon working and forget about intel (if we leave out the brackets the power effectiveness of such solution). I think this issue needs complex solution and fine documentation since there is terrible mess with support of FGLRx catalyst versions and X-server versions which one support which one, also how correctly initialize and use intel video adapter, etc.

I'm about to create the step-by-step guide to first help myself to get it working, as I won't give up and use windows 8 instead.

queen wrote:
Thanks for the link. Looks a good how to. I will report back when I make it work.


You are very welcome.


First, I disabled the amd for the time being in favor for the intel. I need some working environment. I know someone from AMD and I intend to contact him personally. Hopefully I will get some good instructions. Besides I will contact also the person in charge for the ati-drivers at gentoo to clarify things. See bugs there too.
Code:
cat /usr/portage/x11-drivers/Changelog


or

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-drivers/ati-drivers/ChangeLog?view=markup

I used version 12.6 of ati-drivers which was the latest stable. And I found there is a general problem with this version for 64 bit. See bug 684538 Debian.

I agree it's quite a mess with versions and let me share with you a secret from an insider. AMD +Intel cards is a mess. But I saw that some people succeeded. I wonder if those that succeeded upgraded the driver to latest ati-driver and Xorg or they are stuck with the same version from the initial install.
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Sat Nov 03, 2012 8:55 pm    Post subject: Reply with quote

ok, that's good. I'm currently rolled back to 12.6 too and using xorg-server 1.12.2

Now I'm struggle with stupid thing: i'm trying to get the intel adapter working using kernel drivers (/dev/agpart section+DRI for Intel) and after booting new kernel I've got blank screen (I think because of enabled VESA VGA graphics support in Framebuffer devices section). I'm tired of vga console, but I think I will rebuild kernel disabling FB features back :)

Currently I'm trying to follow straight the instructions is mentioned below HOWTO I found recently. Let's see.

And, about those lucky guys: If I ever get my X up, I will never ever upgrade until change the laptop: the gold rule is not to fix things which is not broken :)
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Sat Nov 03, 2012 10:31 pm    Post subject: Reply with quote

b.filatov wrote:
ok, that's good. I'm currently rolled back to 12.6 too and using xorg-server 1.12.2

Now I'm struggle with stupid thing: i'm trying to get the intel adapter working using kernel drivers (/dev/agpart section+DRI for Intel) and after booting new kernel I've got blank screen (I think because of enabled VESA VGA graphics support in Framebuffer devices section). I'm tired of vga console, but I think I will rebuild kernel disabling FB features back :)

Currently I'm trying to follow straight the instructions is mentioned below HOWTO I found recently. Let's see.

And, about those lucky guys: If I ever get my X up, I will never ever upgrade until change the laptop: the gold rule is not to fix things which is not broken :)


You need to emerge xf86-video-fbdev. you need FB_VESA and FB_BOOT_VESA_SUPPORT in the kernel
12.6 is problematic.

If you want to use only intel for the time being, let me know and I will post you exactly what is needed. [/code]
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Sun Nov 04, 2012 7:10 am    Post subject: Reply with quote

queen wrote:
You need to emerge xf86-video-fbdev. you need FB_VESA and FB_BOOT_VESA_SUPPORT in the kernel
12.6 is problematic.

If you want to use only intel for the time being, let me know and I will post you exactly what is needed.

Hi, queen!

Yes, I want to have at least intel working on my system - any help will be appreciated, thank you!
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Sun Nov 04, 2012 7:13 am    Post subject: Reply with quote

And yes, I have both options enabled in the kernel. It's rather hard to view/post the forum using links browser :)
Back to top
View user's profile Send private message
vayerx
n00b
n00b


Joined: 04 Nov 2012
Posts: 1
Location: Russian Federation

PostPosted: Sun Nov 04, 2012 9:44 pm    Post subject: Reply with quote

b.filatov wrote:
ok, tried to get this working several times and finally just tried to modprobe fglrx
the result was funny:
Code:
fglrx: Unknown symbol KCL_AGP_FindCapsRegisters (err 0)

I'd already recompiled kernel with agpgart as module, but it didn't helps. Will try to unmerge this Catalyst and rollback to 12.6.

You need a KCL_AGP_FindCapsRegisters-stub.patch. The whole ebuild can be downloaded from https://github.com/vayerx/vayerx-gentoo/tree/master/x11-drivers/ati-drivers. You don't need to enable AGP unless you have such hardware.
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Sun Nov 04, 2012 10:11 pm    Post subject: Reply with quote

Hi, Vayerx!

Thanks for your advice, I will give it a try. Currently I'm using 12.6 which does not cause such kind of issue, but I'm still getting segfaults when trying to use Radeon.

Thanks to you, queen: I'm now able to use X windows, but quality is very poor, and resolution is not fit. I'm not sure - looks like I'm running on fbdev driver...

Anyway, X is started and this is much better :)

And my touchpad is not working yet...
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Mon Nov 05, 2012 5:49 am    Post subject: Reply with quote

I found today that I'm not able to use Intel driver :( KDE starts with the generc driver (fbdev I suppose). When I'm selecting (or not even mention) i915.modeset in grub.conf - display turns to black and nothing could be displayed. Only when I select i915.modeset=0 and vesafb= blablabla, I manged to have something displayed.
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Mon Nov 05, 2012 7:02 pm    Post subject: Reply with quote

Hi all.

I managed to resolve the problem.

All I need to do is:

1) install xorg-drivers with uses: (intel fglrx fbdev evdev synaptics)
2) set i915.modeset=1 in the grub.conf
3) boot to X with removed xorg.conf;
4) make aticonfig --initial -f
5) set aticonfig --px-dgpu
6) restart x.

Now both adapters work fine.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Mon Nov 05, 2012 7:22 pm    Post subject: Reply with quote

b.filatov wrote:
Hi all.

I managed to resolve the problem.

All I need to do is:

1) install xorg-drivers with uses: (intel fglrx fbdev evdev synaptics)
2) set i915.modeset=1 in the grub.conf
3) boot to X with removed xorg.conf;
4) make aticonfig --initial -f
5) set aticonfig --px-dgpu
6) restart x.

Now both adapters work fine.


Hi

Thanks a lot for the post. Sorry I didn't reply until now. I wasn't online. i915.modeset=1 is in the kernel line?

Can you please post the kernel config? Did you enable direct rendering? what about agpgart? Enabled hybrid gpu in the kernel? If you can post the relevant kernel settings or the entire config (whatever is easier for you), it will be fine. If it's all the kernel config just put it on pastebin.com.

I am glad I could help a little bit.
Back to top
View user's profile Send private message
b.filatov
n00b
n00b


Joined: 31 Oct 2012
Posts: 19
Location: Russia

PostPosted: Mon Nov 05, 2012 8:16 pm    Post subject: Reply with quote

Sure, queen, anything you like.

here is the kernel config: http://pastebin.com/7LTQCJsv

grub.conf:



Code:
default 0
timeout 10
splashimage=(hd0,0)/boot/grub/tenerife.xpm.gz

title Linux 3.5.7
root (hd0,0)
kernel /kernel-3.5.7-gentoo root=/dev/sda2 acpi_osi=Linux acpi_backlight=vendor


I'm not using initramfs etc, and my kernel is not very big - about 3.5 MiB. If you have any questions - I'm here to try to answer this. Thank you for fbdev advise, such noob as me never ever imagine this is required.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Mon Nov 05, 2012 9:12 pm    Post subject: Reply with quote

b.filatov wrote:
Sure, queen, anything you like.

here is the kernel config: http://pastebin.com/7LTQCJsv

grub.conf:



Code:
default 0
timeout 10
splashimage=(hd0,0)/boot/grub/tenerife.xpm.gz

title Linux 3.5.7
root (hd0,0)
kernel /kernel-3.5.7-gentoo root=/dev/sda2 acpi_osi=Linux acpi_backlight=vendor


I'm not using initramfs etc, and my kernel is not very big - about 3.5 MiB. If you have any questions - I'm here to try to answer this. Thank you for fbdev advise, such noob as me never ever imagine this is required.


1. So where is the i915.modeset=1 that you mentioned above?
2. Do you have catalyst? And if yes, which version?
3. How do you switch between cards? You have a script like they mentioned in the other thread?
My kernel is 3.4.9
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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