← Back to team overview

hybrid-graphics-linux team mailing list archive

Fwd: Re: Prime-NG v.2.0 released.. now with automated installer and 3D support on both Intel and nVidia

 

Ok, than this is the running X istance:

root      3708  3.3  1.0 179488 39672 tty8     Ss+  14:02   0:17
/usr/bin/X :0 -br -verbose -auth
/var/run/gdm/auth-for-gdm-TtzJEg/database -nolisten tcp

and i've attached my xorg.1.log .

I'm running Ubuntu Maverick, on a dell XPS L501X.


On 08/05/2011 14:04, Martin Juhl wrote:
 Ok..

 Please send me the output of "ps aux |grep X"...

 And also the content of /var/log/Xorg.1.log..

 Thanks..

 snowpunk<behind.the.shell@xxxxxxxxx>   skrev:

 I'don't have any addictional variables added in my env files.
 howewer the -d :1 flag gave me the same error .


 On 08/05/2011 13:34, Martin Juhl wrote:

 Hi...

 Try with optirun64 -d :1 glxgears...

 If that works, you might have some remains in your private ~/.bashrc from my ealier releases... there should be no VGL_* in your private bashrc anymore..

 Let me know how it goes..

 /Martin

 snowpunk<behind.the.shell@xxxxxxxxx>    skrev:

 I have a dell xps l501x and this solution doesn't work for me.
 I use the automated bash installation script. When i run an application
 with the following:

 optirun64 glxgears

 all i obtain is this error message:
 Coul not open display :0.1

 If i launch glxgear normally or with the -d 0.0 option i get this:

 root@phoboshome/snowpunk# optirun64 -d :0.0 glxgears
 Xlib: extension "GLX" missing on display ":0.0".
 [VGL] WARNING: VirtualGL attempted and failed to obtain a Pbuffer-enabled
 [VGL] 24-bit visual on the 3D X server :0.0. If the application
 [VGL] subsequently fails, then make sure that the 3D X server is configured
 [VGL] for 24-bit color and has accelerated 3D drivers installed.
 Error: couldn't get an RGB, Double-buffered visual

 Another strange issue when i launch the bash script, it first install
 nvidia-current modules and after it remove the same. It is normal?

 Howewer good job Martin !
 ps i'm free for testing and develop if is needed.


 On 08/05/2011 09:52, Peter Liedler wrote:


 Hello Martin,
 I tested the install script.
 As I wrote an application in python to tune kubuntu after a fresh install I
 have some questions/suggestions:

 * Why do you install xdm?
 * You copuld determine the systems manufactoring name with the command
 sudo dmidecode | grep Product

            Product Name: 07JC8T
            Product Name: Vostro 3300

 Which returns more than one value that you could check against the known
 types.

 * After a fresh installation package installation lists and aptitude are not
 available:
 you could work around this with: sudo apt-get update&&     sudo apt-get install
 aptitude

 * After a question the autostart service could be added automatically:
 echo 'vglclient -gl'>     /usr/bin/vglclient-service
 chmod -x /usr/bin/vglclient-service
 if [ -d $HOME/.kde/Autostart ]; then
 	ln -s /usr/bin/vglclient-service $HOME/.kde/Autostartvglclient-service
 fi

 ... and maybe simelar to gnome and xdm.
 There might be a problem when script is run as root to get the right home
 directory.

 * Is there a special reason why the license is not GLP in conjunction/addition
 with the BEER-WARE license (I like that one)?

 I think about adding an installer for your software to my program as well if
 it's alright with you.

 Hope it helps.
 cu
 Peter

 Am Sonntag, 8. Mai 2011, 08:55:18 schrieb Martin Juhl:



 Hi..

 As I have written to Dave, I will find a new name as quickly as possible
 and move the project as I see your point...

 Ubuntu 11.04 is using the 270.* nVidia driver.. but I dont think the
 version really matters.. let me know if you need some more info...

 /Martin

 Joaqu?n Ignacio Aramend?a
 	<samsagax@xxxxxxxxx>     skrev:

 El dom, 08-05-2011 a las 09:31 +1000, Dave Airlie escribi?:



 On Sun, May 8, 2011 at 8:00 AM, Martin Juhl<mj@xxxxxxxxxxxx>     wrote:



 Hi all...

 The subject says the most:

 Prime-NG v.2.0 released.. now with automated installer and 3D support
 on both Intel and nVidia..



 Please don't call anything Prime-NG, prime is a project to enable
 buffer sharing,

 your system isn't a next generation of it, its a neat hack and all,
 but its still a hack at the end of the day.

 Dave.



 I agree to this. Is a big contribution indeed, but is not the end of
 this. Please consider anothe name. If you want to make an impression use
 MJ-something. But don't use Prime name cos is not the same idea.

 I'll try to rewrite the script (because is for debian distros only) or
 follow it to my archlinux system. Could you please tell us wich driver
 package version has nvidia-current? The package system is a little
 different in some distros and probably i have to compile/package most of
 the code.



 _______________________________________________
 Mailing list: https://launchpad.net/~hybrid-graphics-linux
 Post to     : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
 Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
 More help   : https://help.launchpad.net/ListHelp











