Re: 9.1 and intel graphics
On Sun, Oct 21, 2012 at 04:48:45PM +0200, Zoran Kolic wrote: AFAIC Matthew Seaman already gave you a wonderful suggestion to add yourself to the group operator and just use the command shutdown with your own rights only. Did you try this suggestion? Actually, it is wheel group. To me it is normal to read mail and do something mundane in console, to startx for browsing things that cannot be seen pro- perly in lynx, to go back to console when done. I found no harm su-ing in graphics and doing root work, like write to usb stick or else. Eye catching is to use console in public, but... Nope, wheel let's you use su(1) but not shutdown(8). You need to be in the operator group for that. pgp7D9adtsKOI.pgp Description: PGP signature
Re: 9.1 and intel graphics
Hi Neal, I made some test with 9 stable on SandyBridge and IvyBridge CPU. With Sandybridge, I compiled everything without problem, openGL correctly detected, configured and accelerated, KDE with compisition up and running. With Ivybridge, I compiled everything without problem, openGL correctly detected and configured, but not accelerated, swrast was used instead. Problem detected using simple test like glxgears or engine. You could compile the intel driver manually. But I'm using the xorg-dev repository to obtain the last version of drivers and library. best regards, Luca On 10/21/12 17:57, Neal Nelson wrote: On 2012-Oct-20, at 08:29 , Kevin Oberman wrote: On Fri, Oct 19, 2012 at 9:14 PM, Zoran Kolic zko...@sbb.rs wrote: Yesterday I have gotten lenovo e320 laptop, with core i3 2350 and HD3000 integrated. Gonna wait few days till 9.1 release. I never used anything aside intel on my old laptop. Kostik Belousov made a port of kms and I found patches from june and jule on the net. What should I do after 9.1 install in this case? I assume kms is in xorg. Do I have to find and install some driver from intel? Do I need to change xorg.conf after configure flag, that will make conf file? Full support for the HD3000 is in 9-stable and 9.1-Beta and all RCs. To use it you need to build X drivers and drm and the kernel with: WITH_NEW_XORG=YES WITH_KMS=YES in /etc/make.conf. Specifically, the kernel and a few ports. graphics/drm and your org-drivers: xf86-video-intel, xf86-input-synaptics, xf86-input-mouse, and xf86-input-keyboard. Then just start X. Don't try loading the kernel module. It will be loaded by the startx. Finally, what happens when I leave x and want to go back to console mode? You don't If you try, your system will lock up. You need to shutdown from a window in X. Hopefully someone will implement switching back to console mode some day, but it has not happened, yet. I tried out live RC2 from usb stick. Few acpi errors, intel 1000 wifi found. After some time sysctl hw.acpi gave me the cpu temperature of 50C. Fan was on. Probably temp gonna go down when I add powerd and cx_lowest to rc.conf on hdd. Is it normal temp for this cpu? Pretty reasonable. Be sure to set both cx_lowest to Cmax. It is new to 9.1 and fixes some serious issues with C-states on many newer platforms. Specifically that some platforms skip some C-states and FreeBSD never used the ones saving more power than hte one skipped. I always remind folks to blow out the heat sink on laptops about one a year. Dust is a great insulator and laptops often collect a lot more dust than office systems, though my office system started dying during buildworld last week and blowing out the CPU heat sink fixed it up, but it had been sitting around for almost three years collecting dust. I'm trying to do something similar, except with an HD4000 (i5-3570K) on 9.1-RC2. The problem I'm having, after setting the make variables as above, is that xorg-drivers port doesn't show the intel driver. In fact, there's the specific part of the Makefile: .if (${ARCH} == amd64 || ${ARCH} == i386) !defined(WITH_NEW_XORG) VIDEO_ON+= intel .endif So what driver should I be using? Thanks, Neal. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 9.1 and intel graphics
Normally I start X by startx which may be followed by an initialization file, so I don't get the default spartan default twm all the time. In Linux and FreeBSD, I generally use X as nonroot. So I don't really know how to start a program such as xterm as another user or how to have both root and nonroot windows in X. On trying to exit X with the KMS driver in FreeBSD, I never got that far, however I'm having snags in updating my ports, am at an impasse now, got Error 70 in the latest case and don't know what that means. But I have experience typing in the dark in NetBSD, not all X-related, and have successfully typed shutdown -r now with nothing showing on the screen. Tom ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 9.1 and intel graphics
Hello, On Sun, 21 Oct 2012 05:10:53 -0400 Thomas Mueller muelle...@insightbb.com wrote: Normally I start X by startx which may be followed by an initialization file, so I don't get the default spartan default twm all the time. In Linux and FreeBSD, I generally use X as nonroot. Which is the normal and correct way, IMHO. So I don't really know how to start a program such as xterm as another user or how to have both root and nonroot windows in X. Is there any reason why you don't make use of su(1) or sudo (/usr/ports/security/sudo)? That way you can just launch a xterm as your normal user, and become root when you want / need. HTH -- Torfinn Ingolfsen torfinn.ingolf...@getmail.no ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 9.1 and intel graphics
Hi Thomas, 21.10.2012 13:10, Thomas Mueller пишет: So I don't really know how to start a program such as xterm as another user or how to have both root and nonroot windows in X. AFAIC Matthew Seaman already gave you a wonderful suggestion to add yourself to the group operator and just use the command shutdown with your own rights only. Did you try this suggestion? -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 9.1 and intel graphics
On Sun, 21 Oct 2012, Thomas Mueller wrote: Normally I start X by startx which may be followed by an initialization file, so I don't get the default spartan default twm all the time. In Linux and FreeBSD, I generally use X as nonroot. So I don't really know how to start a program such as xterm as another user or how to have both root and nonroot windows in X. Open a terminal, su - to root in it. In the exceptionally rare case of needing to run a graphic program as root, also set the DISPLAY variable to match the normal user's value, then run that program in the terminal. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 9.1 and intel graphics
AFAIC Matthew Seaman already gave you a wonderful suggestion to add yourself to the group operator and just use the command shutdown with your own rights only. Did you try this suggestion? Actually, it is wheel group. To me it is normal to read mail and do something mundane in console, to startx for browsing things that cannot be seen pro- perly in lynx, to go back to console when done. I found no harm su-ing in graphics and doing root work, like write to usb stick or else. Eye catching is to use console in public, but... Best regards Zoran ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 9.1 and intel graphics
On 2012-Oct-20, at 08:29 , Kevin Oberman wrote: On Fri, Oct 19, 2012 at 9:14 PM, Zoran Kolic zko...@sbb.rs wrote: Yesterday I have gotten lenovo e320 laptop, with core i3 2350 and HD3000 integrated. Gonna wait few days till 9.1 release. I never used anything aside intel on my old laptop. Kostik Belousov made a port of kms and I found patches from june and jule on the net. What should I do after 9.1 install in this case? I assume kms is in xorg. Do I have to find and install some driver from intel? Do I need to change xorg.conf after configure flag, that will make conf file? Full support for the HD3000 is in 9-stable and 9.1-Beta and all RCs. To use it you need to build X drivers and drm and the kernel with: WITH_NEW_XORG=YES WITH_KMS=YES in /etc/make.conf. Specifically, the kernel and a few ports. graphics/drm and your org-drivers: xf86-video-intel, xf86-input-synaptics, xf86-input-mouse, and xf86-input-keyboard. Then just start X. Don't try loading the kernel module. It will be loaded by the startx. Finally, what happens when I leave x and want to go back to console mode? You don't If you try, your system will lock up. You need to shutdown from a window in X. Hopefully someone will implement switching back to console mode some day, but it has not happened, yet. I tried out live RC2 from usb stick. Few acpi errors, intel 1000 wifi found. After some time sysctl hw.acpi gave me the cpu temperature of 50C. Fan was on. Probably temp gonna go down when I add powerd and cx_lowest to rc.conf on hdd. Is it normal temp for this cpu? Pretty reasonable. Be sure to set both cx_lowest to Cmax. It is new to 9.1 and fixes some serious issues with C-states on many newer platforms. Specifically that some platforms skip some C-states and FreeBSD never used the ones saving more power than hte one skipped. I always remind folks to blow out the heat sink on laptops about one a year. Dust is a great insulator and laptops often collect a lot more dust than office systems, though my office system started dying during buildworld last week and blowing out the CPU heat sink fixed it up, but it had been sitting around for almost three years collecting dust. I'm trying to do something similar, except with an HD4000 (i5-3570K) on 9.1-RC2. The problem I'm having, after setting the make variables as above, is that xorg-drivers port doesn't show the intel driver. In fact, there's the specific part of the Makefile: .if (${ARCH} == amd64 || ${ARCH} == i386) !defined(WITH_NEW_XORG) VIDEO_ON+= intel .endif So what driver should I be using? Thanks, Neal. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 9.1 and intel graphics
On Fri, Oct 19, 2012 at 9:14 PM, Zoran Kolic zko...@sbb.rs wrote: Yesterday I have gotten lenovo e320 laptop, with core i3 2350 and HD3000 integrated. Gonna wait few days till 9.1 release. I never used anything aside intel on my old laptop. Kostik Belousov made a port of kms and I found patches from june and jule on the net. What should I do after 9.1 install in this case? I assume kms is in xorg. Do I have to find and install some driver from intel? Do I need to change xorg.conf after configure flag, that will make conf file? Full support for the HD3000 is in 9-stable and 9.1-Beta and all RCs. To use it you need to build X drivers and drm and the kernel with: WITH_NEW_XORG=YES WITH_KMS=YES in /etc/make.conf. Specifically, the kernel and a few ports. graphics/drm and your org-drivers: xf86-video-intel, xf86-input-synaptics, xf86-input-mouse, and xf86-input-keyboard. Then just start X. Don't try loading the kernel module. It will be loaded by the startx. Finally, what happens when I leave x and want to go back to console mode? You don't If you try, your system will lock up. You need to shutdown from a window in X. Hopefully someone will implement switching back to console mode some day, but it has not happened, yet. I tried out live RC2 from usb stick. Few acpi errors, intel 1000 wifi found. After some time sysctl hw.acpi gave me the cpu temperature of 50C. Fan was on. Probably temp gonna go down when I add powerd and cx_lowest to rc.conf on hdd. Is it normal temp for this cpu? Pretty reasonable. Be sure to set both cx_lowest to Cmax. It is new to 9.1 and fixes some serious issues with C-states on many newer platforms. Specifically that some platforms skip some C-states and FreeBSD never used the ones saving more power than hte one skipped. I always remind folks to blow out the heat sink on laptops about one a year. Dust is a great insulator and laptops often collect a lot more dust than office systems, though my office system started dying during buildworld last week and blowing out the CPU heat sink fixed it up, but it had been sitting around for almost three years collecting dust. -- R. Kevin Oberman, Network Engineer E-mail: kob6...@gmail.com ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 9.1 and intel graphics
Hi, On Fri, 19 Oct 2012 23:29:28 -0700 Kevin Oberman kob6...@gmail.com wrote: On Fri, Oct 19, 2012 at 9:14 PM, Zoran Kolic zko...@sbb.rs wrote: I always remind folks to blow out the heat sink on laptops about one a year. Dust is a great insulator and laptops often collect a lot more I never did this on a laptop as all of mine where build in a way that dust could not collect. So, it depends very much on the model. dust than office systems, though my office system started dying during buildworld last week and blowing out the CPU heat sink fixed it up, but it had been sitting around for almost three years collecting dust. I do this every year on my desktop. The temperature drops then by 10K. You can use the CPU temperature as an indicator when a cleaning is needed. But blowing does not work on my machine. I really have to take screw driver and tweezers to get the work finally done. Erich ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 9.1 and intel graphics
Hi, On Sat, 20 Oct 2012 06:14:08 +0200 Zoran Kolic zko...@sbb.rs wrote: Yesterday I have gotten lenovo e320 laptop, with core i3 2350 and HD3000 integrated. Gonna wait few days till 9.1 release. there shouldn't be many changes between RC2 and the final release version. You can always update later. I never used anything aside intel on my old laptop. Kostik Belousov made a port of kms and I found patches from june and jule on the net. What should I do after 9.1 install in this case? I assume kms is in xorg. Do I have to find and install You should not need the patches anymore for 9.x and 10.x. some driver from intel? Do I need to change xorg.conf after configure flag, that will make conf file? I have had to do but this is some time ago. Finally, what happens when I leave x and want to go back to console mode? It might crashes your system. You are not able to go back to X and you only see a black screen. This is not an error but a feature. Fun aside, this function was not implemented yet. I tried out live RC2 from usb stick. Few acpi errors, intel The ACPI errors might depend on your BIOS. I get an endless number of ACPI errors during running X but they do not show any effect on my machine. 1000 wifi found. After some time sysctl hw.acpi gave me the cpu temperature of 50C. Fan was on. Probably temp gonna go down when I add powerd and cx_lowest to rc.conf on hdd. Is it normal temp for this cpu? 50 degrees? Seems pretty low. My i7 goes up to 96 under full load. As the CPU is made for 100 and I am in the tropics, I do not care much. This should be true for your CPU too. Erich ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 9.1 and intel graphics
Full support for the HD3000 is in 9-stable and 9.1-Beta and all RCs. To use it you need to build X drivers and drm and the kernel with: WITH_NEW_XORG=YES WITH_KMS=YES in /etc/make.conf. Specifically, the kernel and a few ports. graphics/drm and your org-drivers: xf86-video-intel, xf86-input-synaptics, xf86-input-mouse, and xf86-input-keyboard. Then just start X. Don't try loading the kernel module. It will be loaded by the startx. Finally, what happens when I leave x and want to go back to console mode? You don't If you try, your system will lock up. You need to shutdown from a window in X. Hopefully someone will implement switching back to console mode some day, but it has not happened, yet. How do you shutdown from a window in X if you're nonroot? Can you have both root and nonroot windows simultaneously in X? Tom ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 9.1 and intel graphics
Hi, On Sat, 20 Oct 2012 05:12:45 -0400 Thomas Mueller muelle...@insightbb.com wrote: Full support for the HD3000 is in 9-stable and 9.1-Beta and all RCs. To use it you need to build X drivers and drm and the kernel with: WITH_NEW_XORG=YES WITH_KMS=YES in /etc/make.conf. Specifically, the kernel and a few ports. graphics/drm and your org-drivers: xf86-video-intel, xf86-input-synaptics, xf86-input-mouse, and xf86-input-keyboard. Then just start X. Don't try loading the kernel module. It will be loaded by the startx. Finally, what happens when I leave x and want to go back to console mode? You don't If you try, your system will lock up. You need to shutdown from a window in X. Hopefully someone will implement switching back to console mode some day, but it has not happened, yet. How do you shutdown from a window in X if you're nonroot? Can you have both root and nonroot windows simultaneously in X? I have all the while. You can also open a normal xterm and enter su to become root or start a xterm as root. It booth works. You are also able to start any other program as root. Erich ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 9.1 and intel graphics
On 2012-10-20 (Saturday) 11:12:45 Thomas Mueller wrote: Full support for the HD3000 is in 9-stable and 9.1-Beta and all RCs. To use it you need to build X drivers and drm and the kernel with: WITH_NEW_XORG=YES WITH_KMS=YES in /etc/make.conf. Specifically, the kernel and a few ports. graphics/drm and your org-drivers: xf86-video-intel, xf86-input-synaptics, xf86-input-mouse, and xf86-input-keyboard. Then just start X. Don't try loading the kernel module. It will be loaded by the startx. Finally, what happens when I leave x and want to go back to console mode? You don't If you try, your system will lock up. You need to shutdown from a window in X. Hopefully someone will implement switching back to console mode some day, but it has not happened, yet. How do you shutdown from a window in X if you're nonroot? Can you have both root and nonroot windows simultaneously in X? Tom ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org Hello, While you are not able to see anything on the screen, the system is still operational after X11 shutdown (or tty switch). Therefore you can still type input to the (invisible) command line or connect to that system via telnet/ssh/rlogin ... By default the system shuts down gracefully if you hit it's power button. If you're using GDM/KDM you can also use their shutdown options. Eventually it might crash during shutdown though (at least over here). Alonso ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 9.1 and intel graphics
On Sat, 20 Oct 2012, Thomas Mueller wrote: How do you shutdown from a window in X if you're nonroot? Users that are a member of the operator group can run shutdown -p or -r. Can you have both root and nonroot windows simultaneously in X? Sure. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
9.1 and intel graphics
Yesterday I have gotten lenovo e320 laptop, with core i3 2350 and HD3000 integrated. Gonna wait few days till 9.1 release. I never used anything aside intel on my old laptop. Kostik Belousov made a port of kms and I found patches from june and jule on the net. What should I do after 9.1 install in this case? I assume kms is in xorg. Do I have to find and install some driver from intel? Do I need to change xorg.conf after configure flag, that will make conf file? Finally, what happens when I leave x and want to go back to console mode? I tried out live RC2 from usb stick. Few acpi errors, intel 1000 wifi found. After some time sysctl hw.acpi gave me the cpu temperature of 50C. Fan was on. Probably temp gonna go down when I add powerd and cx_lowest to rc.conf on hdd. Is it normal temp for this cpu? Best regards all Zoran ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 9.1 and intel graphics
On Sat, Oct 20, 2012 at 06:14:08AM +0200, Zoran Kolic wrote: Yesterday I have gotten lenovo e320 laptop, with core i3 2350 and HD3000 integrated. Gonna wait few days till 9.1 release. I never used anything aside intel on my old laptop. Kostik Belousov made a port of kms and I found patches from june and jule on the net. What should I do after 9.1 install in this case? I assume kms is in xorg. Do I have to find and install some driver from intel? Do I need to change xorg.conf after configure flag, that will make conf file? The i915kms driver is in the 9-STABLE branch, I am not 100% certain if it is what will be 9.1-RELEASE. Finally, what happens when I leave x and want to go back to console mode? Currently, you cannot go back to console once i915kms is loaded. I tried out live RC2 from usb stick. Few acpi errors, intel 1000 wifi found. After some time sysctl hw.acpi gave me the cpu temperature of 50C. Fan was on. Probably temp gonna go down when I add powerd and cx_lowest to rc.conf on hdd. Is it normal temp for this cpu? Yes. Glen pgpT4jLjdJF4M.pgp Description: PGP signature