Tecra A4 - Blank Screen Sometimes After Resume
Sometimes after a resume the laptop restarts with a blank screen. Nothing there but it's working if you know what I mean. For instance I can press FN+F1 (the screen switch off button) and the laptop will play the little tune indicating that the action has happened even though I can't see it. And no, the brighten/darken screen buttons have no effect. The screen is just off.
If I hold down the start button to switch off and then press to reboot everything starts as normal.
Anyone know why this sometimes happens?
I was wondering if you could lend me a hand. I created a recovery DVD using the Recovery Tool that comes with the Tecra A4 and then asked to re-install the system. Stupid me, I didn't check to see if the DVD was ok before formatting my HD. Unfortunately, my DVD starts the installation and then hangs. I've called Toshiba, sent e-mails, done everything to see if they could send me a replacement recovery DVD but haven't had a response. Would you mind creating the DVD for me? I know it's a pain, but I cannot think of any thing else to do. I'm willing to buy the DVD from Toshiba but they won't respond to my e-mails. ANyway, I would be greatly in your debt if you could. If not, thanks for your time.
Similar Messages
-
I would like to enable a screen lock after resuming from suspend. i am using the latest xorg thats in the repos, openbox, and slim.
anyone have any ideas?jcolinzheng wrote:
thelastknowngod wrote:
jcolinzheng wrote:http://aur.archlinux.org/packages.php?ID=3844
Add xtrlock & to the end of the suspend script.
P.S. On very rare occasions xtrlock fails to grab input focus, e.g. when the Opera address bar has input focus, most window manager hotkeys don't seem to work.
that application worked like i assume its supposed to. if that displayed a blank screen instead of showing the desktop then i would be a lot happier with it.
Haha, yeah, we just gotta find some app that takes full screen and run it before xtrlock.
there is xlockmore in community. that seems to do the job. it displays a screensaver when resuming though. if there was a way to configure it to just be blank that would be cool.
Edit: or just a picture of a login promt so the person wouldnt just shut down the machine thinking something is wrong with it.
Last edited by thelastknowngod (2008-12-13 16:51:34) -
How to downgrade kernel 3.10 - blank screen problem after upgrade
After a recent upgrade, which included kernel 3.10, my ASUS zenbook ux21a boots into a blank screen as reported in these topics:
https://bbs.archlinux.org/viewtopic.php?id=167411
https://bbs.archlinux.org/viewtopic.php?id=167463
https://bbs.archlinux.org/viewtopic.php?id=167518
How do I downgrade to kernel 3.9, please?
On this laptop I only have dual boot Arch and Win8 (but also a vacant partition). My grub timeout is set to 0 seconds because I almost never use windows, hence my problem is to get any control of the PC. I have attempted a fresh install from USB, but it takes me into exactly the same blank screen. I also attempted install of the older arch version, which went ok until post-installation reboot, following which I ended up with the same blank screen - probably because during the installation the new kernel 3.10 was downloaded.
I read in the above topics that people solved the problem by downgrading the kernel - somehow via chrooting from live arch usb. I lack knowledge on how to perform the kernel downgrade - perhaps someone can give instructions or at least tips how to get started.
Interestingly, the same kernel 3.10 upgrade did not cause problems on a very similar predecessor model ASUS us21e - this info may help the advanced guys to diagnose the source of the problem.
Last edited by latgarf (2013-08-04 21:18:04)Thanks, andrekp, but it didn't work on my UX21A.
Here's what I did (screen stays black all throughout):
1. Boot the computer. I believe this takes me to login promt at tty1.
2. I login by blindly entering userid, <enter>, password, <enter>
3. speaker-test <enter> - I hear noise. Ctl+c to get out (noise stops).
4. Switch to tty2 by pressing ctl+alt+f2.
5. In tty2, I login by blindly entering userid, <enter>, password, <enter>; then speaker-test successful on tty2.
6. Switch back to tty1 by pressing ctl+alt+f1; speaker-test successful again on tty1.
7. Type startx. I assume that X and openbox are started successfully: I start lxterminal by pressing my custom short-cut keys combo that I specified in openbox's rc.xml; and speaker-test gives me audible noise from within lxterminal.
Again, screen stayed dark as night all the time, so the problem remains.
As my time allows, I try to come up to speed and follow/replicate the attempts to identify/resolve this problem made by more advanced guys in other topics:
https://bbs.archlinux.org/viewtopic.php?id=167411
https://bbs.archlinux.org/viewtopic.php?id=167463
https://bbs.archlinux.org/viewtopic.php?id=167518
https://bbs.archlinux.org/viewtopic.php?id=167314
The problem originally arose at # pacman -Syu, which included kernel upgrade from 3.9.9 to 10.3.3. After a later upgrade to 10.3.5, the problem remains. I've enabled 'testing' repositories on my other laptop, UX21E (which doesn't have this problem despite being the closest model!) - and I wait for the new 'testing' kernel to be released in arch, hoping to do a blind upgrade on UX21A and that it solves the problem. I also monitor https://www.kernel.org for when kernel 3.11 becomes available. If I manage to install kernel 3.11 even before it's released in arch-testing, maybe the problem will be gone...
In the mean time, I keep using the UX21A computer having installed Lubuntu on another partition (it has kernel 3.8).
Thanks again! -
IMac blank screen shortly after login - can't reinstall/restore either
Since yesterday my iMac crashes with a blank screen (different colors, mostly blue) shortly after login. Booting in safe mode is fine though. Hardware test did not find any problems, also Windows Vista 32bit runs fine. I would restore a recent backup, but when I boot from the installation disk the screen turns white and freezes. I tried a PRAM reset and I took the power chord and everything off for several minutes. Still the same issues.
Console showed kernel panics. Please check the dump below.
Any suggestions on how to restore my iMac?
Thanks,
qgi
Thu Sep 10 23:07:15 2009
panic(cpu 0 caller 0x00C866A4): NVRM[0]: Read Error 0x00020400: BAR0 0xe2000000 0x6a08c000 0x092480a2 D0 P2/4
Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
0x5b41f868 : 0x12b4c6 (0x45f91c 0x5b41f89c 0x13355c 0x0)
0x5b41f8b8 : 0xc866a4 (0xeb6e80 0xeb6e80 0xe7b6d4 0x0)
0x5b41f918 : 0xf3fdf0 (0x7868004 0x7ddd804 0x20400 0xcc2d06)
0x5b41f958 : 0xf6386f (0x7ddd804 0x20400 0x5b41f988 0x898)
0x5b41f978 : 0xd596da (0x7ddd804 0x46ebc098 0x0 0x5b41f99c)
0x5b41f9a8 : 0xd47c99 (0x7ddd804 0x46ebc004 0x1 0x5b41f9ec)
0x5b41fa08 : 0xde91f3 (0x7ddd804 0x7a1c604 0xa9af880 0x0)
0x5b41fab8 : 0xde881b (0x7ddd804 0x7e29004 0x0 0x0)
0x5b41fb38 : 0xf28bc1 (0x7ddd804 0x7e29004 0x1a 0x2)
0x5b41fbb8 : 0xf29254 (0x7ddd804 0x7e29c04 0x400000 0x5b41fcdc)
0x5b41fd38 : 0xf5a3ed (0x7ddd804 0x7e29c04 0x0 0x0)
0x5b41fe88 : 0xddc495 (0x7ddd804 0x7a1c604 0x0 0x0)
0x5b41fed8 : 0xc86b60 (0x7ddd804 0x7a1c604 0x0 0x0)
0x5b41ff18 : 0x426bfb (0x0 0x7ec4c80 0x1 0x19fed4)
0x5b41ff68 : 0x425d58 (0x7ec4c80 0x71066b0 0x5b41ff98 0x136efd)
0x5b41ff98 : 0x425a3a (0x7545840 0x7124ec0 0x72f04a8 0x0)
Backtrace continues...
Kernel loadable modules in backtrace (with dependencies):
com.apple.nvidia.nv50hal(5.4.8)@0xecc000->0x111ffff
dependency: com.apple.NVDAResman(5.4.8)@0xc6d000
com.apple.NVDAResman(5.4.8)@0xc6d000->0xecbfff
dependency: com.apple.iokit.IONDRVSupport(1.7.3)@0xc5f000
dependency: com.apple.iokit.IOPCIFamily(2.6)@0x629000
dependency: com.apple.iokit.IOGraphicsFamily(1.7.3)@0xc25000
BSD process name corresponding to current thread: kernel_task
Mac OS version:
9L31a
Kernel version:
Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386
System model name: iMac8,1 (Mac-F227BEC8)
System uptime in nanoseconds: 166442601961
unloaded kexts:
com.apple.driver.InternalModemSupport 2.4.0 - last unloaded 118040925185
loaded kexts:
com.vmware.kext.vmnet 2.0.5
com.vmware.kext.vmioplug 2.0.5
com.vmware.kext.vmci 2.0.5
com.vmware.kext.vmx86 2.0.5
com.apple.filesystems.msdosfs 1.5.5 - last loaded 149337141464
com.apple.driver.iTunesPhoneDriver 1.0
com.apple.driver.AppleHWSensor 1.9d0
com.apple.driver.IOBluetoothSCOAudioDriver 2.1.8f2
com.apple.filesystems.autofs 2.0.2
com.apple.filesystems.ntfs 2.1
com.apple.driver.AppleUpstreamUserClient 2.7.5
com.apple.iokit.IOBluetoothSerialManager 2.1.8f2
com.apple.driver.AppleHDA 1.7.1a2
com.apple.DontSteal_Mac_OSX 6.0.3
com.apple.iokit.CHUDUtils 201
com.apple.iokit.CHUDProf 211
com.apple.driver.AppleIRController 113
com.apple.GeForce 5.4.8
com.apple.driver.ACPISMCPlatformPlugin 3.4.0a17
com.apple.driver.AppleHDAController 1.7.1a2
com.apple.iokit.IOFireWireIP 1.7.7
com.apple.driver.AudioIPCDriver 1.0.6
com.apple.driver.AppleUSBAudio 2.6.4b17
com.apple.driver.AppleLPC 1.3.1
com.apple.driver.AppleBacklight 1.6.0
com.apple.nvidia.nv50hal 5.4.8
com.apple.driver.BroadcomUSBBluetoothHCIController 2.1.8f2
com.apple.driver.AppleHIDKeyboard 1.0.9b4
com.apple.iokit.IOUSBMassStorageClass 2.0.8
com.apple.driver.AppleUSBMergeNub 3.4.6
com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.1.1
com.apple.iokit.SCSITaskUserClient 2.1.1
com.apple.driver.XsanFilter 2.7.91
com.apple.iokit.IOATAPIProtocolTransport 1.5.3
com.apple.driver.AppleUSBHub 3.4.9
com.apple.iokit.IOUSBUserClient 3.4.9
com.apple.iokit.IOAHCIBlockStorage 1.2.2
com.apple.iokit.AppleYukon2 3.1.13b2
com.apple.driver.AirPortBrcm43xx 366.91.21
com.apple.driver.AppleFWOHCI 3.9.7
com.apple.driver.AppleAHCIPort 1.7.0
com.apple.driver.AppleIntelPIIXATA 2.0.1
com.apple.driver.AppleUSBEHCI 3.4.6
com.apple.driver.AppleUSBUHCI 3.3.5
com.apple.driver.AppleEFINVRAM 1.2.0
com.apple.driver.AppleRTC 1.2.3
com.apple.driver.AppleHPET 1.4
com.apple.driver.AppleACPIPCI 1.2.5
com.apple.driver.AppleACPIButtons 1.2.5
com.apple.driver.AppleSMBIOS 1.4
com.apple.driver.AppleACPIEC 1.2.5
com.apple.driver.AppleAPIC 1.4
com.apple.security.seatbelt 107.12
com.apple.nke.applicationfirewall 1.6.77
com.apple.security.TMSafetyNet 3
com.apple.driver.AppleIntelCPUPowerManagement 76.2.0
com.apple.driver.DiskImages 199
com.apple.BootCache 30.4
com.apple.iokit.IOSerialFamily 9.4
com.apple.driver.DspFuncLib 1.7.1a2
com.apple.iokit.CHUDKernLib 201
com.apple.driver.IOPlatformPluginFamily 3.4.0a17
com.apple.driver.AppleSMC 2.3.1d1
com.apple.iokit.IOHDAFamily 1.7.1a2
com.apple.iokit.IOAudioFamily 1.6.9fc5
com.apple.kext.OSvKernDSPLib 1.1
com.apple.NVDAResman 5.4.8
com.apple.iokit.IONDRVSupport 1.7.3
com.apple.iokit.IOGraphicsFamily 1.7.3
com.apple.driver.AppleUSBBluetoothHCIController 2.1.8f2
com.apple.iokit.IOBluetoothFamily 2.1.8f2
com.apple.iokit.IOUSBHIDDriver 3.4.6
com.apple.driver.AppleUSBComposite 3.2.0
com.apple.iokit.IOSCSIBlockCommandsDevice 2.1.1
com.apple.iokit.IOBDStorageFamily 1.5
com.apple.iokit.IODVDStorageFamily 1.5
com.apple.iokit.IOCDStorageFamily 1.5
com.apple.iokit.IOSCSIArchitectureModelFamily 2.1.1
com.apple.iokit.IO80211Family 216.1
com.apple.iokit.IONetworkingFamily 1.6.1
com.apple.iokit.IOFireWireFamily 3.4.9
com.apple.iokit.IOAHCIFamily 1.5.0
com.apple.iokit.IOATAFamily 2.0.1
com.apple.iokit.IOUSBFamily 3.4.9
com.apple.driver.AppleEFIRuntime 1.2.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.iokit.IOStorageFamily 1.5.6
com.apple.iokit.IOHIDFamily 1.5.5
com.apple.driver.AppleACPIPlatform 1.2.5
com.apple.iokit.IOACPIFamily 1.2.0
com.apple.iokit.IOPCIFamily 2.6
Message was edited by: qgi
Message was edited by: qgiHI,
Go here for help to Resolve Kernel Panics
Carolyn -
Blank screen appears after deploying and run?
Hi,
I have implemented a WD application i.e. a quiz application,
1)i have a t-layout
2)Top segment has welcome iview
3)left segment has question
4)right has question mark image
i have defined plugs and actions as well
But when i deploy and run this application, only blank screen appears.Any ideas what i am missing?how to make it run??
Thanks $ Regards,
AmeyaHi Ameya.
At the time of Comonent creation it will automatically creates a view and window.
so you need to add[embed] your view to the window
open window right click and select "embed view" and then select existing view
select your view from the list
rebulild the project and run
Regards
Chaitanya.A -
Apple TV blank screen even after restore?
Can't see home screen or anything on Apple TV. Did restore on iTunes. It said successful but still no picture.
Howdy PWQuick,
If I understand correctly you are unable to see anything on your TV screen even after a restore of your Apple TV with iTunes. I would use the other troubleshooting steps to help find out what is at fault here:
Apple TV (2nd and 3rd generation): Troubleshooting video issues
Your TV picture is completely black or has other quality issues such as static or blurry video
Confirm the settings and configuration of your television.
Check to verify that your TV's video input matches the HDMI connection.
Refer to the manufacturer's user guide for assistance with changing your TV input or picture mode.
Verify that your television meets the Apple TV minimum resolution requirements.
Verify that the Apple TV's power cable and the HDMI cables are securely connected.
When connecting to power, observe the front LED on your Apple TV for activity. If no light is visible, try a different power outlet or power strip.
Connect the Apple TV directly to your television, bypassing any home theater receivers, splitters, repeaters, or switches temporarily.
Inspect all cables for any kinks, tears, or other evidence of damage.
Verify that the HDMI cable being used with your Apple TV is a bidirectional cable. Although rare, single-direction HDMI cables do exist. If unsure, try flipping the connection between your Apple TV and television.
If all else fails, try a different HDMI cable.
Change the Apple TV resolution:
Press and hold the Menu and Up button on your Apple Remote for six seconds.
The Apple TV will automatically cycle to the next resolution at approximately 20 second intervals.
Press Play on the Apple Remote to keep the current resolution or Select to manually cycle to the next resolution.
Reboot your Apple TV by holding down the Menu and Down button on the Apple Remote for six seconds. Allow the Apple TV a few minutes to restart.
Note: If the Apple TV video functions correctly after bypassing a receiver, switch, or repeater, please refer to the accessory manufacturer's user guide for additional support.
Thank you for using Apple Support Communities.
Take care,
Sterling -
Tecra A7: blank screen after removing the notebook display
I wanted to look inside my Tecra A7 to see if I could install another HD I had lying around (no, I'm not particular familiar with laptop hardware), so I undid the screws and began to open the case, but then realised that it wouldn't be as easy as opening a desktop, so I closed the case and put all the screws back in.
The problem is, now the LCD monitor doesn't work. It doesn't appear to just be the backlight. Everything else is fine, and I can use it if I plug in a separate CRT monitor. I think the problem might just be that a plug inside the laptop has come loose.
Any ideas?Hello.
First there is a cover under the display but above the keyboard, which should snap into place. Unsnap it. Find the cable that comes from your display and plugs into the mainboard, removing the keyboard if necessary. From there make sure it is seated correctly. See if that helps. If not post here again. -
KWin shows only black screen sometimes after suspend
Hi. I've got an interesting, irritating, but not fatal bug here, hopefully someone can help me kill it.
On my laptop, I run KDE (not KDEmod) 4.3.4, from repos, and when I resume from suspend, sometimes I get only a black screen IF the laptop is plugged in. By unplugging it, I can get my screen back, when it switches to the powersave powerdevil profile. Plugging in again causes it to black out. I can fix the problem by restarting kwin (alt-F2 -> kwin --replace) and I can even do this while the screen is black. I just type into the black screen, and when I restart kwin, the screen flashes and shows up normally.
Obviously, this is survivable, but it is _very_ annoying, and hopefully fixable. Worst-case scenario, I can add a PM hook to restart kwin on resume, but I would like a cleaner solution if possible.Head_on_a_Stick wrote:Can you get the desktop to start without a display manager?
Hi, Head_on_a_Stick, no I cannot get to the desktop either way. The culprit seems to be this line in Xorg.1.log:
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 94.487] (EE) RADEON(0): [drm] failed to set drm interface version.
[ 94.487] (EE) RADEON(0): Kernel modesetting setup failed
[ 94.488] (EE) Screen(s) found, but none have a usable configuration.
[ 94.488] (EE)
[ 94.488] (EE) no screens found(EE)
[ 94.488] (EE)
[ 94.488] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[ 94.488] (EE)
[ 94.496] (EE) Server terminated with error (1). Closing log file.
It seems X detects the screens but cannot initialize drm. I've tried looking up the error but I am not sure where the problem is. I've also tried download
catalyst-total
from yaourt but it seems it needs a previous version of xorg-server (specifically xorg-server<1.17.0), the version I am running is:
xorg-server 1.17.1-5
Again, I'm not sure how to fix this error, any help is appreciated. -
T510 Blank screen occasionally when resuming from sleep
I've been having a lot of trouble with my video driver recently on Windows 7 32-bit
Right now I have the NVS 3100M driver version 8.17.12.8562 installed.
When resuming, the screen will go bright pink for a moment then show the login screen,
but once in a while it will just remain blank. (Not on an external moniter, but the lappy itself)
A few BSODs once in a while that typically point to the nvlddmkm service
Any solutions or similar problems with these drivers?
T520 Model 4239, Intel Core i5-2540M CPU @ 2.60GHz, 8GB RAM
Nvidia NVS 4200M Graphics, Intel Advanced-N 6205 Wireless adapter
Windows 7 Pro - x64Hello Nigel,
I suggest you, if you are able to login into Windows then please update your Graphics driver, Power Management and BIOS from the below mentioned web link.
http://support.lenovo.com/en_US/research/hints-or-tips/detail.page?&DocID=HT063289
Please download and install the driver according to your Operating System and also check the release date of the driver. Alternatively please reinstall your Operating System. It might resolve the issue.
Regards,
Harish
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution".! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
Blank screen freezes after receiving a VM msg.
After receiving a voicemail message the screen goes blank and freezes.
Cannot access dialpad or listen to VM msgs.I had a couple days of no lock outs, then today its been very bad. I have had to hard reset 5-6 time, once during an actual call the phone screen locked up on black. I knew this because a text came in during the call, and when I looked at the screen it was blank. From this point forward the call quality was very poor and after the other line hung up, I had to hard reset to get back to normal. Starting to make me feel like this is a hardware failure, that unfortunately is occuring to most users who have older 3G phones. Makybe the accelerometer is dying, I don't know.
I am certain that my battery life has severly decreased in the past month, I think in conjunction with the 3.1 update.
I will be surprised at this point if Apple announces anything major in the way of a fix. Most out of warranty iphone users will just get new iphones. -
[SOLVED] nvidia driver causes blank screen soon after boot
Hi,
I have a NVIDIA 560 and was originally using the nouveau driver, but that gave slow performance when doing anything (eg. resizing windows), so I installed the nvidia driver instead by following the wiki section:
https://wiki.archlinux.org/index.php/NV … au_drivers
by essentially just following the scripts given there. After switching to nvidia, the screen goes blank soon after boot. I get back into the system by using nomodeset in menu.cfg.
My question is how do I even begin to find the problem, eg. what log file(s) should I look in and post?
Thanks
Last edited by mark1977 (2012-08-19 17:38:42)Yes it's the 560 Ti. Thanks I just installed straight from the repos. I've also installed cuda-sdk and cuda-toolkit. I've compiled the libraries inside /opt/cuda-sdk/CUDALibraries fine.
No I go to compile the sdk examples by running make in /opt/cuda-sdk/C and get the following error:
# make
make[1]: Entering directory `/opt/cuda-sdk/C/common'
make[1]: Leaving directory `/opt/cuda-sdk/C/common'
make[1]: Entering directory `/opt/cuda-sdk/C/common'
make[1]: Leaving directory `/opt/cuda-sdk/C/common'
make[1]: Entering directory `/opt/cuda-sdk/C/common'
make[1]: Leaving directory `/opt/cuda-sdk/C/common'
make[1]: Entering directory `/opt/cuda-sdk/shared'
make[1]: Leaving directory `/opt/cuda-sdk/shared'
make[1]: Entering directory `/opt/cuda-sdk/C/src/newdelete'
make[1]: Leaving directory `/opt/cuda-sdk/C/src/newdelete'
make[1]: Entering directory `/opt/cuda-sdk/C/src/simpleTextureDrv'
/usr/bin/ld: cannot find -lcuda
collect2: error: ld returned 1 exit status
make[1]: *** [../../bin/linux/release/simpleTextureDrv] Error 1
make[1]: Leaving directory `/opt/cuda-sdk/C/src/simpleTextureDrv'
make: *** [src/simpleTextureDrv/Makefile.ph_build] Error 2
The Makefile itself essentially seems to just include the file /opt/cuda-sdk/C/common/common.mk, which is:
# Copyright 1993-2011 NVIDIA Corporation. All rights reserved.
# NVIDIA Corporation and its licensors retain all intellectual property and
# proprietary rights in and to this software and related documentation.
# Any use, reproduction, disclosure, or distribution of this software
# and related documentation without an express license agreement from
# NVIDIA Corporation is strictly prohibited.
# Please refer to the applicable NVIDIA end user license agreement (EULA)
# associated with this source code for terms and conditions that govern
# your use of this NVIDIA software.
# Common build script for CUDA source projects for Linux and Mac platforms
.SUFFIXES : .cu .cu_dbg.o .c_dbg.o .cpp_dbg.o .cu_rel.o .c_rel.o .cpp_rel.o .cubin .ptx
# Add new SM Versions here as devices with new Compute Capability are released
SM_VERSIONS := 10 11 12 13 20 21 30
CUDA_INSTALL_PATH ?= /opt/cuda-toolkit
ifdef cuda-install
CUDA_INSTALL_PATH := $(cuda-install)
endif
# detect OS
OSUPPER = $(shell uname -s 2>/dev/null | tr [:lower:] [:upper:])
OSLOWER = $(shell uname -s 2>/dev/null | tr [:upper:] [:lower:])
# 'linux' is output for Linux system, 'darwin' for OS X
DARWIN = $(strip $(findstring DARWIN, $(OSUPPER)))
ifneq ($(DARWIN),)
SNOWLEOPARD = $(strip $(findstring 10.6, $(shell egrep "<string>10\.6" /System/Library/CoreServices/SystemVersion.plist)))
LION = $(strip $(findstring 10.7, $(shell egrep "<string>10\.7" /System/Library/CoreServices/SystemVersion.plist)))
endif
# detect 32-bit or 64-bit platform
HP_64 = $(shell uname -m | grep 64)
OSARCH= $(shell uname -m)
# Basic directory setup for SDK
# (override directories only if they are not already defined)
SRCDIR ?=
ROOTDIR ?= ..
ROOTBINDIR ?= $(ROOTDIR)/../bin
BINDIR ?= $(ROOTBINDIR)/$(OSLOWER)
ROOTOBJDIR ?= obj
LIBDIR := $(ROOTDIR)/../lib
COMMONDIR := $(ROOTDIR)/../common
SHAREDDIR := $(ROOTDIR)/../../shared/
# Compilers
NVCC := $(CUDA_INSTALL_PATH)/bin/nvcc
CXX := g++ -fPIC
CC := gcc -fPIC
LINK := g++ -fPIC
# Includes
INCLUDES += -I. -I$(CUDA_INSTALL_PATH)/include -I$(COMMONDIR)/inc -I$(SHAREDDIR)/inc
# Warning flags
CXXWARN_FLAGS := \
-W -Wall \
-Wimplicit \
-Wswitch \
-Wformat \
-Wchar-subscripts \
-Wparentheses \
-Wmultichar \
-Wtrigraphs \
-Wpointer-arith \
-Wcast-align \
-Wreturn-type \
-Wno-unused-function \
$(SPACE)
CWARN_FLAGS := $(CXXWARN_FLAGS) \
-Wstrict-prototypes \
-Wmissing-prototypes \
-Wmissing-declarations \
-Wnested-externs \
-Wmain \
# architecture flag for nvcc and gcc compilers build
CUBIN_ARCH_FLAG :=
CXX_ARCH_FLAGS :=
NVCCFLAGS :=
LIB_ARCH := $(OSARCH)
# Determining the necessary Cross-Compilation Flags
# 32-bit OS, but we target 64-bit cross compilation
ifeq ($(x86_64),1)
NVCCFLAGS += -m64
LIB_ARCH = x86_64
ifneq ($(DARWIN),)
CXX_ARCH_FLAGS += -arch x86_64
else
CXX_ARCH_FLAGS += -m64
endif
else
# 64-bit OS, and we target 32-bit cross compilation
ifeq ($(i386),1)
NVCCFLAGS += -m32
LIB_ARCH = i386
ifneq ($(DARWIN),)
CXX_ARCH_FLAGS += -arch i386
else
CXX_ARCH_FLAGS += -m32
endif
else
ifeq "$(strip $(HP_64))" ""
LIB_ARCH = i386
NVCCFLAGS += -m32
ifneq ($(DARWIN),)
CXX_ARCH_FLAGS += -arch i386
else
CXX_ARCH_FLAGS += -m32
endif
else
LIB_ARCH = x86_64
NVCCFLAGS += -m64
ifneq ($(DARWIN),)
CXX_ARCH_FLAGS += -arch x86_64
else
CXX_ARCH_FLAGS += -m64
endif
endif
endif
endif
# Compiler-specific flags (by default, we always use sm_10, sm_20, and sm_30), unless we use the SMVERSION template
GENCODE_SM10 := -gencode=arch=compute_10,code=\"sm_10,compute_10\"
GENCODE_SM20 := -gencode=arch=compute_20,code=\"sm_20,compute_20\"
GENCODE_SM30 := -gencode=arch=compute_30,code=\"sm_30,compute_30\"
CXXFLAGS += $(CXXWARN_FLAGS) $(CXX_ARCH_FLAGS)
CFLAGS += $(CWARN_FLAGS) $(CXX_ARCH_FLAGS)
LINKFLAGS += -L/usr/lib
LINK += $(LINKFLAGS) $(CXX_ARCH_FLAGS)
# This option for Mac allows CUDA applications to work without requiring to set DYLD_LIBRARY_PATH
ifneq ($(DARWIN),)
LINK += -Xlinker -rpath $(CUDA_INSTALL_PATH)/lib
endif
# Common flags
COMMONFLAGS += $(INCLUDES) -DUNIX
# If we are enabling GPU based debugging, then we want to use -G, warning that this
# May have a significant impact on GPU device code, since optimizations are turned off
ifeq ($(gpudbg),1)
NVCCFLAGS += -G
dbg = $(gpudbg)
endif
# Debug/release configuration
ifeq ($(dbg),1)
COMMONFLAGS += -g
NVCCFLAGS += -D_DEBUG
CXXFLAGS += -D_DEBUG
CFLAGS += -D_DEBUG
BINSUBDIR := debug
LIBSUFFIX := D
else
COMMONFLAGS += -O2
BINSUBDIR := release
LIBSUFFIX :=
NVCCFLAGS += --compiler-options -fno-strict-aliasing
CXXFLAGS += -fno-strict-aliasing
CFLAGS += -fno-strict-aliasing
endif
# architecture flag for cubin build
CUBIN_ARCH_FLAG :=
# OpenGL is used or not (if it is used, then it is necessary to include GLEW)
ifeq ($(USEGLLIB),1)
ifneq ($(DARWIN),)
OPENGLLIB := -L/System/Library/Frameworks/OpenGL.framework/Libraries
OPENGLLIB += -lGL -lGLU $(COMMONDIR)/lib/$(OSLOWER)/libGLEW.a
else
# this case for linux platforms
OPENGLLIB := -lGL -lGLU -lX11 -lXi -lXmu
# check if x86_64 flag has been set, otherwise, check HP_64 is i386/x86_64
ifeq ($(x86_64),1)
OPENGLLIB += -lGLEW_x86_64 -L/usr/X11R6/lib64
else
ifeq ($(i386),)
ifeq "$(strip $(HP_64))" ""
OPENGLLIB += -lGLEW -L/usr/X11R6/lib
else
OPENGLLIB += -lGLEW_x86_64 -L/usr/X11R6/lib64
endif
endif
endif
# check if i386 flag has been set, otehrwise check HP_64 is i386/x86_64
ifeq ($(i386),1)
OPENGLLIB += -lGLEW -L/usr/X11R6/lib
else
ifeq ($(x86_64),)
ifeq "$(strip $(HP_64))" ""
OPENGLLIB += -lGLEW -L/usr/X11R6/lib
else
OPENGLLIB += -lGLEW_x86_64 -L/usr/X11R6/lib64
endif
endif
endif
endif
endif
ifeq ($(USEGLUT),1)
ifneq ($(DARWIN),)
OPENGLLIB += -framework GLUT
else
ifeq ($(x86_64),1)
OPENGLLIB += -lglut -L/usr/lib64
endif
ifeq ($(i386),1)
OPENGLLIB += -lglut -L/usr/lib
endif
ifeq ($(x86_64),)
ifeq ($(i386),)
OPENGLLIB += -lglut
endif
endif
endif
endif
ifeq ($(USEPARAMGL),1)
PARAMGLLIB := -lparamgl_$(LIB_ARCH)$(LIBSUFFIX)
endif
ifeq ($(USERENDERCHECKGL),1)
RENDERCHECKGLLIB := -lrendercheckgl_$(LIB_ARCH)$(LIBSUFFIX)
endif
ifeq ($(USENVCUVID), 1)
ifneq ($(DARWIN),)
NVCUVIDLIB := -L../../common/lib/darwin -lnvcuvid
endif
endif
# Libs
ifneq ($(DARWIN),)
LIB := -L$(CUDA_INSTALL_PATH)/lib -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib $(NVCUVIDLIB)
else
ifeq "$(strip $(HP_64))" ""
ifeq ($(x86_64),1)
LIB := -L$(CUDA_INSTALL_PATH)/lib64 -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib
else
LIB := -L$(CUDA_INSTALL_PATH)/lib -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib
endif
else
ifeq ($(i386),1)
LIB := -L$(CUDA_INSTALL_PATH)/lib -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib
else
LIB := -L$(CUDA_INSTALL_PATH)/lib64 -L$(LIBDIR) -L$(COMMONDIR)/lib/$(OSLOWER) -L$(SHAREDDIR)/lib
endif
endif
endif
# If dynamically linking to CUDA and CUDART, we exclude the libraries from the LIB
ifeq ($(USECUDADYNLIB),1)
LIB += ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB} -ldl -rdynamic
else
# static linking, we will statically link against CUDA and CUDART
ifeq ($(USEDRVAPI),1)
LIB += -L/usr/lib -lcuda ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB}
else
ifeq ($(emu),1)
LIB += -lcudartemu
else
LIB += -lcudart
endif
LIB += ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB}
endif
endif
ifeq ($(USECUFFT),1)
ifeq ($(emu),1)
LIB += -lcufftemu
else
LIB += -lcufft
endif
endif
ifeq ($(USECUBLAS),1)
ifeq ($(emu),1)
LIB += -lcublasemu
else
LIB += -lcublas
endif
endif
ifeq ($(USECURAND),1)
LIB += -lcurand
endif
ifeq ($(USECUSPARSE),1)
LIB += -lcusparse
endif
# Lib/exe configuration
# Lib/exe configuration
# Lib/exe configuration
ifneq ($(STATIC_LIB),)
TARGETDIR := $(LIBDIR)
TARGET := $(subst .a,_$(LIB_ARCH)$(LIBSUFFIX).a,$(LIBDIR)/$(STATIC_LIB))
LINKLINE = ar rucv $(TARGET) $(OBJS)
else
ifneq ($(OMIT_CUTIL_LIB),1)
LIB += -lcutil_$(LIB_ARCH)$(LIBSUFFIX)
endif
ifneq ($(OMIT_SHRUTIL_LIB),1)
LIB += -lshrutil_$(LIB_ARCH)$(LIBSUFFIX)
endif
# Device emulation configuration
ifeq ($(emu), 1)
NVCCFLAGS += -deviceemu
CUDACCFLAGS +=
BINSUBDIR := emu$(BINSUBDIR)
# consistency, makes developing easier
CXXFLAGS += -D__DEVICE_EMULATION__
CFLAGS += -D__DEVICE_EMULATION__
endif
TARGETDIR := $(BINDIR)/$(BINSUBDIR)
TARGET := $(TARGETDIR)/$(EXECUTABLE)
LINKLINE = $(LINK) -o $(TARGET) $(OBJS) $(LIB)
endif
# check if verbose
ifeq ($(verbose), 1)
VERBOSE :=
else
VERBOSE := @
endif
# Check for input flags and set compiler flags appropriately
ifeq ($(fastmath), 1)
NVCCFLAGS += -use_fast_math
endif
ifeq ($(keep), 1)
NVCCFLAGS += -keep
NVCC_KEEP_CLEAN := *.i* *.cubin *.cu.c *.cudafe* *.fatbin.c *.ptx
endif
ifdef maxregisters
NVCCFLAGS += -maxrregcount $(maxregisters)
endif
ifeq ($(ptxas), 1)
NVCCFLAGS += --ptxas-options=-v
endif
# Add cudacc flags
NVCCFLAGS += $(CUDACCFLAGS)
# Add common flags
NVCCFLAGS += $(COMMONFLAGS)
CXXFLAGS += $(COMMONFLAGS)
CFLAGS += $(COMMONFLAGS)
ifeq ($(nvcc_warn_verbose),1)
NVCCFLAGS += $(addprefix --compiler-options ,$(CXXWARN_FLAGS))
NVCCFLAGS += --compiler-options -fno-strict-aliasing
endif
# Set up object files
OBJDIR := $(ROOTOBJDIR)/$(LIB_ARCH)/$(BINSUBDIR)
OBJS += $(patsubst %.cpp,$(OBJDIR)/%.cpp.o,$(notdir $(CCFILES)))
OBJS += $(patsubst %.c,$(OBJDIR)/%.c.o,$(notdir $(CFILES)))
OBJS += $(patsubst %.cu,$(OBJDIR)/%.cu.o,$(notdir $(CUFILES)))
# Set up cubin output files
CUBINDIR := $(SRCDIR)data
CUBINS += $(patsubst %.cu,$(CUBINDIR)/%.cubin,$(notdir $(CUBINFILES)))
# Set up PTX output files
PTXDIR := $(SRCDIR)data
PTXBINS += $(patsubst %.cu,$(PTXDIR)/%.ptx,$(notdir $(PTXFILES)))
# Rules
$(OBJDIR)/%.c.o : $(SRCDIR)%.c $(C_DEPS)
$(VERBOSE)$(CC) $(CFLAGS) -o $@ -c $<
$(OBJDIR)/%.cpp.o : $(SRCDIR)%.cpp $(C_DEPS)
$(VERBOSE)$(CXX) $(CXXFLAGS) -o $@ -c $<
# Default arch includes gencode for sm_10, sm_20, sm_30, and other archs from GENCODE_ARCH declared in the makefile
$(OBJDIR)/%.cu.o : $(SRCDIR)%.cu $(CU_DEPS)
$(VERBOSE)$(NVCC) $(GENCODE_SM10) $(GENCODE_ARCH) $(GENCODE_SM20) $(GENCODE_SM30) $(NVCCFLAGS) $(SMVERSIONFLAGS) -o $@ -c $<
# Default arch includes gencode for sm_10, sm_20, sm_30, and other archs from GENCODE_ARCH declared in the makefile
$(CUBINDIR)/%.cubin : $(SRCDIR)%.cu cubindirectory
$(VERBOSE)$(NVCC) $(GENCODE_SM10) $(GENCODE_ARCH) $(GENCODE_SM20) $(GENCODE_SM30) $(CUBIN_ARCH_FLAG) $(NVCCFLAGS) $(SMVERSIONFLAGS) -o $@ -cubin $<
$(PTXDIR)/%.ptx : $(SRCDIR)%.cu ptxdirectory
$(VERBOSE)$(NVCC) $(CUBIN_ARCH_FLAG) $(NVCCFLAGS) $(SMVERSIONFLAGS) -o $@ -ptx $<
# The following definition is a template that gets instantiated for each SM
# version (sm_10, sm_13, etc.) stored in SMVERSIONS. It does 2 things:
# 1. It adds to OBJS a .cu_sm_XX.o for each .cu file it finds in CUFILES_sm_XX.
# 2. It generates a rule for building .cu_sm_XX.o files from the corresponding
# .cu file.
# The intended use for this is to allow Makefiles that use common.mk to compile
# files to different Compute Capability targets (aka SM arch version). To do
# so, in the Makefile, list files for each SM arch separately, like so:
# This will be used over the default rule abov
# CUFILES_sm_10 := mycudakernel_sm10.cu app.cu
# CUFILES_sm_12 := anothercudakernel_sm12.cu
define SMVERSION_template
#OBJS += $(patsubst %.cu,$(OBJDIR)/%.cu_$(1).o,$(notdir $(CUFILES_$(1))))
OBJS += $(patsubst %.cu,$(OBJDIR)/%.cu_$(1).o,$(notdir $(CUFILES_sm_$(1))))
$(OBJDIR)/%.cu_$(1).o : $(SRCDIR)%.cu $(CU_DEPS)
# $(VERBOSE)$(NVCC) -o $$@ -c $$< $(NVCCFLAGS) $(1)
$(VERBOSE)$(NVCC) -gencode=arch=compute_$(1),code=\"sm_$(1),compute_$(1)\" $(GENCODE_SM20) $(GENCODE_SM30) -o $$@ -c $$< $(NVCCFLAGS)
endef
# This line invokes the above template for each arch version stored in
# SM_VERSIONS. The call funtion invokes the template, and the eval
# function interprets it as make commands.
$(foreach smver,$(SM_VERSIONS),$(eval $(call SMVERSION_template,$(smver))))
$(TARGET): makedirectories $(OBJS) $(CUBINS) $(PTXBINS) Makefile
$(VERBOSE)$(LINKLINE)
cubindirectory:
$(VERBOSE)mkdir -p $(CUBINDIR)
ptxdirectory:
$(VERBOSE)mkdir -p $(PTXDIR)
makedirectories:
$(VERBOSE)mkdir -p $(LIBDIR)
$(VERBOSE)mkdir -p $(OBJDIR)
$(VERBOSE)mkdir -p $(TARGETDIR)
tidy :
$(VERBOSE)find . | egrep "#" | xargs rm -f
$(VERBOSE)find . | egrep "\~" | xargs rm -f
clean : tidy
$(VERBOSE)rm -f *.stub.c *.gpu *.cu.cpp *.i *.ii
$(VERBOSE)rm -f *.cubin *.ptx *.fatbin.c *.hash
$(VERBOSE)rm -f *.cudafe1.c *.cudafe2.c *.cudafe1.cpp *.cudafe2.cpp
$(VERBOSE)rm -f $(OBJS)
$(VERBOSE)rm -f $(CUBINS)
$(VERBOSE)rm -f $(PTXBINS)
$(VERBOSE)rm -f $(TARGET)
$(VERBOSE)rm -f $(NVCC_KEEP_CLEAN)
$(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.ppm
$(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.pgm
$(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.bin
$(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.bmp
$(VERBOSE)rm -f $(ROOTBINDIR)/$(OSLOWER)/$(BINSUBDIR)/*.txt
$(VERBOSE)rm -f $(CUBINDIR)/*.cubin $(PTXDIR)/*.ptx
$(VERBOSE)rm -rf $(ROOTOBJDIR)
$(VERBOSE)rm -rf $(LIBDIR)
$(VERBOSE)rm -rf $(OBJDIR)
$(VERBOSE)rm -rf $(TARGETDIR)
clobber : clean
$(VERBOSE)rm -rf $(COMMONDIR)/lib/*.a
$(VERBOSE)rm -rf $(SHAREDDIR)/lib/*.a
$(VERBOSE)rm -rf $(COMMONDIR)/obj
$(VERBOSE)rm -rf $(SHAREDDIR)/obj
The output of echo $LD_LIBRARY_PATH is blank.
I have checked for libcuda and can find it:
# ls /usr/lib | grep libcuda
libcuda.so.1
libcuda.so.304.32
Is there something obvious I need to do to get these to compile?
Thanks again. -
K8T neo-V - blank screen sometimes
Hi,
Using a MB K8T neo-v (7032-020) with bios 5.1
CPU Sempron 2800+
Mermory 2x256 DDR400 DaneElec
Video Card Asus A9250 AGP
HDD SATA WD 80Gb
Drives 1xDVD (samsung), 1xDVDRW (samsung), 1xfloppy
During installation of drivers, microsoft updates or software updates, the screen become blank without reason => reset needed
The problem may appear also on a fresh install with only VIA 4in1 v4.51 (from MSI) and AMD CPU driver.
I've changed
- memory (but same type)
- video card
- power supply
- new windows install with another HDD
- new motherboard
- (currently trying 1x512Mb and VIA 4in1 5.08)
Any help is welcome
Thanks in advanceQuote from: Tiresmoke on 24-May-06, 23:31:49
Try using Optimized defaults in Bios. You will have to resetup Bios after you save with optimized defaults. You may well have a quitch there with some default values. However Blanking sounds more like a driver issue or possible bad setup in Windows. Make sure to use the latest Vid Card drivers.
Drivers are always the latest (but, on the second PC, the pb occurs with nvidia or ATI vid. cards)
I will try optimised defaults
Tested today with a Gigabyte (nvidia FX5200 chip)
First PC built (the one which seems to work with an nvidia card) => Start OK; currently doing stability test under windows
Second PC built (which was unstable with nvidia or ati cards) => no initialization!!
Very strange problem ... never seen a problem like that!
BAS: the problem is seen with a K8T neo-v; not the one described in my signature which works no so bad :-) -
I have updated my laptop too on windows update just so you know but not sure what else to do ?
With those symptoms, I'd try the following document:
Apple software on Windows: May see performance issues and blank iTunes Store
(If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.) -
Blank screens delete after reboot
With my previous iPhones and iOS, I always kept my first screen empty so I could see my picture. Once I upgraded to iOS 5, I could do the same thing, but once I rebooted my phone (some call powercycle), the page is removed. Any help?
Same here. Really bums me out too. I posted at TiPb.com and have been told it's definitely an iOS 5 thing. I hope they change it.
-
Solaris x86 on a mac, blank screen after miniroot but NOT when console=ttya
I am trying to install Solaris 10 x86 update7 on a Mac Mini.
It hangs with a blank screen right after loading the miniroot, before the "Configuring devices..." part.
I can't even see the miniroot loading completion (the hex addresses displayed when miniroot is loaded)... it
clears the screen and just hangs there.
But...
By trials and errors I discovered that if I use the ttya or ttyb console setting when booting, it does NOT hang!
It proceeds further, and prompts for type of installation and then for language. Unfortunately, since Mac Mini does not
have any serial port, I can't proceed with the installation since if I use console=ttya I can't use the keyboard anymore.
I ran the sun tool to check for hardware compliancy and it passed.
I think there must be something odd with the graphic card probe, what else could change when I boot with "console=ttya"
beside that? Is there a way to bypass the check for the graphic card when booting? I don't want to use it, either... I would
use the mac mini as a server, I wish I could remove the graphic card but it's embedded in the motherboard :-)
I do not have boot camp installed on this Mac. Could that make any difference?
I also tried to fire up opensolaris and that one works without problems, but I want Solaris 10 not opensolaris...
Any hint is greatly appreciated!!
Thanks in advance...
RickHi Rick,
Like you, I have been trying to install Solaris10u7 on my 13" white Macbook. I got the same errors. Solaris10u6 used to work on this same machine, except for the lack of audio driver support.
I tried to connect a USB keyboard, but the same problem persist. Adding "console=text" or "console=keyboard" to the GRUB startup parameters did not help. But it does look like a console detection problem. Hopefully, there is a workaround. I'll check this forum post again to see if anyone comes up with a workable solution. I also prefer to have Solaris proper, not Opensolaris.
_After-thought_: Perhaps I'll just follow the developments on SXCE until 'Solaris 11' is released next year (hopefully sooner than expected). Older versions of SXCE did work well on the Macbook, though not the recent ones.
Alvin
Maybe you are looking for
-
How do I force a Standard Definition movie download from iTunes in the Cloud
I have an iPad with limited storage capacity. I want to take movies with me when I travel. How I do I force the iTunes Store app to download the SD version even if I have purchased the HD version which includes both?
-
I have downloaded video to iPhotos but how do you get the video to iMovies
I have downloaded video to iPhotos but how do you get the video to iMovies
-
Oracle 11g R2 hangs after parameter processes incresed
Hi, I am running an Oracle 11g R2 on a Solaris box. I was getting some Critical alert messages about the "Process Limit %" metric. So I decided to increase the value of the processes database parameter from 200 to 400. After that the system is very s
-
Air application not behaving well on opening outlook
Hi, I've designed an air application, in javascript in aptana studio, I need my application to talk to outlook. However, on opening outlook from my air application, the images in my application are not visible after closing outlook. Could this possib
-
The company which I am working for is interested in using 3D pdf's to give presentations so I have been testing this. I am creating model files using Microstation and then using the "print to 3D pdf" utility to create the 3D pdf. All is fine when vie