Open Serial Driver VI runs in user interface thread - why?

I know the serial port compatibility functions are "phased out" and you should use the newer VISA functions - but why on earth is the open serial driver VI set to run in the user interface thread?  If you happen to use these compatibility VIs your serial communication will be blocked by e.g. a user that opens the calendar view of a date and time control...- and the only reason for that is that that particular VI is running in the user interface.
Change the thread of that VI - and the serial communication runs as it should, so why is it that that particular VI, unlike all the other VIs in that library, is configured that way?
MTO

The S/N dialog is part of the process model.
For the Sequential Model (SequentialModel.seq), the default S/N dialog in found in the 'PreUUT' sub-sequence and implemented as a DLL call.
The PreUUT sub-sequence of the SequentialModel is a callback, so you can override it in your own test sequence.
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness

Similar Messages

  • How can I give the "user interface thread" higher priority?

    We do alot of activex calls to front panels. We need to increase/decrease the priority of the user interface thread to resolve our thread problem. Anyone know how to do this?
    Chuck

    Hello,
    As P.M. was saying, you can adjust the thread priorities
    through the VI Properties dialogue. 
    Another place to modify the multithreading system in LabVIEW is a VI
    located at: [LabVIEW Directory]\vi.lib\Utility\sysinfo.llb\threadconfig.vi.  However I do not think this will remedy any
    problems you are having.
    From a Multithreading in LabVIEW tutorial (http://zone.ni.com/devzone/conceptd.nsf/webmain/d2e196c7416f373a862568690074c759)
    Priorities in the User Interface and
    Single-Threaded Applications
    Within the User Interface execution
    system, priority levels are handled in the same way for single-threaded and
    multithreaded applications.
    In single-threaded applications and
    in the User Interface execution system of multithreaded applications, the
    execution system queue has multiple entry points. The execution system places
    higher priority VIs on the queue in front of lower priority VIs.
    If a high-priority task is running and the queue contains only lower priority
    tasks, the high-priority VI continues to run. For example, if the execution
    queue contains two VIs of each priority level, the time-critical VIs share execution time exclusively until both finish.
    Then, the high priority VIs share execution
    time exclusively until both finish, and so on. However, if the higher priority
    VIs call a function that waits, the execution system removes higher priority
    VIs from the queue until the wait or I/O completes, assigning other tasks
    (possibly with lower priority) to run. When the wait or I/O completes, the
    execution system reinserts the pending task on the queue in front of lower
    priority tasks. Refer to the Synchronous/Blocking Nodes section for a list of
    asynchronous functions that wait.
    Also, if a high priority VI calls a lower priority subVI,
    that subVI is raised to the same priority level as the caller for the duration
    of that call. Consequently, you do not need to modify the priority levels of
    the subVIs that a VI calls to raise the priority level of the subVI.
    Thus changing the priority of your VI will change the
    priority of UI calls for that particular VI. 
    Again, I caution you because I suspect that if you are having problems
    with your application not running correctly, I do not believe that manipulating
    the thread priorities will resolve these issues.
    Hope this helps,
    Travis M
    LabVIEW R&D
    National Instruments

  • User interface threads

    Ok let's say you're writing a user interface and nothing involves
    special-resources like a daqcard so there's no constraints on using things
    at once. These are some kind of stupid questions and ideas but I'm really
    not sure how to write a quality app with user interface at the moment.
    My current design is bad, it is a mainVI which checks the menu and
    frontpanel buttons, decides which operation or calculation (if any) is
    selected, and sends that to a case structure to perform the operation.
    This is sloooow but the most common way in examples that I've seen. The
    major problem is that while processing the interface isn't checked and
    therefore mouseclicks might be lost. Let's say the processing takes like
    500ms on average, that is kind of slow between user-interface querys so it
    would feel unresponsive in the mean time.
    So here's my three ideas so far, I'd love some comments on what will be FAST
    and what would be worthwhile to spend my time on:
    1. Leave the app as-is, latch the booleans. However you can't latch
    mouse-clicks on a picture indicator that I knew of. I emailed NI before
    about this and they just suggested adjusting execution priorities. Anybody
    else messed around with this? Probably the worst option, but would take zero
    programming.
    2. Divorce the user interface and the processing. Create two parallel
    while-loops in the same VI, one checks the buttons/menu on the front panel
    the other processes the request or calculation. Let's say on average UI
    checking takes 1.2ms and processing takes about 500ms. Also in this case is
    the watch icon still really my best option (since checking buttons/menu only
    takes like 1.5ms on average) for not wasting time repeatedly checking when
    there's no input and dividing up cputime accordingly? Seems like there'd be
    some overhead in switching back and forth repeatedly.
    3. Going all-out and changing to somewhat of an object structure. That way
    the UI could create a new "execution" refnum, maintain some list of created
    objects, process, return values, destroy any object, so everything could be
    going on in parallel. That way one slow calculation won't bog down the rest
    of the things the UI requests. The idea is far too abstract to me at this
    point, but on a single CPU w98 system is it even worth my thinking about
    such a structure? I get the feeling I'd see zero performance change between
    the two, in fact maybe worse from any labview thread overhead!
    Thanks for any comments. I have seen DAQ intensive apps discussed often, but
    don't usually catch much on large user interface apps.
    -joey

    Hi Joey
    First check are you are not recalculating the values on ever iteration of the user interface loop but are you only recalculating
    on any change in the user interface values.
    Otherwise I would use idea No. 2 but with these changes.
    1. Only check the whole user interface every 200-300ms, 1.5ms loop time will unnecessarily load the CPU.
    2. Each user interaction could be given a string representation and then placed in a queue to wait for the calculation loop to
    have time to process it.(So the user instructions are not lost)
    3. Have separate loops for faster and slower calculations (or more) with each having their own queue.
    4. The extension to the idea's of having separate loops, is to have each loop in a separate independently running VI (see
    VIserver). Still use the queue's to pass the data. This method would allow the calculations and the user interface to run on
    separate threads and also lets you alter the execution priority for each VI to fine tune the execution times.
    Following these instructions you would produce a basic client-server architecture for your user interface, as long as the UI
    doesn't require too many slow calculation results before continuing then this should work well.
    If this is still not fast enough then, if you have used suggestion No.4, the calculations can be moved off the users computer to a
    faster server (using VIserver) also assuming they are networked.
    Hope this gives you some ideas.
    Tim S
    Joseph Oravec wrote:
    > Ok let's say you're writing a user interface and nothing involves
    > special-resources like a daqcard so there's no constraints on using things
    > at once. These are some kind of stupid questions and ideas but I'm really
    > not sure how to write a quality app with user interface at the moment.
    >
    > My current design is bad, it is a mainVI which checks the menu and
    > frontpanel buttons, decides which operation or calculation (if any) is
    > selected, and sends that to a case structure to perform the operation.
    >
    > This is sloooow but the most common way in examples that I've seen. The
    > major problem is that while processing the interface isn't checked and
    > therefore mouseclicks might be lost. Let's say the processing takes like
    > 500ms on average, that is kind of slow between user-interface querys so it
    > would feel unresponsive in the mean time.
    >
    > So here's my three ideas so far, I'd love some comments on what will be FAST
    > and what would be worthwhile to spend my time on:
    >
    > 1. Leave the app as-is, latch the booleans. However you can't latch
    > mouse-clicks on a picture indicator that I knew of. I emailed NI before
    > about this and they just suggested adjusting execution priorities. Anybody
    > else messed around with this? Probably the worst option, but would take zero
    > programming.
    >
    > 2. Divorce the user interface and the processing. Create two parallel
    > while-loops in the same VI, one checks the buttons/menu on the front panel
    > the other processes the request or calculation. Let's say on average UI
    > checking takes 1.2ms and processing takes about 500ms. Also in this case is
    > the watch icon still really my best option (since checking buttons/menu only
    > takes like 1.5ms on average) for not wasting time repeatedly checking when
    > there's no input and dividing up cputime accordingly? Seems like there'd be
    > some overhead in switching back and forth repeatedly.
    >
    > 3. Going all-out and changing to somewhat of an object structure. That way
    > the UI could create a new "execution" refnum, maintain some list of created
    > objects, process, return values, destroy any object, so everything could be
    > going on in parallel. That way one slow calculation won't bog down the rest
    > of the things the UI requests. The idea is far too abstract to me at this
    > point, but on a single CPU w98 system is it even worth my thinking about
    > such a structure? I get the feeling I'd see zero performance change between
    > the two, in fact maybe worse from any labview thread overhead!
    >
    > Thanks for any comments. I have seen DAQ intensive apps discussed often, but
    > don't usually catch much on large user interface apps.
    >
    > -joey

  • Run / quit user interface and memory clean up

    Hi,
    may be I simply miss a coffee, but here is my problem: I have a main function and a quit callback in a standard configuration, i.e. as follows:
    int main ( int argc, char *argv [] )
        RunUserInterface ();
        DiscardMenuBar ( popup_menubar_handle );
        DiscardMenuBar ( menubar_handle );
        DiscardPanel ( panel_handle );
        return ( 0 );
    int CVICALLBACK Quit ( int panel, int control, int event, void *callbackData, int eventData1, int eventData2 )
        if ( event == EVENT_COMMIT )
            FreeDynamicMemory...
            FileCloseFiles ...
            QuitUserInterface ( 0 );
        return ( 0 );
    On the panel, there is a graph with plots etc. If I quit the program via the quit callback (i.e. a Quit button), everything is fine, no memory leak.
    If I try a modified version as shown below, plots are not freed after the program has finished, resulting in a memory leak as shown by the resource monitor:
    int main ( int argc, char *argv [] )
        RunUserInterface ();
        return ( 0 );
    int CVICALLBACK Quit ( int panel, int control, int event, void *callbackData, int eventData1, int eventData2 )
        if ( event == EVENT_COMMIT )
            FreeDynamicMemory...
            FileCloseFiles ...
            DiscardMenuBar ( popup_menubar_handle );
            DiscardMenuBar ( menubar_handle );
            DiscardPanel ( panel_handle );
            QuitUserInterface ( 0 );
        return ( 0 );
    I have also tried reversing the order in the quit callback, with the same result:
    int CVICALLBACK Quit ( int panel, int control, int event, void *callbackData, int eventData1, int eventData2 )
        if ( event == EVENT_COMMIT )
            FreeDynamicMemory...
            FileCloseFiles ...
            QuitUserInterface ( 0 );
            DiscardMenuBar ( popup_menubar_handle );
            DiscardMenuBar ( menubar_handle );
            DiscardPanel ( panel_handle );
        return ( 0 );
    So only the first variant works properly and I could be happy.
    However, I do not understand why version 2/3 do not work.
    Second, the first variant does not work if I also have installed a main callback, see the other thread here That's why I tried variants 2 and 3 but failed...
    Thanks for the coffee

    Off the top of my head, I can't think of any reason why the 2/3
    alternatives wouldn't work. This might be a bug in the resource tracking
    detection.
    I tried to reproduce the problem with a simple program, but I wasn't
    able to. I'm attaching my files. Can you try them out and see if you can
    reproduce the problem with them? If not, can you try attaching some
    project that reproduces it, so that I can look into it?
    Thanks,
    Luis
    Attachments:
    plotleak.zip ‏5 KB

  • How to avoid long user interface response time in long measurements ?

    Hi
    I tried to find more information regarding techniques how to avoid long user interface response times in case of extremely long measurement times with an external instrument communicating over GPIB, so I post this hoping to get some hint or a link to a guideline. I guess this is quite normal problem.
    Problem is that when I want to measure long time in order to get an average result from the instrument, I have to wait until the result is returned from the instrument. Obviously that makes the user interface response very slow in traditional technique. 
    My restriction is the old GPIB 488 instrument driver that I would not want to modify, but I have source code to it.
    What would be the best way to improve the response time for user interface ? I have looked into the few things:
    * multithreading
    * callback in main program for GPIB events
    * modifying instrument driver e.g. to support VISA and creating a VISA callback
    regards,
    Petri

    Several ways to do this:
    If you're getting several measurements, you could have the instrument generate an asynchronous interrupt (an "SRQ" in GPIB terms), then collect the data in response to the SRQ callback.  While you're waiting for the SRQ's, you can have your main thread running the interface so responsive GUI.  You don't have to spinlock on the GPIB read waiting for instrument data.
    Or, as you mentioned, you could spawn a thread to manage the measurements, and use a timer in the main thread to periodically allow you to check the status of the measurement thread.  Again, the main thread mostly just runs the user interface.
    Either way, the idea is to keep the main thread freed up most of the time to run the GUI, and have it periodically check for completion of your measurement sequence.  While you're waiting in the main thread, you may want to make sure the user can't inadvertently re-trigger another measurement sequence until the active one is complete.
    If you do find yourself doing a dead wait, you'd want to break this up into a series of shorter waits, and in between each wait, do a ProcessSystemEvents from the main thread to keep the GUI active.
    Menchar

  • LabWindows/CVI Remote User Interface

    I have an application that I would like to modify to enable running the User Interface Panel from a remote
    computer. I have found articles on doing this with LabView. Can this be accomplished using LabWindows/CVI 7.0/7.1 ?

    Hello Hornsbyr,
    It is possible to have run remote front panels in LabWindows/CVI. First you would need the CVI Enterprise Connectivity Toolkit as an add on to 7.0 or 7.1. A web server is included in the Enterprise Connectivity Toolkit. By setting up and connecting to the web server, you will be able to monitor and control the operation of your front panel through a web browser. The INET_RegisterPanelAutoUpdate function is used to export a LabWindows/CVI user interface panel onto the Web. Once a client requests the image of the panel, the server periodically sends an updated image of the panel.
    The image of the user interface is sent as a JPEG image, but as stated in the LabWindows/CVI Function Help, the JPEG will not include your UIR's menu bar, title bar or borders.
    I have attached a document that further describes how to control your front panel remotely.
    Also, here is a link to the product pricing sheet: http://sine.ni.com/apps/we/nioc.vp?cid=11128〈=US
    Wendy L
    LabWindows/CVI Developer Newsletter - ni.com/cvinews

  • Illustrator CC 17.1.0 crashes when editing preferences, user interface. Running on MacBook Pro i7 OSX 10.9.5

    Illustrator CC 17.1.0 running on MacBook Pro i7 OSX 10.9.5 - crashes when editing preferences, user interface. Also crashes when quitting application. Anybody any ideas?

    While 2 GB is the absolute minimum to install Mavericks, if you want to do anything with the Mac you need more then that. Upgrade your RAM.
    Until you upgrade the RAM seriously consider shutting down the Mac nightly. You should also seriously review the items in the User Login Items to see if there are any there that you really don't need to have startup with your login to reduce the amount of RAM you are using.

  • How can I make a flash user interface with buttons to open up and navigate other flash files?

    Hello I would like to make a user interface that will serve as a tool to load and unload other flash materials like a slideshow. I would like to make a kind of slideshow with Flash that opens up other flash files which could be around 10-15 slides (frames) long each. I would want to ask if there is any way to make a link between navigation and other slides easily. And if there are ways, what action codes should I use for this. Thank you very much.

    All you need to do is load a swf into the main swf and target it with whatever controls you intend.  If you are using AS3 then you could use the Loader class to load the swf and then target the Loader.content with your control buttons.

  • After downloading osx 10.9.2 when i open my logic pro 9 and begin to audition loops that came with lp9 i get a message that says "audio device has been removed  and then a second message the " select driver not found(-10202). my interface is a apogee duet

    after downloading osx 10.9.2 when i open my logic pro 9 and begin to audition loops that came with lp9 i get a message that says "audio device has been removed  and then a second message the " select driver not found(-10202). my interface is a apogee duet. Can anyone provide a solution to this problem. Thanks

    YES!!! YES!!! YES!!!
    I got it!!! Yes!!!
    Guys, I've solved my problem about that error -10202 (Selected driver not found).
    I have installed in my Mac Pro (OS X 10.5.8) a document with an extension ".rsrc" to correct the position of the accents in my keyboard, like acute accent, tilde and circumflex.
    That file is called "U.S. - International.rsrc" and it's stored in the following path:
    "Macintosh HD/Library/Keyboard Layouts"
    So, when it's properly installed, I can choose 2 country flags on the right side of the menu bar (U.S. - International and Brazilian).
    That's the clue!
    When I pick up "U.S. - International", my keyboard works fine with the accents, >>>BUT<<< Logic Pro 9 doesn't recognize my audio driver; and when I pick up "Brazilian", my keyboard doesn't work with the accents exactly as it shows me on each key, BUT Logic Pro 9 DOES recognize my audio driver.
    So, when I want to write anything out, I will pick up the "US - International" and when I want to work on the Logic Pro 9, I will pick up "Brazilian".
    I hope I can help all of you.
    Regards,
    Renato Veiga.

  • Is anyone know how to run the examples in 3d user interfaces with java 3d

    hi dear ,
    I am trying to run the examples in 3d user interfaces with java 3d.
    I hope i can load the library in jcreator. but the libarary for this book are classes files , it do not have jar file for it . the jcreator do not read these classes . i do not know why ? i am wonder if there any one run these code before can give me some idear .
    thanks so much .
    the code u can get from this link.
    http://www.manning.com/books/barrilleaux/source
    thank you for u to have a look for me .
    regards
    xiaocui

    <h2>{color:red}CROSS POSTED{color}</h2>
    [t-5289810]
    Cross posting is rude.
    db

  • Using LabView to serial interface my microscope how I make a user interface to make the stage move by pressing buttons?

    I have used LabView very little and am trying to write a program to control a microscope. I want to be able to give it commands such as to get the stage to move left, right, forward, back, and return to zero. I'm having trouble implementing the code into my block diagram. I've been reading LabView 8.6 tutorials for a couple of weeks and I'm still learning. What I know that  is that I need a event structure inside a while-loop for the user interface but I've been stuck.
    Thanks for any help! If you need me to try and provide more information please say so.
    Attachments:
    Button.vi ‏21 KB

    Alright so my serial port code should be inside a while loop unfortunately it doesn't work whenever I enter a command to move the stage. It sits there maybe I'm missing something.
    So let me give you an overview to what happens in my code, so the configure serial port is very crucial. The VISA Write writes the bytes to the port. The first VISA Write takes the string to write command. I connected the second VISA write to make it easier whenever I enter a command, the \r will iniate the command as a whole. Example L\r will move the stage to Left once, ending up at VISA Read then closing. All of this found in separate case structures.
    Now the user interface to control the the movement of the microscope is one of my issues, making several attempts to make it work yielded no results. My best work not the best but a attempt is attached, also one of the things with this I'm having trouble with is getting the button to talk to the stage. On previous buttons I worked on I could press the button and light up an LED on the front panel, I thought the same principle would relate to the movement of the stage, no such luck.
    I hope I cleared up some misconceptions on my part, I appreciate your patience.
    Attachments:
    OptiScan.vi ‏14 KB

  • I am looking for a way to automate index creation using Adobe Reader Pro without having to use the screen user interface, as the indexing has to be run by a batch process.

    I am looking for a way to automate index creation using Adobe Reader Pro without having to use the screen user interface, as the indexing has to be run by a batch process.

    [discussion moved to Creating, Editing & Exporting PDFs forum.]

  • How to make sure the addon is running when user open the SAP B1 client?

    Hi,
    Is it possible that that we can set somewhere in SAP B1 setting and without running addon user can not login into SAP B1 client? I tried even set the addon to Mandatory in addon administration, but user still can choose running without addon. Any suggestion ?
    Thanks!
    Lan
    Edited by: ZHANGLAN on Aug 19, 2010 10:49 PM

    Hi All,
    Maybe I didn't describe my situation clear enough. I have lot of lient PC with different environment, i am always be reported that the AddOn doesn't work. In most case they are caused by some unexpected reason like anti-virus softeware or windows update. If the addon crashes then user lost everything in addon and they will starti complaints... My idea is to make the addon as mandatory requirement before user can start to use SAP B1. But for now, the setting in addon administration is more like an option, end user still can be allowed to run SAP B1 without addon.
    Lan

  • Graphic Designer / User-Interface Engineer Job Opening

    Title:
    Graphic Designer/User-Interface Engineer
    Job Qualifications:
    - Must be an innovative Graphic Designer/User-Interface
    Engineer
    - Minimum 4 years experience developing web-based user
    interfaces
    - Expert knowledge of Adobe graphic design applications such
    as Flash, Photoshop, and Illustrator or alike products
    - Experience with Adobe Flex and ActionScript3
    - Has a proven track record designing and documenting
    high-quality user interface designs for web-based applications
    - Possesses a strong visual design sense and general design
    principles
    - Has some background in object-oriented design and
    programming
    - Able to work effectively from a remote home office
    - Has excellent interpersonal and communication skills and
    collaborates well in person, online, or on the phone
    Job Description:
    This position offers an opportunity to work on high-end
    graphical design projects building rich Internet applications for
    Fortune 500 client companies in industries like financial services,
    software and consumer products. As a User-Interface Engineer, you
    will be expected to:
    • contribute strong leadership through all phases of
    development including functional requirements development, UI
    design and documentation
    • analyze and establish functional requirements and
    specifications using feedback from clients and other developers
    • apply your visual creativity and functional
    experience to design elegant and responsive web user interfaces
    with Adobe Flash (Flex expertise desired)
    • support other developers to ensure successful
    implementation of the designs
    • create appropriate documentation during development
    Candidates will be expected to provide a portfolio of their
    graphical design work in zip files or URL links for review.
    - Can be based anywhere in the U.S.
    - Up to 25 percent travel time required
    - Work on-site and from home
    - 3 to 6 month engagement with potential for perm placement
    If you are looking for a new exciting opportunity, please
    reply with your resume attached to [email protected]. Thank
    you for your interest and I look forward to hearing from you soon.
    Regards,
    Kevin Bakhmutsky

    Kevin,
    Are you only looking for a Graphic Designer or do you have
    other openings that could be filled by a Flex person with a J2EE
    background?

  • Mobility Radeon HD 5000 Series + open source driver = screen flickers

    Hello, this is my first post here. I just finished setting up my first arch installation on my laptop and I'm using Xorg + gnome 3 as user interface.
    My laptop has two VGA cards, an integrated intel VGA card and a Mobility Radeon HD 5000 Series, so I used vgaswitcheroo to switch to the Mobility Radeon and turned off the intel VGA card.
    Now, here's the problem: I want 3d acceleration to play games and such, but the opensource radeon driver is being weird.
    Basically, if I use my Mobility Radeon and the opensource driver the lower-center part of the screen flickers when i move windows vertically. It flickers to black in a polygon-like area and the window shadows get all messed up. If i try to start a game that uses 3d acceleration (such as nexuiz) it runs extremely slow (way too slow for this VGA card) and flickers like crazy in the same area and sometimes on the entire screen.
    I already tried using the proprietary driver (catalyst) but it doesn't seem to support switchable VGA cards, since it gives me memory segmentation error.
    However, if I switch back to the Intel VGA card and use the opensource intel driver, it runs just fine with no flickering and nexuiz runs better (but of course not fast enough since the intel VGA card is crappy)
    As you can see here, 3D acceleration seems to be enabled and Xorg doesn't seem to give any major error or warning:
    [francesco@mizu ~]$ glxinfo | grep direct
    direct rendering: Yes
    [francesco@mizu ~]$ lspci | grep VGA
    00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
    01:00.0 VGA compatible controller: ATI Technologies Inc Manhattan [Mobility Radeon HD 5000 Series]
    [francesco@mizu ~]$ cat /sys/kernel/debug/vgaswitcheroo/switch
    0:IGD: :Off:0000:00:02.0
    1:DIS:+:Pwr:0000:01:00.0
    [francesco@mizu ~]$ cat /var/log/Xorg.0.log | grep EE
    [ 31.675] Current Operating System: Linux mizu 2.6.38-ARCH #1 SMP PREEMPT Fri Apr 22 20:29:33 CEST 2011 x86_64
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 31.923] (II) Loading extension MIT-SCREEN-SAVER
    [francesco@mizu ~]$ cat /var/log/Xorg.0.log | grep WW
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 31.819] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 31.841] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 31.842] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 31.843] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 32.447] (WW) RADEON(0): Option "AGPMode" is not used
    [ 32.447] (WW) RADEON(0): Option "AGPFastWrite" is not used
    [ 32.447] (WW) RADEON(0): Option "DynamicPM" is not used
    [ 32.447] (WW) RADEON(0): Option "ClockGating" is not used
    [ 32.447] (WW) RADEON(0): Option "DMAForXv" is not used
    [ 32.447] (WW) RADEON(0): Option "ScalerWidth" is not used
    [ 33.067] (WW) USB Optical Mouse: ignoring absolute axes.
    Here's my /etc/X11/10-monitor.conf:
    [francesco@mizu ~]$ cat /etc/X11/xorg.conf.d/10-monitor.conf
    Section "Monitor"
    Identifier "Monitor0"
    DisplaySize 361 203
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "radeon"
    Option "AGPMode" "1"
    Option "AGPFastWrite" "yes"
    Option "DRI" "on"
    Option "DynamicPM" "on" # Dynamic powersaving.
    Option "ClockGating" "on" # Assisting option for powersaving.
    Option "AccelMethod" "EXA" # EXA should fit most cases.
    Option "EXAVSync" "on" # EXAVSync is explained above.
    Option "DMAForXv" "on" # Forced option in order to enable Xv overlay.
    Option "ScalerWidth" "2048" # That should fix some very rare bugs.
    Option "EnablePageFlip" "on" # It will not be enabled on R5xx cards.
    Option "RenderAccel" "on" # Optional. It should be enabled by default.
    Option "AccelDFS" "on" #Optional. See the man page.
    EndSection
    Section "Screen"
    Identifier "Screen0" #Collapse Monitor and Device section to Screen section
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24 #Choose the depth (16||24)
    SubSection "Display"
    Depth 24
    Modes "1366x768_75.00" #Choose the resolution
    EndSubSection
    EndSection
    And here's my custom rc.local to switch to my Mobility Radeon VGA card:
    [francesco@mizu ~]$ cat /etc/rc.local
    #!/bin/bash
    # /etc/rc.local: Local multi-user startup script.
    sleep 10
    # Disable Intel VGA
    mount -t debugfs none /sys/kernel/debug
    echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch
    echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
    # Init wi-fi
    echo 'notsharingmypassword' | sudo -S ifconfig wlan0 up
    sudo wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
    dhcpcd wlan0
    Last edited by KoutaOyamada (2011-05-04 15:31:39)

    bump (I'm starting to think this VGA card just doesn't work with the driver )

