Re: [gentoo-user] Problem with the graphic card
Thank you all for your beautiful help and your patience (my thread is 33 mails long!!). This has been one of the best support I have ever got (much better than many paid support services). Thank you! Massimiliano
Re: [gentoo-user] Problem with the graphic card
Massimiliano Ziccardi wrote: Thank you all for your beautiful help and your patience (my thread is 33 mails long!!). This has been one of the best support I have ever got (much better than many paid support services). Thank you! Massimiliano That's the beauty of Gentoo. If the folks here can't fix it, it wasn't broke anyway. LOL It's a feature. Dale :-) :-)
Re: [gentoo-user] Problem with the graphic card
Hi Ward. Thank you for your clarification. Just to be sure I have undestood right. The document says: Since 22 Oct 2008, Gentoo switched all ebuilds to the upstream naming: x11-drivers/xf86-video-intel. The ebuild xf86-video-i810 no longer exists. To switch, set the VIDEO_CARDS variable to intel in your /etc/make.conf. See VIDEO_CARDS for further instructions. When it says to switch set the VIDEO_CARDS, I thought it meant since Gentoo switched all ebuilds to the upstream naming x11-drivers/xf86-video-intel, if you want to switch to the old xf86-video-i810, set the VIDEO_CARDS variable to intel So, your answer made me a little bit confused about that 'if you want to switch'. Maybe they mean 'if you want to switch to the new x11-drivers/xf86-video-intel'? But, if Gentoo switched all ebuilds to the upstream naming: x11-drivers/xf86-video-intel, isn't that the default one? Surely I miss something... Thank you very much, Massimiliano On Sat, Jun 20, 2009 at 11:02 AM, Ward Poelmans wpoel...@gmail.com wrote: On Fri, Jun 19, 2009 at 17:50, Massimiliano Ziccardimassimiliano.zicca...@gmail.com wrote: However (but maybe I've understood wrong), it says that I have to define that variable only if I want to use the old xf86-video-i810 name. If I don't define that, I should use the new name (xf86-video-intel). Do I get any improvement using the old one (and, is that a good idea?) ? No, it says you should set that variable regardless of what driver you use. Ward
Re: [gentoo-user] Problem with the graphic card
On Mon, Jun 22, 2009 at 09:52, Massimiliano Ziccardimassimiliano.zicca...@gmail.com wrote: When it says to switch set the VIDEO_CARDS, I thought it meant since Gentoo switched all ebuilds to the upstream naming x11-drivers/xf86-video-intel, if you want to switch to the old xf86-video-i810, set the VIDEO_CARDS variable to intel It just means that you need to change the VIDEO_CARDS to include intel. So, what you need to do is set VIDEO_CARDS to contain the string intel. With this variable, gentoo controls which drivers are being built when you emerge xorg-x11, mesa, etc Ward
Re: [gentoo-user] Problem with the graphic card
Done. After that I did: emerge -av xf86-video-intel killall -1 X However, performances didn't change much... x...@localhost ~ $ glxinfo | grep render direct rendering: Yes OpenGL renderer string: Software Rasterizer Other ideas? Thank you, Massimiliano It just means that you need to change the VIDEO_CARDS to include intel. So, what you need to do is set VIDEO_CARDS to contain the string intel. With this variable, gentoo controls which drivers are being built when you emerge xorg-x11, mesa, etc
Re: [gentoo-user] Problem with the graphic card
On Mon, Jun 22, 2009 at 13:16, Massimiliano Ziccardimassimiliano.zicca...@gmail.com wrote: Done. After that I did: emerge -av xf86-video-intel killall -1 X Did you merge mesa again? Did you follow the guide to the letter? Ward
Re: [gentoo-user] Problem with the graphic card
I'm following to the letter, now :-) However, it says I need xorg 1.6, so, now I'm upgrading. Here is my package.keyword files =x11-base/xorg-server-1.6 =x11-libs/libXfont-1.4 =x11-proto/randproto-1.2 I hope it won't break my system :-) I'll let you know the result. Thanks a lot, Massimiliano On Mon, Jun 22, 2009 at 1:25 PM, Ward Poelmans wpoel...@gmail.com wrote: On Mon, Jun 22, 2009 at 13:16, Massimiliano Ziccardimassimiliano.zicca...@gmail.com wrote: Done. After that I did: emerge -av xf86-video-intel killall -1 X Did you merge mesa again? Did you follow the guide to the letter? Ward
Re: [gentoo-user] Problem with the graphic card
Ok. Now I think I did everything However: x...@localhost ~ $ glxinfo | grep GEM x...@localhost ~ $ x...@localhost ~ $ emerge --search xorg-server Searching... [ Results for search key : xorg-server ] [ Applications found : 1 ] * x11-base/xorg-server Latest version available: 1.6.1.901-r3 Latest version installed: 1.6.1.901-r3 Size of files: 4,550 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org X servers License: xorg-server MIT x...@localhost ~ $ glxinfo | grep render direct rendering: Yes OpenGL renderer string: Software Rasterizer Don't know what to do more Any idea? Thanks a lot, Massimiliano On Mon, Jun 22, 2009 at 3:04 PM, Massimiliano Ziccardi massimiliano.zicca...@gmail.com wrote: I'm following to the letter, now :-) However, it says I need xorg 1.6, so, now I'm upgrading. Here is my package.keyword files =x11-base/xorg-server-1.6 =x11-libs/libXfont-1.4 =x11-proto/randproto-1.2 I hope it won't break my system :-) I'll let you know the result. Thanks a lot, Massimiliano On Mon, Jun 22, 2009 at 1:25 PM, Ward Poelmans wpoel...@gmail.com wrote: On Mon, Jun 22, 2009 at 13:16, Massimiliano Ziccardimassimiliano.zicca...@gmail.com wrote: Done. After that I did: emerge -av xf86-video-intel killall -1 X Did you merge mesa again? Did you follow the guide to the letter? Ward
Re: [gentoo-user] Problem with the graphic card
One more thing. Now, driconf says 'Could not detect any configurable direct-rendering capable devices. DRIconf will be started in expert mode'. Before the config changes I did, I never got this message calling driconf On Mon, Jun 22, 2009 at 4:07 PM, Massimiliano Ziccardi massimiliano.zicca...@gmail.com wrote: Ok. Now I think I did everything However: x...@localhost ~ $ glxinfo | grep GEM x...@localhost ~ $ x...@localhost ~ $ emerge --search xorg-server Searching... [ Results for search key : xorg-server ] [ Applications found : 1 ] * x11-base/xorg-server Latest version available: 1.6.1.901-r3 Latest version installed: 1.6.1.901-r3 Size of files: 4,550 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org X servers License: xorg-server MIT x...@localhost ~ $ glxinfo | grep render direct rendering: Yes OpenGL renderer string: Software Rasterizer Don't know what to do more Any idea? Thanks a lot, Massimiliano On Mon, Jun 22, 2009 at 3:04 PM, Massimiliano Ziccardi massimiliano.zicca...@gmail.com wrote: I'm following to the letter, now :-) However, it says I need xorg 1.6, so, now I'm upgrading. Here is my package.keyword files =x11-base/xorg-server-1.6 =x11-libs/libXfont-1.4 =x11-proto/randproto-1.2 I hope it won't break my system :-) I'll let you know the result. Thanks a lot, Massimiliano On Mon, Jun 22, 2009 at 1:25 PM, Ward Poelmans wpoel...@gmail.comwrote: On Mon, Jun 22, 2009 at 13:16, Massimiliano Ziccardimassimiliano.zicca...@gmail.com wrote: Done. After that I did: emerge -av xf86-video-intel killall -1 X Did you merge mesa again? Did you follow the guide to the letter? Ward
Re: [gentoo-user] Problem with the graphic card
More INFO Running driconf, I see the following message: Xlib: extension XFree86-DRI missing on display :0.0. However, inside the xorg.0.log, I see: (II) AIGLX: enabled GLX_MESA_copy_sub_buffer (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects (II) AIGLX: Loaded and initialized /usr/lib/dri/i965_dri.so (II) GLX: Initialized DRI2 GL provider for screen 0 Any help? Thank you, Massimiliano
Re: [gentoo-user] Problem with the graphic card
I'm close to the solution. If I run glxinfo | grep renderer as root, I get direct rendering: Yes OpenGL renderer string: Mesa DRI Mobile Intel�� GM45 Express Chipset GEM 20090114 while, if I run the same command as a simple user, I get direct rendering: Yes OpenGL renderer string: Software Rasterizer So I think that's a permission problem now. Have you any idea? Thanks a lot, Massimiliano
Re: [gentoo-user] Problem with the graphic card
On Mon, Jun 22, 2009 at 16:51, Massimiliano Ziccardimassimiliano.zicca...@gmail.com wrote: So I think that's a permission problem now. Check /dev/video* en /dev/dri* Try adding, Section DRI Mode 0666 EndSection To your xorg.conf file. If that doesn't work, take a look into Xorg.0.log. Ward
Re: [gentoo-user] Problem with the graphic card
Finally it works! I just had to add my user to the 'video' group. Shouldn't new user be added to such groups by default? driconf, always says Xlib: extension XFree86-DRI missing on display :0.0. Thank you a lot, Massimiliano
Re: [gentoo-user] Problem with the graphic card
On Mon, Jun 22, 2009 at 17:08, Massimiliano Ziccardimassimiliano.zicca...@gmail.com wrote: Finally it works! Great :) I just had to add my user to the 'video' group. Shouldn't new user be added to such groups by default? We're Gentoo, not Ubuntu ;-) driconf, always says Xlib: extension XFree86-DRI missing on display :0.0. You safely ignore that. Ward
Re: [gentoo-user] Problem with the graphic card
Massimiliano Ziccardi wrote: Finally it works! I just had to add my user to the 'video' group. Shouldn't new user be added to such groups by default? This is Gentoo. Very little is default here. You either set it yourself or it doesn't get set. Dale :-) :-)
Re: [gentoo-user] Problem with the graphic card
On Fri, Jun 19, 2009 at 17:50, Massimiliano Ziccardimassimiliano.zicca...@gmail.com wrote: However (but maybe I've understood wrong), it says that I have to define that variable only if I want to use the old xf86-video-i810 name. If I don't define that, I should use the new name (xf86-video-intel). Do I get any improvement using the old one (and, is that a good idea?) ? No, it says you should set that variable regardless of what driver you use. Ward
Re: [gentoo-user] Problem with the graphic card
Hi James, Ward, Adam! Thanks for your help! To James: Yes, I've an intel card. I followed many guides. My card is : Identifier Card0 Driver intel VendorName Intel Corporation BoardName Mobile 4 Series Chipset Integrated Graphics Controller BusID PCI:0:2:0 To Ward : attached you'll find Xorg.0.log, xorg.conf and lspci.out To Adam: I tried 'eselect opengl list', but the only answer has been [1] xorg-x11 * I'm going to try exa. Thanks a lot, Massimiliano Xorg.0.log Description: Binary data xorg.conf Description: Binary data lspci.out Description: Binary data
Re: [gentoo-user] Problem with the graphic card
В Птн, 19/06/2009 в 10:12 +0200, Massimiliano Ziccardi пишет: Hi James, Ward, Adam! Thanks for your help! To James: Yes, I've an intel card. I followed many guides. My card is : Identifier Card0 Driver intel VendorName Intel Corporation BoardName Mobile 4 Series Chipset Integrated Graphics Controller BusID PCI:0:2:0 To Ward : attached you'll find Xorg.0.log, xorg.conf and lspci.out To Adam: I tried 'eselect opengl list', but the only answer has been [1] xorg-x11 * I'm going to try exa. Thanks a lot, Massimiliano Hi. What driver are you using with your graphic cart? Try x11-drivers/xf86-video-intel-2.1.1, but this driver works bad with compiz. But you get better performance. Intel developers rework their driver and provoke this problems with performance. Soon there will be all good.
Re: [gentoo-user] Problem with the graphic card
Hi Vasya! Thank for your help!! xf86-video-intel-2.1.1 is an older version: what do I have to do to switch to that? And, after I've switched, how will I switch back to the latest one? Thank you, Massimiliano On Fri, Jun 19, 2009 at 10:50 AM, Vasya Volkov my.pipes.b...@gmail.comwrote: В Птн, 19/06/2009 в 10:12 +0200, Massimiliano Ziccardi пишет: Hi James, Ward, Adam! Thanks for your help! To James: Yes, I've an intel card. I followed many guides. My card is : Identifier Card0 Driver intel VendorName Intel Corporation BoardName Mobile 4 Series Chipset Integrated Graphics Controller BusID PCI:0:2:0 To Ward : attached you'll find Xorg.0.log, xorg.conf and lspci.out To Adam: I tried 'eselect opengl list', but the only answer has been [1] xorg-x11 * I'm going to try exa. Thanks a lot, Massimiliano Hi. What driver are you using with your graphic cart? Try x11-drivers/xf86-video-intel-2.1.1, but this driver works bad with compiz. But you get better performance. Intel developers rework their driver and provoke this problems with performance. Soon there will be all good.
Re: [gentoo-user] Problem with the graphic card
В Птн, 19/06/2009 в 10:59 +0200, Massimiliano Ziccardi пишет: Hi Vasya! Thank for your help!! xf86-video-intel-2.1.1 is an older version: what do I have to do to switch to that? And, after I've switched, how will I switch back to the latest one? Thank you, Massimiliano On Fri, Jun 19, 2009 at 10:50 AM, Vasya Volkov my.pipes.b...@gmail.com wrote: В Птн, 19/06/2009 в 10:12 +0200, Massimiliano Ziccardi пишет: Hi James, Ward, Adam! Thanks for your help! To James: Yes, I've an intel card. I followed many guides. My card is : Identifier Card0 Driver intel VendorName Intel Corporation BoardName Mobile 4 Series Chipset Integrated Graphics Controller BusID PCI:0:2:0 To Ward : attached you'll find Xorg.0.log, xorg.conf and lspci.out To Adam: I tried 'eselect opengl list', but the only answer has been [1] xorg-x11 * I'm going to try exa. Thanks a lot, Massimiliano Hi. What driver are you using with your graphic cart? Try x11-drivers/xf86-video-intel-2.1.1, but this driver works bad with compiz. But you get better performance. Intel developers rework their driver and provoke this problems with performance. Soon there will be all good. Well, add to /etc/portage/package.mask x11-drivers/xf86-video-intel-2.1.1 and then emerge x11-drivers/xf86-video-intel. Of course you need to update (downgrade) your xorg-server to 1.3.0.0-r6 (same operations:mask every version which later than 1.3.0.0-r6 x11-base/xorg-server-1.3.0.0-r6) and don't forget that you can't using evdev afaik with this xorg but x11-drivers/xf86-input-keyboard and x11-drivers/xf86-input-mice will replace it. And configure your xorg.conf For swithcing back just erase strings that you add to package.mask and then reemerge packets. Don't forget that xorg-1.5* and 1.3* are different. Read upgrade guide.
Re: [gentoo-user] Problem with the graphic card
On Fri, Jun 19, 2009 at 13:32, Vasya Volkovmy.pipes.b...@gmail.com wrote: For swithcing back just erase strings that you add to package.mask and then reemerge packets. Don't forget that xorg-1.5* and 1.3* are different. Read upgrade guide. Are you sure that's a good idea? He has an GM45 which was only released last year. Isn't this driver older than that? Ward
Re: [gentoo-user] Problem with the graphic card
В Птн, 19/06/2009 в 13:37 +0200, Ward Poelmans пишет: On Fri, Jun 19, 2009 at 13:32, Vasya Volkovmy.pipes.b...@gmail.com wrote: For swithcing back just erase strings that you add to package.mask and then reemerge packets. Don't forget that xorg-1.5* and 1.3* are different. Read upgrade guide. Are you sure that's a good idea? He has an GM45 which was only released last year. Isn't this driver older than that? Ward I don't understand which older driver do you mean... Intel rewrite their driver. And there isn't any good support for linux by their driver at now. As I know they start rewrite thier driver from version 2.1.1 or so. Version 2.1.1 not good but with it I have reached best performance. Wait until they finish work is a good idea. -- Vasya my.pipes.b...@gmail.com
Re: [gentoo-user] Problem with the graphic card
Thank you all. I think I'll wait, however, do you think that that is the problem that cause glxinfo | grep renderer direct rendering: Yes OpenGL renderer string: Software Rasterizer On my ubuntu machine, I get : direct rendering: Yes OpenGL renderer string: Mesa DRI Intel(R) 965Q GEM 20090326 2009Q1 RC2 x86/MMX/SSE2 Thanks, Massimiliano On Fri, Jun 19, 2009 at 2:32 PM, Vasya Volkov my.pipes.b...@gmail.comwrote: В Птн, 19/06/2009 в 13:37 +0200, Ward Poelmans пишет: On Fri, Jun 19, 2009 at 13:32, Vasya Volkovmy.pipes.b...@gmail.com wrote: For swithcing back just erase strings that you add to package.mask and then reemerge packets. Don't forget that xorg-1.5* and 1.3* are different. Read upgrade guide. Are you sure that's a good idea? He has an GM45 which was only released last year. Isn't this driver older than that? Ward I don't understand which older driver do you mean... Intel rewrite their driver. And there isn't any good support for linux by their driver at now. As I know they start rewrite thier driver from version 2.1.1 or so. Version 2.1.1 not good but with it I have reached best performance. Wait until they finish work is a good idea. -- Vasya my.pipes.b...@gmail.com
Re: [gentoo-user] Problem with the graphic card
2009/6/19 Massimiliano Ziccardi massimiliano.zicca...@gmail.com: Thank you all. I think I'll wait, however, do you think that that is the problem that cause Did you enable intel in VIDEO_CARDS for mesa? Ward
RE: [gentoo-user] Problem with the graphic card
Thank you all. I think I'll wait, however, do you think that that is the problem that cause glxinfo | grep renderer direct rendering: Yes OpenGL renderer string: Software Rasterizer On my ubuntu machine, I get : direct rendering: Yes OpenGL renderer string: Mesa DRI Intel(R) 965Q GEM 20090326 2009Q1 RC2 x86/MMX/SSE2 That diference definately explains poorer 3D performance in gentoo compared to ubuntu. IIRC GEM is a very new feature in the 2.6.29?? kernel, so at a minimum you'll need to enable it in your kernel, to be able to use that feature. There may be other things you need as well You'll probably want to run the very latest version of the intel driver, to try it, add the following to /etc/portage/package.keyword; x11-drivers/xf86-video-intel ~x86 if you're running 32 bit or x11-drivers/xf86-video-intel ~amd64 if you're running 64 bit, then emerge it again Have you read http://en.gentoo-wiki.com/wiki/Intel_GMA? Should be better info in there
Re: [gentoo-user] Problem with the graphic card
Do you mean into the xorg.conf file (I'm not very expert in configuring X...)? In my previous mail I sent the xorg.conf file. Do I have to change something? Thanks you, Massimiliano On Fri, Jun 19, 2009 at 4:09 PM, Ward Poelmans wpoel...@gmail.com wrote: 2009/6/19 Massimiliano Ziccardi massimiliano.zicca...@gmail.com: Thank you all. I think I'll wait, however, do you think that that is the problem that cause Did you enable intel in VIDEO_CARDS for mesa? Ward
Re: [gentoo-user] Problem with the graphic card
Hi Adam. Thanks for your help. I read that document a while ago. It says I need : 1) gentoo-sources 2.6.29 + : I'm ok, my version is 2.6.29-r5 2) xorg-server 1.6+ : here I'm too old. I have 1.5.3-r6. however, emerge says that 1.5.3-r6 is the latest available 3) xf86-video-intel 2.6.1+: I have 2.6.3-r1. Do you think it wold be a good idea to upgrade xorg, even if emerge says I've the latest available version? Thank you, Massimiliano On Fri, Jun 19, 2009 at 5:01 PM, Adam Carter adam.car...@optus.com.auwrote: That diference definately explains poorer 3D performance in gentoo compared to ubuntu. IIRC GEM is a very new feature in the 2.6.29?? kernel, so at a minimum you'll need to enable it in your kernel, to be able to use that feature. There may be other things you need as well You'll probably want to run the very latest version of the intel driver, to try it, add the following to /etc/portage/package.keyword; x11-drivers/xf86-video-intel ~x86 if you're running 32 bit or x11-drivers/xf86-video-intel ~amd64 if you're running 64 bit, then emerge it again Have you read http://en.gentoo-wiki.com/wiki/Intel_GMA? Should be better info in there
Re: [gentoo-user] Problem with the graphic card
On Fri, Jun 19, 2009 at 17:32, Massimiliano Ziccardimassimiliano.zicca...@gmail.com wrote: Do you mean into the xorg.conf file (I'm not very expert in configuring X...)? In my previous mail I sent the xorg.conf file. Do I have to change something? Your xorg.conf is fine. Take a look at make.conf. Somewhere you should define a variable VIDEO_CARDS than contains the string intel. If not, add it and remerge mesa. Take a look at the HOWTO Adam suggested, http://en.gentoo-wiki.com/wiki/Intel_GMA It's all explained over there. Ward
Re: [gentoo-user] Problem with the graphic card
Sorry, I read that document after I sent the e-mail. However (but maybe I've understood wrong), it says that I have to define that variable only if I want to use the old xf86-video-i810 name. If I don't define that, I should use the new name (xf86-video-intel). Do I get any improvement using the old one (and, is that a good idea?) ? Thanks, Massimiliano On Fri, Jun 19, 2009 at 5:39 PM, Ward Poelmans wpoel...@gmail.com wrote: On Fri, Jun 19, 2009 at 17:32, Massimiliano Ziccardimassimiliano.zicca...@gmail.com wrote: Do you mean into the xorg.conf file (I'm not very expert in configuring X...)? In my previous mail I sent the xorg.conf file. Do I have to change something? Your xorg.conf is fine. Take a look at make.conf. Somewhere you should define a variable VIDEO_CARDS than contains the string intel. If not, add it and remerge mesa. Take a look at the HOWTO Adam suggested, http://en.gentoo-wiki.com/wiki/Intel_GMA It's all explained over there. Ward
[gentoo-user] Problem with the graphic card
No one answered to my mail so far Do you mean I should switch to windows ? ;-) Please, can someone give me some hint? Do you need some more information to be able to help me? I have a ThinkPad lenovo R500 running the latest GENTOO. Here is what I found so far. Everything works, but I have 2 problems: 1) OpenGL screen saver do not works 2) Graphic is not very fast. I think the first problem is related to the second one. I think (but I'm not sure) that the source of my problem is this: x...@localhost ~ $ glxinfo | grep renderer OpenGL renderer string: Software Rasterizer However, x...@localhost ~ $ glxinfo | grep direct direct rendering: Yes x...@localhost ~ $ dmesg | grep -i agp [1.708652] Linux agpgart interface v0.103 [1.708775] agpgart-intel :00:00.0: Intel Mobile Intel�� GM45 Express Chipset [1.709925] agpgart-intel :00:00.0: detected 32764K stolen memory [1.713030] agpgart-intel :00:00.0: AGP aperture is 256M @ 0xd000 Can someone give me some hint about what to do/what to check? Thank you in advance, Massimiliano
Re: [gentoo-user] Problem with the graphic card
On Thu, Jun 18, 2009 at 16:08, Massimiliano Ziccardimassimiliano.zicca...@gmail.com wrote: Can someone give me some hint about what to do/what to check? Can you tell use the hardware you are using (lspci) and contents of your xorg.conf file and Xorg.0.log file. Regards, Ward
RE: [gentoo-user] Problem with the graphic card
x...@localhost ~ $ glxinfo | grep renderer OpenGL renderer string: Software Rasterizer If you're worried about 3D performance, run 'eselect opengl list' To see if you have a hardware accelerated option, and if so 'eselect opengl set option' will fix that. If you want more 2D speed, you'll need to tweak xorg.conf. Read up on options like backingstore, renderaccel, and verfiy that accelmethod is exa instead of xaa (only if its supported). There probably other options that may help as well.