[    61.344] 
X.Org X Server 1.9.0
Release Date: 2010-08-20
[    61.344] X Protocol Version 11, Revision 0
[    61.344] Build Operating System: Linux 2.6.24-28-server x86_64 Ubuntu
[    61.344] Current Operating System: Linux phobos 2.6.35-26-generic #46-Ubuntu SMP Sun Jan 30 06:59:07 UTC 2011 x86_64
[    61.344] Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.35-26-generic root=UUID=abb5b973-df42-4e72-b664-74f27190190f ro quiet splash
[    61.344] Build Date: 09 January 2011  12:14:27PM
[    61.344] xorg-server 2:1.9.0-0ubuntu7.3 (For technical support please see http://www.ubuntu.com/support) 
[    61.344] Current version of pixman: 0.18.4
[    61.344] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    61.344] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    61.344] (==) Log file: "/var/log/Xorg.1.log", Time: Sun May  8 13:54:01 2011
[    61.344] (++) Using config file: "/etc/X11/xorg.conf.nvidia"
[    61.344] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    61.344] (==) ServerLayout "Layout0"
[    61.344] (**) |-->Screen "Screen1" (0)
[    61.344] (**) |   |-->Monitor "<default monitor>"
[    61.344] (**) |   |-->Device "Device1"
[    61.344] (==) No monitor specified for screen "Screen1".
	Using a default monitor configuration.
[    61.344] (**) |-->Input Device "Keyboard0"
[    61.344] (**) |-->Input Device "Mouse0"
[    61.344] (==) Automatically adding devices
[    61.344] (==) Automatically enabling devices
[    61.344] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    61.344] 	Entry deleted from font path.
[    61.344] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
	built-ins