Maybe you are looking for

  • Display real time data on a plot in a sub VI and main VI

    I am building a program to measure and plot real time data. Program has several steps so I build few Sub VIs to make it simple. My problem is I am plotting real time data in my SUB VI(it works fine), but in my main program when I try to get the same

  • Java call rfc check in original:error while checking in and storing.

    hi,experts. java call rfc check in original:error while checking in and storing. BAPI in the RFC is "BAPI_DOCUMENT_CJANGE2", the RFC was fine in SE37 and calling by Visual Basic. and in java,when mConnection.setAbapDebug(true), and  runing by step an

  • Hyperlinks Not Working After First Click AND Message Editable in Inbox

    Recently, we have noticed some marketing emails we'd sent out are acting weird when we receive them in Apple Mail. We are using a reputable email marketing company to send the messages so I assume the formatting should be OK but occasionally the emai

  • DISPLAY SPATIAL DATA USING JDBC ON A JAVA FRAME

    I am trying to set up some spatial data and need help in getting some sample code for displaying the data on a Java Frame using JDBC. The shapes I am setting up are simple polygons, lines, circles. I was going through the samples in the demo director

  • Distributing Repository fails on 11.1.1.7.0

    Hi, I'm facing issue in installing 11g 11.1.1.7.0 Configuration Progress went well still "Restarting JEE Applications" but when it entered to Distributing Repository it just fails from there on.... Can someone help me on this...Pls? Thanks, GR Distri