[    61.344] (++) ModulePath set to "/opt/prime-ng/lib64/xorg,/usr/lib/xorg/modules"
[    61.344] (**) Extension "Composite" is disabled
[    61.344] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    61.344] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    61.344] (WW) Disabling Keyboard0
[    61.344] (WW) Disabling Mouse0
[    61.344] (II) Loader magic: 0x7d17a0
[    61.344] (II) Module ABI versions:
[    61.344] 	X.Org ANSI C Emulation: 0.4
[    61.344] 	X.Org Video Driver: 8.0
[    61.345] 	X.Org XInput driver : 11.0
[    61.345] 	X.Org Server Extension : 4.0
[    61.345] (--) PCI:*(0:0:2:0) 8086:0046:1028:046e rev 24, Mem @ 0xf0000000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
[    61.345] (--) PCI: (0:2:0:0) 10de:0df1:1028:046e rev 161, Mem @ 0xac000000/16777216, 0xb0000000/268435456, 0xae000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288
[    61.345] (II) Open ACPI successful (/var/run/acpid.socket)
[    61.345] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[    61.345] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[    61.345] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    61.345] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[    61.345] (II) "dri" will be loaded by default.
[    61.346] (II) "dri2" will be loaded by default.
[    61.346] (II) LoadModule: "dbe"
[    61.346] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[    61.346] (II) Module dbe: vendor="X.Org Foundation"
[    61.346] 	compiled for 1.9.0, module version = 1.0.0
[    61.346] 	Module class: X.Org Server Extension
[    61.346] 	ABI class: X.Org Server Extension, version 4.0
[    61.346] (II) Loading extension DOUBLE-BUFFER
[    61.346] (II) LoadModule: "extmod"
[    61.346] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[    61.346] (II) Module extmod: vendor="X.Org Foundation"
[    61.346] 	compiled for 1.9.0, module version = 1.0.0
[    61.346] 	Module class: X.Org Server Extension
[    61.346] 	ABI class: X.Org Server Extension, version 4.0
[    61.346] (II) Loading extension MIT-SCREEN-SAVER
[    61.346] (II) Loading extension XFree86-VidModeExtension
[    61.346] (II) Loading extension XFree86-DGA
[    61.346] (II) Loading extension DPMS
[    61.346] (II) Loading extension XVideo
[    61.347] (II) Loading extension XVideo-MotionCompensation
[    61.347] (II) Loading extension X-Resource
[    61.347] (II) LoadModule: "glx"
[    61.347] (II) Loading /opt/prime-ng/lib64/xorg/libglx.so
[    63.268] (II) Module glx: vendor="NVIDIA Corporation"
[    63.291] 	compiled for 4.0.2, module version = 1.0.0
[    63.291] 	Module class: X.Org Server Extension
[    63.291] (II) NVIDIA GLX Module  260.19.06  Mon Sep 13 04:54:41 PDT 2010
[    63.291] (II) Loading extension GLX
[    63.291] (II) LoadModule: "record"
[    63.291] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[    63.291] (II) Module record: vendor="X.Org Foundation"
[    63.291] 	compiled for 1.9.0, module version = 1.13.0
[    63.291] 	Module class: X.Org Server Extension
[    63.291] 	ABI class: X.Org Server Extension, version 4.0
[    63.291] (II) Loading extension RECORD
[    63.291] (II) LoadModule: "dri"
[    63.291] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[    63.292] (II) Module dri: vendor="X.Org Foundation"
[    63.292] 	compiled for 1.9.0, module version = 1.0.0
[    63.292] 	ABI class: X.Org Server Extension, version 4.0
[    63.292] (II) Loading extension XFree86-DRI
[    63.292] (II) LoadModule: "dri2"
[    63.292] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[    63.292] (II) Module dri2: vendor="X.Org Foundation"
[    63.292] 	compiled for 1.9.0, module version = 1.2.0
[    63.292] 	ABI class: X.Org Server Extension, version 4.0
[    63.292] (II) Loading extension DRI2
[    63.292] (II) LoadModule: "nvidia"
[    63.292] (II) Loading /opt/prime-ng/lib64/xorg/nvidia_drv.so
[    63.364] (II) Module nvidia: vendor="NVIDIA Corporation"
[    63.365] 	compiled for 4.0.2, module version = 1.0.0
[    63.365] 	Module class: X.Org Video Driver
[    63.394] (II) NVIDIA dlloader X Driver  260.19.06  Mon Sep 13 04:31:43 PDT 2010
[    63.394] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    63.394] (++) using VT number 9

[    63.395] (II) Loading sub module "fb"
[    63.395] (II) LoadModule: "fb"
[    63.395] (II) Loading /usr/lib/xorg/modules/libfb.so
[    63.395] (II) Module fb: vendor="X.Org Foundation"
[    63.395] 	compiled for 1.9.0, module version = 1.0.0
[    63.395] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    63.395] (II) Loading sub module "wfb"
[    63.395] (II) LoadModule: "wfb"
[    63.396] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    63.412] (II) Module wfb: vendor="X.Org Foundation"
[    63.412] 	compiled for 1.9.0, module version = 1.0.0
[    63.412] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    63.412] (II) Loading sub module "ramdac"
[    63.412] (II) LoadModule: "ramdac"
[    63.412] (II) Module "ramdac" already built-in
[    63.415] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    63.415] (==) NVIDIA(0): RGB weight 888
[    63.415] (==) NVIDIA(0): Default visual is TrueColor
[    63.415] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    63.415] (**) NVIDIA(0): Option "ConnectedMonitor" "CRT-0"
[    63.416] (**) NVIDIA(0): Enabling RENDER acceleration
[    63.416] (**) NVIDIA(0): ConnectedMonitor string: "CRT-0"
[    63.455] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device PCI:2:0:0. 
[    63.455] (EE) NVIDIA(0):     Please check your system's kernel log for additional error
[    63.455] (EE) NVIDIA(0):     messages and refer to Chapter 8: Common Problems in the
[    63.455] (EE) NVIDIA(0):     README for additional information.
[    63.455] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
[    63.456] (II) UnloadModule: "nvidia"
[    63.456] (II) UnloadModule: "wfb"
[    63.456] (II) UnloadModule: "fb"
[    63.456] (EE) Screen(s) found, but none have a usable configuration.
[    63.456] 
Fatal server error:
[    63.456] no screens found
[    63.456] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    63.456] Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[    63.456] 
[    63.456]  ddxSigGiveUp: Closing log


Follow ups